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 is android so popular?

0 Answers  


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

0 Answers  


Explain what is application context?

0 Answers  


How do I stop my android os from draining my battery?

0 Answers  


Can the user set a priority?

1 Answers  


What is after android pie?

0 Answers  


List all the versions of android.

0 Answers  


Android application can only be programmed in Java?

1 Answers  


Can you deploy executable jars on android?

0 Answers  


Explain me the difference between oncreate() and onstart()?

0 Answers  


Can the bytecode be written in java be run on android?

0 Answers  


Tell me what is needed to make a multiple choice list with a custom view for each row?

0 Answers  


Categories