Un-Answered Questions { Mobile OS }

Describe a real time scenario where android can be used

733


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

641


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

540


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

597


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

866





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.

1298


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

1565


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

688


Explain AndroidManifest.xmlfile in detail.

526


Describe android Activities in brief.

443





Describe the SmsManager class in android.

496


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

469


Explain what is the stack of autorelease pools. How autorelease pool work under the hood?

482


How will you implement sets and the intersection operation? Complexity?

428


what is your preferred programming language? Why? How long will it take you to learn a new programming language?

425