From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Jones Subject: Re: MobileOrg and Voice Capturing (Android) Date: Wed, 1 Dec 2010 22:13:47 -0500 Message-ID: References: <87fwul463g.fsf@gmx.ch> <4CF46B08.2020200@comcast.net> <87d3plotiv.fsf@gmx.ch> <4CF6FBF0.1090707@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1547024991==" Return-path: Received: from [140.186.70.92] (port=58753 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNzcY-0006fn-Tx for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 22:14:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNzcX-0005BF-5C for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 22:14:10 -0500 Received: from mail-qy0-f176.google.com ([209.85.216.176]:43143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNzcX-0005Ay-0H for emacs-orgmode@gnu.org; Wed, 01 Dec 2010 22:14:09 -0500 Received: by qyk10 with SMTP id 10so9383278qyk.0 for ; Wed, 01 Dec 2010 19:14:08 -0800 (PST) In-Reply-To: <4CF6FBF0.1090707@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 Cc: emacs-orgmode@gnu.org --===============1547024991== Content-Type: multipart/alternative; boundary=00163630f9a5a0a2af049664d0c0 --00163630f9a5a0a2af049664d0c0 Content-Type: text/plain; charset=ISO-8859-1 I think I need to make a small change to the Capture activity to allow it to be invoked... I'm looking into it right now. http://matburt.net On Wed, Dec 1, 2010 at 8:52 PM, Mark Elston wrote: > 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 >> >> > > _______________________________________________ > 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 > --00163630f9a5a0a2af049664d0c0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I think I need to make a small change to the Capture activity to allow it t= o be invoked... I'm looking into it right now.

http://matburt.net


On Wed, Dec 1, 2010 at 8:52 PM, Mark Els= ton <m_elston@= comcast.net> wrote:
I don't know about the current state of MobileOrg and its
implementation details but I would look at the two sl4a
methods:

=A0startActivity, and
=A0startActivityForResult.

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<m_= elston@comcast.net> =A0writes:

Have you looked at sl4a (formerly ase)? =A0With it you can
start Intents and perform clipboard operations plus file
manipulations using a standard scripting language like
perl, python, or ruby (among others). =A0This might be
very useful.

That's really useful. I have created a simple python script to call
voice input:

,----SpeechToClip.py
|
| import android
| droid =3D android.Android()
| droid.setClipboard(droid.recognizeSpeech()[1])
|
`----

Now, I couldn't figure out how to extend the script to call MobileOrg&#= 39;s
Capture activity. Is that possible? Maybe even with an automatic
insertion of the clipboard content?

Thanks for help

Sven



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gn= u.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--00163630f9a5a0a2af049664d0c0-- --===============1547024991== 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 --===============1547024991==--