How do you open the following apps (using intents) to a specific contact in whatsapp, viber, skype, facebook, SMS default app? I want to open those apps to the specific contact I set, so that those apps are ready to send a message when I write it into them. But want the contact to appear in the message automatically before I send the message. What is the code for this? Thanks.
I found this code on the internet but it's not for b4A. Can anyone translate it into B4A?
This code opens welcome screen for specified contact
String sphone ="12345678";Uri uri =Uri.parse("tel:"+Uri.encode(sphone));Intent intent =newIntent("android.intent.action.VIEW");
intent.setClassName("com.viber.voip","com.viber.voip.WelcomeActivity");
intent.setData(uri);
context.startActivity(intent);
but user should click button "free call" to start call.