CA16R405 - Mobile Application Development (Theory)

Slides:



Advertisements
Similar presentations
Google Android Introduction to Mobile Computing. Android is part of the build a better phone process Open Handset Alliance produces Android Comprises.
Advertisements

ANDROID DEVELOPMENT KELLY MCBEAN. DEVELOPMENT ENVIRONMENT OVERVIEW Eclipse Standard IDE for Developing Android Applications Install: 1.Java (JDK) – Since.
Manifest File, Intents, and Multiple Activities. Manifest File.
Hello world Follow steps under the sections “Create an AVD” and “Create a New Android Project” at
Filip Debelić What is it? Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google Android,
Debugging Android Applications
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
@2011 Mihail L. Sichitiu1 Android Introduction Hello Views Part 1.
INTERNATIONAL SUMMER ACADEMIC COURSE UNIVESITY OF NIS ISAC – Android programming.
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.
 Understanding an activity  Starting an activity  Passing information between activities  Understanding intents  Understanding the activity lifecycle.
CS5103 Software Engineering Lecture 08 Android Development II.
Hello world Follow steps under the sections “Create an AVD” and “Create a New Android Project” at
DUE Hello World on the Android Platform.
Liang, Introduction to Java Programming, Eighth Edition, (c) 2011 Pearson Education, Inc. All rights reserved Introduction to Android (Part.
Cosc 5/4730 Android Communications Intents, callbacks, and setters.
First Venture into the Android World Chapter 1 Part 2.
Mobile Programming Midterm Review
Activities and Intents Richard S. Stansbury 2015.
Intents 1 CS440. Intents  Message passing mechanism  Most common uses:  starting an Activity (open an , contact, etc.)  starting an Activity.
TODAY Android Studio Installation Getting started Creating your 1 st App Beginning to understanding Intents.
Intoduction to Andriod studio Environment With a hello world program.
Lecture 2: Android Concepts
Mobile Programming Lecture 4 Resources, Selection, Activities, Intents.
Intents and Broadcast Receivers Dr. David Janzen Except as otherwise noted, the content of this presentation is licensed under the Creative Commons Attribution.
Java for android Development Nasrullah Khan. Using instanceof in Android Development the classes such as Button, TextView, and CheckBox, which represent.
Working with Multiple Activities. Slide 2 Introduction Working with multiple activities Putting together the AndroidManifest.xml file Creating multiple.
Chapter 5: Investigate! Lists, Arrays, and Web Browsers.
BIT 286: Web Applications Automated Web Testing. Selenium  Selenium Is moving from being Firefox based to being more of a 'normal desktop' program that.
Why Learn Android? Largest installation base of any operating system Over 20,000 Android devices exist Businesses will likely move more to device-based.
Introduction to Android Programming
Mobile Device Development
Chapter 2: Simplify! The Android User Interface
Beginning of Xamarin for iOS development
Lab7 – Appendix.
Permissions.
Android Programming - Features
Lecture 2: Android Concepts
Android 01: Fundamentals
Mobile Applications (Android Programming)
Mobile Development Workshop
Obtaining the Required Tools
Mobile Application Development Chapter 3 [Using Eclipse Android Studio for Android Development] IT448-Fall 2017 IT448- Fall2017.
Android.
CA16R405 - Mobile Application Development (Theory)
Android SDK & App Development
CIS 470 Mobile App Development
CIS 470 Mobile App Development
Developing Android Services
CIS 470 Mobile App Development
CIS 470 Mobile App Development
CS5103 Software Engineering
CA16R405 - Mobile Application Development (Theory)
CMPE419 Mobile Application Development
Android Developer Fundamentals V2 Lesson 1
CA16R405 - Mobile Application Development (Theory)
Activities and Intents
Testing, debugging, and using support libraries
CIS 470 Mobile App Development
Mobile Programming Dr. Mohsin Ali Memon.
Lecture 2: Android Concepts
Working with Libraries
CMPE419 Mobile Application Development
Android Development Introduction to Android Development 2011/01/16
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 Display inputted text in a TextView after clicking a button. Android Program to Calculate Sum of two numbers how do I get a button to open another activity in android studio

Today’s Learning How to open a dialer with a phone number. (Permission not required) How to make a phone call in Android. (Permission Required.) How can I open a URL in Android's web browser from my application? Start an Activity with a parameter Start service in Android

1. How to open a dialer with a phone number. (Permission not required). ((Button) findViewById(R.id.dialbutton1)).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Intent intent = new Intent(Intent.ACTION_DIAL); intent.setData(Uri.parse("tel:123456789")); startActivity(intent); } });

2. How to make a phone call in Android. (Permission Required.) ((Button) findViewById(R.id.dialbutton1)).setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { if(isPermissionGranted()){ call_action(); } } }); <uses-permission android:name="android.permission.CALL_PHONE"/>

2. How to make a phone call in Android. (Permission Required.) public void call_action(){ try { String phnum = "123456"; Intent callIntent = new Intent(Intent.ACTION_CALL); callIntent.setData(Uri.parse("tel:" + phnum)); startActivity(callIntent); } catch (SecurityException e) { Toast.makeText(this, "Permission Denied", Toast.LENGTH_SHORT).show(); } }

2. How to make a phone call in Android. (Permission Required.) public boolean isPermissionGranted() { if (Build.VERSION.SDK_INT >= 23) { if (checkSelfPermission(android.Manifest.permission.CALL_PHONE) == PackageManager.PERMISSION_GRANTED) { Log.v("TAG","Permission is granted"); return true; } else { Log.v("TAG","Permission is revoked"); ActivityCompat.requestPermissions(this, new String[]{Manifest.permission.CALL_PHONE}, 1); return false; } } else { //permission is automatically granted on sdk<23 upon installation Log.v("TAG","Permission is granted"); return true; } }

2. How to make a phone call in Android. (Permission Required.) @Override public void onRequestPermissionsResult(int requestCode, String permissions[], int[] grantResults) { switch (requestCode) { case 1: { if (grantResults.length > 0 && grantResults[0] == PackageManager.PERMISSION_GRANTED) { Toast.makeText(getApplicationContext(), "Permission granted", Toast.LENGTH_SHORT).show(); call_action(); } else { Toast.makeText(getApplicationContext(), "Permission denied", Toast.LENGTH_SHORT).show(); } return; } // other 'case' lines to check for other // permissions this app might request } }

3. How can I open a URL in Android's web browser from my application? Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com")); startActivity(browserIntent);

Types of Intent Implicit Explicit

4. Start an Activity with a parameter Intent i = new Intent(this, TheNextActivity.class); i.putExtra(“parameter1", value1); startActivity(i); String value1 = extras.getStringExtra(“parameter1”);

5. Start service in Android startService(new Intent(this, UpdaterServiceManager.class)); Intent i = new Intent(this, Service1.class); startService(i);

Logging Application Information V: Verbose (lowest priority) D: Debug I: Info W: Warning E: Error A: Assert Log.e(“tag1",“message1"); To check this message goto Logcat (Alt + 6)

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