Application to restart the Apache Cordova camera on the Galaxy S5

I am using cordova 3.1 to access the camera on Android.

I used

navigator.camera.getPicture

API for image acquisition, and I tested on Android 4.4.2 devices.

The Motorola Moto G is working fine. In Samsung Galaxy S5 it does not work, restarting the application. When we try to create an image from the gallery, it only works when the image is small (a few kilobytes).

Does anyone have the same issue for Samsung Galaxy S5? any solution?

+4
source share
1 answer

, S5, :

intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);

: fooobar.com/questions/164010/...

+1

Source: https://habr.com/ru/post/1546979/


All Articles