Tag Archives: mobile phone

Android Email Setup at University of Southern Denmark

Android Email Setup at University of Southern Denmark

It is possible to get limited access to Exchange server provided by the university, even when outside of the university network. Simply add

sync.sdu.dk

as the exchange server address. Unfortunately this will only give you access to receiving mail (and maybe seeing your calendar?) but not sending mail, accessing the email directory or adding new appointments to the calendar.

Using IMAP

Instead of using the Exchange setup, I recommend you to use the following IMAP setup. This will allow you to receive and send emails no matter your connection type and location. Add a new IMAP account and fill the account name with something appropriate. User name includes your domain e.g. tek\myusername or sdu\myusername. The IMAP server is the same as the above exchange setup: sync.sdu.dk. The important part here is to choose the right connection security type, which must be set to SSL and port 993.

Sending Mail

Next you setup the outgoing server. Click the login needed check box, and fill in the same user name as for the incoming IMAP server. Again, remember the domain part. The outgoing server address is smtps.sdu.dk. Again the connection security part is important. Choose TLS and port 587.

What About the Calendar?

If there is a way to make the Exchange calendar sync with your android phone, with out being connected directly to the university’s network, I haven’t found it yet. My recommendation is to use Google Calendar instead, which works perfectly with my HTC Desire phone. If you really need to use the Exchange calendar as well, because you use on your normal computer, I would suggest using Googles Sync services. This allows you to install a client on your PC that syncs your Outlook/iCal etc. calendar with your Google Calendar.

And the Contacts?

I don’t really know what to do about your Exchange contacts. My recommendation is not to use them, instead using Google Contacts for example. If there is a good way to sync the Exchange contacts with Google Contacts, it would like to know it.

Synchronize Sony Ericsson K610i with Mozilla Sunbird on Ubuntu

I just wanted to write a quick howto, since it took me a while to dig this information up on the Net. The phone is a Sony Ericsson K610i and it’s being synced with Mozilla Sunbird 0.5 calendar via Bluetooth. The calendar is stored locally as an ics type calendar, but this really ought to work with calendar files stored on webdav as well. Apart from the phone and Sunbird, of course, you also need to install the following packages:

  • multisync
  • multisync-tools
  • bluez-utils
  • opensync-plugin-sunbird
  • opensync-plugin-irmc

Install them by writing:

sudo apt-get install multisync multisync-tools bluez-utils opensync-plugin-sunbird opensync-plugin-irmc

They first task is to make “msynctool” ready. Create a sync group and add two members by executing the following commands:

msynctool --addgroup SyncMe
msynctool --addmember SyncMe sunbird-sync
msynctool --addmember SyncMe irmc-sync

Now you need to discover your phone and then configure the sync. Execute:

hcitool scan

to see your phone’s MAC (remember to enable Bluetooth first….). Next do:

sdptool browse writeyourmachere

and look for the “Service Name: OBEX IrMC Sync Server” section. Note the channel number, on my phone it’s channel 8. Now you need to configure the synchronization itself. First Sunbird… write:

msynctool --configure SyncMe 1

which will open the cofinguration for the sunbird plugin in nano or vi or some other editor. Make it look like this:

<config>
<file path=”/path/to/calendarfile.ics” />
</config>

Change the path to reflect your calendar of course. Next, do the same for the IrMC plugin:

msynctool --configure SyncMe 2

It should look like this:

<config>
<bluetooth_address>yourphonemachere</bluetooth_address>
<bluetooth_channel>yourchannelhere</bluetooth_channel>
<interface>0</interface>
<identifier></identifier>
</config>

That’s really it for the configuration. To do a sync between the phone and calendar write:

msynctool --sync SyncMe --filter-objtype note --filter-objtype contact --filter-objtype todo

Notice the –filter-objtype commands I’m using here. I’m excluding notes, contacts and todos from the synchronization. If I don’t the synchronization will hang at some point. Some people report that the don’t need to do that, while others do. You will just have to try. Several people report that the need to empty their phone calendar before the first sync, but that might not be necessary. That’s really it… and it works for me :-) Some people are using the syncml package (opensync-plugin-syncm) rather that the irmc package. Since this is supported by the SE phones, it should work. In practise it didn’t for me, but it might be worth a try. If your going to try it, simply install the syncml package and instead of adding irmc as the second member of the SyncMe group, add syncml:

msynctool --addmember SyncMe syncml-obex-client

The configuration of the second member should the be something like this:

<weddav username=”user” password=”password” url=”http://server.com/path/to/webdav2.ics”></weddav>

You can find the channel in a similar way as before, just look for “OBEX SyncML Client” instead.

If you want to configure the Sunbird plugin for a webdav calendar, you could try writing as the path:

Thanks to the following sites, and many other I can’t remember any more. Go there and look for resources if you need additional help:

  • http://en.opensuse.org/OpenSync/irmc-sync
  • http://www.opensync.org/browser/plugins/sunbird/README?rev=971
  • http://www.nabble.com/problem-while-syncing-with-a-k750i-t4544072.html