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

“Gingerbread” is nickname of which version?

0 Answers  


List the type of android application?

0 Answers  


What is gradlew.bat?

0 Answers  


State the difference between a regular bitmap and nine- patch image?

0 Answers  


What is motion tween?

0 Answers  


What is android version 9 called?

0 Answers  


What is the difference between serializable and parcelable?

0 Answers  


How can your application perform actions that are provided by other application e.g. Sending email?

0 Answers  


What are the three layout managers?

0 Answers  


What are the notifications available in android?

0 Answers  


Is the main thread called the ui thread?

0 Answers  


Explain how to send sms in android?

0 Answers  


Categories