0

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:

enter image description here

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.

nikmin
  • 1,803
  • 3
  • 28
  • 46

1 Answers1

2

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.

halfer
  • 19,824
  • 17
  • 99
  • 186
Nezam
  • 4,122
  • 3
  • 32
  • 49
  • I already have a sync adapter and everything is set and it's working fine, I only need to implement some settings. – nikmin Mar 21 '13 at 10:11
  • I found it on the second link in your answer. It's the `account_preferences.xml` what I was talking about. I just didn't know how to explain it :) Thanks – nikmin Mar 21 '13 at 10:30