emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] MobileOrg and Voice Capturing (Android)


From: Mark Elston
Subject: Re: [Orgmode] MobileOrg and Voice Capturing (Android)
Date: Wed, 01 Dec 2010 17:52:48 -0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

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<address@hidden>  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 via email to

[Prev in Thread] Current Thread [Next in Thread]