Need to pass Skype a phone #

myriaddev

Active Member
Licensed User
Longtime User
I can bring up Skype from my B4A app, but how do I
pass it a phone number as I am using this intent from thedesolatesoul:

Dim in As Intent
Dim pm As PackageManager
in = pm.GetApplicationIntent("com.skype.raider")
If in.IsInitialized Then StartActivity(in)
StartActivity(in)

Maybe use dial-er and Skype ? Thanks, Jerry
 

myriaddev

Active Member
Licensed User
Longtime User
Thanks for the help Erel!

I will look at Skype's API and other documentation and report back.
Jerry
 
Upvote 0

salmander

Active Member
Licensed User
Longtime User
Here you go mate.
B4X:
Sub mnuSkype_Click
   Dim i As Intent
   i.Initialize(i.ACTION_VIEW, "skype:" & user_name)
   i.SetComponent("com.skype.raider")
   i.PutExtra("confirm", "Yes")
   StartActivity(i)
End Sub
"user_name" is a variable containing the userid that you are making a call to.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…