Õª Òª
AndroidÊÇ»ùÓÚLinuxƽ̨¿ª·ÅÐÔÄں˵Ä×îгöÏÖ¡¢×îÁ÷ÐС¢¿ª·ÅÐÔ×îÇ¿µÄÒƶ¯²Ù×÷ϵͳ£¬¸Ãƽ̨ÓɲÙ×÷ϵͳ¡¢Öмä¼þ¡¢Óû§½çÃæºÍÓ¦ÓÃÈí¼þ×é³É£¬ºÅ³ÆÊÇÊ׸öΪÒƶ¯Öն˴òÔìµÄÕæÕý¿ª·ÅºÍÍêÕûµÄÒƶ¯Èí¼þ¡£AndroidµÄ×î´óÌصãÊÇÆ俪·ÅÐÔÌåϵ¼Ü¹¹£¬²»½ö¾ßÓзdz£ºÃµÄ¿ª·¢¡¢µ÷ÊÔ»·¾³£¬¶øÇÒ»¹Ö§³Ö¸÷ÖÖ¿ÉÀ©Õ¹µÄÓû§ÌåÑ飬°üÀ¨·á¸»µÄͼÐÎ×é¼þ¡¢¶àýÌåÖ§³Ö¹¦ÄÜÒÔ¼°Ç¿´óµÄä¯ÀÀÆ÷¡£Òò´Ë£¬¶ÔÓÚÈí¼þ´ÓÒµÈËÔ±À´Ëµ£¬Androidƽ̨¾ßÓÐÎÞÏÞµÄÎüÒýÁ¦¡£
Ëæ×ÅÒƶ¯¼¼ÊõµÄ¿ìËÙ·¢Õ¹£¬AndriodϵͳÒѱ»ÈËÃǹ㷺ӦÓᣱ¾¿ÎÌâ±ãÊÇ»ùÓÚAndriodϵͳ£¬ÊµÏÖÕÕƬ¹²Ïí¡£±¾ÏµÍ³Ö÷ÒªÍê³ÉÒ»¸ö¾ßÓÐÍêÕû¹¦Äܵķ¢ËÍÕÕƬÒÔ¼°Í¼Æ¬¹ÜÀíϵͳ£¬²¢Äܹ»·¢±íÆÀÂÛ£¬±£´æÕÕƬ£¬ÉèÖ÷¢±íȨÏÞ£¬ÊµÏÖÐÅÏ¢µÄ»¥¶¯µÈ¹¦ÄÜ£¬±¾ÏµÍ³²ÉÓõÄÊÇjavaÓïÑÔÉè¼ÆºÍʵÏÖ£¬ºǫ́²ÉÓõÄÊÇSQLiteÊý¾Ý¿â£¬²Ù×÷½çÃæÓѺᢲÙ×÷±ã½Ý£¬¾ßÓÐÁ¼ºÃµÄ¿ÉÀ©Õ¹ÐԺͿÉά»¤ÐÔ£»ÏµÍ³¾¹ý²âÊÔ£¬¿ÉÒÔÎȶ¨ÔËÐС£
¹Ø¼ü´Ê£ºAndroid; Java ; ÕÕƬ¹²Ïí£»SQLiteÊý¾Ý¿â
ABSTRACT
Android is based on the latest emergence of the open kernel of the Linux platform, the most popular, the most open mobile operating system, the platform operating system, middleware, user interface and application software, claims to be the first to create a truly mobile terminalopen and complete mobile software. Android's biggest characteristic is its open architecture, not only has a very good development, debugging environment, but also supports a variety of scalable user experience, including rich graphical components, multimedia support and a strong browser. Therefore, for software professionals, the Android platform has unlimited appeal.
With the rapid development of mobile technology, the Andriod system has been widely used. This topic is based on Andriod system, photo-sharing. This system to complete a full-featured image upload and image management system, and be able to comment, save the photo, set the posting privileges, and realize information interaction, this system is the design and implementation of the java language used in the background SQLite database, user-friendly, convenient to operate, has good scalability, and maintainability; system has been tested and will operate.
Keywords: Android; Java; photo sharing; SQLite database
Ŀ ¼
1 Ð÷ ÂÛ 5
1.1 AndroidÈí¼þ¿ª·¢µÄ±³¾° 5
1.2 Ñо¿ÏÖ¿ö 6
1.3 Ñ¡ÌâµÄ±³¾° 7
1.3 Ñ¡ÌâµÄÒâÒå 8
1.5 ϵͳÑо¿µÄÖ÷ÒªÄÚÈÝ 8
2 AndroidµÄ¼Ü¹¹·ÖÎö 1
2.1 AndroidÌØÕ÷ 1
2.2 Android¼Ü¹¹ 2
2.2.1¹Ø¼üÓ¦ÓóÌÐò 3
2.2.2Ó¦ÓóÌÐò¿ò¼Ü 3
2.2.3ϵͳÔËÐпâ 4
2.3 AndroidÓ¦ÓõĹ¹³ÉºÍ¹¤×÷»úÖÆ 5
2.4 AndroidÓëÆäËûÊÖ»ú²Ù×÷ϵͳµÄ±È½Ï 6
2.5 ±¾ÕÂС½á 8
3 ÕÕƬ´«ÊäϵͳµÄÉè¼Æ 9
3.1 ÐèÇó·ÖÎö 9
3.1.1 Óû§ÌåÑéÐèÇó 9
3.1.2 ¹¦ÄÜÐèÇó 9
3.2 ¿ª·¢»·¾³´î½¨ 10
3.2.1 Ó²¼þ»·¾³ 1
3.2.2 Èí¼þ»·¾³ 1
3.2.3 »·¾³´î½¨ 1
4 ÕÕƬ´«ÊäϵͳµÄʵÏÖ 3
4.1 ϵͳ¹¦ÄÜʵÏÖ 3
4.1.1 Óû§µÇ¼¹¦ÄÜÄ£¿éµÄÉè¼ÆÓëʵÏÖ 3
4.1.2 ²é¿´¶¯Ì¬ÐÅÏ¢¹¦ÄÜÄ£¿éµÄÉè¼ÆÓëʵÏÖ 5
4.1.3 ÉÏ´«ÕÕƬ¹¦ÄÜÄ£¿éµÄÉè¼ÆÓëʵÏÖ 7
4.1.4·¢±íÆÀÂÛ¹¦ÄÜÄ£¿éµÄÉè¼ÆÓëʵÏÖ 12
5 ϵͳ²âÊÔ 20
5.1²âÊÔÏîÄ¿ 20
5.1.1 Èí¼þ²âÊÔµÄÄ¿µÄ 20
5.1.2 Èí¼þ²âÊÔµÄÔÀí 20
5.1.3 ²âÊÔÄÚÈÝ 20
5.2²âÊÔ·¶Î§ 21
5.3²âÊÔÓÃÀý 21
6 ½áÂÛ 26
Ö л 27
²Î¿¼ÎÄÏ× 28
1 Ð÷ ÂÛ
1.1 AndroidÈí¼þ¿ª·¢µÄ±³¾°
AndroidÊÇ»ùÓÚLinuxÄں˵IJÙ×÷ϵͳ£¬ÊÇGoogle¹«Ë¾ÔÚ2007Äê11ÔÂ5ÈÕ¹«²¼µÄÊÖ»ú²Ù×÷ϵͳ¡£ÔçÆÚÓÉÔÃûΪ"Android"µÄ¹«Ë¾¿ª·¢£¬¹È¸èÔÚ2005ÄêÊÕ¹º"Android.Inc"ºó£¬¼ÌÐø½øÐжÔAndroidϵͳ¿ª·¢ÔËÓª£¬Ëü²ÉÓÃÁËÈí¼þ¶Ñ²ã£¨software stack£¬ÓÖÃûÈí¼þµþ²ã£©µÄ¼Ü¹¹£¬Ö÷Òª·ÖΪÈý²¿·Ö¡£µ×²ãLinuxÄÚºËÖ»Ìṩ»ù±¾¹¦ÄÜ£¬ÆäËûµÄÓ¦ÓÃÈí¼þÔòÓɸ÷¹«Ë¾×ÔÐпª·¢£¬²¿·Ö³ÌÐòÒÔJava±àд¡£
Androidƽ̨Îå´óÓÅÊÆÌØÉ«£º
Ò»¡¢¿ª·ÅÐÔ
ÔÚÓÅÊÆ·½Ã棬Androidƽ̨Ê×ÏȾÍÊÇÆ俪·ÅÐÔ£¬¿ª·¢µÄƽ̨ÔÊÐíÈκÎÒƶ¯Öն˳§É̼ÓÈëµ½AndroidÁªÃËÖÐÀ´¡£ÏÔÖøµÄ¿ª·ÅÐÔ¿ÉÒÔʹÆäÓµÓиü¶àµÄ¿ª·¢Õߣ¬Ëæ×ÅÓû§ºÍÓ¦ÓõÄÈÕÒæ·á¸»£¬Ò»¸öոеÄƽ̨Ҳ½«ºÜ¿ì×ßÏò³ÉÊì¡£
¿ª·ÅÐÔ¶ÔÓÚAndroidµÄ·¢Õ¹¶øÑÔ£¬ÓÐÀûÓÚ»ýÀÛÈËÆø£¬ÕâÀïµÄÈËÆø°üÀ¨Ïû·ÑÕߺͳ§ÉÌ£¬¶ø¶ÔÓÚÏû·ÑÕßÀ´½²£¬×î´óµÄÊÜÒæÕýÊǷḻµÄÈí¼þ×ÊÔ´¡£¿ª·ÅµÄƽ̨Ҳ»á´øÀ´¸ü´ó¾ºÕù£¬Èç´ËÒ»À´£¬Ïû·ÑÕß½«¿ÉÒÔÓøüµÍµÄ¼Ûλ¹ºµÃÐÄÒǵÄÊÖ»ú¡£