Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Activity Found to handle Share Intent in GDK #230

Open
GoogleCodeExporter opened this issue Nov 14, 2015 · 7 comments
Open

No Activity Found to handle Share Intent in GDK #230

GoogleCodeExporter opened this issue Nov 14, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant