#sdk http://code.google.com/android cd ~/linux/android unzip *.zip export JAVA_HOME="/usr/java/jdk1.6.0_11" export PATH="$PATH:~/linux/android/android-sdk-linux_x86-1.0_r2/tools" /etc/udev/rules.d/99-android.rules SUBSYSTEM=="usb",SYSFS{idVendor}=="0bb4",SYMLINK+="android_adb",MODE="0666" udevcontrol reload_rules adb devices adb -d shell cd android-sdk-linux_x86-1.0_r2/tools/ mkdir hello ./activitycreator --out hello com.android.hello.HelloAndroid edit hello/src/com/android/hello/HelloAndroid.java change pgm as seen here docs/intro/hello-android.html cd hello ant emulator click "home" adb install bin/HelloAndroid-debug.apk click tab, "HelloAndroid" click "return" arrow click DevTools, Debug App "com.android.hello", Wait for debugger ddms adb adb -d install bin/HelloAndroid-debug.apk #Fedora 10 Eclipse is broken for Android ADT plugin, don't try #Eclipse Ganymede w/ ADT from scratch file:///home/mueller/linux/android/android-sdk-linux_x86-1.0_r2/docs/documentation.html http://www.eclipse.org/ganymede/ http://howtoforge.org/installing-google-android-sdk1.0-on-ubuntu8.04-desktop-p2 http://www.mariuszczyz.com/?p=216 wget http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.4.2-200902111700/eclipse-SDK-3.4.2-linux-gtk.tar.gz cd /opt tar xzf /home/mueller/linux/android/eclipse-SDK-3.4.2-linux-gtk.tar.gz export PATH="/opt/eclipse:$PATH" eclipse help->SW update->available SW add site: ~/linux/android/ADT-0.8.0.zip, archive OK (or this -- if it works: http://dl-ssl.google.com/android/eclipse/ ) expand all of ADT & select add site: http://download.eclipse.org/releases/ganymede/ OK filter: space/tab? (expand all of ganymede) install windows->preferences->android->SDK location:~/linux/android/android-sdk-linux_x86-1.0_r2 file->new->project->adroid->android project project name: HelloAndroid, package name: com.android.hello, activity: HelloAndroid, app name: Hello, Android workbench HelloAndroid > src > com.android.hello > HelloAndroid.java > HelloAndroid > onCreate(Bundle): double click on it cut&paste HelloAndroid code save run->run config->android app: double click project: HelloAndroid run debug perspective/java perspective breakpoint (Ctrl-Shift-b) run ... #ad-hoc http://code.google.com/p/android-wifi-tether/ http://androidactivity.com/tetherWifi.html http://www.ndroi.com/g1wifi.html http://www.ndroi.com/tether-1.6.tar wget http://www.ndroi.com/GWiFi.tar.gz #video player: market place encode under Linux avidemux2_qt4 *.avi video mpeg-4 lavc config->encode->const bit rake: 384 filters->mplayer resize:480x320 video alternative (but larger) mpeg-4 x264 config->misc->cabac:off, transform:8x8p,8x8b,4x4,4x4l,max B:0 filters->mplayer resize:480x320 audio acc (facc) config->bitrate: 128 (optional?) format mp4 adb -d push fn.mpg sdcard/video/fn.m4v adb -d shell sync eject&reinsert sd card run video player