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);
what is a binder service in android and how it differs from started service?
what is a toast notification in android?
Which kernal is used in android?
How would you update the ui of an activity from a background service?
What is google dagger?
In sencha touch, app folder contains?
Please explain the difference between nine-patch image vs regular bitmap image?
What is the API profile exposed by Mono for Android?
How do I upgrade to android lollipop?
Can you run exe on android?
Does android have a file manager?
What are the different states wherein a process is based?