So, I'm creating my first custom android app and expect to deploy it internally on company-owned devices. There's offline data storage that happens in a SQLite database. I want to ensure that the users cannot remove my application and/or destroy this database (which seems to happen when the app is uninstalled). Any help would be greatly appreciated!
Related
I'm trying to understand how applications are storing data without the use of a login system. Example, an android app starts you with 500 coins and you use some of them. You have not logged in at all and you delete the 'app data' in settings and uninstall and reinstall. The app still knows you only have 450 coins left for example. The app requires internet connection so I'm assuming they are storing the info on their server. If so, how are they uniquely identifying your device? In my reading so far it seems there is no full-proof way to uniquely identify a device every time.
I'm asking because I'm going to be working on an app where I don't want to require a login but I also don't want the player to simply reinstall and get to start over. So, my question is how does everyone handle this situation to work for both iOS and android?
Google offers Firebase, which is used for notifications, but makes use of a unique identifier for an application instance on a device (both on iOS and Android), they could be using this.
There are some more providers that offer a similar service (for example OneSignal).
Reference: https://firebase.google.com/
Looking for some information and advice on the best way to go about using and integrating MongoDb for an Android App I am trying to develop. Last I looked around there was not an actual Android-MongoDb API that I am aware of so I am curious how this could be implemented. One of the biggest issues I am thinking about is connectivity while out in the field without network access since the app will be collecting data and I am wondering what is the best way to store the data locally on the device in cache until either service becomes available, or at the end of the day, the user can then upload the data. Thanks.
Is it possible for data in a Meteor app deployed to a mobile device to be saved locally so that it persists across sessions.
I would like my MEteor app to be used without Internet connection.
However, the local database keeps resetting everytime I start a new session. This is how it behaves in the browser I know but not something I want happening on an app. I assume every time the app is replaced in memory, the local data storage is reset.
I've tried using Session variables, tried saving it in collections and anonymous collections - they all get wiped every time I delete the app from my recent apps list.
For Meteor, is there a way to save data to a mobile persistently?
I would suggest to start here: https://blog.groupbuddies.com/posts/45-offline-web-apps-with-meteor
I recently wrote and installed an Android app on my device. The app wrote data to the local SQL database and uploaded this data to my webserver. But due to network problems, there are a few records that were skipped, so they aren't on my webserver.
Now i want to get those rows (or my full SQL database) from my android device. But my question is how?
If I write a new version of my app and reinstall it, then all my data will be lost.
Isn't there a way to access my SQL database without losing my data?
My device is not rooted, so those backup app's won't work...
You may get access using DDMS.
I am developing a phonegap app to store data into local database.
I am about to publish(version 1.0) and upgrade(version 1.1) the app into android market.
But before that I would like to confirm that..
When user installs update, will they lose data entered in version 1.0?
I Googled this, but haven't got any posts confirming this.
Thanks
If you have used local storage (http://docs.phonegap.com/en/2.5.0/cordova_storage_storage.md.html#localStorage) then the data is saved across upgrades.
If you used the database (http://docs.phonegap.com/en/2.5.0/cordova_storage_storage.md.html#Database) then I believe it will be saved, however I've never personally tried this.