ÄÚÈÝ·¢²¼¸üÐÂʱ¼ä : 2026/9/18 15:05:17ÐÇÆÚÒ» ÏÂÃæÊÇÎÄÕµÄÈ«²¿ÄÚÈÝÇëÈÏÕæÔĶÁ¡£
Abstract
ÕªÒª
Ëæ×ÅÒÆ¶¯»¥ÁªÍøµÄ·¢Õ¹£¬ÖÇÄÜÊÖ³ÖÉ豸ԽÀ´Ô½ÖØÒªÔÚÎÒÃǵÄÈÕ³£Éú»îÖУ¬¸÷ÖÖÒÆ¶¯Ó¦ÓÃÔÚÖÇÄÜÊÖ³ÖÉ豸ºÍPADƽ°åµçÄÔÉÏÓ¦Óá£
ÒÆ¶¯ÓÎÏ·ÊÇÏû·ÑÕßÀûÓÃËæÉíЯ´øµÄÖÇÄÜÒÆ¶¯ÖÕ¶ËÉ豸ÄÜËæÊ±ËæµØÀ´½øÐеÄÓÎÏ·¡£½üÄêÀ´£¬ÊÖ»úÓÎÏ·Êг¡µÃµ½Á˺ܴóµÄ·¢Õ¹£¬ÊÖ»úÓÎÏ·ÒѳÉΪʹÓÃÂÊ×î¸ßµÄÊÖ»úÓéÀÖÓ¦Óá£AndroidÊÇGoogle»ùÓÚLinuxƽ̨µÄ¿ªÔ´ÊÖ»ú²Ù×÷ϵͳ£¬ÊÇÊ׸öÎªÒÆ¶¯ÖÕ¶Ë´òÔìµÄÕæÕýÍêÕûºÍ¿ª·ÅµÄÒÆ¶¯Èí¼þ¡£Ëæ×ÅSymbianϵͳµÄÖð½¥Ë¥Â䣬AndroidÔÚÊÖ»úÊÀ½çÀïºÍiOSƽ·ÖÌìÏ£¬ÊÇÒÆ¶¯»¥ÁªÍøÊ±´ú×îÀíÏëµÄÊÖ»úÈí¼þƽ̨¡£Ñо¿Ó뿪·¢Androidƽ̨ÊÖ»úÓÎÏ·£¬³ÉΪһ¸ö·Ç³£ÓÐȤ¶øÓÖÓз¢Õ¹µÄÁìÓò¡£
±¾ÎÄͨ¹ý¶ÔAndroidϵͳ¼Ü¹¹ºÍÓ¦Óÿª·¢½øÐгõ²½Ñо¿£¬Éè¼ÆÒ»¿îÁ¬Á¬¿´Ð¡ÓÎÏ·¡£ÔÚ¶Ôϵͳ½øÐÐÏêϸÐèÇó·ÖÎöµÄ»ù´¡ÉÏ£¬È·¶¨ÁËϵͳµÄ¹¦ÄܺÍÐÔÄÜÒªÇ󣬶ÔÓÎÏ·µÄ²Ëµ¥½çÃæ¡¢ÆÁÄ»»æÖÆ¡¢Ê±¼ä¿ØÖÆ¡¢²¼¾ÖËã·¨¡¢Á¬Í¨Ëã·¨¡¢¹Ø¿¨ÉèÖá¢ÒôЧºÍ¶¯»½øÐÐÁËÉè¼Æ£¬²¢×îÖÕʵÏÖÁËÒ»¸ö½çÃæÓѺᢸßЧÎȶ¨ºÍ¸»ÓÐÓéÀÖÐÔµÄÊÖ»úÁ¬Á¬¿´ÒæÖÇСÓÎÏ·¡£ÈÃÈËÃÇÔÚ½ôÕŵŤ×÷Ö®ÓàÄܹ»·½±ãµØ·ÅËÉÐÄÇé¡£
¹Ø¼ü´Ê£ºAndroid£»Java£»ÊÖ»ú£»ÓÎÏ·£»Á¬Á¬¿´
Abstract
Building Lianliankan
Abstract
With the mobile Internet anyway ,smart handheld devices are increasingly important inour daily life, a variety of mobile applications in the smart handheld device and the PADTablet PC applications.
The mobile game is the game which consumers use portable smart mobile devices anywhere, anytime to play. In recent years, the mobile gaming market has been developed greatly, mobile phone games have become the highest rates of mobile entertainment applications. Android is an open source mobile operating system of Google based on Linux platform. It is the first truly complete and open mobile software for mobile terminals. With the gradual decline of the Symbian OS, Android and iOS are splitting the world of mobile phone. It is the best mobile phone software platform for mobile Internet era. The research and development of the Android platform mobile phone game becomes a very interesting and development areas.
This paper through a preliminary study on the Android system architecture and application development, designed a small game called Lianliankan. Based on the detailed requests analysis of the system, it determined the functional and performance requirements of the system, then it design the game's menu interface, screen drawing, time control, the layout algorithm, connectivity algorithm, level set, sound and animation, finally it realized a mobile phone Lianliankan puzzle game which has friend interface, high efficiency and is stable and entertaining. Allow people to be able to relax after stressful work.
Key words: Android Java mobile Game Lianliankan
Ŀ¼
Ŀ¼
1 Ð÷ÂÛ .................................................................................................................................. 1
1.1¿ÎÌâ±³¾° ................................................................................................................ 1 1.2¹úÄÚÍâÑо¿ÏÖ×´ .................................................................................................... 2 1.3·¢Õ¹Ç÷ÊÆ ................................................................................................................ 4 1.4¿ÎÌâÑо¿ÒâÒå ........................................................................................................ 5 1.5ÂÛÎĽṹ°²ÅÅ ........................................................................................................ 6 1.6±¾ÕÂС½á ................................................................................................................ 6 2 »ù´¡ÖªÊ¶Ó뿪·¢¼¼Êõ ...................................................................................................... 7
2.1 Android¼¼Êõ¼ò½é .................................................................................................. 7
2.1.1 Android»ù±¾ÖªÊ¶ ....................................................................................... 7 2.1.2 AndroidÏµÍ³ÌØµã ....................................................................................... 9 2.1.3 AndroidÊÖ»úƽ̨µÄÓÅÊÆ ......................................................................... 10 2.1.4 Android ÊÖ»úÓÎÏ·µÄÊг¡¼ÛÖµ ................................................................ 11 2.2 Java¼¼Êõ¼ò½é .............................................................................................. 12 2.3ÓÎϷʹÓü¼Êõ ...................................................................................................... 14
2.3.1Ö÷Òª¼¼ÊõÎÊÌâ ........................................................................................... 14 2.4±¾ÕÂС½á .............................................................................................................. 15 3 ϵͳ·ÖÎöÓëÉè¼Æ ............................................................................................................ 16
3.1¿ÉÐÐÐÔ·ÖÎö .......................................................................................................... 16
3.1.1²Ù×÷¿ÉÐÐÐÔ ............................................................................................... 16 3.1.2¼¼Êõ¿ÉÐÐÐÔ ............................................................................................... 16 3.1.3¾¼Ã¿ÉÐÐÐÔ ............................................................................................... 17 3.1.4Éç»á¿ÉÐÐÐÔ ............................................................................................... 17 3.2¹¦ÄÜÐèÇó·ÖÎö ...................................................................................................... 17 3.3ϵͳ»ù±¾Á÷³Ì ...................................................................................................... 18
3.3.1 ϵͳÁ÷³Ìͼ .............................................................................................. 18 3.3.2ÓÎÏ·Ïêϸ¹ý³ÌÁ÷³Ìͼ ............................................................................... 19 3.4ϵͳģ¿éÉè¼Æ ...................................................................................................... 20 3.5ͼÐÎÁ¬Í¨Ëã·¨Éè¼Æ .............................................................................................. 22 3.6ϵͳ·ç¸ñ¶¨Î» ...................................................................................................... 22 3.7±¾ÕÂС½á .............................................................................................................. 23 4 ϵͳµÄÉè¼ÆÓëʵÏÖ ........................................................................................................ 24
4.1ϵͳÔËÐнçÃæÍ¼ .................................................................................................. 24 4.2¿ª·¢»·¾³µÄ´î½¨ .................................................................................................. 27 4.3µ¥ÏÄܵÄʵÏÖ .................................................................................................. 28
4.3.1Ïû³ýͼƬ¶¯»ÊµÏÖ£º ............................................................................... 28