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

Why we use linux id in android?

0 Answers  


What is android?

1 Answers  


If I have a Motorola Android-based device that doesn’t have the Android Market app, can I still download the GoToMeeting app?

1 Answers  


What is the google android sdk?

0 Answers   Arigo Infotech,


What is the advantage of android?

0 Answers  


How does aosp relate to the android compatibility program?

0 Answers  


What is lifecycle of an activity?

0 Answers  


What is xml/ directory?

0 Answers  


What is the name of the database used in android?

0 Answers  


What's the latest android operating system?

0 Answers  


What features does it have?

1 Answers  


Could you name a few key components of android?

0 Answers  


Categories