Presentation is loading. Please wait.

Presentation is loading. Please wait.

CA16R405 - Mobile Application Development (Theory)

Similar presentations


Presentation on theme: "CA16R405 - Mobile Application Development (Theory)"— Presentation transcript:

1 CA16R405 - Mobile Application Development (Theory)
Adarsh Patel Technical Team Lead, Arth Technology, Vadodara

2 CA16R405 - Mobile Application Development (TH)
Unit 1: Introduction to Android Mobile Applications, Comparison of various Mobile Application Programming Languages, Basics of Android, Features of Android, Benefits of Android, Using Eclipse, Running and debugging Applications, Configuring Android Development Environment Unit 2: Android Development Tools Android Documentations, Debugging Applications with DDMS, Emulator, Using other Android Tools. Unit 3: Android Application Development Building an Android Application, Introduction to Application Context, Using Application Context, working with Activities, working with Intents, Working with Dialogs, Logging Application Information.

3 CA16R405 - Mobile Application Development (TH)
Unit 4: Managing Application Resources Using Application and System Resources, working with simple Resource Values, working with Drawable Resources, working with Layouts, Working with Files, working with other types of Resources available in Android. Unit 5: Configuration with Manifest Configuring the Android Manifest File, Configuring basic Applications settings, Defining Activities, Managing Application Permissions, Managing other Application settings. Unit 6: The Application Framework Designing an Application Framework, Designing an Android Trivia, Prototype, Implementing an Application Prototype, Running the Prototype Unit 7: Developing GUI Splash Screen Layout, Implementing animated Splash Screen, working with Animation, Designing Main Menu Screen, Implementing Main Menu Screen Layout, working with ListView Control, working with other Menu types, Designing the Help Screen, working with Files, Designing the Screen with Tabs

4 CA16R405 - Mobile Application Development (TH)
Unit 8: Collecting User Inputs Using Forms to collect User Inputs, Designing the setting screen, using common Form Controls, saving Form data with Shared Preferences, Using Dialogs to collect User Inputs, Activity Dialogs, DatePicker Dialogs, Custom Dialogs Unit 9: Testing and Publishing the Application Best Practices for Testing, Maximizing Test Coverage, Understanding Release Process, preparing Release Candidate Build, Testing Application Release Candidate, Packaging an Application, Testing the Signed Application Package Unit 10: Using Eclipse IDE Creating Classes and Methods, Organizing imports, Documenting Code, Using Auto complete, Formatting Code, Refactoring, Resolving Build Errors, Creating Custom Log filters, Integrating Source Control

5 What have you learned so far
Adarsh Patel

6 What have you learned so far
working with Layouts Constraint Layout Relative Layout Linear Layout Other Layout in depth Sub layout

7 Today’s Learning Splash Screen Home Screen
ListView example using Country List RadioButton example using Education

8 Splash Screen

9 Splash Activity XML <LinearLayout android:orientation="vertical" android:gravity="center“> <ImageView android:layout_width="100dp" android:layout_height="100dp" /> <TextView android:layout_marginTop="20dp" android:text="The Great App" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </LinearLayout>

10 Splash Screen Coding new Handler().postDelayed(new Runnable() { @Override public void run() { Intent i = new Intent(Splash.this, Home.class); startActivity(i); finish(); } }, 4000);

11 Home Screen

12 Home Activity XML <ImageView android:layout_weight="2" android:layout_width="match_parent" android:layout_height="wrap_content" /> <LinearLayout android:layout_margin="10dp" android:layout_weight="1" android:layout_width="match_parent" android:layout_height="wrap_content"> <Button android:layout_weight="1" android:text="Button 1" android:layout_width="wrap_content" android:layout_height="match_parent" /> <Button android:layout_weight="1" android:text="Button 2" android:layout_width="wrap_content" android:layout_height="match_parent" /> </LinearLayout>

13 List View

14 List View Activity XML <TextView android:textAppearance="?android:textAppearanceMedium" android:gravity="center_horizontal" android:text="List of Countries" android:layout_width="match_parent" android:layout_height="wrap_content" /> <ListView android:layout_margin="10dp" android:padding="10dp" android:layout_width="match_parent" android:layout_height="match_parent"></ListView> <string-array name="countries"> <item>India</item> <item>USA</item> <item>UK</item> <item>Canada</item> </string-array>

15 RadioButton example using Education

16 RadioButton Activity XML
<TextView android:textStyle="bold" android:text="Education 1" android:layout_width="match_parent" android:layout_height="wrap_content" /> <RadioGroup android:layout_width="match_parent" android:layout_height="wrap_content" > <RadioButton android:text="SSC" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <RadioButton android:text="HSC" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </RadioGroup>

17 RadioButton Activity XML
<TextView android:textStyle="bold" android:layout_marginTop="10dp" android:text="Education 2" android:layout_width="match_parent" android:layout_height="wrap_content" /> <RadioGroup android:layout_width="match_parent" android:layout_height="wrap_content" > <RadioButton android:text="BCA" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <RadioButton android:text="BBA" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <RadioButton android:text="Other" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </RadioGroup> <Button android:layout_gravity="center_horizontal" android:text="Submit" android:layout_width="wrap_content" android:layout_height="wrap_content" />

18 RadioButton Code int selectedId=((RadioGroup) findViewById(R.id.groupeducation1)).getCheckedRadioButtonId(); RadioButton rb1 =(RadioButton)findViewById(selectedId); Toast.makeText(Option2.this,rb1.getText(),Toast.LENGTH_SHORT).show(); int selectedId2=((RadioGroup) findViewById(R.id.groupeducation2)).getCheckedRadioButtonId(); RadioButton rb2 =(RadioButton)findViewById(selectedId2); Toast.makeText(Option2.this,rb2.getText(),Toast.LENGTH_SHORT).show();

19 Android Tutorial & Sample Codes & Presentations can be found @ http://adarshspatel.in


Download ppt "CA16R405 - Mobile Application Development (Theory)"

Similar presentations


Ads by Google