I want to save / save the entire application, that is, create a backup to restore the previous state of the application if necessary. This can be done using the backup manager or in any other way.
You can back up user data, so essentially the application refers to the cloud. Apk is just an illustrious zip file that doesn't make sense.
There is an entire article devoted to this.
Android , . factory reset Android, . , . .
.
http://developer.android.com/guide/topics/data/backup.html