From: matt <maht-9fans@maht0x0r.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] android hacking?
Date: Thu, 8 Oct 2009 17:24:53 +0100 [thread overview]
Message-ID: <4ACE1255.8030401@maht0x0r.net> (raw)
In-Reply-To: <509071940910080734k7abe36batd34914b25a5d972b@mail.gmail.com>
Anthony Sorace wrote:
>as i understand it, "proper" android stuff is meant to be in their
>java flavor. you can load C programs,
>
http://google-opensource.blogspot.com/2009/06/introducing-android-scripting.html
http://www.mattcutts.com/blog/android-barcode-scanner/
Just as a proof-of-concept, here’s a barcode scanner written in six
lines of Python code:
import android
droid = android.Android()
code = droid.scanBarcode()
isbn = int(code['result']['SCAN_RESULT'])
url = “http://books.google.com?q=%d” % isbn
droid.startActivity(’android.intent.action.VIEW’, url)
next prev parent reply other threads:[~2009-10-08 16:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-07 22:32 Tim Newsham
2009-10-07 22:42 ` Christopher Nielsen
2009-10-08 9:41 ` matt
2009-10-08 10:12 ` hiro
2009-10-08 11:28 ` matt
2009-10-08 14:34 ` Anthony Sorace
2009-10-08 16:24 ` matt [this message]
2009-10-08 16:44 ` Tim Newsham
2009-10-08 23:10 ` hiro
2009-10-08 23:32 ` Tim Newsham
2009-10-09 12:31 ` matt
2009-10-08 16:40 ` Tim Newsham
2009-10-10 2:08 ` Ethan Grammatikidis
2009-10-29 20:03 ` Enrico Weigelt
2009-10-29 23:09 ` Tim Newsham
2009-11-24 17:35 ` Enrico Weigelt
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ACE1255.8030401@maht0x0r.net \
--to=maht-9fans@maht0x0r.net \
--cc=9fans@9fans.net \
/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.
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 NNTP newsgroup(s).