Describe a real time scenario where android can be used
If the Activity is showing an animation that indicates some kind of progress, what issue might you encounter and how could you address it?
What is a ContentProvider and what is it typically used for?
Can you use an Intent to provide data to a ContentProvider? If not, what would be the proper mechanism for doing this?
What is the correct way to check if a Compass sensor is present on the system? Explain your answer.
The last callback in the lifecycle of an activity is onDestroy(). The system calls this method on your activity as the final signal that your activity instance is being completely removed from the system memory. Usually, the system will call onPause() and onStop() before calling onDestroy(). Describe a scenario, though, where onPause() and onStop() would not be invoked.
Under what condition could the code sample below crash your application? How would you modify the code to avoid this potential problem? Explain your answer. Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, textMessage); sendIntent.setType(HTTP.PLAIN_TEXT_TYPE); // "text/plain" MIME type startActivity(sendIntent);
Explain in brief about the important file and folder when you create new android application.
Explain AndroidManifest.xmlfile in detail.
Describe android Activities in brief.
Describe the SmsManager class in android.
How you can use built-in Messaging within your application?
Explain what is the stack of autorelease pools. How autorelease pool work under the hood?
How will you implement sets and the intersection operation? Complexity?
what is your preferred programming language? Why? How long will it take you to learn a new programming language?