Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How install/ uninstall apk android with phoneGap?

Is there any way to install and to uninstall an android apk using phoneGap?

like image 837
lady android Avatar asked Dec 27 '22 12:12

lady android


1 Answers

PhoneGap, which is now known as Apache Cordova, depends on the standard Android SDK for Android development. As such, installation works the same way as for "native" Android applications (see the "Deploy to" sections in the Getting Started with Android guide). Besides using Eclipse, you can also use some Cordova helper scripts to deploy applications, or simply use the Android SDK's adb (un)install directly.

If you question is whether PhoneGap offers an API to programmatically (un)install an application, the answer is no. This can only be done with "native" code and some tricks.

like image 97
sschuberth Avatar answered Jan 11 '23 22:01

sschuberth