Android---Project sharing (attached source)

Source: Internet
Author: User

About 2 years ago, I wrote a small project that seemed to be the Spring Festival. At home more idle, spent nearly one months (this want to write to take to participate in the competition, documents are written. Then think about it, take the other one, and this will be a practiced hand. A person to do, and write code and cut pictures of what, compared to egg pain. Code is not too much, or some of the places to be consulted, sharing, there are errors please correct me.


Note :

Recommended to run on the resolution 320*480 Phone (no time to cut other resolutions of the graph, not the resolution of the display may be a bit problematic)

The shake-shake function cannot be tested on the simulator.

Android version recommended 2.3.3

(Rough test, there is a place where the crash.) Have time to change the local data to be captured from the Web page all together


Program Structure diagram :



Interface :

At that time for the sake of easy, direct use of local data. (In fact, later found that the local data more troublesome, to tidy up too many things)




source code structure diagram :


The SRC directory is used to store project packages and Java source files.

The following is a subdirectory of the SRC directory:
> src
>├com.taiyuancity.adapter
>├com.taiyuancity.app
>├com.taiyuancity.bean
>├com.taiyuancity.dao
>├com.taiyuancity.ui
>├com.taiyuancity.util
>├com.taiyuancity.widget

Function Description:
-com.taiyuancity.adapter-list, grid and other adapter packages (home grid, favorite list adapter)
-com.taiyuancity.app-Storage Package application startup, configuration, etc.
-com.taiyuancity.bean-Entity Package (home grid entity model, Collection List entity model)
-com.taiyuancity.dao-database (for collection and de-collection)
-com.taiyuancity.ui-bread and activity (various activity)
-com.taiyuancity.util-Toolkit (shake the random function to use, listen to the accelerator check Shake)
-Com.taiyuancity.widget-Custom Control Package (Customize the scroll control of the display at first boot)

Android---Project sharing (with source)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.