An insight into Android app development

Source: Internet
Author: User
Tags php server

  For the development of the client, to my personal current level, it is difficult to carry out a systematic explanation, can only share under a few problems encountered the point of good!

1: For the use of tabhost, this thing is really out of date, the first version, I am using the tabhost is really difficult to use, but the effect has been made, I would like to make good, helpless client more professional classmates or insist let me change into fragment to do!

2: About the use of freshpulllist, for the use of the list, I think we are not unfamiliar, but the Android Development library to a very basic listview, if we want to achieve, such as the drop-down refresh, pull up the effect of the addition, I am afraid to expand, However, these freshpulllist have helped us to do a good job, look at a small demo, we are able to grasp the flexibility!

3: About the use of imageload, about the list of player avatar loading, I think for a long time, from the beginning to think of the last use of Imageload, I originally meant to think, in the JSON stored in the good! Anyway, the client and PHP server is the use of JSON communication, but on second thought, there are two drawbacks to doing this, 1: There are many players in the list is repeated, this will produce a lot of repeated loading, wasting bandwidth, increase the waiting time; 2: No way to cache, or to do cdn! Later think that still pass the URL good, this way, the client can load the data asynchronously, but then thought, if the user first opened, then can be saved to the local, waiting for the second time to load the local data can be taken directly. This program is really complex, think about, is preparing to implement the time, students told me, Imageload has done, direct use on it! Sure enough

4: Arsenal!

An insight into Android app development

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.