I'm building Contacts provider for android with sync adapter. For now, I have ArrayList of contacts that I'm adding. When I run it on the emulator It's working just fine, but when I run it on the phone (Samsung Galaxy S Plus, Sony Ericsson Xperia X8) I can add the account in Settings, but there isn't the option "Sync Contacts". Any guess what could be wrong or should I post some code?

有帮助吗?

解决方案

The problem was in my xml file defining the preference screen.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top