Android Support Library

Source: Internet
Author: User

    1, what is Android support V4, V7, V13?    is essentially three Java libraries.    2, why should I have a support library?    If you are developing an application on a low-version Android platform, and the application wants to use a feature that is later, you need to use the support library.    3, what is the difference and function of three support libraries? Android Support V4 is the earliest (April 2011) Implementation of the library. Used on Android1.6 (API lever 4) or later.                                    It contains a relatively V4, V13 large number of functions.                                    For example: Fragment,notificationcompat,loadbroadcastmanager,viewpager,pagetabatrip,loader,fileprovider and so on.  Detailed API Reference http://developer.android.com/reference/android/support/v4/app/package-summary.html Android support                                    V7: This package is designed to consider Android2.1 (API level 7) and above, but V7 is to rely on V4, which is, if you want to use it, two packets are referenced at the same time.    The V7 supports the action Bar.    Android Support V13: This package is designed for Android 3.2 and later, generally we are not used, tablet development can be used.    4, how to use?  First make sure that the Android support Library is installed and then added to the project (e.g. Support-v4 Library) in ADT you need to follow these steps: 1, right-click the current project, find Properties 2, select Java Build Path 3, select Libraries tab, click on the right panel of the Add External jars button 4, select the Android-support-v4.jar file, the common path for this file is: Your_driVe\android-sdks\extras\android\support\v4\android-support-v4.jar 5, when you are finished adding, select the order and export label to confirm. 5 v4, V7, v13 example code 4v: <sdk>/extras/android/support/samples/support4demos/7v: <sdk>/extras/android/sup PORT/SAMPLES/SUPPORT7DEMOS/13V: <sdk>/extras/android/support/samples/support13demos/app Navigation: &LT;SDK >/extras/android/support/samples/supportappnavigation/

Android Support Library

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.