Google Sync Working In All Android 2.0 Roms - G1 Android Development

I have gotten google sync working in all Android 2.0 roms through exchange. It syncs mail, contacts, and calendar without the need for google apps. To get this working open email, and make a new exchange account and put in your gmail email address and password and then select manual setup. Select exchange account. For Domain/Username put in "/[email protected]" without quotes. The password should be filled in from the previous field. The Exchange server is "m.google.com" without quotes. Check both boxes below and hit next. Select the checking frequency(or push) and amount to synchronize. Select which options you want below, then select next. Put in an account name and display name, then hit done. If you have corporate calendar installed, then your calendar will synchronize and so will your contacts and email. Now you have push gmail, contacts, and calendar. Because exchange will only synchronize a month of emails, I also setup my gmail as an IMAP account so I still have access to my old emails. The android email app is not as good as the gmail app IMHO, but it is a temporary solution, and new emails seem to show up faster this way!

AWESOME! The best I could do was use an app to back them up to vcard and that still eff'ed up all the names. Great work!

This is just the exchange synchronisation option from android nothing to do with gapps.
This thread isn't specific for Dream G1

Related

Temporary Exchange Work Around for 2.0 Eclair Gmail syncing issues

-After setting up your phone Open the email app (not gmail) Select exchange account.
-For Domain/Username put in "/[email protected]"(or "/[email protected]" or google apps users) without quotes. The password should be filled in from the previous field. The Exchange server is "m.google.com" without quotes. Check both boxes below for ssl and encryption and hit next.
-Select the checking frequency(push will notify you as soon as a new email is delivered) and amount to synchronize (up to a month). then select next.
-Put in an account name and display name, then hit done. If you have corporate calendar installed, then your calendar will synchronize and so will your contacts and email.
Now go to your account sync settings and turn off all syncs for your gmail account, but make sure sync and exchange are turned on so that it updates when new emails or contacts come in.
This is a great temporary fix until on of the devs finally figues out how to get the real gmail sync working
-Thanks to ebg10 via eugene373 for the great idea
ebg10 said:
I have gotten google sync working in this rom and all other 2.0 roms through exchange. It syncs mail, contacts, and calendar without the need for google apps. To get this working make a new exchange account and put in your gmail email address and password and then select manual setup. Select exchange account. For Domain/Username put in "/[email protected]" without quotes. The password should be filled in from the previous field. The Exchange server is "m.google.com" without quotes. Check both boxes below and hit next. Select the checking frequency(or push) and amount to synchronize. Select which options you want below, then select next. Put in an account name and display name, then hit done. If you have corporate calendar installed, then your calendar will synchronize and so will your contacts and email. Now you have push gmail, contacts, and calendar. Because exchange will only synchronize a month of emails, I also setup my gmail as an IMAP account so I still have access to my old emails. The android email app is not as good as the gmail app IMHO, but it is a temporary solution, and new emails seem to show up faster this way!
Click to expand...
Click to collapse
I didn't do it, the Above Member had figured it out. Credit goes to him. & All sync to Gapps need turned Off. as Exchange uses it's own sync & it's not apart go gapps at all.
settings>accounts & Sync> Turn off Auto-sync feature.
Slight problem I'm encountering. It doesn't work for me at all. Using a G1 with AOSP17.
And btw, is it meant to be a '/' or a '\'?
bolmedias said:
Slight problem I'm encountering. It doesn't work for me at all. Using a G1 with AOSP17.
And btw, is it meant to be a '/' or a '\'?
Click to expand...
Click to collapse
/[email protected]
did you check both the check boxes?
Then your setting up your exchange account wrong if it's not working
eugene373 said:
Then your setting up your exchange account wrong if it's not working
Click to expand...
Click to collapse
thats probably not a very constructive reply.
Meh, it just won't work for me properly. I finally made it work but it slows everything down for some reason.
Back to using Auto-Sync turn-on-and-off
I tried this but it keeps telling me authentication failed. All details are correct, checked three times. Any ideas?
I have a problem with exchange... after I set it up, my emails don't come in to the mail app. I have tried sending a new email and it doesn't show up in the mail app. I have also allowed it to sync and it still does not work. No emails show up in the mail app. Is anyone else having this problem?
OK that's strange but after giving me authentication errors earlier it has now synchronised my calendar. Funky..
Google Sync over exchange officially only works in the U.S. That might be causing some of the problems.

Gmail and Exchange push together in one app

