Android Open Source Library collection

Source: Internet
Author: User

First, compatible class library

    1. Actionbarsherlock:action Bar is only supported after Android 3.0, Actionbarsherlock is to let the Action Bar feature support 2.X all platforms, and he will automatically judge is to invoke the native Action Bar or use the extended actionbar. This library is useful in my little Bear dictionary, and many very well-known apps are using it. GitHub official Actionbar Popular
    2. Android-viewpagerindicator: This is a library of paging indicators compatible with Viewpager. The paging indicator (Friends and suggested are pagination, and the lower blue bar is the indicator, Viewpagerindicator supports multiple style indicators. ): GitHub
    3. Nineoldandroids:nineoldandroids extended the animation API for Honeycomb (Android 3.0) to Android 1.0 or more. The author of the library is the author of the Actionbarsherlock, and the author of Android-viewpagerindicator, Jake Wharton, a very powerful man, GitHub has more than 1.6K of attention, and if you're also developing Android or are about to start learning Android, be sure to follow him, and keep an eye on his star and follow information every time, often with surprising discoveries.
    4. Holoeverywhere: At Android 4.0, Google introduced a new theme-style-holo, most vendors want to unify the interface design UI, so the more compatible Holo theme library Holoeverywhere becomes the choice of many developers. In the official Android blog is also recommended for Holoeverywhere this library, click here to view the official blog Holoeverywhere introduction. Holoeverywhere's GitHub.
    5. Android-datepicker: Compatible with Android 4.0 Datepicker to Android 2.2. GitHub
Second, expand the function library
    1. slidingmenu : Slidingmenu can be very easy for developers to implement the drawer effect of the program, so-called drawer effect as shown, usually used as an outbound menu. And Slidingmenu can be easily fused with actionbarsherlock, with instructions on how to fuse on official GitHub.  GITHUB &NBSP
    2. appmsg : gracefully pops up a toast-like message prompt that supports 3 states alert,confirm and info. GitHub
    3. drag-sort-listview : Many people have used a ListView to sort existing data by dragging. Drag-sort-listview is the open source repository for this functionality. GitHub
    4. android-flip : Easily implement a Flipboard-like paging feature.  github
    5. android-pulltorefresh : Android drop-down refresh component.  GitHub    In addition, the author has another project with a very high degree of utility and attention – another implementation of the Android Actionbar:github  Another: the implementation of another android-pulltorefresh on GitHub. GitHub
    6. actionbar-pulltorefresh:  ActionBar-based drop-down refreshes the component, replacing the ActionBar in the drop-down, showing the update ...  github  demo Download
    7. picasso:   often face loading network pictures, Mature Practice: Asynchronous Download---cache, display, Picasso a line of code can be done in three easy steps. Github githubpage ,github Tablets asynchronous Load Cache class Library Many, you can also try to use android-universal-image-loader  or  lazylist The Afinal (Chinese project), which will be introduced later in  , also has this feature.
Third, the tool library: first, on my personal development experience, summed up the usual use of some of the most commonly used features:
    1. Download, compare slices, files.
    2. Unzip the downloaded file.
    3. Request servers, such as uploading login information, updating some data, or uploading avatar files.
    4. Select the file you want to manipulate from the file system.
    5. Sometimes you also need to crawl some Web page data.
    6. Store some configuration information
    7. Another special requirement is the Android UI design, the icon is a very troublesome problem. It's hard to find the right Android design UI every time.

