Can you use an Intent to provide data to a ContentProvider? If not, what would be the proper mechanism for doing this?
1656What is the correct way to check if a Compass sensor is present on the system? Explain your answer.
2201The 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.
2691Under 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);
4094
Which scenario can test only on real devices but not on emulator?
Do we need to register all of view classes in app.js with sencha touch?
What is gen folder in android?
What is reactivex android?
Which is the virtual machine used to run the android apps?
What is the activityCreator in Android?
How do I stop my android os from draining my battery?
What is sticky intent?
State the life cycle methods of android activities?
What do you mean aidl?
What are the android application components?
Which is the best android version?
Define activity application component.
Tell us what is the relationship between the life cycle of an asynctask and an activity? What problems can this result in? How can these problems be avoided?
What is singleton class in android?