From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sven Bretfeld" Subject: MobileOrg and Voice Capturing (Android) Date: 28 Nov 2010 20:10:27 +0100 Message-ID: <87fwul463g.fsf@gmx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=46738 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PMmdq-0002u6-Lc for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 14:10:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PMmdo-00048J-EB for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 14:10:30 -0500 Received: from mx5.rz.ruhr-uni-bochum.de ([134.147.64.33]:47900) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PMmdo-00047x-59 for emacs-orgmode@gnu.org; Sun, 28 Nov 2010 14:10:28 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-org Hi together TextToSpeech has made our lives easier, especially for car-drivers like me. I have tried to capture tasks by voice on my Android device and implement them automatically to my org-files at home. The results are practicable but far from optimal by now. Maybe there are some Android users on this list who like to get involved in trying to find an optimal solution.=20 *My method at the moment:* I use "tasker," the Android killer-app for automatizing almost every thinkable task. Created a new task called "org-voice" with tasker. Pressing the associated icon does the following: 1. Plays Darth Vader's voice saying "What is thy bidding, my master?" 2. Loads app Voice2Clipboard 3. Waits for 30 seconds (to get Voice2Clipboard ready for recording and for me to finish speaking the note) 4. Write File: Writes the clipboard content to a file /sdcard/dropbox/org/org-voice.org After uploading the file with Dropbox, a cronjob on my PC (which is always switched on) takes care of the file. Its lines (each is a capture item) are transformed by a series of sed operations and put into a different file from-org-voice.org together with some TAGS and a TODO keyword; after that the original file is emptied. That's it. The problem with this approach is that you still have to manually download the (empty) capture-file (org-voice.org)[=C2=B9] and to manually u= pload it again, because Dropbox for Android doesn't sync changed files on the sdcard automatically. And especially to upload process needs quite a view clicks. *What would be better:* Use MobileOrg and have the clipboard contents written into the file used by MobileOrg for written captures. This is /sdcard/mobileorg/mobileorg.org if you use sdcard-storage. This way, you could use MobileOrg's own syncing process and no cronjob would be necessary. This could be done in two ways: 1. Use the same procedure and let tasker write the contents into the file directly. This is not possible for me since I have to use internal-storage for reasons of performance[=C2=B2] and the files in /data/data/com.matburt.mobileorg/files/ are not writable for other programs without root. 2. Use tasker to start MobileOrg, enter the capture dialog and have a voice recognition app started. I simply don't know how to do that. Maybe tasker can even be programmed to automatically start MobileOrg's syncing process from time to time. But I don't know if and how this is possible.=20 Does anybody have a better solution? Or a better idea? Greetings, Sven [=C2=B9] If you don't, the next sync with dropbox would replace the file with your notes by the empty file hosted on the Dropbox server. [=C2=B2] On HTC Magic (Android 1.6) sdcard-storage makes MobileOrg incredibly slow. It takes more than a minute after starting MobileOrg until the files are displayed.