开发者

Sync-adapter and contentAuthority - how to define?

开发者 https://www.devze.com 2023-02-21 08:34 出处:网络
I am creating my own content provider. I supposed to choose unique name for contentAuthority. But if I define this in a standard way like \"com.example.someth开发者_JAVA技巧ing\", then the same value

I am creating my own content provider. I supposed to choose unique name for contentAuthority. But if I define this in a standard way like "com.example.someth开发者_JAVA技巧ing", then the same value is displayed on the sync screen and there is no way to translate that (resource id can not be passed as value for contentAuthority).


Ok, I found the solution - once ContentProvided is defined, its name (label) is displayed.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号