I have an application that has account in accounts and sync. I have option for synchronizing calendar and contacts. In the account there is menu in the upper right corner (standard like on all accounts). You can see what menu I'm talking about on the picture below:
What I want to do is the following:
How can I add item in this menu? Something like settings or so.
Or is there some other way how can I edit settings for this account?
I don't wan't to do this through starting the application and then going to settings, I want to do it from here.
You need to go through the usage of a SyncAdapter
with combination of a Service
.
Here is a good tutorial (based on Google I/O) to help you get started and working. Also the video shown provides good explanation of a sync adapter.
This is another good one.