CA16R405 - Mobile Application Development (Theory)

Slides:



Advertisements
Similar presentations
Filip Debelić What is it? Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google Android,
Advertisements

Cosc 4730 Android TabActivity and ListView. TabActivity A TabActivity allows for multiple “tabs”. – Each Tab is it’s own activity and the “root” activity.
@2011 Mihail L. Sichitiu1 Android Introduction Hello World.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
Presenting Lists of Data. Lists of Data Issues involved – unknown number of elements – allowing the user to scroll Data sources – most common ArrayList.
Android Programming. Outline Preparation Create new project Build and Run a project Debug a project Deploy on devices.
Introduction to Android Programming Content Basic environmental structure Building a simple app Debugging.
Android development the first app. Andoid vs iOS which is better? Short answer: neither Proponents on both sides For an iOS side, see this article on.
Android Boot Camp for Developers Using Java, Comprehensive: A Guide to Creating Your First Android Apps Chapter 9: Customize! Navigating with a Master/Detail.
CS5103 Software Engineering Lecture 08 Android Development II.
1 Mobile Computing Monetizing An App Copyright 2014 by Janson Industries.
Hello world Follow steps under the sections “Create an AVD” and “Create a New Android Project” at
Mobile Programming Lecture 17 Creating Homescreen Widgets.
Basic Android Tutorial USF’s Association for Computing Machinery.
CE Applied Communications Technology Android lecture 2 - Structures Android File structure Resources Drawables Layout Values R Class Manifest Running.
1/29/ Android Programming: FrameLayout By Dr. Ramji M. Makwana Professor and Head, Computer Engineering Department A.D. Patel.
Cosc 5/4730 Android App Widgets. App Widgets App Widgets are miniature application views that can be embedded in other applications (such as the Home.
Android Boot Camp for Developers Using Java, 3E
UI Design and Development +Roman Nurik +Nick Butcher.
UI Design and Development +Roman Nurik +Nick Butcher.
1 Introducing Activity and Intent. 2 Memory LinearLayout, weight=2 LinearLayout, weight=1 TextView ListView.
First Venture into the Android World Chapter 1 Part 2.
Android App Basics Dr. David Janzen Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution 2.5.
Android ImageView and Splash Screen 1. After copying an image file (Ctrl-c or right click copy), right click and paste it into one of the res/drawable.
HW#9 Clues CSCI 571 Fall, HW#9 Prototype
Copyright© Jeffrey Jongko, Ateneo de Manila University Deconstructing HelloWorld.
Recap of Part 1 Terminology Windows FormsAndroidMVP FormActivityView? ControlViewView? ?ServiceModel? Activities Views / ViewGroups Intents Services.
GUI Components 1 Fall 2012 CS2302: Programming Principles.
Android View Stuff. TextViews Display text Display images???
Cosc 5/4730 Support design library. Support Design library Adds (API 9+) back support to a number of 5.0 lollipop widgets and material design pieces –
CMPE419 Mobile Application Development Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren
Resources. Android Resources We’ve already talked about the different types of Android Resources DirectoryResource Type anim/XML files that define tween.
Why Learn Android? Largest installation base of any operating system Over 20,000 Android devices exist Businesses will likely move more to device-based.
Chapter 2: Simplify! The Android User Interface
Lab7 – Appendix.
Lecture 3 Zablon Ochomo Android Layouts Lecture 3 Zablon Ochomo
Android Introduction Hello World
Android N Amanquah.
GUI Programming Fundamentals
Android Introduction Hello World.
Android.
Android Widgets 1 7 August 2018
Android Introduction Hello Views Part 1.
CA16R405 - Mobile Application Development (Theory)
HUJI Post PC Workshop 1 Introduction to Android Development Ari Sprung
HNDIT2417 Mobile Application Development
Android SDK & App Development
CIS 470 Mobile App Development
Android Programming Lecture 6
CS323 Android Getting Started
CS5103 Software Engineering
CMPE419 Mobile Application Development
CMPE419 Mobile Application Development
Android Developer Fundamentals V2 Lesson 1
GUI Components.
CA16R405 - Mobile Application Development (Theory)
BMI Android Application will take weight and height from the users to calculate Body Mass Index (BMI) with the information, whether user is underweight,
Android Developer Fundamentals V2 Lesson 4
Android SDK & App Development
CMPE419 Mobile Application Development
Korea Software HRD Center
Objects First with Java
CMPE419 Mobile Application Development
CMPE419 Mobile Application Development
BLP 4216 MOBİL UYGULAMA GELİŞTİRME-2
Lasalle-App Tecnología Móvil.
CA16R405 - Mobile Application Development (Theory)
CA16R405 - Mobile Application Development (Theory)
CA16R405 - Mobile Application Development (Theory)
CA16R405 - Mobile Application Development (Theory)
Presentation transcript:

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

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.

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

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

What have you learned so far Adarsh Patel

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

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

Splash Screen

Splash Activity XML <LinearLayout android:orientation="vertical" android:gravity="center“> <ImageView android:src="@drawable/ic_android_black_24dp" 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>

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

Home Screen

Home Activity XML <ImageView android:layout_weight="2" android:src="@drawable/ic_android_black_24dp" 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>

List View

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:entries="@array/countries" 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>

RadioButton example using Education

RadioButton Activity XML <TextView android:textStyle="bold" android:text="Education 1" android:layout_width="match_parent" android:layout_height="wrap_content" /> <RadioGroup android:id="@+id/groupeducation1" android:layout_width="match_parent" android:layout_height="wrap_content" > <RadioButton android:id="@+id/radio1" android:text="SSC" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <RadioButton android:id="@+id/radio2" android:text="HSC" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </RadioGroup>

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:id="@+id/groupeducation2" android:layout_width="match_parent" android:layout_height="wrap_content" > <RadioButton android:id="@+id/radio3" android:text="BCA" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <RadioButton android:id="@+id/radio4" android:text="BBA" android:layout_width="wrap_content" android:layout_height="wrap_content" /> <RadioButton android:id="@+id/radio5" android:text="Other" android:layout_width="wrap_content" android:layout_height="wrap_content" /> </RadioGroup> <Button android:id="@+id/btnsubmit" android:layout_gravity="center_horizontal" android:text="Submit" android:layout_width="wrap_content" android:layout_height="wrap_content" />

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();

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