My application could update with myself server not use the android market. So I want to change the version with the application self. Does anyone has the experience of it ?
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.
This is not possible – you do not have write access to the version information of packages at run-time. You can only change it at build time.
It is possible to perform an upgrade programmatically, but the new package would have the version code specified at build-time as I mentioned above, and the device would require the “Install from unknown sources” option enabled.