The document discusses Android platform development. It provides an overview of Android, the development tools including the Android SDK, emulator limitations, and Eclipse plugin. It describes Android applications, activities, intents, services, and notifications. It also discusses building application user interfaces with XML layouts and views, and applications' behavior in the Android system as defined in the AndroidManifest file.
16. android.app.Activity import android.app.Activity; public class MyActivity extends Activity{ public void onCreate(Bundle savedValues){ super.onCreate(savedValues); setContentView(R.layout.main); } }
17.
18.
19. App main User Interface Will create app layout according to the xml description: main.xml
20. Source code Layout Resource file: aapt tool App’s source code App’s package Android Project Android built in packages – Wifi, GSM, other sensors Apps behavior in Android system App main User Interface Resource delimitations
33. Source code Layout Resource file: aapt tool App’s source code App’s package Android Project Android built in packages – Wifi, GSM, other sensors Apps behavior in Android system App main User Interface Resource delimitations
34. App main User Interface Resource delimitations Apps behavior in Android system
37. public non-public We are writing a function that is present in parent class Activity as PROTECTED member inherited derived
38. public non-public: protected inherited derived Activity HelloAndroid Public: OnCreate() inherited derived keyword: super refers to the data member inherited from the base class Protected: OnCreate() super.OnCreate()
39. App main User Interface Will create app layout according to the xml description: main.xml