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.
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
_______________________________________________
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