Android Interview Questions and Answers



Deployment and Process Management
Q1. Why cannot you run standard Java bytecode on Android?
Q2. Can you deploy executable JARs on Android? Which packaging is supported by Android?
Q3. Android application can only be programmed in Java?
Q4. What are Dalvik Executable files?
Q5. How does Android system track the applications?
Q6. How does an application run in isolation from other applications?
Q7. When does Android start and end an application process?
Q8. How can two Android applications share same Linux user ID and share same VM?
Q9. Is it okay to change the name of an application after its deployment?
Development
Q10. What needs to be done in order to set Android development environment where Eclipse IDE is to be used?
Q11. Define Android application resource files?
Q12. Which dialog boxes can you use in you Android application?
Q13. Define Activity application component.
Q14. Can an Android application access files or resources of another Android application?
Q15. An Android application needs to access device data e.g SMS messages, camera etc. At what stage user needs to grant the permissions?
Q16. How will you launch an Activity within you application?
Q17. How can your application perform actions that are provided by other application e.g. sending email?
Q18. What attribute values should be localized?
Q19. Write code snippet to retrieve IMEI number of Android phone.
Q20. How will you call a subactivity? Write code.
Q21. Name the resource that is a compiled visual resource and can be used as a background, title, or in other part of the screen.
Q22. What is an Action?
Q23. How will you pass data to sub-activities?
Manifest File
Q24. Where will you declare your activity so the system can access it?
Q25. Where can you define the icon for your Activity?  Read More..




No comments: