[Ubuntu QML] Importing Google Contacts

I have a lot of contacts in my phone… I am sure you will have more, but syncing over 500 contacts to Ubuntu phone using the command line for Syncevolution gets tedious.

So I wrote a little QML app to do the trick for you. Unfortunately, to run a system command the application has to run unconfined, so I have not yet submitted it to the store.

But if you want to install it yourself it is pretty simple:

  1. Download this file
  2. push the downloaded file to your phone, like so: adb push com.ubuntu.developer.vtuson.contactsimporter_0.9_armhf.click /home/phablet
  3. then run this to install it: adb shell “sudo -u phablet pkcon -p install-local  /home/phablet/com.ubuntu.developer.vtuson.contactsimporter_0.9_armhf.click”

You should be good to use it now, the app looks like this: (and if you want to check out the code is here)

contactsimp

About these ads

13 Responses to [Ubuntu QML] Importing Google Contacts

  1. Shuduo says:

    I used it to import contacts from a gmail account and it looks good. then I tried to do it again with another gmail account with many contacts (>500). It showed import success but the contact list is still from previous. Even I did it again after I removed all exist contacts, it still show contacts from first gmail account.

    • Victor Palau says:

      Hi,

      I am not sure what will be happening for that.. but multiple accounts can be a mess.

      Thanks,

      Victor

      • Shuduo says:

        OK. I reinstall it then import my contacts again. It works great. :)
        Actually I can’t uninstall it since click unregister does not work so I reflash whole system then install importer again.

  2. Pingback: Developing for Android and Ubuntu – with the same phone | Victor Palau's Blog

  3. Pingback: Victor Tuson Palau: Developing for Android and Ubuntu – with the same phone | itux.info

  4. Dimy says:

    Hi,

    I’ve instaled the app today because I needed to update my Google Contacts on server and I have checked the merge case but is not working :( I receive the following error after 3 minutes: “sync error”.

  5. elopio says:

    Awesome, thank you!
    Shouldn’t this be part of the contacts core app? It would be a lot nicer as a feature there, taking the gmail credentials from the accounts settings, .

  6. sangshuduo says:

    seems it does not show up with new build (v206 from trusty-proposal). really wish it can be integrated into contacts app then the feature can be brought with each future image.

  7. Yaseen says:

    I am able to install the application. But when i am trying to import the contacts, i am getting sync error.

    Sync Status
    Sync Error

    Am i missing something??

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: