Android Question Error Landscape when using CamEX2

tariqyounis

Member
Licensed User
Longtime User
Hello all;

I am getting the error if I want to use the camera in landscape mode.
any advice?
 

tariqyounis

Member
Licensed User
Longtime User
This is a sample b4a.
#SupportedOrientations: portrait, landscape <---- this will create the error.
#SupportedOrientations: portrait <---- this will work fine.
 

Attachments

  • Project.zip
    27 KB · Views: 142
Upvote 0

klaus

Expert
Licensed User
Longtime User
Your project is a B4XPages project. Therefore you can use only one orientation in B4A !
Look at the suggested possible orientations in the code:
'SupportedOrientations possible values: unspecified, landscape or portrait.
landscape or portrait.
This is a limitation with B4XPages projects in B4A.
Have a look at the B4XPages thread point 2 after Before we start.
2. It does have some limitations. One notable limitation is that in B4A, the activity that holds all the pages should be locked to a single orientation.
 
Upvote 1
Cookies are required to use this site. You must accept them to continue using the site. Learn more…