6,323
edits
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
The current Open Food Facts apps for iOS, Android and Windows Phone use Apache Cordova (previously known as Phonegap). | The current Open Food Facts apps for iOS, Android and Windows Phone use Apache Cordova (previously known as Phonegap). | ||
== Installing Cordova on your machine == | == Installing Cordova on your machine == | ||
Line 20: | Line 19: | ||
== Install | == Install Git client == | ||
* http://git-scm.com/ | * http://git-scm.com/ | ||
Line 55: | Line 54: | ||
which java | which java | ||
--> | --> an old version of java in C:\Windows\System32 was causing the issue.. :-( | ||
http://stackoverflow.com/questions/24493693/cordova-android-revision-to-low | http://stackoverflow.com/questions/24493693/cordova-android-revision-to-low | ||
Line 70: | Line 69: | ||
* https://moodstocks.com/docs/phonegap/using-the-moodstocks-sdk-in-your-phonegap-application/ | * https://moodstocks.com/docs/phonegap/using-the-moodstocks-sdk-in-your-phonegap-application/ | ||
Instructions pas Ă jour pour | Instructions pas Ă jour pour Cordova 3.6 on dirait, par contre il y a un autre example : | ||
* https://github.com/Moodstocks/moodstocks-phonegap-plugin/blob/master/src/android/Demo.java | * https://github.com/Moodstocks/moodstocks-phonegap-plugin/blob/master/src/android/Demo.java | ||
Line 97: | Line 96: | ||
=== Bugs === | === Bugs === | ||
2nd scan with Moodstocks: | |||
java.lang.RuntimeException : Unable to start activity ComponentInfo ... The specified child already has a parent. You must call removeView() on the child's parent first. | java.lang.RuntimeException : Unable to start activity ComponentInfo ... The specified child already has a parent. You must call removeView() on the child's parent first. | ||
-> | -> Problem with jQuerymobile not "exiting" properly from scan when clicking on "Back" ? | ||
=== Import | === Import on Google Play === | ||
* " | * "You have imported an APK file which is not zip-aligned. Veuillez exécuter un utilitaire d'alignement zipalign sur votre fichier APK, puis le réimporter." | ||
=== Camera, File, File transfer plugins === | === Camera, File, File transfer plugins === |