Hi.. You didn't say what happens after the photo shot and video call.. Will you open the door, or the app is just takes the photo and show the guy on your phone?
Ok for anyone wanting to know here is how to start a skype call. Now to move onto the rest of my app
B4X:
Sub Process_Globals
Dim Sky As Intent
End Sub
Sub Globals
Private Button1 As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("doorbell")
Sky.Initialize(Sky.ACTION_VIEW, "skype:usersSkypeID?call&video=true")
Sky.SetComponent("com.skype.raider")
Sky.PutExtra("confirm","Yes")
End Sub
Sub Button1_Click
StartActivity(Sky)
End Sub
You can call StartActivity from a service to bring back your activity to the front. You can do it after 30 seconds (I don't see any way to know when the call ends).