Is there any way to install and to uninstall an android apk using phoneGap?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.