Subsequently, I will be very targeted to recommend a number of functional libraries, to simplify the above problems.

  1. Afinal:afinal is a handy tool library. GitHub Author Blog (Note: Chinese project yo)
    • A single line of code can be added to the database for pruning and checking.
    • UI binding and event binding can be done in a fully annotated manner. No need for Findviewbyid and Setclicklistener.
    • Easy to implement Android upload files, post data, download files (support breakpoint continuation, stop downloading tasks at any time or start a task).
    • A line of code loads the network picture.
  2. The asynchronous HTTP library under Android-async-http:android. GitHub document PS: The author of GitHub deserves attention.
    • Sends an asynchronous HTTP request and can handle the return response response in the callback function.
    • The HTTP request is on the thread thread and does not block the UI thread.
    • Requests are implemented using the thread pool (ThreadPool), which optimizes the use of concurrent resources.
    • Support multipart file upload.
    • If the request fails, it is automatically requested.
    • JSON decoding is supported.
    • Supports storing cookies in preference.
    • Supports gzip handling of request and response.
    • The entire library is only 19KB.
  3. Asynchronous HTTP and WebSocket libraries under async-http-client:android. GitHub
    • Support proxy settings
    • Support for sub-slice processing request return content
    • Support WebSocket
  4. Zt-zip: Compression and reconciliation engross. GitHub
    • Compression and decompression
    • Individually manipulate file compression and decompression.
    • Replace a file in a zip file
  5. Afilechooser: File selector for selecting files that need to be manipulated GitHub
  6. Jsoup:html parsing, and can well understand dom,css, as well as jquery. GitHub Official PS: This is the Java library. It is necessary to do web crawler (Crawler,robot).
  7. TOML: This is a cross-language configuration information access scheme. GitHub
  8. Androiton-action-bar-icons: A set of icon icons optimized for Android. GitHub Demo
Four, Icon resources:
    • http://iconsparadise.com/quality is general, but also a choice
    • http://iconbench.com/online produce some small icons
    • http://www.androidicons.com/icon quality is very good, but to pay ($ $), if you want to buy the can contact me ~
    • https://code.google.com/p/android-ui-utils/is used to generate design icons for Android style online. Project Address
V. Some manuals
    • The Android graphical interface design manual can be used to quickly view the size of icons, actionbar height and other trivial Android design requirements. GitHub
    • Android Official UI Design Manual: Download Another: Chinese translation version source address (requires ladder) Mirror 1, Mirror 2, mirror 3 offline version packaging Project initiator: SUNJW (Requires ladder)
Seven, some video (the following are the Google I/O conference live video, video more continuous update in ... )
    • The new features of Android Studio official video, I download the official technology blog down, upload to the network disk, I hope to help everyone.
    • Android introduces Gradle's official commentary video.
    • The Google IO conference takes more than 40 minutes to explain the underlying principles and methods of writing Android Custom view. Well worth a look!.
    • IO Conference also explained the principle of high-performance Android Renderscript and the use of methods, to make graphic images necessary good products.
    • The Conference also briefed the developers on how to achieve simple, fast network requests. Including commonly used JSON, asynctask, also proposed a network load in the case of the solution Requestqueue (Request queue), improve their own technical essentials video.
    • Best practices for Android Bluetooth operation.
    • An official guide to Android UI design
    • Official video on Android game development
Eight, high-value links
    • Android's official Blog offers some instant inquiries about Android. (Ladder required)
    • The Android Official technology blog provides demos and tutorials on new tools such as Android Studio, new technologies such as each update. (Ladder required)
    • Androidviews Android View Component collection site.
    • That two years of refined Android internal skills (this is an Android primer to improve the article, the content is very comprehensive, and easy-to-digest, highly recommended, from the Lao Luo's Android tour)
IX. integration of other development features (for lazy people ...)
    • Orm:object-relationship mapping, if you don't know what ORM design is, Google. Currently there are three main ORM open source libraries on Android. Greendao, Ormlite, Androrm. The sort basic represents performance. Greendao and Ormlite performance test Ormlite and androrm performance comparison, mainly the implementation of the principle of the performance of the difference (Greendao using generated data table class file, others use the reflection ...) )。 If the database performance requirements are very high, then the use of Greendao, if you want to use Ormlite or androrm diagram.

Android Open Source Library collection

Related Article

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.