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

So, how should I go about picking an Android phone?

1 Answers  


Is the main thread called the ui thread?

0 Answers  


Explain the four java classes related to using sensors on the android platform?

0 Answers  


what is a handler thread?

0 Answers  


Which dialog box can you use in you android application?

0 Answers  


What is a sticky intent in android?

0 Answers  


to write a back ground functionality in an activity, should I use a thread or service?

0 Answers  


What is foreground service?

0 Answers  


What is motion tween?

0 Answers  


What are the services that can be allowed to run in a single process?

0 Answers  


What is the APK format in Android?

0 Answers   Arigo Infotech,


What is api level, codename of android 2.3.3 – 2.3.7?

0 Answers  


Categories