Blog‎ > ‎

Debuging & programaning using android scripting

posted 15 Dec 2010, 15:02 by Jose Antonio Vacas Martinez   [ updated 27 Jan 2011, 04:23 ]
Installing  android sdk
from download the proper pakage
using  ubuntu
download  the sdk base package
then execute ./toos/android for complete de sdk

install the sdk platforms and the docs& API (I'm using platfomr 1.5 API 3)

Add the tools directory to the path

Public/private server
¿but if using wifi your public is in fact private because your phone use a internal ip and the port it is not forwarded?

add to the python path ¡¡you don't need to install anything more in your computer!!!

Connect the device for debuging:

In ubuntu 10.10 create the file (or if it exists modify) 
sudo vi /etc/udev/rules.d/51-android.rules
UBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"

(you can get error of "device offline" or "no permision" in other case)

connect the usb
adb usb

And to send a file to the device 
adb push /sdcard/sl4a/scripts