Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9060127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T15:08:38+00:00 2026-06-16T15:08:38+00:00

I am totally new to android, i am trying to implement Sliding Menu having

  • 0

I am totally new to android, i am trying to implement Sliding Menu having ListView with
Swipe Gesture
, by some searching i found that https://github.com/jfeinstein10/SlidingMenu
is exactly what i want,

There are many questions related to this which are guiding how integrate this library with project, but none of them are for new person like me. also procedure given on github is not detailed, all i know is how to add .jar file but this .zip and other things are totally new for me

This is what i have done till yet;

  1. downloaded zip from above link
  2. Extracted that link to folder
  3. in Eclipse File->import->existing project into work-space..

Now it is showing me many error in package library.src.com.slidingmenu.lib.app

e.g

The declared package "com.slidingmenu.lib.app" does not match the expected package "library.src.com.slidingmenu.lib.app"

now i don’t know what to do…

please somebody guide me with proper detailed procedure of how to integrate and use this library in project.

Thanks !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T15:08:39+00:00Added an answer on June 16, 2026 at 3:08 pm

    Well, spending 3 days with same problem I found the exact procedure for this thing. The guide on github is of-course not for entry level guys like us, also there is no such a “step-by-step tutorial” for this, so it took time.

    Important: I didn’t include “Sherlock ActionBar” library, because I want to keep it simple

    • First up all update your eclipse to latest ADT or best way you can download this ADT Bundle, and confirm that everything is running fine in new ADTBundle.

    • Download latest “zip for jfeinstein10 / SlidingMenu” from “gitHub“, And extract it anywhere you want. After extraction it must have these files and folders inside.

    Folder after extracting library

    • Now open your eclipse File -> Import -> Android -> Existing Android Code Into Workspace, Browse to your folder most probably “SlidingMenu-master” and you should see following

    enter image description here

    Hit Finish, If eclipse shows some error like Unable to resolve target then change your target through Right Click on project -> Properties -> Android and check any latest google API your SDK have.

    • Add Dependency, by right clicking on project -> properties -> android -> library -> add -> SlidingMenuActivity, and clear both projects.

    • Add new XML layout named as menu_frame in your res -> layout and put following in it
      Put Frame Layout and list view in it.

    • Also add a ListView in your mainActivity XML file.

    • Now it is time to create “Menu” write following code in your onCreate() after setContentView(R.layout.activity_main).

      SlidingMenu menu;
      menu = new SlidingMenu(this);
      menu.setMode(SlidingMenu.LEFT);
      menu.setTouchModeAbove(SlidingMenu.TOUCHMODE_FULLSCREEN);
      menu.setShadowWidth(5);
      menu.setFadeDegree(0.0f);
      menu.attachToActivity(this, SlidingMenu.SLIDING_CONTENT);
      menu.setBehindWidth(200);
      menu.setMenu(R.layout.menu_frame);
      
    • At the lines it is showing error press ctrl+1 and import com.slidingmenu.lib.SlidingMenu;“

    • Run your project and you should see menu coming out from left side

    • Now the next task is to add adapter and listener for both of your ListViews (i.e for Main-screen and Menu).

    For information about function used while creating Menu you can refer to example apps provided with library or google them, there is lot of info available.

    Also thanks to “Jeremy Feinstein” for such a great library

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am totally new to Android and trying for Fragments for the first time.
I'm totally new to android programming. I can see that this problem has been
I am totally new in appbiling service in android, and it seems to be
Totally new to Capistrano. I have a local git repository that I want to
im totally new when it comes to trying to make HTML code. I was
I'm totally new to AWS. I managed to have an instance that runs PHPMyAdmin.
I'm totally new in OpenCV so hopefully that's not a too stupid question. As
I´m totally new to Powershell and wanted to write a script that deletes all
I'm trying to do an Android app that needs to work with Google spreadsheet
I'm totally new to Android (Java) Development and I'm so excited about it! The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.