Do as directed : 1. What is Service? 2. Define Ordered Broadcast. 3. How many threads are there in asyncTask in android? 4. Explain Toast with example. 5. What operating system is used as the base of the Android stack? 6. What functionality can be accomplished by using the TelephoneNumberUtil class? 7. You can shut down an activity by calling its _______ method.
[7 marks]State whether the following statements are true or false with reason. 1. The Activity context is tied to the lifecycle of the application, while the application context is tied to the lifecycle of an Activity. 2. PreferenceFragment is NOT related to fragment class. 3. The Action Bar is enabled by default in any Activity that uses the default theme and whose application has a minimum SDK version of 11. 4. In order to create and return the required view for Fragment, we need to override the onCreateView() method of Fragment life cycle. 5. While resolving resources, android runtime first loads alternative resources if available. 6. Once installed on a device, each Android application lives in its security sandbox. 7. onPause() is one of the state in the lifecycle of a service.
[7 marks]List important building blocks of an android application. Discuss the life cycle of an activity with diagram.
[7 marks]In how many ways one can parse xml file in an android application? Explain how the xml is parsed using the XMLPullParser.
[7 marks]Why AndroidManifest.xml file is considered as a backbone of an android project? Discuss with its structure.
[7 marks]List the different ways to save data permanently in android applications. Also write code to explain how to create, read, update and delete Shared Preferences.
[7 marks]What is the purpose of Content Provider? Enumerate different built-in content providers and also explain any one of them with example.
[7 marks]Why SQLiteDatabase is the best database choice for mobile application development? Explain with suitable example how to insert, update and delete database records using SQLiteOpenHelper class.
[7 marks]What is the use of Dialogs? List various built-in dialogs available in android. Also Explain key methods required for managing the Dialog life cycle. Page 1 of
[2 marks]Enumerate the usages of Explicit and Implicit Intents. Also explain the various native android actions that can be performed using Intent.
[7 marks]Write the code: 1. Finding all sensors and pressure sensor of the host environment 2. Create a Map based Activity.
[7 marks]Why Animation is important for android application? List various animations supported in android. Also explain tweened animation with examples.
[7 marks]Can we have our own market to publish an android application? Explain the steps for publishing and monetizing android app on Google Play Store.
[7 marks]How many types of menu are available in android? Explain how to create context menu with suitable example.
[7 marks]Explain the following in brief : 1. Logcat 2. DDMS
[7 marks]What is the difference between View and ViewGroup class? Enumerate different built-in layouts in android. Also explain any one in details.
[7 marks]What is needed by the application to send an SMS? Write code for sending and receiving SMS in your application. Page 2 of
[2 marks]