ShowcaseView
is contained in a Zip file here. But what exactly am I downloading and how do I import it in Eclipse?

- 60,504
- 58
- 273
- 437

- 2,457
- 9
- 37
- 53
4 Answers
After 2 days I succeed, I have created steps to import ShowcaseView in Eclipse that may be helpful to you.
How to use Showcase View in Eclipse.
Download ShowcaseView from github and extract.
Now Follow step for import.
- Right click on Project Explorer - Import -> Android -> Existing Android Code Into Workspace - Select Extracted "ShowcaseView-master" - Check both project "library" and "MainActivity" - Check "Copy projects into workspace" - Finish.
(After importing you can see 2 projects imported namely "main" and "SampleActivity", you may change "main" as "libShowcaseView" and "SampleActivity" as "ShowcaseViewDemo" so you can easily identify. :) )
May you see error in "ShowcaseViewDemo" (Dont worry...), See
src/
folder is also blank (in both "libShowcaseView" and "ShowcaseViewDemo") :) right??? Dont mind.Make following packages in "libShowcaseView" project. See Example.
- com.github.amlcurran.showcaseview - com.github.amlcurran.showcaseview.targets
and Move all java files from
/java/com/github/amlcurran/showcaseview
and/java/com/github/amlcurran/showcaseview/targets
Respectively.Make following packages in "ShowcaseViewDemo" project. See Example.
- com.github.amlcurran.showcaseview.sample - com.github.amlcurran.showcaseview.sample.animations - com.github.amlcurran.showcaseview.sample.legacy - com.github.amlcurran.showcaseview.sample.v14
and move files as above (from java folder respectively).
Now right click on "libShowcaseView" project->properties->Android->Move down and check "Is Library" then add "actionbarsherlock" as Library. See Preview
Now Add as library in ShowcaseViewDemo. Goto properties of "ShowcaseViewDemo"->Android->Add->select "libShowcaseView"->Ok...
I think you didn't ran into error now. You can Run.
You can ping any time for any suggestion or help.
Happy ShowcaseViewing...

- 37,241
- 25
- 195
- 267

- 60,504
- 58
- 273
- 437
-
2Thank you for this tutorial :) Just a reminder: If you follow these steps, you need to install the actionbarsherlock lib. You just have to clone it, import it as android project in eclipse (Check "Copy projects into workspace"). That's it ! This library is available here : https://github.com/JakeWharton/ActionBarSherlock – Slot Aug 25 '14 at 22:13
-
1Android v7 support library can also be used in place of ActionbarSherlock – Price May 31 '15 at 06:05
Easiest way is:
- Create an empty Android Application project in your Eclipse workspace.
- Copy files in ShowcaseView/library/ folder of github to your new project base folder.
- Refresh project in Eclipse.
- Goto project properties - Android and select "Is Library"
- Clean unnecessary stuff and build.
It should be ready to add as dependency of your app.
Alternatively you can pick another library project .project file and copy it inside this library folder, edit it to match your new project name, etc... And then import in Eclipse. But this is more hardcore if you don't know what you're doing. Soure : How do I build these libraries from GitHub

- 1
- 1

- 46
- 3
Following ツ Pratik Butani ツ's Answer and use Android Support Library to replace ActionBarSherlock
In project.properties of libShowcaseView and ShowcaseViewDemo
- add
target=android-21
- add
Right click on "libShowcaseView" Properties->Android->Library->Add... select AppCompat(android support library v7)->Ok
In styles.xml of ShowcaseViewDemo
Change
android:Theme.Holo.Light
,Theme.Sherlock.Light
,Theme.Sherlock.Light.DarkActionBar
toTheme.AppCompat
Remove
<item name="android:fontFamily">sans-serif-light</item>
inListItemBigText
In ActionItemsSampleActivity.java
- change
SherlockActivity
toActionBarActivity
,getSupportMenuInflater
togetMenuInflater
.
- change
In MultipleActionItemsSampleActivity.java
- change
SherlockActivity
toActionBarActivity
- change
com.actionbarsherlock.app.ActionBar.OnNavigationListener
toandroid.support.v7.app.ActionBar.OnNavigationListener
- change
getSupportMenuInflater
togetMenuInflater
- change

- 1,493
- 24
- 31
Do it in there steps:
- Download ShowcaseView from github`
- Create package
com.github.amlcurran.schowcaseview
andcom.github.amlcurran.schowcaseview.targets
in your eclipse project. Extract
ShowcaseView-master.zip
or rar.Go to
library/src/main/java/ and copy com/github/amlcurran/showcaseview
java files incom.github.amlcurran.schowcaseview
package.- Do same thing for
com/github/amlcurran/showcaseview/targets
incom.github.amlcurran.schowcaseview.targets
. - Finally, copy others files in differents folder
drawables, layouts, value
(copy in the old value files, style.xml for example).

- 11
- 3