From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Elston Subject: Re: MobileOrg and Voice Capturing (Android) Date: Fri, 03 Dec 2010 13:18:54 -0800 Message-ID: <4CF95EBE.4040601@comcast.net> References: <87fwul463g.fsf@gmx.ch> <4CF46B08.2020200@comcast.net> <87d3plotiv.fsf@gmx.ch> <4CF6FBF0.1090707@comcast.net> <874oawppqa.fsf@gmx.ch> <4CF7F014.7080203@comcast.net> <4CF8210A.8020705@comcast.net> <87zksnnf67.fsf@gmx.ch> <4CF9586B.7090006@comcast.net> 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=58536 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POd24-0002pf-KP for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 16:19:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POd23-0003zJ-9k for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 16:19:08 -0500 Received: from qmta04.emeryville.ca.mail.comcast.net ([76.96.30.40]:53999) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POd22-0003zE-TQ for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 16:19:07 -0500 In-Reply-To: <4CF9586B.7090006@comcast.net> 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-orgmode@gnu.org Arghh! Never mind. I didn't read Matthew's announcement well enough. If anyone is interested a script to do this is: -------------------------------------------------------- # Capture.py import android droid = android.Android() resStr = droid.recoggnizeSpeech().result droid.startActivity("com.matburt.mobileorg.CAPTURE", None, None, {'txtValue' : resStr}) -------------------------------------------------------- Of course, it could be made fancier by not bringing up the Activity if the string is empty, etc.... Thanks again, Matt. Great work. Mark On 12/3/2010 12:51 PM, Mark Elston wrote: > Sven, > > I have tried this according to what you suggested earlier > but haven't had any luck yet. My script is: > > # Capture.py > import android > droid = android.Android() > droid.setClipboard(droid.recoggnizeSpeech().result) > droid.startActivity("com.matburt.mobileorg.Capture") > > When I run this the voice capture dialog comes up and > the script exits without an exception but the Capture > activity doesn't come up and nothing is added to the > MobileOrg data. What do you have that is different? > > Mark > > On 12/3/2010 5:45 AM, Sven Bretfeld wrote: >> Hi Matthew >> >> Matthew Jones writes: >> >>> Alright guys, I've gotten this to work.... I've posted an early build of >>> MobileOrg that supports this here: >>> >>> http://matburt.net/files/mobileorg-debug.apk >> >> Thank you very much for your wonderful work. It works like a charm. I >> have tested it over ten times now, and it seems to be completely stable. >> I will do some further testing during the weekend and also try to create >> some tasker profiles with it. My ten year old son sits next to me and >> suggests some ideas for you to become a millionaire :-) >> >> Thanks again and have a nice weekend >> >> Sven >> > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode >