Un-Answered Questions { Android OS }

Describe a real time scenario where android can be used

771


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

676


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

578


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

634


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

900





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.

1380


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

1622


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

720


Explain AndroidManifest.xmlfile in detail.

560


Describe android Activities in brief.

476





Describe the SmsManager class in android.

527


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

503


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

653


what is preferences

652