Õª Òª
Ëæ×Å¿Æѧ¼¼ÊõµÄ²»¶ÏÌá¸ß,ÖÇÄÜÊÖ»úÒѾÆÕ±éµØ³ÉΪ´óÖÚÉÌÆ·¡£ÌرðÊÇandroidϵͳµÄÖÇÄÜÊÖ»ú£¬ÏÖÔÚÕýÔÚÒÔÔÂÔö³¤ÂÊ70%µÄËÙ¶ÈÔö³¤¡£½«À´AndroidϵͳµÄÖÇÄÜÊÖ»úÊƱػáÕ¼ºÜ´óµÄÖÇÄÜÊÖ»úÊг¡µÄ·Ý¶î¡£µ±ÏÂAndroidϵͳÉϵÄÓ¦ÓÃÔ¶Ô¶²»¹»Óû§µÄÐèÇó£¬Ïà±ÈiphoneϵͳÉϵÄÓ¦Óã¬AndroidϵͳÉϵÄÓ¦Óû¹ÐèÒªÌá¸ßËûµÄÓ¦ÓÃÈí¼þµÄÊýÁ¿¼°ÖÊÁ¿¡£¼ÒÍ¥Àí²Æͨ×÷ΪÊÖ»úÓ¦ÓõÄÒ»²¿·Ö,ʹÓÃÊÖ»ú¶Ô¼ÒÍ¥²ÆÎñ½øÐйÜÀí,¾ßÓÐ×ÅÊÖ¹¤¹ÜÀíºÍ¼ÆËã»úÈí¼þ¹ÜÀíËùÎÞ·¨±ÈÄâµÄÓŵ㣬Èç:±ãЯ·½±ã£¬ËæʱËæµØ£¬¼ìË÷ѸËÙ¡¢²éÕÒ·½±ã¡¢¿É¿¿ÐԸߡ¢´æ´¢Á¿´ó¡¢±£ÃÜÐԺá¢ÊÙÃü³¤¡¢³É±¾µÍµÈ¡£ÕâЩÓŵãÄܹ»¼«´óµØÌá¸ß¼ÒÍ¥²ÆÎñ¹ÜÀíµÄЧÂÊ,Ò²ÊǼÒÍ¥Àí²ÆµÄ¿Æѧ»¯¡¢Õý¹æ»¯¹ÜÀí,ÓëÏȽø¿Æѧ¼¼Êõ½Ó¹ìµÄÖØÒªÌõ¼þ¡£
±¾Éè¼ÆÊÇÒ»¸ö»ùÓÚandroidµÄ¼ÒÍ¥Àí²Æͨϵͳ£¬²ÉÓÃC/Sģʽ£¬´ÓÐèÇó·ÖÎöµ½¿¼ÊÔµÄÉè¼Æ¡¢ÊµÏÖ¡¢µ÷ÊÔ£¬×îÖÕʵÏÖʵÏÖÁËÊÖ»ú¼ÒÍ¥Àí²Æͨ¹¦ÄÜ¡£²¢¾¹ýÑϸñµÄ²âÊÔ£¬¿ÉÒÔÔÚÊÖ»úÉÏÕý³£Ê¹Óá£
¹Ø¼ü´Ê£ºÊÖ»ú£»Android£»¼ÒÍ¥Àí²Æ£» Java
Abstract
With the continuous improvement of science and technology, intelligent mobile phone has generally become the public goods. Especially intelligent mobile phone Android system, growth is on a monthly rate of 70% now. Future of the intelligent mobile phone Android system of intelligent mobile phone will be big market share. Application of the Android system is far from the needs of users, compared with the application of iPhone system, application of Android system on the need to increase the number and quality of his application software. Family financial management through as part of a mobile phone application, use mobile phone to manage the family finances, with the advantages of manual management, and computer software management incomparable such as: portable, whenever and wherever possible, quick search, find convenient, high reliability, large capacity storage, security and good, long life, low cost. These advantages can greatly improve the efficiency of family financial management, is also the family financial management more scientific, standardized management, an important condition connects with the advanced science and technology.
The design is a communication system based on Android family financial management, using C/S mode, from requirements analysis to test design, implementation, debugging, and ultimately to achieve the mobile phone of family financial management. After rigorous testing, and can be used in the mobile phone.
Key words: mobile phone; Android; family financial management; Java
Ŀ ¼
ÌâÄ¿£º»ùÓÚandroidµÄ¼ÒÍ¥Àí²ÆͨµÄÉè¼ÆÓëʵÏÖ II
Õª Òª III
Abstract IV
µÚÒ»Õ ¸ÅÊö 1
1.1 Ñо¿±³¾° 1
1.2 Ñо¿Ä¿µÄ¼°ÒâÒå 1
1.3 AndroidÏÖ×´·ÖÎö 1
1.4 AndroidϵͳµÄËÄ´ó×é¼þ 2
1.5 ¿ª·¢¼¼Êõ¼°Èí¼þ½éÉÜ 3
1.5.1 Java¼¼Êõ 3
1.5.2 Androidƽ̨ 4
1.5.3 AndroidÄÚºË 5
1.5.4 Tomcat 6
1.5.5 Lib 6
1.5 ±¾ÕÂС½á 7
µÚ¶þÕÂAndroidƽ̨´î½¨ 8
2.1 AndroidµÄ¼Ü¹¹·ÖÎö 8
2.2 AndroidÌØÕ÷ 8
2.3 Android¼Ü¹¹ 8
2.3.1¹Ø¼üÓ¦ÓóÌÐò 8
2.3.2 Ó¦ÓóÌÐò¿ò¼Ü 9
2.3.3½ø³Ì¹ÜÀí»úÖÆ 9
2.3.4Ó¦ÓõÄ×é³É 10
2.3.5 ϵͳÔËÐпâ 11
2.4 AndroidÓ¦ÓõĹ¹³ÉºÍ¹¤×÷»úÖÆ 12
2.5 AndroidÓëÆäËûÊÖ»ú²Ù×÷ϵͳµÄ±È½Ï 12
2.6 Android»ù±¾ÖªÊ¶¼ò½é 14
2.6.1 IntentÖ®Action 14
2.6.2 IntentÖ®ÀàÃûÌøת 14
2.6.3 SharedPreferences¼ò½é 15
2.6.4 SQLite¼ò½é 16
2.7 ±¾ÕÂС½á 17
µÚÈýÕ ϵͳÐèÇó·ÖÎö 18
3.1¿ÉÐÐÐÔ·ÖÎö 18
3.1.1¾¼ÃÉϵĿÉÐÐÐÔ 18
3.1.2¼¼ÊõÉϵĿÉÐÐÐÔ 18
3.1.3²Ù×÷ÉϵĿÉÐÐÐÔ 18
3.3ϵͳÓû§ÓÃÀýͼ 18
3.4¹¦ÄÜÐèÇó·ÖÎö 19
3.5 ÔËÐл·¾³ÒªÇó 19
µÚËÄÕ¡¡ÏµÍ³×ÜÌåÉè¼Æ 20
4.1ϵͳ¹¦Äܽṹͼ 20
4.2 Êý¾ÝÁ÷³Ì·ÖÎö 20
µÚÎåÕ ϵͳ¹¦ÄÜʵÏÖ 22
5.1 ϵͳÖ÷½çÃæʵÏÖ 22
5.2Ö§³ö¹ÜÀí¹¦ÄÜʵÏÖ 25
5.3 ÊÕÈë¹ÜÀí¹¦ÄÜʵÏÖ 28
5.4 ±ãÇ©¹ÜÀíÄÜʵÏÖ 30
5.5ϵͳÉèÖù¦ÄÜʵÏÖ 32
µÚÁùÕ ϵͳ²âÊÔÓëά»¤ 34
6.1 Èí¼þ²âÊÔ¼ò½é 34
6.2 ϵͳ²âÊÔµÄÄ¿µÄºÍÒâÒå 35
½á¡¡ÂÛ 36
Ö л 37
²Î¿¼ÎÄÏ× 38
µÚÒ»Õ ¸ÅÊö
1.1 Ñо¿±³¾°
Ëæ×ÅÒƶ¯Í¨Ðŵķ¢Õ¹ÒÔ¼°»¥ÁªÍøÏòÒƶ¯Öն˵ÄÆÕ¼°£¬ÍøÂçºÍÓû§¶ÔÒƶ¯Öն˵ÄÒªÇóÔ½À´Ô½¸ß£¬¶øSymbian£¬Windows Mobile£¬PalmOSµÈÊÖ»úƽ̨¹ýÓÚ·â±Õ£¬²»ÄܺܺõÄÂú×ãÓû§µÄÐèÇó£¬Òò´ËÊг¡ÆÈÇÐÐèÒªÒ»¸ö¿ª·ÅÐÔºÜÇ¿µÄƽ̨¡£¾¹ý¶àÄêµÄ·¢Õ¹£¬µÚÈý´úÊý×ÖͨÐÅ(3G)¼¼Êõ»ñµÃÁ˹㷺µÄ½ÓÊÜ£¬ËüΪÒƶ¯ÖÕ¶ËÓû§´øÀ´Á˸ü¿ìµÄÊý¾Ý´«ÊäËÙÂÊ¡£AndroidÊÇÒ»Ì×ÕæÕýÒâÒåÉϵĿª·ÅÐÔµÄÒƶ¯É豸×ÛºÏƽ̨£¬Ëü°üÀ¨²Ù×÷ϵͳ¡¢Öмä¼þºÍһЩ¹Ø¼üµÄƽ̨ӦÓá£AndroidÊÇÓÉLinux+Java¹¹³ÉµÄ¿ªÔ´Èí¼þ£¬ÔÊÐíËùÓг§É̺͸öÈËÔÚÆä»ù´¡ÉϽøÐпª·¢¡£Androidƽ̨µÄ¿ª·ÅÐÔµÈÌصã¼ÈÄÜ´Ù½ø¼¼Êõ(°üÀ¨Æ½Ì¨×ÔÉí)µÄ´´Ð£¬ÓÖÓÐÖúÓÚ½µµÍ¿ª·¢³É±¾£¬»¹¿ÉÒÔʹÔËÓªÉÌÄܷdz£·½±ãµØÖƶ¨×Ô¼ºµÄÌØÉ«»¯µÄ²úÆ·¡£Òò´Ë£¬Ëü¾ßÓкܴóµÄÊг¡·¢Õ¹Ç±Á¦¡£±¾¿ÎÌ⽫ʹÓÃAndroid¼¼Êõ¿ª·¢Ò»¸ö¼ÒÍ¥Àí²Æͨϵͳ£¬Í¨¹ý¸Ãϵͳ£¬¿ÉÒÔËæʱËæµØµØ¼Ç¼Óû§µÄÊÕÈë¼°Ö§³öµÈÐÅÏ¢¡£