I want to store/save the whole application, that is to create a backup so that whenever required, will be able to restore the same previous state of application. Can it be done with backup manager or any other way.
Backup options. Android provides two ways for apps to back up their data to the cloud: Auto backup for apps and Key/Value Backup. Auto Backup, which is available on Android version 6.0 and higher, preserves data by uploading it to the user's Google Drive account.
Back up apps, data and settings To view your backup settings, open the Settings app on your Android device and tap on System > Backup. There should be a switch labeled "Back up to Google Drive." If it's turned off, turn it on.
You can backup the user data, so in essence the application state to a cloud. The apk is just a glorified zip file, it makes not sense backing that up.
There is an entire article dedicated to this.
Android's backup service allows you to copy your persistent application data to remote "cloud" storage, in order to provide a restore point for the application data and settings. If a user performs a factory reset or converts to a new Android-powered device, the system automatically restores your backup data when the application is re-installed. This way, your users don't need to reproduce their previous data or application settings. This process is completely transparent to the user and does not affect the functionality or user experience in your application.
Look at this Data Backup.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With