linuxϵÄAndroid¿ª·¢
ÏÂÔØ SDK
ϵͳºÍÈí¼þÐèÇó
ÓÃAndroid sdkµÄ´úÂëºÍ¹¤¾ß¿ª·¢AndroidÓ¦ÓóÌÐò,ÄãÐèÒªÏÂÃæÁгöÀ´µÄºÏÊÊ¿ª·¢µçÄԺͿª·¢»·¾³.
ËùÐè²Ù×÷ϵͳ:
•Windows XP »ò Vista
•Mac OS X 10.4.8 »ò¸ü¸ß°æ±¾ (½öÖ§³Öx86)
•Linux ( Linux Ubuntu Dapper Drake °æ±¾ÒѲâÊÔ)
ËùÐ迪·¢»·¾³:
•Eclipse IDE
◦Eclipse 3.3 (Europa), 3.4 (Ganymede)
¡öEclipse JDT ²å¼þ (´ó¶àÊýµÄ Eclipse IDE °ü°üº¬)
¡öWST (¿ÉÑ¡,µ«Android±à¼Æ÷µÄÌØÐÔÐèÒª,´ó¶àÊýEclipse IDEmost Eclipse IDE packages )°üÖаüº¬
◦JDK 5 »ò JDK 6 (Ö»ÓÐJREÊDz»¹»µÄ)
◦Android Development Tools ²å¼þ (¿ÉÑ¡ )
◦Not compatible with Gnu Compiler for Java (gcj)
•ÆäËû¿ª·¢»·¾³»ò IDE
◦JDK 5 »ò JDK 6 (½öÓÐJRE²»¹»)
◦Apache Ant 1.6.5 »ò¸ü¸ß°æ±¾£¨ Linux ºÍ Mac»·¾³Ï£©, 1.7 »ò¸ü¸ß°æ±¾£¨ Windows»·¾³Ï£©
◦JavaµÄGnu Compiler²»Ò»ÖÂ(gcj)
×¢: Èç¹ûÄãµÄµçÄÔÉÏÒѾ°²×°ÁËjdk£¬ÇëÈ·¶¨ËüÊÇÉÏÃæËùÁеİ汾ºÅ¡£ÁíÍâÐèҪעÒâÓÐЩlinux°æ±¾¿ÉÄÜ°üº¬ÓÐjdk 1.4 »òÕß java µÄgnu±àÒëÆ÷£¬Adroid¿ª·¢ÊDz»Ö§³ÖÔÚÕâÁ½ÖÖ°æ±¾
°²×° SDK
ÏÂÔØÍêSDKºó£¬°Ñ.zipÎļþ½âѹµ½ÄãµçÄÔÉϺÏÊÊλÖà ĬÈÏÇé¿öÏÂ, SDKÎļþ±»½âѹµ½ android_sdk_
__Îļþ¼Ð. Õâ¸öÎļþ¼Ð°üº¬tools/, samples/µÈ.
Çë×¢ÒâϵͳÀïSDK½âѹºóµÄÎļþ¼ÐµÄÃû×ÖºÍλÖà — µ±Äã°²×°Android²å¼þºÍʹÓÃSDK¹¤¾ßʱ£¬Ä㽫ÐèÒªÒýÓÃÕâ¸öÎļþ¼Ð
Äã¿ÉÒÔÌí¼Ó SDK tools µÄÎļþ¼Ð·¾¶ÎªÄãµÄ·¾¶. ÈçÉÏËùÊö, tools/Îļþ¼ÐλÓÚSDKÎļþ¼Ð.
•Linux»·¾³ÏÂ,ÐÞ¸Ä~/.bash_profile»òÕß ~/.bashrcÎļþ. Ñ°ÕÒ·¾¶»·¾³±äÁ¿ÉèÖõÄÄÇÒ»ÐÐÌí tools/Ϊ·¾¶»·¾³±äÁ¿.Èç¹ûÄãûÓÐÕÒµ½ÕâÒ»ÐУ¬ÄãÐèÒªÌí¼ÓÒ»ÐÐ:
export PATH=${PATH}:/tools
•Mac»·¾³ÏÂ,ÔÚÄãµÄhomeÎļþ¼ÐÀïÃæ²éÕÒ.bash_profile£¬È»ºóºÍlinuxÒ»Ñù´¦Àí¡£Èç¹ûÒÔǰûÓÐ.bash_profileÎļþ¼Ð¿ÉÒÔ´´½¨Ëü¡£
•Windows»·¾³ÏÂ, ÓÒ»÷ÎҵĵçÄÔ( My Computer), ²¢Ñ¡ÔñÊôÐÔ(Properties). ÔÚ±êÇ©Ò³¸ß¼¶(Advanced), µã»÷»·¾³±äÁ¿( Environment Variables),µ±¶Ô»°³öÏÖ, ÔÚϵͳ±äÁ¿(System Variables) À¸Ä¿ÀïË«»÷·¾¶ ( Path ) .²¢Ìí¼Ótools/ Îļþ¼ÐµÄÍêÕû·¾¶.
Ìí¼Ó tools µ½ÄãµÄ·¾¶Ê¹ÄãÔËÐÐAndroid Debug Bridge (adb)ºÍÆäËûÃüÁîÐÐtools ,²»ÐèҪΪ¹¤¾ß·¾¶Ìí¼ÓÍêÕû·¾¶.ÐèҪ˵Ã÷µÄÊÇ,Èç¹ûÄãÉý¼¶ÄãµÄSDK·¾¶²»Í¬ ,ÄãÐèÒª¼ÇµÃ¸üÐÂÄãµÄÂ
Ïà¹ØÎĵµ£º
Æô¶¯/ÖØÆô/Í£Ö¹Ò»¸ö·þÎñ
/etc/init.d/program_name start
±ÈÈçÓʼþ·þÎñÆ÷postfix¿ÉÒÔÕâÑù: sudo /etc/init.d/postfix start
------------------------------------------------
ÉèÖóÌÐòµ½Æô¶¯×éÀ
# chkconfig program_name on
±ÈÈ磺sudo chkconfig postfix on
----------------------------------------------- ......
http://www.ej38.com/showinfo/linux-111338.html
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host
Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬
ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth D ......
linuxÏÂvncserverÅäÖÃÓëwinÏÂvnc¿Í»§¶Ë
8 Nov, 2008
¹ÜÀí&·þÎñ
< type="text/javascript"><!--
google_ad_client = "pub-7056129240767270";
/* 300x250, ´´½¨ÓÚ 09-2-13 */
google_ad_slot = "270491 ......
Unix/Linux ½ø³Ì¹ÜÀíÏà¹ØÃüÁî½éÉÜ
½ø³ÌÊDzÙ×÷ϵͳÓÃÓÚ¿ØÖÆϵͳ×ÊԴʹÓõÄʵÌå¡£Unix/Linux ½ø³Ì¹ÜÀíÏà¹ØµÄÃüÁîÖ÷ÒªÓÐÒÔϼ¸¸ö£¬ÔÚºóÃæµÄ½Å±¾ÊµÏÖÖлáÓõ½²¿·ÖÃüÁî¡£
ÏÔʾ½ø³ÌÊôÐÔÃüÁî
ps ÃüÁ¸ÃÃüÁîÊÇ×î»ù±¾Í¬Ê±Ò²ÊǷdz£Ç¿´óµÄ½ø³Ì²é¿´ÃüÁÓÃÓÚ±¨¸æ½ø³Ì±êʶ¡¢Óû§¡¢CPU ʱ¼äÏûºÄÒÔ¼°ÆäËûÊôÐÔ¡£ÀûÓÃËü¿ÉÒÔÈ·¶¨ÓÐÄÄÐ ......
Linux ³£ÓÃÃüÁî
Linux ϵͳ³£ÓÃÃüÁî¸ñʽ£º
command [option] [argument1] [argument2] ...
ÆäÖÐoptionÒÔ“-”¿ªÊ¼£¬¶à¸öoption¿ÉÓÃÒ»¸ö“-”Á¬ÆðÀ´£¬Èç“ls -l -a” Óë“ls -la”µÄЧ¹ûÊÇÒ»ÑùµÄ¡£¸ù¾Ýà ......