Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is an Android Support Library?

Tags:

What is the purpose of an Android Support Library?

Does this mean http://developer.android.com/tools/extras/support-library.html?

Currently my app minSdkVersion is restricted to level 10.

I am trying to use ViewPager, which is not available for a higher API (for example for level 16)...

What does this support library mean? Does it mean I can use ViewPager, and the user of the phone with API level less than 16 can still see ViewPager widget?

like image 749
user1697965 Avatar asked Oct 17 '12 03:10

user1697965


People also ask

Should I use Android support libraries?

Originally a single binary library for apps, the Android Support Library has evolved into a suite of libraries for app development. Many of these libraries are now a strongly recommended, if not essential, part of app development.

What does Android library mean?

The core libraries enable us to implement android applications using the standard JAVA or Kotlin programming languages.

What is Android design Support library?

The Design Support library adds support for various material design components and patterns for app developers to build upon, such as navigation drawers, floating action buttons (FAB), snackbars, and tabs. The Gradle build script dependency identifier for this library is as follows: com. android.

Where is the Android library?

To find your Library, go to the bottom menu bar and select Library .


2 Answers

From the description of the support library:

The Support Package includes static "support libraries" that you can add to your Android application in order to use APIs that are either not available for older platform versions or that offer "utility" APIs that aren't a part of the framework APIs. The goal is to simplify your development by offering more APIs that you can bundle with your application so you can worry less about platform versions.

Off course you have to use only the lower SDK available functions. You should also look the Google Support Library thats make available some new functions for older SDK. http://developer.android.com/tools/extras/support-library.html

like image 186
Ram kiran Pachigolla Avatar answered Oct 01 '22 06:10

Ram kiran Pachigolla


Yes, support package will allow you to use most of the fragment widgets back to Android 1.6. With NineOldDroids (http://nineoldandroids.com/) and other packages such as ActionBarSherlock (http://actionbarsherlock.com/) from the same developer, you can get a lot of the goodies from ICS and above to work on old Android devices.

All you have to do is to import the compatibility libraries. The way they work is that for the new devices, they will use official Android API, for the old ones, they will simulate and run them in compatible ways, so things may look different.

like image 24
Edison Avatar answered Oct 01 '22 06:10

Edison