How do I import ShowcaseView in Eclipse?

android, eclipse, import, java, showcaseview

Solution

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...

Problem

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

Original source

Related problems