lost and found ( for me ? )

how to install Android SDK in Utunbu 10.04 64bit

root@hat1:~# cat /etc/lsb-release | grep -i "desc"
DISTRIB_DESCRIPTION="Ubuntu 10.04 LTS"

[ install java n’ eclipse via apt-get ]

root@hat1:~# apt-get install openjdk-6-jdk openjdk-6-jre eclipse

[ install android SDK ]

download android SDK ( android-sdk_r06-linux_86.tgz ) as below.

http://developer.android.com/sdk/index.html

- expnad tar.gz file into the direcory

root@hat1:/home/hattori# mkdir android
root@hat1:/home/hattori# mv android-sdk_r06-linux_86.tgz android
root@hat1:/home/hattori# cd android/
root@hat1:/home/hattori/android# tar xzvf android-sdk_r06-linux_86.tgz

- add PATH for android SDK

root@hat1:~# egrep -i path /root/.profile
export PATH=$PATH:/home/hattori/android/android-sdk-linux_86/tools

root@hat1:~# source /root/.profile

root@hat1:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/hattori/android/android-sdk-linux_86/tools/:/home/hattori/android/android-sdk-linux_86/tools

root@hat1:~# which android
/home/hattori/android/android-sdk-linux_86/tools//android

[ start Android SDK ]

root@hat1:~# android ( launch Window )  
Starting Android SDK and AVD Manager
No command line parameters provided, launching UI.
See 'android --help' for operations from the command line.

Available packages -> install packages you need ( I installed all packages )

- create android virtual device ( AVD )

- start AVD you created

It will take a few minutes to start up android.


android OS starts up !
using web browser
- capture data of andorid browser ( User-Agent is Android/1.0 ... )

Hypertext Transfer Protocol
   GET /complete/search?hl=en&gl=us&json=true&q=google HTTP/1.1\r\n
       [Expert Info (Chat/Sequence): GET /complete/search?hl=en&gl=us&json=true&q=google HTTP/1.1\r\n]
           [Message: GET /complete/search?hl=en&gl=us&json=true&q=google HTTP/1.1\r\n]
           [Severity level: Chat]
           [Group: Sequence]
       Request Method: GET
       Request URI: /complete/search?hl=en&gl=us&json=true&q=google
       Request Version: HTTP/1.1
   Host: www.google.com\r\n
   Connection: Keep-Alive\r\n
   User-Agent: Android/1.0\r\n
   \r\n






 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.