Un-Answered Questions { Mobile OS }

Describe a real time scenario where android can be used

1511


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

1417


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

1192


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

1194


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

1703


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.

2231


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

2817


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

1346


Explain AndroidManifest.xmlfile in detail.

1124


Describe android Activities in brief.

1139


Describe the SmsManager class in android.

1086


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

1059


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

1064


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

945


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

953