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

Interact Intent? #50

Open
presttec opened this issue Feb 3, 2018 · 0 comments
Open

Interact Intent? #50

presttec opened this issue Feb 3, 2018 · 0 comments
Labels
Deffered deffered for now question

Comments

@presttec
Copy link

presttec commented Feb 3, 2018

I use the code to access contact:
Intent intent = new Intent("android.intent.action.MAIN");
intent.setAction(Intent.ACTION_SEND);
intent.setType("text/plain");
intent.putExtra(Intent.EXTRA_STREAM, Uri.parse(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS) + "/" + imageName));
intent.putExtra("jid", phoneNumber + "@s.whatsapp.net"); //phone number without "+" prefix!
intent.setPackage("com.whatsapp");

I need help to capture the submit button(com.whatsapp:id/send)

@suraj0208 suraj0208 added question Deffered deffered for now labels Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deffered deffered for now question
Projects
None yet
Development

No branches or pull requests

2 participants