Syncing data with a Drupal website and a smartphone . . .

Events happening in the community are now at Drupal community events on www.drupal.org.
oadaeh's picture

This is a repost of my forum question over at http://drupal.org/node/463040. I suspect there might be a bit more interest in this topic here, however.

I'm currently doing some research into the feasibility of the title. Basically, I want to be able to synchronize PIM data (and maybe other things?) with various smartphones, like the G1, the iPhone, various Blackberrys and Palm devices.

I found modules and discussions about various things like remote administration and making websites smartphone friendly, but none about syncing data.

I'm guessing that I will probably be looking at some sort of app for each smartphone I want to support, having them sync with some module like the Services module on the Drupal website.

Has anyone done or looked into doing anything in this area? Is there a particular direction I should be looking into to make this happen?

Comments

SyncML

boris mann's picture

SyncML is the main open standard in this area. You didn't mention Nokia S60, but that's the base on that series. Many others license ActiveSync from Microsoft, which is not open. I would do some research on SyncML and see what support is like on those devices.

SyncML module for Drupal

artico's picture

SyncML server module for Drupal 6.x appeared!
Please visit http://mooha.net/ to get more information

any experiences with Mooha so

globetrotter's picture

any experiences with Mooha so far?

Looking for the same, the

arojoal's picture

Looking for the same, the only thing I've found is Mooha, has anyone tried it?

Mooha SyncML Server

ButterFly-2's picture

The Mooha SyncML Server module should be able to provide the functionality you are looking for, but I'm not sure how to use it. Does anyone know where I can find instuctions for the Mooha SyncML Server module?

Mooha SyncML Server

ButterFly-2's picture

The Mooha SyncML Server module should be able to provide the functionality you are looking for, but I'm not sure how to use it. Does anyone know where I can find instuctions for the Mooha SyncML Server module?

All the documentation about

artico's picture

All the documentation about insallation you can find here: http://code.google.com/p/mooha/wiki/Install

Detailed User Oriented Instructions are needed

ButterFly-2's picture

User Oriented Instructions are needed.

I'm trying to follow the given documentation here is what I did. ..it did not work:

I down loaded the standalone server from httd:.//code.google.com/p/mooha/downloads/list

-Create a workspace in a subdomain at mycontacts.mydrupalsite.com
-Installed Drupal at public_html/mycontacts
-Installed the Mooha_SyncML Server module from www.durpal.org/projects
It automatically created mooha_server folder
In the mooha_server folder there is a sub folder titled mooha
so it looks like this public_html/mycontacts/sites/all/modules/mooha_server/mooha

I copied the two folders : “inc” and “XML” from the standalone server's archive to the mooha
directory : public_html/mycontacts/sites/all/modules/mooha_server/mooha
I edited the config.php file (note I will be flipping this to true/false as necessary)
I made “error.log” and “mooha.log” writable by the webserver (644) permissions in cPanel

Questions

  1. How do you create a new SyncML account? I know how to create a Drupal account but that does not auto populate the mooha table.
  2. Where do I specify which database to sync?
  3. Given the directions below it says I shoud use a URL like this : http://www.mycontacts.mydrupalsite/mooha
  4. when will I use the Drupal user name and password? Will it prompt me for it?

Please help. This looks like an extremely helpful module but I need explicit user friendly instructions.

Thank You in advance.

Detailed User Oriented Instructions are needed

ButterFly-2's picture

User Oriented Instructions are needed.

I'm trying to follow the given documentation here is what I did. ..it did not work:

I down loaded the standalone server from httd:.//code.google.com/p/mooha/downloads/list

-Create a workspace in a subdomain at mycontacts.mydrupalsite.com
-Installed Drupal at public_html/mycontacts
-Installed the Mooha_SyncML Server module from www.durpal.org/projects
It automatically created mooha_server folder
In the mooha_server folder there is a sub folder titled mooha
so it looks like this public_html/mycontacts/sites/all/modules/mooha_server/mooha

I copied the two folders : “inc” and “XML” from the standalone server's archive to the mooha
directory : public_html/mycontacts/sites/all/modules/mooha_server/mooha
I edited the config.php file (note I will be flipping this to true/false as necessary)
I made “error.log” and “mooha.log” writable by the webserver (644) permissions in cPanel

Questions

  1. How do you create a new SyncML account? I know how to create a Drupal account but that does not auto populate the mooha table.
  2. Where do I specify which database to sync?
  3. Given the directions below it says I shoud use a URL like this : http://www.mycontacts.mydrupalsite/mooha
  4. when will I use the Drupal user name and password? Will it prompt me for it?

Please help. This looks like an extremely helpful module but I need explicit user friendly instructions.

Thank You in advance.

Answers for your questions

artico's picture

Answers for your questions:

1) In order to enable SyncML for particular user, you need to go to the user's profile and check the chekbox named "Enable syncronisation" under the "Mooha SyncML Server" section. You also need to set the password for syncing and optionally you can allow syncing only for particular IMEI.

If you did everything correctly, you should see your user in the 'mooha_users' table.

2) Database for sync is needed to be specified in your phone's settings. Use these DB names if you're not sure:

calendar
contacts
notes
bookmarks

3) Yes your URL seems correct. Note that it's okay if you see only blank page when you open it from the browser. This URL should be used by SyncML enabled device only.

4) For syncing you need to use username and password as you set in the user's profile.

Another topic

elBradford's picture

I posted a new topic about syncing existing drupal data (contacts / calendar) to a user using syncML here: http://groups.drupal.org/node/212783

Mobile

Group organizers

Group categories

Mobile

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: