Android --- project sharing (with source code)

Source: Internet
Author: User

Android --- project sharing (with source code)

I wrote a small project about two years ago. It seemed like the Spring Festival. At home, it took me nearly a month (I wanted to write all the documents for the competition. Later, I thought about it. I took the other one, so I should be a trainer ). It hurts a person to write code and cut pictures or something. There are not many codes, but some of them are for reference. please correct me if you have any errors.

 

Note::

In resolution320*480Running on the mobile phone (there is no time to switch other resolution graphs, it may be a problem if it is not the resolution)

The shake function cannot be tested on the simulator.

Android 2.3.3

(After a rough test, there was a crash. I have time to change all the local data to capture from the web page)

 

Program Structure:

 

Interface:

Local data was used directly for graphic purposes. (In fact, it was found that local data is more troublesome and there are too many things to be sorted out)

 

Source code structure:

The src directory is used to store project packages and java source code files.

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

Function Description:
-Com. taiyuancity. adapter-list, grid, and other adapter packages (Home Page grid, favorite list adapter)
-Com. taiyuancity. app-startup and configuration of the Storage Package Application
-Com. taiyuancity. bean-object package (Home Page Grid Object Model, list object model added to favorites)
-Com. taiyuancity. dao-database (used for favorites and cancellation)
-Com. taiyuancity. ui-interface package and activity (various activities)
-Com. taiyuancity. util-Toolkit (the random function used for shaking, listen to the accelerator to check shaking)
-Com. taiyuancity. widget-custom control package (customize the scroll control of the display screen at the first startup)

 

 

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.