media.capturePhoto = different from Enterprise than Pro edition (Help)

Hi

The media.capturePhoto Corona API is not behaving the same way if compile with the Simulator or Enterprise. If you look on the provided picture you will see that the visual is completely different. Our app needs to be build with Enterprise and we need to have the same camera option as the pro version.

We have defined the following in our androidManifest.xml :

\<uses-permission android:name="android.permission.INTERNET"/\> \<uses-permission android:name="android.permission.CAMERA"/\> \<uses-permission android:name="android.permission.ACCESS\_NETWORK\_STATE"/\> \<!-- Informs the app store that this app requires OpenGL ES 2.0 as a minimum. Required by Corona. --\> \<uses-feature android:glEsVersion="0x00020000"/\> \<!-- Informs the app store what features are required or are optional for this app. --\> \<!-- Setting the telephony feature to not required allows this app to be installed by devices that are not phones. --\> \<uses-feature android:name="android.hardware.telephony" android:required="false"/\> \<uses-feature android:name="android.hardware.camera" android:required="false"/\> \<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/\>

But this make no difference and does not work. Anybody can help us with this please ?

cameradiff.jpg

Thanks

Nick

Please dismiss this question, it is now working.

I assume you resolved this issue by adding the “android.permission.WRITE_EXTERNAL_STORAGE” permission, right?

For other developers reference, we document this here…

   http://docs.coronalabs.com/api/library/media/capturePhoto.html#android

That camera activity that you saw is actually Corona made.  We default to our own camera activity if we are unable to find a Camera app on the device and if you do not have the external storage permission.  It’s actually a feature.  :slight_smile:

Yes, the WRITE_EXTERNAL_STORAGE permission was missing. Now everything is working.

Nice to see, that your team implement your own camera activity if no App. Well done :slight_smile:

Please dismiss this question, it is now working.

I assume you resolved this issue by adding the “android.permission.WRITE_EXTERNAL_STORAGE” permission, right?

For other developers reference, we document this here…

   http://docs.coronalabs.com/api/library/media/capturePhoto.html#android

That camera activity that you saw is actually Corona made.  We default to our own camera activity if we are unable to find a Camera app on the device and if you do not have the external storage permission.  It’s actually a feature.  :slight_smile:

Yes, the WRITE_EXTERNAL_STORAGE permission was missing. Now everything is working.

Nice to see, that your team implement your own camera activity if no App. Well done :slight_smile: