Android Project development Process (i)--create Project

Source: Internet
Author: User
<span id="Label3"></p><p><p>Every programmer knows that the overall structure of project engineering has a decisive impact on development, in the subsequent development work, can effectively reduce the number of code duplication and effective division of labor depends on the overall structure of the previous Project. Just in less than one months of work to realize that the project was very poor in terms of architecture, and now look back to the previous project, it is very ugly ah, although it was very hard at the time to do a good architecture design, but now looks like a mess.</p></p><p><p>This period of time to use the time spent working idle to do a simple project structure, and the general development process recorded in this, just the company Daniel is also a lot, you can always consult them, Haha. yesterday, occasionally saw 360 of the joke interface (http://xiaohua.hao.360.cn/m/itxt?page=1), for the time being to develop a joke about the app bar, the project name is called laughter haha (casually think).</p></p><p><p>Project Name: lol app</p></p><p><p>Description: a joke of the app, easy and fast, all Ages.</p></p><p><p>function description: early in the first function with the simplest implementation, start the software and then the joke list, drop-down refresh, pull load more, Click on the joke item to jump to the joke details Page.</p></p><p><p>Development Environment: ADT</p></p><p><p>Development Framework: Afinal-0.5.1 (and related introduction: https://github.com/yangfuhai/afinal)</p></p><p><p>Related tools: jackson-all-1.7.6 (website address: http://json-lib.sourceforge.net/)</p></p><p><p>First Step: Create a project</p></p><p><p>Open Eclipse-and Create a project (laughdemo) such as:</p></p><p><p>  </p></p><p><p>Step two: Import afinal frame, Jackson frame</p></p><p><p>Will download the good Afinal_0.5.1_bin.jar and Jackson-all-1.7.6.jar</p></p><p><p>Import method: Copy the two jar files into the Project's Libs folder, and Eclipse will automatically import.</p></p><p><p>Step three: Configure related permissions</p></p><p><p>Use afinal to have permission:</p></p><pre><pre><uses-permission android:name= "android.permission.INTERNET"/><uses-permission android:name= " Android.permission.WRITE_EXTERNAL_STORAGE "/></pre></pre> <ul> <ul> <li>The first one is to access the network</li> <li>The second one is to visit sdcard</li> <li>Access to the network is requested when the network image needs or HTTP data requests, access to SDcard is the need for picture caching.</li> </ul> </ul><p><p>So far, the preparation of the basic work has been done, if you do not know afinal and jackson, do not worry, in the following post will be targeted to introduce the project in the use of some of the Features.</p></p><p><p>Android Project development Process (i)--create Project</p></p></span>

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.