I have the kankan.wheel
demo (cities, passwords, date/time etc.) and its working fine.
I wrote a small program to see if I can use it by myself:
This is how the class begins:
public class WheelTestActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
WheelView wheel = (WheelView)findViewById(R.id.passw_1);
I put a breakpoint at setContentView(R.layout.main);
This is the row that causes the problem.
I receive an error :
Could not find class
kankan.wheel.widget.WheelView
, referenced from method com.example.WheelTestActivity.onCreate
I noticed that the file "wheel.jar" on the original demo is placed under: "Android Dependencies" folder of the project In my project, the file "wheel.jar" is under "lib" folder
Is that the problem ?