sudo apt-get install amsn
官網:http://www.amsn-project.net/index.php
amsn本身是用tcl/tk設計的,tcl/tk 未支援中文
可以安裝好心人的懶人包 - fixamsn.sh
下載完成後輸入
bash fixamsn.sh
安裝emesene:
sudo apt-get install emesene
emesene是個入門級的msn,很容易就上手,
但不支援視訊,傳檔速度也比較慢一點
而且還有一些還沒中文化
sudo apt-get install amsn
bash fixamsn.sh
sudo apt-get install emesene
deb http://www.calno.com unstable main
sudo gedit sources.list
sudo apt-get update;sudo apt-get install gcin
sudo im-switch -s gcin
sudo wget http://edt1023.sayya.org/misc/noseeing-6.tar.gz
sudo tar zxvf noseeing-6.tar.gz
sudo cp noseeing.gtab /usr/share/gcin/table/
void openlog( char *ident, int option, int facility)
identvoid syslog( int priority, char *format, ...)
priorityvoid closelog( void )
關閉syslog#include <syslog.h>
void main(){
openlog("myLog", LOG_CONS|LOG_PID, LOG_USER);
syslog(LOG_INFO, "My first log test!");
closelog();
}
cd develop/android/android-sdk-windows-a.5_r1/tools
android list targets
id: 1
Name: Android 1.1
Type: Platform
API level: 2
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id: 2
Name: Android 1.5
Type: Platform
API level: 3
Skins: HVGA (default), HVGA-L, HVGA-P, QVGA-L, QVGA-P
id: 3
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Description: Android + Google APIs
Based on Android 1.5 (API level 3)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: QVGA-P, HVGA-L, HVGA (default), QVGA-L, HVGA-P
android create ave --name 自訂名稱 --target 選定的target ID
no classfiles specified
Conversion to Dalvik format failed with error 1
adb shell command
adb shell dir
就是列舉目錄,在Linux中根目錄為/而不是Windows上的C磁碟、D磁碟adb shell dmesg
會列印出Linux的debug訊息。adb install android123.apk
,這樣名為android123的安裝包就會安裝到Android模擬器中,前提是android123.apk文件需要放到SDK\Tools目錄下。adb push android123.txt /tmp/android123.txt
命令可以把SDK\Tools下的android123.txt文件傳輸到模擬器的/tmp/文件夾中,需要注意的是/tmp/文件夾中內容會在Android模擬器重新啟動時清空。除了說明了使用ADT插件中DDMS外。>adb pull /tmp/android123.txt android123.txt
命令就會把模擬器的tmp文件夾下android123.txt文件回傳到電腦SDK\Tools目錄下。adb kill-server
adb get-product
獲取設備型號adb get-serialno
獲取序列號adb wait-for-device
adb forward adb forward tcp:5555 tcp:1234
實現將默認的TCP 5555端口轉發到1234端口上adb bugreport
mksdcard 1024M sdcard.iso
./emulator -sdcard ~/.android/SDK-1.0/sdcard.iso
adb push ~/mp3/audio.mp3 /sdcard/audio.mp3
mount -o loop sdcard.img android_sdcard
adb shell