Update app and leave database in documents directory - or extract data manually?

Hi All,

I’ve created an app (android, deployed to Samsung Galaxy Tab 2 tablets) that takes input from the user and stores details inside a sql database in the documents directory of the app.

I need to update the app to extract different datasets from the app so need to deploy an update to make a different call on that database. I’m conscious that if I delete the app and deploy an update the database will be wiped? - my questions:

  1. How do I deploy an app update direct to a device, rather than via the app store.

OR

  1. Is the database directly available using Android File Manager/Transfer so I can extract the database somehow.

Many thanks

C

  1. You will need to provide the apk to your users directly.

  2. The sandboxed files can be accessed from a file manager on a rooted device. You can also include a call which transmits the local db to a server you specify, which sounds like what you’re looking to achieve in the first place.

Hi, 

If I provide a higher version’d apk, and they just tap inside file manager on the device will the app automatically just be upgraded?

Thanks

C

Well, they would need to go through the normal procedures for installation, but yes, the app will be upgraded.

It’s easy enough for you to test on your own as well.

Awesome work. I will test that straight away. thanks.

  1. You will need to provide the apk to your users directly.

  2. The sandboxed files can be accessed from a file manager on a rooted device. You can also include a call which transmits the local db to a server you specify, which sounds like what you’re looking to achieve in the first place.

Hi, 

If I provide a higher version’d apk, and they just tap inside file manager on the device will the app automatically just be upgraded?

Thanks

C

Well, they would need to go through the normal procedures for installation, but yes, the app will be upgraded.

It’s easy enough for you to test on your own as well.

Awesome work. I will test that straight away. thanks.