I can not upload the image to MySQL with phonegap cordova and inappbrowser plugin on Android.
Asked
Active
Viewed 190 times
0
-
please visit [How to Answer](https://stackoverflow.com/help/how-to-answer) to contribute a good answe – Shiv Kumar Baghel Feb 03 '20 at 14:56
1 Answers
0
We need to see your code to help you to debug it.
Do you want to save to path to file in database and upload file ?
or save the file in the database (this is not a good idea).
There is a lot of advice to do it, please check this links bellow :
For upload only, look at this thread:
File-Transfer Cordova using php
To upload and save path in database :
https://codesundar.com/cordova-file-transfer-upload-images
Other link to read :

devseo
- 1,182
- 1
- 13
- 26
-
Hi thanks , i want to upload image to mysql and save pic to a folder .I try with inapbrowser plugin but can not access camera – Sakotic Neven Feb 03 '20 at 15:16
-
-
https://github.com/ShashiBadhuk/PhonegapFileUpload i try to run this but can not make apk cordova build – Sakotic Neven Feb 03 '20 at 18:03
-
-
-
i use inapbrowser but in any other way its not posible what i try – Sakotic Neven Feb 03 '20 at 23:25
-
I find this could solve i will try now https://ionicframework.com/docs/native/android-permissions – Sakotic Neven Feb 03 '20 at 23:49
-