emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mark Elston <m_elston@comcast.net>
To: Sven Bretfeld <sven.bretfeld@gmx.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: MobileOrg and Voice Capturing (Android)
Date: Wed, 01 Dec 2010 17:52:48 -0800	[thread overview]
Message-ID: <4CF6FBF0.1090707@comcast.net> (raw)
In-Reply-To: <87d3plotiv.fsf@gmx.ch>

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<m_elston@comcast.net>  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
>

  reply	other threads:[~2010-12-02  1:53 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 [this message]
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
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=4CF6FBF0.1090707@comcast.net \
    --to=m_elston@comcast.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=sven.bretfeld@gmx.ch \
    /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).