broadcast presentation
TRANSCRIPT
An embedded ruby web application for remote Android device management
Michael LeonePanoptic Development, Inc18 August 2010
Why Android?
Open platform
Easy to develop and distribute software
Features SL4A, which provides environment to runRuby
Python
Perl
and many more!
What is Broadcast?
A sinatra app that runs on the android platform, exposing the Android API over a web interface.
Project Goals
Remote monitoring: Make Android state and device data available over a network
Remote control: Allow remote control of an Android device over a network.
Proof-of-concept: Demonstrate that complex ruby applications can run on Android
Get the ball rolling: Set the groundwork for a number of advanced ruby applications.
Ideas for Potential Applications
Remote surveillance systems
Remote device diagnostic utilities
Location tracking systems
Temporary network file servers
Current Features
view battery temperature
view charging state
view last location
remote camera control and image preview
remote text-to-speech
file browsing, downloading and uploading
Planned Features
remote video recording
remote audio recording
remote audio transcriptions
DEMO TIME!
Live demo running on a Motorola Droid
Cateats:Not entirely stable, not production-ready!
Not feature complete
It's alpha software running on alpha software
Camera functionality temporarily broken!
IANAD
Under the Hood
jruby
SL4A, Scripting Layer for Android
Lightweight, pure ruby server stack: sinatra + rack + webrick
rack-test and test/unit
jquery Javascript framework
jquery-file-tree for file browsing
JSON for serializing AJAX request data
Problems with Carriers
Runs fine on a local network or P2P network
Can connect from the outside internet via SSH tunneling, DMZ, port-forwarding, etc.
3G is a problemVerizon blocks all incoming ports
T-Mobile blocks all incoming ports
Sprint?
AT&T?
Questions about SL4A?
http://code.google.com/p/android-scripting/
Updated often
Has a sweet mailing list
Google has Damon Kohler working on this full-time
Other info
http://github.com/mleone/broadcast
http://panopticdev.com
Questions?
Muokkaa otsikon tekstimuotoa napsauttamalla
Muokkaa jsennyksen tekstimuotoa napsauttamallaToinen jsennystasoKolmas jsennystasoNeljs jsennystasoViides jsennystasoKuudes jsennystasoSeitsems jsennystasoKahdeksas jsennystasoYhdekss jsennystaso