I found some problems when implementing Jake Wharton‘s ViewPagerIndicator.
These are what stated on Logcat:
06-19 15:32:02.661: E/AndroidRuntime(692): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.aprian.learn/com.aprian.learn.VPIndicator}: android.view.InflateException: Binary XML file line #7: Error inflating class com.viewpagerindicator.TitlePageIndicator
I have put on the viewpagerindicator library and already put it in build path, but still failed to start the app.
You need to add the ViewPagerIndicator as a Libarary project as per Referencing Library Projects. Using it as a .jar-file doesn’t work.
Basic steps are:
Add the ViewPagerIndicator as a New Project from existing source and
If this doesn’t work, try Project -> Clean.
Edit: Also see this answer from Jake Wharton : Answer