Setting up Sherlock library for action bar in pre Honeycomb Android Applications

July 28, 2012
By

In this article, we will see how to set up sherlock library ( 4.1.0-0 )  to use in pre Honeycomb Android applications, developing in Eclipse IDE (3.7.2 ) with ADT plugin ( 20.0.2 ) .


1. Download the latest version(4.1.0) of sherlock library from here


2.Extract the downloaded file to a local directory


3. Open Eclipse IDE and click the menu File->New->Other->Android->Android Project from Existing Code

Create Android Project From Existing Code

Figure 1 : Create Android Project From Existing Code


4. Select the “library” directory as the root directory of the new project

Import the existing code

Import the existing code


5. Ensure that this project is a library.

For this right click the new project created in the above step in Project  Explorer and click the menu “Properties” and tick the checkbox “Is Library” as shown below and click OK.

Make the project as a library

Figure 3 : Make the project as a library


6. Done

Now Eclipse is ready to develop Android Applications containing Action Bar for pre Honeycomb versions


How to hire me?

I am George Mathew, working as software architect and Android app developer at wptrafficanalyzer.in

You can hire me on hourly basis or on project basis for Android applications development.

For hiring me, please mail your requirements to info@wptrafficanalyzer.in.

My other blogs
store4js.blogspot.com


Android Knowledge Quiz

Ready to test your knowledge in Android? Take this quiz :



Tags: ,

2 Responses to Setting up Sherlock library for action bar in pre Honeycomb Android Applications

  1. Ivan on August 8, 2012 at 8:52 pm

    Great tutorial!! I´m new but I´ll try to follow all your posts
    Thank you very much

  2. Venkata Ravichandra Cherukuri on May 26, 2016 at 7:55 am

    If you are using Android Studio then use the following in you gradle file.

    compile ‘com.actionbarsherlock:actionbarsherlock:4.4.0@aar’
    compile ‘com.android.support:support-v4:23.3.0′

    The support library version should be changed to whatever version is the target version of you app.

Leave a Reply

Your email address will not be published. Required fields are marked *

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner