CS-407 Mobile Application Development
CS-407 Mobile Application Development
SERVICES
Q No. 1. How Service and Activity are related to each other? (2)
Q No. 2. Briefly describe the life cycle of android service and its types? (3)
SQLITE DATABASE :
Using last digit of your roll number select the class to implement the details activity to input data from
user.
ASYNC TASK
Q No. 13. Explain AsyncTask , its purpose and some important functions. (3)
Q No. 14. AsyncTask example Code (2)
CALL BACKS
Q No. 15. Describe the call back in Android (2)
Q No. 16. Show how they are implemented with a suitable example. (3)
MOTION SENSOR
Q No. 17. Which component of android is responsible to deal with sensors? Provide a coding example
to read the sensor values. ( Select your sensor from following table by taking mod of your roll number
with 5 )
(5)
SMS MANAGER
Q No. 18. Write code to send a SMS to a user (Only Single Function) (2)
Q No. 19. Design an appropriate GUI for user, what type of permissions are required (XML only) (2)
Q No. 20. Explain functionality of SMSManager in comparison with implicit intent to send SMS? (1)
(only Write XML and Function that will send the SMS no need to write whole activity)