Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 8

Android Application Development

Dhananjay Dhobi
(Roll. No MCA60)

What is Android?
-Software stack for mobile devices includes: - An operating system - Middleware - Key applications. - The Android SDK provides the tools and APIs necessary to begin developing applications. - Development of application is based on Java language.

Android Activity lifecycle

The activity lifecycle's callback methods


Method onCreate() Description Called when the activity is first created. This is where you should do all of your normal static set up create views, bind data to lists, and so on. Next onStart()

onRestart()

Called after the activity has been stopped, just prior to it being started again. Called just before the activity becomes visible to the user.

onStart()

onStart()

onResume() or onStop()
onPause()

onResume()

Called just before the activity starts interacting with the user. At this point the activity is at the top of the activity stack, with user input going to it.

onPause()

Called when the system is about to start resuming another activity. This method is typically used to commit unsaved changes to persistent data, stop animations and other things that may be consuming CPU, and so on

onResume() or onStop()

onStop()

Called when the activity is no longer visible to the onRestart() user. This may happen because it is being destroyed, or or because another activity (either an existing one or onDestroy() a new one) has been resumed and is covering it.

onDestroy()

Called before the activity is destroyed. This is the final call that the activity will receive. It could be called either because the activity is finishing

Requirements for Developing Android App


Operating Systems Windows XP (32-bit), Vista (32- or 64-bit) Windows 7 (32 or 64-bit) Mac OS X 10.5.8 or later (x86 only) Linux (version 8.04 or later is required.) Eclipse IDE Eclipse Helios-3.6 or greater(Indigo-3.7,Juno-4.2,Kepler4.3) Eclipse JDT plug-in (included in most Eclipse IDE packages) JDK 6 (JRE alone is not sufficient) Android Development Tools plug-in (recommended)

Applications - Core applications including: -an email client -SMS program -calendar -maps, -browser -contacts, and others.

You might also like