*bump*  How do you get the BackupManager?  It doesn't seem to be in
Context.getSystemService().  Thanks.


On Sep 12, 12:45 pm, Craigo <craig...@gmail.com> wrote:
> Hi,
>
> From:http://developer.android.com/guide/topics/data/backup.html
>
> To inform the BackupManager that the data has changed, you are
> supposed to call dataChanged().  However, that method is not static,
> so you need a reference to the BackupManager.  How do you get a
> reference to the BackupManager?
>
> I can get around this by calling the dataChanged(packageName) method
> which is static, like this:
> BackupManager.dataChanged(getBaseContext().getPackageName());
> which works great.  I'm just wondering if I've missed something?
>
> Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to