Õª Òª
ÔÚAndroidÊÖ»úÖð½¥ÆÕ¼°µÄ½ñÌ죬¿ª·¢³ö³äÂúȤζÐÔºÍÎüÒýÁ¦£¬²¢ÇÒÊÖ»úÓÎÏ·²»½ö¿ÉÒÔ´Ù½øAndroidϵͳµÄÆÕ¼°ºÍ·¢Õ¹£¬´Ó¶ø´ø¶¯ÐÅÏ¢¼¼ÊõµÄÇ°½ø£¬¶øÇÒÒ²¿ÉÒÔÔöÇ¿AndroidÊÖ»ú¶ÔÓû§µÄÎüÒýÁ¦£¬ÎªAndroidÕ¼Áì¸ü¼Ó¹ãÀ«µÄÊг¡¡£±¾ÏµÍ³¿ª·¢Êǽ«ÔÓеÄÊÖ»úÓÎϷתÒÆÖÁAndroidƽ̨µÄÐèÇóÕ¹¿ªµÄ£¬²¢ÒýÈëÁË×Ô¼ºÔÚÈÕ³£±à³ÌºÍµ÷ÊÔÖеľÑéºÍ·½·¨¡£ ÂÛÎÄÊ×ÏȽéÉÜÁË¡°Android̰ʳÉßÓÎÏ·¡±µÄÑо¿±³¾°¡¢Ä¿µÄÓëÒâÒ壬×ÅÖزûÊöÁ˸Ãϵͳ¿ª·¢ÊµÏÖ¹ý³Ì£¬´Ó¿ÉÐÐÐÔ·ÖÎö¡¢ÏµÍ³Éè¼Æ¡¢ÏêϸÉè¼Æµ½ÏµÍ³ÊµÏֵȸ÷¸ö»·½Ú¶¼½øÐÐÁËÏ꾡µÄ·ÖÎöºÍÃèÊö¡£½Ó׎éÉÜAndroidƽ̨µÄ´î½¨£»±¾ÏµÍ³²ÉÓÃJavaÓïÑÔ£¬ÒÔEclipseΪ¿ª·¢¹¤¾ß£¬tomcat·þÎñÆ÷£¬ºǫ́²ÉÓõÄÊÇSQlitÊý¾Ý¿â£¬×îÖÕʵÏÖÁË¡°Android̰ʳÉßÓÎÏ·¡°µÄÉè¼ÆÓëʵÏÖ¡£±¾ÓÎÏ·¾¹ýÑϸñµÄ²âÊÔ£¬¿ÉÒÔÔÚÊÖ»úÉÏÕý³£Ê¹Óᣠ¹Ø¼ü´Ê£ºAndroid; Java ; ̰ʳÉßÓÎÏ·£»SQLiteÊý¾Ý¿â
Abstract
In the increasing popularity of Android phones, full of interesting and attractive, and mobile games can not only promote the popularization and development of the Android system, thereby stimulating the advance of IT, but also can enhance the attractiveness of the Android mobile phone users, in order toAndroid occupation of the broader market. The development of this system is the original transfer of mobile games to the Android platform needs expanded, and the introduction of daily programming and debugging experience and methods. The paper first describes the the Android pivotal game, "the background, purpose and meaning, focusing on the development of the system implementation process, from feasibility analysis, system design, detailed design to system implementation in all aspects of a detailed analysis and description. Then introduce the Android platform structures; The system uses the Java language and Eclipse as a development tool, tomcat server, the background is SQlit database, and ultimately the Android pivotal game, "Design and Implementation. This game is through rigorous testing, normal use on the phone. Keywords: Android; Java; pivotal game; SQLite database Ä¿ ¼ 1Ð÷ÂÛ 1 1.1 AndroidÈí¼þ¿ª·¢µÄ±³¾° 1 1.2 ÊÖ»úÓÎÏ·µÄÌصã 2 1.2.1 ÊÖ»úÓÎÏ·µÄÓŵã 2 1.2.2 ÊÖ»úÓÎÏ·µÄȱµã 3 1.2.3 ³É¹¦ÊÖ»úÓÎÏ·µÄÌصã 4 1.3 ̰ʳÉßÓÎÏ·µÄ¿ª·¢±³¾° 5 1.3.1 Ñо¿µÄÄ¿µÄºÍÒâÒå 6 1.3.2 ¹úÄÚÍâµÄÑо¿ÏÖ¿ö 7 2 Androidƽ̨´î½¨ 10 2.1 AndroidÌØÕ÷ 10 2.2 Android¼Ü¹¹ 11 2.2.1.¹Ø¼üÓ¦ÓóÌÐò 11 2.2.3.ϵͳÔËÐпâ 12 2.3 AndroidÓ¦ÓõĹ¹³ÉºÍ¹¤×÷»úÖÆ 13 2.4 AndroidÓëÆäËûÊÖ»ú²Ù×÷ϵͳµÄ±È½Ï 14 2.5 Android SDKµÄ¿ª·¢»·¾³ÓëÅäÖà 15 2.5.1 jdkµÄÅäÖà 16 2.5.2 sdkµÄÅäÖà 18 2.6 Android¿ª·¢»·¾³ÅäÖÃ×îÖÕÅäÖà 19 3 ̰ʳÉßÓÎÏ·µÄ·ÖÎöÓëÉè¼Æ 20 3.1 ϵͳ¿ª·¢Ä¿±ê 20 3.2 ϵͳÐèÇó·ÖÎö 20 3.2.1 ÒµÎñÐèÇó·ÖÎö 20 3.2.2 Óû§ÐèÇó·ÖÎö 21 3.2.3 ÊÖ»ú»ù±¾ÐèÇó 22 3.2.4 ϵͳ°æ±¾¼æÈÝÐèÇó 22 3.2.5 ¿ª·¢»·¾³ 22 3.3 ̰ʳÉßÓÎÏ·µÄÉè¼Æ 23 3.3.1 ³ÌÐòÁ÷³ÌÉè¼Æ 23 3.3.2 ³ÌÐòÄ£¿éÉè¼Æ 24 4 ̰ʳÉßÓÎÏ·µÄʵÏÖ 26 4.1 ÓÎÏ·µÄʵÏÖ˼· 26 4.2 ÓÎÏ·µÄÉè¼Æ·½°¸ 26 4.3ÓÎÏ·½çÃæÄ£¿éµÄʵÏÖ 26 4.4 ÓÎÏ·ÕûÌåÄ£¿éµÄʵÏÖ 28 4.5 Ïêϸģ¿éµÄÉè¼ÆÓëʵÏÖ 29 4.5.1Óû§×¢²á¹¦ÄÜÄ£¿éµÄÉè¼ÆÓëʵÏÖ 29 4.5.2Óû§µÇ¼¹¦ÄÜÄ£¿éµÄÉè¼ÆÓëʵÏÖ 31 4.5.3ÓÎÏ·¿ªÊ¼¹¦ÄÜÄ£¿éµÄÉè¼ÆÓëʵÏÖ 35 4.5.4ÓÎϷʵÏÖ¹¦ÄÜÄ£¿éµÄÉè¼ÆÓëʵÏÖ 39 ½áÂÛ 48 ÖÂл 50 ²Î¿¼ÎÄÏ× 51 1Ð÷ÂÛ 1.1 AndroidÈí¼þ¿ª·¢µÄ±³¾° AndroidÊÇ»ùÓÚLinuxÄں˵IJÙ×÷ϵͳ£¬ÊÇGoogle¹«Ë¾ÔÚ2007Äê11ÔÂ5ÈÕ¹«²¼µÄÊÖ»ú²Ù×÷ϵͳ¡£ÔçÆÚÓÉÔÃûΪ"Android"µÄ¹«Ë¾¿ª·¢£¬¹È¸èÔÚ2005ÄêÊÕ¹º"Android.Inc"ºó£¬¼ÌÐø½øÐжÔAndroidϵͳ¿ª·¢ÔËÓª£¬Ëü²ÉÓÃÁËÈí¼þ¶Ñ²ã£¨software stack£¬ÓÖÃûÈí¼þµþ²ã£©µÄ¼Ü¹¹£¬Ö÷Òª·ÖΪÈý²¿·Ö¡£µ×²ãLinuxÄÚºËÖ»Ìṩ»ù±¾¹¦ÄÜ£¬ÆäËûµÄÓ¦ÓÃÈí¼þÔòÓɸ÷¹«Ë¾×ÔÐпª·¢£¬²¿·Ö³ÌÐòÒÔJava±àд¡£ Androidƽ̨Îå´óÓÅÊÆÌØÉ«£º Ò»¡¢¿ª·ÅÐÔ ÔÚÓÅÊÆ·½Ã棬Androidƽ̨Ê×ÏȾÍÊÇÆ俪·ÅÐÔ£¬¿ª·¢µÄƽ̨ÔÊÐíÈκÎÒƶ¯Öն˳§É̼ÓÈëµ½AndroidÁªÃËÖÐÀ´¡£ÏÔÖøµÄ¿ª·ÅÐÔ¿ÉÒÔʹÆäÓµÓиü¶àµÄ¿ª·¢Õߣ¬Ëæ×ÅÓû§ºÍÓ¦ÓõÄÈÕÒæ·á¸»£¬Ò»¸öոеÄƽ̨Ҳ½«ºÜ¿ì×ßÏò³ÉÊì¡£ ¿ª·ÅÐÔ¶ÔÓÚAndroidµÄ·¢Õ¹¶øÑÔ£¬ÓÐÀûÓÚ»ýÀÛÈËÆø£¬ÕâÀïµÄÈËÆø°üÀ¨Ïû·ÑÕߺͳ§ÉÌ£¬¶ø¶ÔÓÚÏû·ÑÕßÀ´½²£¬×î´óµÄÊÜÒæÕýÊǷḻµÄÈí¼þ×ÊÔ´¡£¿ª·ÅµÄƽ̨Ҳ»á´øÀ´¸ü´ó¾ºÕù£¬Èç´ËÒ»À´£¬Ïû·ÑÕß½«¿ÉÒÔÓøüµÍµÄ¼Ûλ¹ºµÃÐÄÒǵÄÊÖ»ú¡£
|