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);
No Answer is Posted For this Question
Be the First to Post Answer
what is the ui response time limit in android?
Which is better colour os or miui?
What is use of dagger in android?
What is restful api in android?
Does Android support push email or is it pull?
What is src file in android?
What's new in oreo android?
What is google dagger?
How does recyclerview differ from listview?
Is android the best operating system?
What do you mean by intent in android?
What is google android sdk? What are the tools placed in android sdk?