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?

有帮助吗?

解决方案

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..

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top