top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Android Application Crashing Issue [CLOSED]

+1 vote
265 views

Being a learner. I would like to know that "my code sample below crash the application? How would we can modify the code to avoid this problem?", which has become difficult to debug. I hope any tech developer help me in resolving this issue

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);

This question has an answer at: Android Activity Crashing
posted Jan 23, 2017 by Kyle Flores

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
Please look at this link
http://tech.queryhome.com/126016/android-activity-crashing

This problem has been discussed in detail in the past

...