emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mark Elston <m_elston@comcast.net>
To: emacs-orgmode@gnu.org
Subject: Re: MobileOrg and Voice Capturing (Android)
Date: Fri, 03 Dec 2010 13:18:54 -0800	[thread overview]
Message-ID: <4CF95EBE.4040601@comcast.net> (raw)
In-Reply-To: <4CF9586B.7090006@comcast.net>

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<bsdmatburt@gmail.com> 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
>

  reply	other threads:[~2010-12-03 21:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28 19:10 MobileOrg and Voice Capturing (Android) Sven Bretfeld
2010-11-29  2:58 ` Matthew Jones
2010-11-30 22:06   ` Sven Bretfeld
2010-11-30  3:10 ` Mark Elston
2010-12-01  3:04   ` Matthew Jones
2010-12-02  1:25   ` Sven Bretfeld
2010-12-02  1:52     ` Mark Elston
2010-12-02  3:13       ` Matthew Jones
2010-12-02  8:02       ` Sven Bretfeld
2010-12-02 19:14         ` Mark Elston
2010-12-02 20:41           ` Matthew Jones
2010-12-02 22:43             ` Mark Elston
2010-12-03  5:02               ` Matthew Jones
2010-12-03 13:45                 ` Sven Bretfeld
2010-12-03 20:51                   ` Mark Elston
2010-12-03 21:18                     ` Mark Elston [this message]
2010-12-07 10:05                 ` Sven Bretfeld
2010-12-07 16:34                   ` Matthew Jones
2010-12-07 23:24                     ` Sven Bretfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CF95EBE.4040601@comcast.net \
    --to=m_elston@comcast.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).