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

There are five different methods to store persistent data. They are: shared preferences. Internal storage. External storage. Network and __?

0 Answers  


What is the correct way to check if a Compass sensor is present on the system? Explain your answer.

0 Answers  


What are some of the disadvantages of android?

0 Answers  


 What is fragment?

1 Answers  


Can you run exe files on android?

0 Answers  


Is sim pin code working?

0 Answers  


How do you access the string resource stored in the strings.xml file?

0 Answers  


How are escape characters used as attribute in Android?

0 Answers   TryTechnicals Pvt Ltd,


What do you know about intents?

0 Answers  


Specify key disadvantages of android?

0 Answers  


What is dalvik virtual machine?

0 Answers  


What is viewholder-pattern?

0 Answers  


Categories