Un-Answered Questions { Android OS }

Describe a real time scenario where android can be used

666


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

583


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

469


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

539


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

775





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.

1186


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

1467


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

615


Explain AndroidManifest.xmlfile in detail.

466


Describe android Activities in brief.

384





Describe the SmsManager class in android.

440


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

409


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

559


what is preferences

552