Alexander Stolte Expert Licensed User Longtime User Jun 24, 2020 #1 If i want to Initialize the camera object, then i need a page. The root panel is not working. How to handle it in B4XPages? B4X: Dim cam As Camera cam.Initialize("cam", Root) cam.SelectFromSavedPhotos(Sender, cam.TYPE_IMAGE) Last edited: Jun 25, 2020
If i want to Initialize the camera object, then i need a page. The root panel is not working. How to handle it in B4XPages? B4X: Dim cam As Camera cam.Initialize("cam", Root) cam.SelectFromSavedPhotos(Sender, cam.TYPE_IMAGE)
Erel B4X founder Staff member Licensed User Longtime User Jun 25, 2020 #2 B4X: cam.Initialize("cam", B4XPages.GetNativeParent(Me)) Upvote 0