문제

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