Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Determine if system wide backup is enabled programmatically

I was wondering if it possible to determine if the user has enabled the option to backup application data to the cloud from within my android app.

I can determine this from the command line, from adb shell by calling:

bmgr enabled

Does android provide an API to do so from code?

like image 789
Savvas Dalkitsis Avatar asked Sep 29 '11 10:09

Savvas Dalkitsis


1 Answers

According to http://developer.android.com/guide/developing/tools/bmgr.html there is no API to do what you ask - only interfaces an app can implement to interact with the BackupManager regarding its data backup/restore..

like image 181
Yahia Avatar answered Oct 15 '22 19:10

Yahia