From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Elston Subject: Re: MobileOrg and Voice Capturing (Android) Date: Wed, 01 Dec 2010 17:52:48 -0800 Message-ID: <4CF6FBF0.1090707@comcast.net> References: <87fwul463g.fsf@gmx.ch> <4CF46B08.2020200@comcast.net> <87d3plotiv.fsf@gmx.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=59483 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNyM3-0000zf-Ps for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 20:53:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNyM2-0002Ww-O4 for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 20:53:03 -0500 Received: from qmta10.emeryville.ca.mail.comcast.net ([76.96.30.17]:40520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNyM2-0002W4-DT for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 20:53:02 -0500 In-Reply-To: <87d3plotiv.fsf@gmx.ch> 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: Sven Bretfeld Cc: emacs-orgmode@gnu.org I don't know about the current state of MobileOrg and its implementation details but I would look at the two sl4a methods: startActivity, and startActivityForResult. Playing with these two methods should get you most of the way there, I would think. Mark 2010 5:25 PM, Sven Bretfeld wrote: > Hi Mark > > Mark Elston writes: > >> Have you looked at sl4a (formerly ase)? With it you can >> start Intents and perform clipboard operations plus file >> manipulations using a standard scripting language like >> perl, python, or ruby (among others). This might be >> very useful. > > That's really useful. I have created a simple python script to call > voice input: > > ,----SpeechToClip.py > | > | import android > | droid = android.Android() > | droid.setClipboard(droid.recognizeSpeech()[1]) > | > `---- > > Now, I couldn't figure out how to extend the script to call MobileOrg's > Capture activity. Is that possible? Maybe even with an automatic > insertion of the clipboard content? > > Thanks for help > > Sven >