Not sure if this is common knowledge or not, but one of the things that has been frustrating me the most about my first Android phone is that I seemingly needed to use both the Gmail app and the HTC Mail app in order to achieve push email for both my gmail account and my exchange account from work.
After searching I found that this is a problem with the Evo's implementation because of the limitation of HTC Mail only allowing one exchange account (and exchange accounts are the only that can use push in HTC Mail) and Gmail app only allowing, well Gmail of course.
Then I found the apk for the stock android email application. I read that this would allow for multiple exchange accounts to be setup, which obviously means Exchange will work with it, but then I can also setup my Gmail as an exchange account, and get push for both.
Thanks to rhedgehog for providing the apk here: http://forum.xda-developers.com/showthread.php?t=676069
And here is the information on setting up your gmail account through exchange:
username: [your full email i.e. [email protected]]
password: [your gmail password]
server: m.google.com
ssl: yes
accept certs: yes (not really sure this needed, but I checked it)
There are some caveats to this. Through the stock email, it only presents you with the option of syncing email and contacts. Due to this, I still setup my Google account through the phone's settings interface and had the Google account only syn calendar. I did the same for my work and setup an Activesync Exchange account to just sync calendar. In the end up, I have under settings > accounts, I have two "Corporate" accounts syncing only email/contacts, one Activesync Exchange syncing only calendar, and one Google account syncing only calendar. I am not sure if this affects battery life, but being that they are all using push, I don't see how this setup would use any more life that just two push accounts doing all three (calendar, contacts, and email). Email and contacts I have run through the email's exchange account.
The other issue I have with this setup is that I have not found a widget yet that integrates with the stock email client. So far all that I have seen intergrate with Gmail app, HTC Mail app, K9, Touchdown, but not the stock email app. Also I heard this client doesn't work with attachments, but this hasn't presented a huge problem for me yet.
Anyway, hope this helps someone. I know I was just really annoyed by having to use to different applications for my emails. There is even the combined inbox or separate inboxes to view so that it satisfies those like me that want it all together, versus those who want to view them separately.

Froyo Calendar/Accounts Functionality

This is probably a dumb question, but is there any possibility to give Eclair the ability to sync multiple Google Apps calendars? It is limited to calendars from only 1 Google Apps account, but from what I've read, that limitation was addressed in Froyo.
Thanks in advance.
Try sharing your Google calendars with your master account and give it full permissions.
Yeah, I know that there are some workarounds (like that one), but the non-main account is my business account and the calendar isn't shareable with accounts outside the company.
Edit: Thank you, though, for the response!
The one "workaround" I have in place is that I setup an "Email" account with my google credentials using m.google.com as the server, then set it to never push mail, just sync my calendar, it's a google apps account and it works.
Sorry if I am being dense, can you elaborate/clarify?
If I add any other account to the Accounts area of Settings via the Google option, it will not provide me with the ability to sync a calendar (because my primary is a Google Apps account). If I add my account via the Corporate option, it allows creation of the account, but the calendar doesn't show up in the Calendar app.
I use the Corporate email setting, using "username"@********.***, you can just as easily use a gmail address [email protected] as an example, once the settings appear for the domain\username, wipe out what's automatically placed there and instead enter [email protected] or whatever your FULL gmail/google apps email address you wish to use, enter your password and then for the Exchange Server enter m.google.com also make sure Use SSL is enabled. Once completed I uncheck syncing of contacts as I already have the same account set up in the GMail app, I set it ti NEVER push mail, no notifications, and to sync calendar, the span amount shouldn't matter. I have had no problem getting it to show up in my list of calendars and to sync accordingly.
That's great, it works! Sadly it doesn't bring in all of your calendars, just the "primary" calendar for that account... but that is a huge improvement over the normal situation.
Thanks a lot for that tip, really appreciated.

[Q] How to sync emails from PC with Android phone (Galaxy S)?

