Sphero Android Joystick View

626 views Asked by At

How can I use JoystickView in Sphero-Android application? I followed this link in order to implement Joystick View into my layout, but there is no package named com.orbotix.spherocam.ui.joystick.JoystickView in RobotLibrary.jar, so it is pointless to add this view into my layout file like the way it's shown in the tutorial. (and when I run the application, it crashes with the following exception)

06-01 12:23:06.071: E/AndroidRuntime(22204): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.orbotix.spherocam.ui.joystick.JoystickView" on path: DexPathList[[zip file "/data/app/com.ecem.whereissphero-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.ecem.whereissphero-1, /vendor/lib, /system/lib]]
06-01 12:23:06.071: E/AndroidRuntime(22204):    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)
06-01 12:23:06.071: E/AndroidRuntime(22204):    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
06-01 12:23:06.071: E/AndroidRuntime(22204):    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
06-01 12:23:06.071: E/AndroidRuntime(22204):    at android.view.LayoutInflater.createView(LayoutInflater.java:559)
06-01 12:23:06.071: E/AndroidRuntime(22204):    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
06-01 12:23:06.071: E/AndroidRuntime(22204):    ... 21 more

How can I implement this? Please help me on this one.

1

There are 1 answers

2
John Chen On

it's orbotix.robot.widgets.joystick.JoystickView;