From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Jones Subject: Re: MobileOrg and Voice Capturing (Android) Date: Fri, 3 Dec 2010 00:02:02 -0500 Message-ID: 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> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1378731754==" Return-path: Received: from [140.186.70.92] (port=37593 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PONmr-0001Nh-HA for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 00:02:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PONmp-0006qG-Re for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 00:02:25 -0500 Received: from mail-qy0-f169.google.com ([209.85.216.169]:41916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PONmp-0006pz-Nw for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 00:02:23 -0500 Received: by qyk7 with SMTP id 7so393937qyk.0 for ; Thu, 02 Dec 2010 21:02:22 -0800 (PST) In-Reply-To: <4CF8210A.8020705@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: Mark Elston , Sven Bretfeld Cc: emacs-orgmode@gnu.org --===============1378731754== Content-Type: multipart/alternative; boundary=0016367f9ba69073c704967a7134 --0016367f9ba69073c704967a7134 Content-Type: text/plain; charset=ISO-8859-1 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 basically, you need to emit the action: com.matburt.mobileorg.CAPTURE it takes an "extra" intent value called "txtValue" which will pre-populate the text display. This will be included in the next release of MobileOrg, but if you guys could give it a try with that debug build and make sure there aren't any glaring issues that would be much appreciated (there are some other cool new features in there too, like colored todo tags). I plan on providing a way of launching this speech recognition capture interface if I can find a good way to do it but in the meantime here's an example Python script that works with SL4A/ASE: import android droid = android.Android() message = droid.recognizeSpeech("Capture New Note").result a = droid.startActivity("com.matburt.mobileorg.CAPTURE", None, None, {'txtValue':message}, False) http://matburt.net On Thu, Dec 2, 2010 at 5:43 PM, Mark Elston wrote: > Looking forward to it Matthew. Thanks for the hard work. > > Mark > > > On 12/2/2010 12:41 PM, Matthew Jones wrote: > >> Mark, you are exactly right about this... I made some good progress on >> it last night, I will reply to this thread once I have something >> concrete. Would love to get you guys to test and earlier version of it >> before I release it to the market with that change. >> >> http://matburt.net >> >> >> On Thu, Dec 2, 2010 at 2:14 PM, Mark Elston > > wrote: >> ... >> >> Sven, >> >> Matthew said in an earlier email that he has some work to do >> on the Capture activity to make this work. I am not sure what >> that work is - it *could* be that there is no Intent filter >> for that Activity in the manifest for it to respond to. That >> would have the effect you noticed as (I think) both of the >> above methods create Intents and send them to the app to start >> the Activity. >> >> But whatever it is you will likely have to wait for him to finish >> before this will work. >> >> Mark >> > --0016367f9ba69073c704967a7134 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Alright guys, I've gotten this to work.... I've posted an earl= y build of MobileOrg that supports this here:


basically, you need to emit the action: com.matburt.mob= ileorg.CAPTURE

it takes an "extra" inten= t value called "txtValue" which will pre-populate the text displa= y.

This will be included in the next release of MobileOrg,= but if you guys could give it a try with that debug build and make sure th= ere aren't any glaring issues that would be much appreciated (there are= some other cool new features in there too, like colored todo tags). =A0 I = plan on providing a way of launching this speech recognition capture interf= ace if I can find a good way to do it but in the meantime here's an exa= mple Python script that works with SL4A/ASE:

import android
droid =3D android.Android()
message =3D droid.recognizeSpeech("Capture New Note").res= ult
a =3D droid.startActivity("com.matburt.mobileorg.CAPTURE= ", None, None, {'txtValue':message}, False)

http://m= atburt.net


On Thu, Dec 2, 2010 at 5:43 PM, Mark Els= ton <m_elston@= comcast.net> wrote:
Looking forward to it Matthew. =A0Thanks for the hard work.

Mark


On 12/2/2010 12:41 PM, Matthew Jones wrote:
Mark, you are exactly right about this... I made some good progress on
it last night, I will reply to this thread once I have something
concrete. =A0 Would love to get you guys to test and earlier version of it<= br> before I release it to the market with that change.

http://matburt.net


On Thu, Dec 2, 2010 at 2:14 PM, Mark Elston <m_elston@comcast.net
<mailto:m_elst= on@comcast.net>> wrote:
...

=A0 =A0Sven,

=A0 =A0Matthew said in an earlier email that he has some work to do
=A0 =A0on the Capture activity to make this work. =A0I am not sure what =A0 =A0that work is - it *could* be that there is no Intent filter
=A0 =A0for that Activity in the manifest for it to respond to. =A0That
=A0 =A0would have the effect you noticed as (I think) both of the
=A0 =A0above methods create Intents and send them to the app to start
=A0 =A0the Activity.

=A0 =A0But whatever it is you will likely have to wait for him to finish =A0 =A0before this will work.

=A0 =A0Mark

--0016367f9ba69073c704967a7134-- --===============1378731754== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1378731754==--