Feng Shu <tuma...@gmail.com> writes: > Karl Voit <devn...@karl-voit.at> writes: > >> * Feng Shu <tuma...@gmail.com> wrote: >>> Karl Voit <devn...@karl-voit.at> 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 --