Hey folks,
I'm sorry this is probably a n00b question but I would like to sync my emails from my PC with my phone.
On the PC I use thunderbird to download all emails (got like 6 email accounts) to the pc and delete them from the server immidiately. (I've had accounts beeing hacked in the past because I left password emails etc in my inbox, so I started to delete them from server instead of leaving them on for more security - so I can't just "download them again" from the phone - I will need to sync the phone with the data from the PC. I could switch my email client program off course if thats needed, but I rather not let the messages lay somewhere online.
Can someone maybe explain to me how that would work or give me a link or smth?
It would be perfect if it would work both sides: Either I sync the phone with the PC or the PC with the phone, or a real sync where just the new emails get exchanged. (On the same time I'd also get this to work for my laptop but phone more important now since i got it heh)
I hope someone can help me.
you can't sync with EVERY email client..
it does sync with outlook/OE... I don't know about thunderbird tho. What you CAN try to do is change the settings to never delete emails from your server when downloaded to your computer and then sync so that when you delete them from your phone they'd be deleted from the server.
get my drift?
hmm well im used to thunderbird, but i dont have to keep using it necessarily. I'd change if it makes this whole syncing easier. Its been bugging me for a while that I didnt have my emails on my laptop but now i also need em on the phone.. so I wanna finally get this to work.
The method you described wouldnt work if I somehow download the emails to the phone first instead of the pc, it would work like u described, but if I'd rather work it in both ways, a real "sync".
With outlook you could do this yea?
Try using Gmail or Windows Live mail, its more compatabile with most wireless. Goto m.live.com or Gmail
well, if you use gmail you can easily keep it on both your computer and your phone and it would sync both ways.
Get a gmail account. Then forward all your email accounts to the gmail account. You can also set the gmail account to send out as one of the other accounts.
Setup the gmail account as an imap client in thunderbird or outlook. Create a folder under the inappropriate account named old emails or whatever. Move the emails stored in your local folders to the folder setup under the imap account (you can do it directly to the inbox if you prefer).
Setup gmail on your mobile device.
Say thanks.
Sent from my SAMSUNG-SGH-I897 using XDA App
Cleaner Explanation.
1) Create a Gmail account at Gmail.com (or skip this step if you already have one).
2) Log into the web versions of each of your email accounts. Set the account to forward all emails to the new gmail account address (typically these settings are found under the settings or Options menu somewhere on the page). If you would like to continue to use these accounts you can either:
a) Give Gmail permission to send emails as all the accounts or one in particular. (Note once in the mobile apps, you cannot choose different sender addresses, only the default one. You can however change from each address on the web interface).​ b) Set a forwarder and then specify to leave a message on the server.​
3) Setup the gmail account you created as an IMAP account (use IMAP not SMTP) in thunderbird or Outlook.
a) You can find the Imap settings for desktop clients here.​
4) Once the initial sync is complete, simply drag and drop the emails from the old inbox to the Gmail account's inbox (listed in a tree menu under the IMAP.Gmail.Com listing.
5) You can now set up this email address as a SMTP or IMAP (IMAP keeps the emails on the server. This is a better idea in some cases as you have exact copies of emails on all devices you set them up as.
6) Say thanks
You can also manually do this for each email account you have, but that would take much longer and some companies do not allow or simply haven't moved to using IMAP yet (freaky right?).
Using the gmail way, you have all your emails from all your accounts plus the wonders of google. This is the easiest way to do it I can think of.
I hope my explanation is clean and clear.
thanks for the detailed explanation I guess I'll do it that way.
But the downside that you have to keep the mails on the server still stays this way. I'd really love the option to do a real sync how you expect a sync to be but I guess thats complicated or doesnt work?
I mean like.. when I'm at home .. I download the mails from my desktop pc over usb or wlan. Then I download new emails while I'm travelling or smth - and when I get back home I sync my desktop with the phone emails.
This must work somehow? I'd really hate to have to leave my emails on the server since I got bad experience with this.
I guess I'm just beeing paranoid - but I'm also perfectionist heh, so I'd love to try n get it going "the perfect way" - aka a real offline sync without usage of any server storage. (unless you count my desktop as a server..)
If you setup the system to use smtp on the phone it will dowbload the email, other than that i would suggest using a very good password.
Sent from my SAMSUNG-SGH-I897 using XDA App

[Q] An app or way to sync contacts, email, and other stuff without google?

As a lawyer, I need to be able to sync my phone to and fro with confidentiality for my clients. I was able to do this before with my palm treo(legacy device), but now that I have made the leap into the new smartphone age I realized that androids sync with google on pretty much everything so I was wondering if anyone has any idea how to sync all of the stuff on my sensation without sending any information to google.
Also what is this tmobile theme engine they are talking about in this post:
http://www.xda-developers.com/android/bring-elegance-to-your-sense-3-0-device-with-slate3duniversal/
When setting up your phone & using a gmail account, go to Accounts & Sync & uncheck syncing of contacts.
Then you can setup your e-mail accounts & contacts through HTC's exchange setup. This will not go throught google but will sync your phone to the exchange account directly.
Contact Sync
You could try using Microsoft Exchange as your email client. I use Exhange along with with my google email.
omar when i go into accounts and sync there is no feature to stop the syncing of contacts and also what is this htc exchange setup. Also i checked my gmail account and the contacts that are synced on it are only from the ones i input into google voice not my phone, but some contacts that are favorited on my phone show up on my gmail contacts as starred on android. So here is what im wondering: Does the phone only sync the contacts on my google account not all the contacts on my phone that i transfered for example from another phone
rust1n said:
omar when i go into accounts and sync there is no feature to stop the syncing of contacts and also what is this htc exchange setup. Also i checked my gmail account and the contacts that are synced on it are only from the ones i input into google voice not my phone, but some contacts that are favorited on my phone show up on my gmail contacts as starred on android. So here is what im wondering: Does the phone only sync the contacts on my google account not all the contacts on my phone that i transfered for example from another phone
Click to expand...
Click to collapse
Your phone should sync each type of contacts seperatelty.
As for accounts and sync, tap on your google account and it'll open an another screen were you can choose (check) what you want to sync.
htc exchange, by going to accounts & sync > Add Account > Exchange ActiveSync.
This is only in case you have an Exchange Server to sync with.
I exchange email via Gmail only from my PC. I also have that same account setup on my phone (it is not used there), since Android requires it.
Since I do not want my Contacts/clients residing on Google's servers, I have Gmail sync turned off.
With Gmail sync turned off, can I now configure another non-Gmail email account, have it sync with my PC (direct via USB, Wi-Fi or Bluetooth), without these Contacts ending up on Google servers?

Categories

Resources