开发者

Android Phone book

Hi am u开发者_StackOverflowsing a custom phone book in my application, i want to make it dynamically updated when user edit/add new entries in android phone contact, currently i done it in onStart() ,but the problem is ,my application using some default intent,it cause the phone contact loader force to invoke,is there anyway to done this effectively. I want to know that , when user edit/add new entries then only the phonecontact loader inoke,ie is there any lastmodification date or something in android phonebook, so that i can compare these date in onstart then invoke my phonecontact loader.


Maybe you should try ContentResolver.registerContentObserver(Uri, boolean, ContentObserver). You can reload data in a Service so your UI will work fast.

I've never tried it, so it's just an idea. Sorry if I'm wrong.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