xiaofans / android-wheel

Automatically exported from code.google.com/p/android-wheel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to link my project with it?

GoogleCodeExporter opened this issue · comments

Hello,
I have downloaded source file from svn but I am unable to find any 
documentation that gives me step by step guide to link this widget with my app 
or how to integrate it. Can you please write it down here or send me link where 
it give step by step guide to plug it in the app.

Thanks
Ayaz Alavi

Original issue reported on code.google.com by ayaz.al...@gmail.com on 13 Dec 2011 at 2:41

Hi,
I'm a newbie in Android, so I also have big trouble how to reuse it in an own 
app.
BR,
Dima

Original comment by DimonSB...@gmail.com on 15 Dec 2011 at 8:25

It is not so simple to link this into your project, but I will try to give you 
a guide.
1) You will have to add the code manually (all in src.kankan.wheel.widget and 
src.kankan.wheel.widget.adapters) and the two files in res/drawable (ie. 
wheel_bg.xml and wheel_val.xml) 
2) Resolve all import issues if you are not placing the code where it was (ie. 
src/kankan/wheel/widget...)
3) change WheelView to import your .R

This is not a part of the standard android library so accept quirks and some 
dark corners. 
yuri has done an exceptional job to deliver something he have done for free.

Original comment by L8.jans...@gmail.com on 22 Dec 2011 at 9:40

OR (for eclipse)
1> download the source from svn
2> place the folder in your eclipse workspace and import it
3> in eclipse: wheel project -> properties -> Android -> flag "Is Library"
4> in eclipse: your project -> properties -> Android -> "Add" -> wheel
5> then, examine demo code for how to use thiw *fantastic* widget :)

Original comment by agiampi...@gmail.com on 15 Feb 2012 at 1:59

Thank you guys for your help!
I very appreciate it.

Original comment by yuri.kan...@gmail.com on 7 May 2012 at 6:35

  • Changed state: Fixed
I am still getting couple of errors

Original comment by programm...@gmail.com on 14 May 2014 at 8:08