A question about "sample sync adapter" of developer.android.com

by jeeyeah » Wed, 30 Jun 2010 02:51:37 GMT

Sponsored Links

This is a question about "sample sync adapter" of
(You can find it as searching by "sample sync adapter" on

I don't know what "contacts.xml" is for.

Though I removed that xml file from my application, the sync adapter
worked and the user could add new account.

Is it mandatory?

Thank you.
Have a nice day.


Other Threads

1. Gmail and Gtalk ...does it have to be the same account???

I dont understand why google didnt give the option to change between
accounts...like for example I would like to have a different account
on the Gtalk instead of having the same account for everything....or
be able to change between accounts. No flexibility at all...COME ON
Edit/Delete Message


2. SIM unlock application

(I'm not sure if I'm posting this in the right place. If so I
apoligize in advance.)


I currently own a G1 and am fairly pleased with what appears to be a
promising operating system. I do have one gripe though, the SIM lock
imposed by T-Mobile. Why this was implemented on an open platform, I
really have no idea.

With that out of the way, I would like to excercise my right to get
'down and dirty' with the dev kit/source code to unlock the phone, but
I need some help. If someone (preferably from HTC/Android team) can
answer these questions, it would be very much appreciated:

1. Where is the decision making process made in the code to prompt for
a subsidy unlock code? From my understanding, the phone will read the
first few digits of the ICCID of the SIM card, which identifies the
carrier against a list of valid numbers stored somewhere in the
2. Is this possble without a modified build of android? Could this be
coded using the dev kit and offered via the app store?
3. If I were to compile android from source, how exactly would I
upload that image to the phone itself? I know in order to get the
phone into bootloader mode, I have to hold down the camera button when
turning on and then a rainbow colored screen comes up with the "Serial
0" in the center of the screen. I assume this means that there is a
console ready to interface with, but I havent been able to establish

Thanks in advance,


3. Extend Original IM

4. home page buttons

5. Video Encoding on Linux

6. Control GPS receiver through OS - T-Mobile G1

7. Emulator crashes when sdcard is loaded