Un-Answered Questions { Android OS }

Describe a real time scenario where android can be used

689


If the Activity is showing an animation that indicates some kind of progress, what issue might you encounter and how could you address it?

609


What is a ContentProvider and what is it typically used for?

493


Can you use an Intent to provide data to a ContentProvider? If not, what would be the proper mechanism for doing this?

565


What is the correct way to check if a Compass sensor is present on the system? Explain your answer.

810





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.

1225


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);

1509


Explain in brief about the important file and folder when you create new android application.

645


Explain AndroidManifest.xmlfile in detail.

494


Describe android Activities in brief.

411





Describe the SmsManager class in android.

465


How you can use built-in Messaging within your application?

435


what is the procedure of using D2MS server in cloud messaging in android

584


what is preferences

581