Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Post New Answer

More Android OS Interview Questions

what is the ui response time limit in android?

0 Answers  


Which is better colour os or miui?

0 Answers  


What is use of dagger in android?

0 Answers  


What is restful api in android?

0 Answers  


Does Android support push email or is it pull?

1 Answers  


What is src file in android?

0 Answers  


What's new in oreo android?

0 Answers  


What is google dagger?

0 Answers  


How does recyclerview differ from listview?

0 Answers  


Is android the best operating system?

0 Answers  


What do you mean by intent in android?

0 Answers  


What is google android sdk? What are the tools placed in android sdk?

0 Answers  


Categories