thank you moderator
i still have my iPhone 3g and am still using it as a pre paid fone on a diferent net work than my HTC
I have another problem in that i have an ipod and my iPhone 3g
I cant manage to get my music library onto both
When i try to sync my iPhone with music library from my ipod ipod it doesn't load that music it instead deletes my music on my iPhone and im left with no music
but the ipod keeps its library untouched
Follow the setup instructions for the iPhone. The contacts will sync through an Exchange email account. Once the contacts list is fully populated with your contacts on Gmail, on the website, choose to export the contacts to a .csv (comma separated values) file that nearly all mail clients can import. I don't have a functional non-Apple phone presently so you'll need the assistance of another for the import process that specifically addresses your HTC needs. I'm sure their forums can help with that.
Hope that helps
PS - Gmail's "My Contacts" group is the one that syncs with the phone's contact. Thus, all your relevant contacts to be exported must belong to that group to be included in the export, IIRC.