jaraiza Active Member Licensed User Longtime User Nov 20, 2012 #1 Hi, Since Erel's Camera Library only supports Landscape (AdvancedCamera gives me lots of problems) and my app is Portrait only... How can I block or allow rotation for each Activity? Also... What would happen if the device doesn't support landscape and I use Camera Library?? :signOops: Thanks a lot! Last edited: Nov 20, 2012
Hi, Since Erel's Camera Library only supports Landscape (AdvancedCamera gives me lots of problems) and my app is Portrait only... How can I block or allow rotation for each Activity? Also... What would happen if the device doesn't support landscape and I use Camera Library?? :signOops: Thanks a lot!
Erel B4X founder Staff member Licensed User Longtime User Nov 20, 2012 #2 What would happen if the device doesn't support landscape and I use Camera Library?? Click to expand... Are you sure that there are such devices? Upvote 0
What would happen if the device doesn't support landscape and I use Camera Library?? Click to expand... Are you sure that there are such devices?
jaraiza Active Member Licensed User Longtime User Nov 20, 2012 #3 Erel said: Are you sure that there are such devices? Click to expand... Well, when I was doing research on this forum to try to resolve my doubt about blocking rotation for each activity I remember reading something about "If the device supports it" regarding landscape, so I thought that happened to someone But I'm been unable to find if there's such way to block rotations per activity If it isn't, is there anyway to determine if the shot was made while in portrait or landscape mode? Last edited: Nov 20, 2012 Upvote 0
Erel said: Are you sure that there are such devices? Click to expand... Well, when I was doing research on this forum to try to resolve my doubt about blocking rotation for each activity I remember reading something about "If the device supports it" regarding landscape, so I thought that happened to someone But I'm been unable to find if there's such way to block rotations per activity If it isn't, is there anyway to determine if the shot was made while in portrait or landscape mode?
coslad Well-Known Member Licensed User Longtime User Nov 20, 2012 #4 Hi, I have the same problem. My application must work only on portrait mode, but I need to take picture in landscape. I am looking for the same solution. Inviato dal mio H9500 con Tapatalk 2 Upvote 0
Hi, I have the same problem. My application must work only on portrait mode, but I need to take picture in landscape. I am looking for the same solution. Inviato dal mio H9500 con Tapatalk 2
NJDude Expert Licensed User Longtime User Nov 20, 2012 #5 You can change the orientation of a specific activity by using SetScreenOrientation, this requires the Phone library. Upvote 0
You can change the orientation of a specific activity by using SetScreenOrientation, this requires the Phone library.
jaraiza Active Member Licensed User Longtime User Nov 21, 2012 #6 NJDude said: You can change the orientation of a specific activity by using SetScreenOrientation, this requires the Phone library. Click to expand... Thanks! I thought SetScreenOrientation would have to be set each time the user changes rotation, but it indeed works just calling it once :sign0162: Upvote 0
NJDude said: You can change the orientation of a specific activity by using SetScreenOrientation, this requires the Phone library. Click to expand... Thanks! I thought SetScreenOrientation would have to be set each time the user changes rotation, but it indeed works just calling it once :sign0162: