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.
2203The 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);
4096
Which is the best os for mobile?
Which method is implemented by all subclasses of an activity?
What is use of dagger in android?
What does apk stand for?
Explain apk format in android? How to make an apk file?
What is the life cycle methods of android activities?
how to create a service with single thread?
to write a back ground functionality in an activity, should I use a thread or service?
Specify key disadvantages of android?
What is a sticky broadcast? Give an example.
Can we deploy executable jars on android?
Where are permissions declared?
What is android 8.0 called?
What is sticky intent?
What is the difference between thread and a service in Android?