Android: call custom methods in a ContentProvider

后端 未结 2 521
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 12:47

I have a custom ContentProvider I use to store fixes obtained from the GPS into a SQLite database. This class overrides ContentProvider methods (delete, insert, query...),

2条回答
  •  囚心锁ツ
    2020-12-10 13:27

    As of API level 11 there is a method ContentResolver.call(Uri, String, String, Bundle) which provides extra flexibility.

提交回复
热议问题