Preparations before Android project development (1): android Project Development
Integrate Android into my life!
I have been busy some time ago. The project was launched in a short time, with heavy tasks, and I worked overtime every day. I also spent three nights. In the end, according to the requirements of the leaders, I ensured that the project was launched on time. Now it's easy.
Now, I have nothing to do all day. In my spare time, I want to summarize my own development work. I feel very rewarding. I would like to summarize it as follows and share it with you, hoping to bring you some experience.
Xu help! Welcome to comments. Welcome to share. Welcome to favorites!
1: Before project development, we must fully understand all the interface requirements of the project and the components required for implementing the interface, such as the circle that is particularly popular in Android applications.
Icon, Listview slide loading, pull-down refresh, Baidu positioning, various sharing, Listview dynamic loading of network images and so on all the requirements, before the application development, be sure to design all
UI control to ensure smooth development of later projects
2: We recommend that you use the universal-image-loader library for circular images. Do not use custom controls such as CircularImage and RoundedImageView, because these custom controls
When loading an image with a particularly small resolution, a black border will appear and it is mandatory. During the test, a Bug will be raised, which cannot be solved, if you replace it later, it will cause a lot of work.
3: CrashHandler, a global injection exception handling class, can be started in its own Application. This exception handling class is very useful, and there will be some inexplicable bugs in the future, and
Even now, it is difficult to find out the cause of the Bug by testing alone. Some exception handling logs will greatly save us time to find the cause of the Bug, because logs are recorded from time to time and only
When a Bug occurs, there will be a log record, which is very convenient