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 content provider component of android?

0 Answers  


Explain the ontrimmemory() method?

0 Answers  


How will apps change with android 2.2?

0 Answers  


How to call another activity in android?

1 Answers  


How to register a broadcast receiver?

0 Answers  


How is nine-patch image different from a regular bitmap?

0 Answers  


Is android the most popular os?

0 Answers  


What is an explicit intent?

0 Answers  


What is android os used for?

0 Answers  


What is array variable?

0 Answers  


You must declare all application components in manifest file in this way?

0 Answers  


What is asynctask?

0 Answers  


Categories