Can you use an Intent to provide data to a ContentProvider? If not, what would be the proper mechanism for doing this?
1186What is the correct way to check if a Compass sensor is present on the system? Explain your answer.
1700The 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.
2229Under 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);
2811
What information do you need before you begin coding an android app for a client?
what is activity context?
How was android os created?
What is use of dagger in android?
Can you use an Intent to provide data to a ContentProvider? If not, what would be the proper mechanism for doing this?
What is the significance of the .dex files? in Android?
What is the difference between an implicit intent and explicit intent?
What are the languages supported for android development?
What are the different storages available in android?
What is the relationship between the life cycle of an asynctask and an activity?
Describe android Activities in brief.
When is it desirable to kill the foreground activity?
How does android system manage activity’s life cycle?
What are three common reasons to use an intent?
how to install your app in android?