2011年2月25日 星期五

Freerunner: The problem of enter in Terminal emulator

1. You need to change keyboard type in your freerunner that is ruKeyboard.apk from
http://android-on-freerunner.googlecode.com/issues/attachment?aid=4852331778978639661&name=ruKeyboard_v1.3.4.apk&token=2bf2f673c0b38748aa74d0894a6006a0

2. Use adb to instll this .apk.

refer from:
http://code.google.com/p/android-on-freerunner/issues/detail?id=55

Android: Install ADB in Linux

1. Download http://www.4shared.com/file/182574434/c1225b3d/AndTools.html then execute it.


2. Install Android SDK from http://developer.android.com/sdk/index.html.

3. Update Android SDK that need to include ADB.

4. You need to add environment variable so input "$gedit ~/.bashre".

5. Key in "export PATH=$PATH:/home/light/sdk/platform-tools/" in the end of the opened file. (depends on your path of ADB)

6. Key in "$adb" to check this instruction existed.

refer from:
http://developer.android.com/index.html

2011年2月24日 星期四

Android: Install .apk by ADB

After your google phone has already communicated with computer successfully,input " $adb install xxx.apk"

Android: Use ADB in Linux

1. Connect your google phone with your computer by USB.

2. Input " $ifconfig " to see the new Ethernet card.(eg. eth1 or usb0).

3. Input " $ifconfig eht1 192.168.0.200 netmask 255.255.255.0".

4. Input " $ADBHOST=192.168.0.202 adb devices"
    then you'll see something like this:
        List of devices attached
        emulator-5554 device
    if you don't see it,Input "$adb kill-server"," $ADBHOST=192.168.0.202 adb devices"

2011年2月9日 星期三

Ubuntu: pps

Install 輔助軟件:
Do:
sudo apt-get install libqt4-core libqt4-dbus libqt4-gui libqt4-network libqt4-webkit libqt4-xml libfuse2 mplayer
* QT庫, 4.4.0及以上版本
* libFuse庫, 2.7.2及以上版本
* Mplayer, 1.0rc2及以上版本
* MPlayer視頻解碼器: MPlayer Essential Codec Pack (http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20071007.tar.bz2)


Install:

Download:
http://download.ppstream.com/ppstream_1.0.0-1_i386.deb
After you get ppstream_1.0.0-1_i386.deb,then deliver it to home folder

Do:
sudo dpkg -i ppstream_1.0.0-1_i386.deb

refer from:

Ubuntu: apt-get 套件管理

更新套件清單
sudo apt-get update

自動檢查需要更新的軟體並更新
sudo apt-get upgrade

查詢可用套件
apt-cache search <key>

僅從套件名稱搜尋
apt-catche -n search <key>

安裝軟體
sudo apt-get install <name>

重新安裝
sudo apt-get reinstall <name>

移除套件,留下設定檔
sudo apt-get remove <name>

完整移除套件
sudo apt-get --purge remove <name>

套件管理程式
System-> Administration-> Synaptic Package Manager

refer from:
http://www.cc.ncu.edu.tw/document/Ubuntu/96/Basic1_2.pdf

Ubuntu: wireless enable isn't worked.

I used my notebook HP dm3-1032TX to install Ubuntu 10.10.Below these steps I can surf the Internet by wifi.

light@light-HP:~$ cd /sys/devices
light@light-HP:/sys/devices$ iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID:off/any
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
        
ppp0      no wireless extensions.
light@light-HP:/sys/devices$ rfkill list 
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: yes
2: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
light@light-HP:/sys/devices$ rfkill unblock 1
light@light-HP:/sys/devices$ rfkill list 
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: yes
2: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
light@light-HP:/sys/devices$ rfkill unblock 2
light@light-HP:/sys/devices$ rfkill list 
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
3: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
light@light-HP:/sys/devices$

refer from:
http://www.beautyorange.com/2011/01/how-to-enable-wireless-in-ubuntu-manually/