emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Org-mode contacts to Android


From: Feng Shu
Subject: Re: [O] Org-mode contacts to Android
Date: Sat, 01 Jun 2013 08:23:26 +0800
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.2 (gnu/linux)

Feng Shu <address@hidden> writes:

> Karl Voit <address@hidden> writes:
>
>> * Feng Shu <address@hidden> wrote:
>>> Karl Voit <address@hidden> writes:
>>>
>>>> In the future, I plan to add a workflow that gets contact
>>>> information form Org-mode (my central point of information) to my
>>>> phone and so forth.
>>>
>>> If you use android phone, you can write a  function
>>> "org-contacts-export-to-sqlite3" which can export org-contacts  to
>>> android contacts.db
>>
>> Yes, I am using Android on my phone.
>>
>> No, I am not able to write a sqlite3 export in ELISP because I don't
>> know ELISP (yet) :-(
>>
>> However, why should I? You mentioned your VCard export method in
>> another email here. This sounds reasonable to me. I guess, I have to
>> test this method on my Android as well some time.
>
> The reason:
> 1. speed: very slow when import vcf to android(>100 contacts)
> 2. automatic: If we export to db directly, we only need update db to
>    android phone,and don't need to run Vcardio in the phone 
>
>
> Maybe we can do like this:
>
> org-contacts -> vcf file ---vcf to sqlite3 command--> db --> push to android!

I'm very interested in integrating org and android phone effectively, 
so I want to share the solutions with others who are using android phone and 
org-mode!

I changed my setting again for unstable WIFI connection!

Integrating android phone with org  has many details to resolve:
1. speed(import vcf, import org file to org-mobile and so on)
2. WIFI problem!
3. Battery (I think this should be pay more attention when we use WIFI, 
   I use android app: Better Wifi on/off)
4. maximum possible automation. 

This is my new solution:

1. I use botsync, pull all my agenda.org to my phone by  sshd in computer
2. Change the keybinding "g" in the agenda buffer, 

#+begin_src emacs-lisp
(org-defkey org-agenda-mode-map "g" (lambda () (interactive)
                                      (org-agenda-redo t)
                                      (org-contacts-export-as-vcard)
                                      (org-mobile-push)))
#+end_src



-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]