You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys, I used the below code as per any Android project to share, wanted to
try this on Google Glass but was thrown an exception.
Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.putExtra(Intent.EXTRA_TEXT, "This is my text to send.");
sendIntent.setType("text/plain");
startActivity(sendIntent);
Error I got is quite self-explainatory.
10-24 12:12:36.510: E/AndroidRuntime(2724): FATAL EXCEPTION: main
10-24 12:12:36.510: E/AndroidRuntime(2724):
android.content.ActivityNotFoundException: No Activity found to handle Intent {
act=android.intent.action.SEND typ=text/plain (has extras) }
Is there anyway in GDK that can pull up the Share function similar to the ones
in Mirror API??
Original issue reported on code.google.com by chuazy on 24 Oct 2013 at 4:17
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
chuazy
on 24 Oct 2013 at 4:17The text was updated successfully, but these errors were encountered: