What is the difference between a file, a class and an activity in android?
No Answer is Posted For this Question
Be the First to Post Answer
Features of Android:
Explain the scenario in which only ondestroy is called for an activity without onpause() and onstop()?
How to Remove Desktop icons and Widgets?
Is google moving away from android?
Can you run exe files on android?
Does Android support the Bluetooth serial port profile?
What is an Intent in Android?
What is a sticky intent in android?
What are the different types of intents in android?
How to create emulator on android?
what is preferences
0 Answers Google, Tech Mentro,
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);