Display image with pinch zoom

cooperlegend

Active Member
Licensed User
Longtime User
Hi, Im writing an application that will take pictures and then review these.

I have two problems.

1) The preview picture (using your demo code) before capturing is always in the wrong orientation, any idea how I can get the preview to match with the camera (on my Samsung galaxy S II) ?

B4X:
   cameraRear.StartPreview

2) After capture, how can I display as a full screen picture with pinch zoom capability (so the used can review the quality of the picture before sending it off) ?

I tried webview but couldn't get the picture to load ?!?


B4X:
   viewPicture.LoadHtml("<html><body><img src='file:///" & File.DirRootExternal & "test.jpg' width='100%' height='100%'/></body></html>")
 
Top