Intent to bring Skype up ?

myriaddev

Active Member
Licensed User
Longtime User
Is there a intent to bring a Skype like app up
with phone #, etc ?
Thanks, Jerry
 

rboeck

Well-Known Member
Licensed User
Longtime User
Yes, we can...
This is my code for dialing with skpye; the variable No contains the nubmer

Dim i As Intent
i.Initialize(i.ACTION_VIEW, "skype:"& No)
i.SetComponent("com.skype.raider")
i.PutExtra("confirm", "Yes")
StartActivity(i)
 
Upvote 0

merlin2049er

Well-Known Member
Licensed User
Longtime User
B4X:
Dim skypeno As String

dbSQL.Initialize(File.DirDefaultExternal, "Agents.db", True)   

skypeno = dbSQL.ExecQuerySingleResult2("SELECT skypeid from Agents Where ID = ?",Array As String(Position))

Dim i As Intent
i.Initialize(i.ACTION_VIEW, "skype:"& skypeno)
i.SetComponent("com.skype.raider")
i.PutExtra("confirm", "Yes")
StartActivity(i)

I tried this, it launches skype. Put's the right number in there, but no call is made. Tried making the call to echo123. (skype feedback).
 
Upvote 0
Top