Camera Deafult

cnicolapc

Active Member
Licensed User
Longtime User
Camera Default

Hi,
excuse the stupid question.
you can call the default camera phone (no camera library) from basic4?
Thank You
Nicola
 
Last edited:

magalt

Member
Licensed User
Longtime User
One way to do this is

Sub Globals

End Sub

Sub Activity_Create(FirstTime As Boolean)
Dim objIntent As Intent
objIntent.Initialize("android.media.action.IMAGE_CAPTURE", "")
StartActivity(objIntent)
End Sub

To activate a video modify the action in this mode
objIntent.Initialize("android.media.action.VIDEO_CAPTURE", "")

Marco
 
Upvote 0
Top