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?
what is the procedure of using D2MS server in cloud messaging in android
what is preferences