We have a working hybrid android app that has a very specific problem ONLY on our test Kindle Fire OS device running Lollipop 5.1.1 (API 22).
In our webview we have a file upload button that shows Camera/Photo Gallery etc... on every device we've tried but on this Kindle it only shows Photo and Documents. No camera. The camera works just fine outside of the app and if you access the page via the Kindle web browser and not from the webview the camera comes up as expected. The camera permissions are set in the Manifest:
And I can see in the app permissions that camera is allowed.
I do not think its the android code that is the problem since its working everywhere else and I've tried multiple versions of the code with the same result.
Here is our html code to prompt for the camera:
Has anyone run into this problem before?? Again our code works on dozens of Android devices but does not prompt for the Camera on Kindle Fire.
Thanks!
Jeff
In our webview we have a file upload button that shows Camera/Photo Gallery etc... on every device we've tried but on this Kindle it only shows Photo and Documents. No camera. The camera works just fine outside of the app and if you access the page via the Kindle web browser and not from the webview the camera comes up as expected. The camera permissions are set in the Manifest:
Code:
<uses-permission android:name="android.permission.CAMERA" />
<uses-feature
android:name="android.hardware.camera"
android:required="true" />
I do not think its the android code that is the problem since its working everywhere else and I've tried multiple versions of the code with the same result.
Here is our html code to prompt for the camera:
Code:
<input type="file" accept="image/*" name="file_upload[]" />
Has anyone run into this problem before?? Again our code works on dozens of Android devices but does not prompt for the Camera on Kindle Fire.
Thanks!
Jeff