Hi, I am trying to run the ProgressBar example from http://learnandroid.blogspot.com/2008/02/progressbar-android-simple-custom.html
But I get this ARProgressBar exception? 02-10 20:13:29.293: ERROR/AndroidRuntime(165): Caused by: java.lang.NoSuchMethodException: ARProgressBar 02-10 20:13:29.293: ERROR/AndroidRuntime(165): at java.lang.Class.getMatchingConstructor(Class.java:537) 02-10 20:13:29.293: ERROR/AndroidRuntime(165): at java.lang.Class.getConstructor(Class.java:401) 02-10 20:13:29.293: ERROR/AndroidRuntime(165): at android.view.LayoutInflater.createView(LayoutInflater.java:474) 02-10 20:13:29.293: ERROR/AndroidRuntime(165): ... 21 more I move the classes to 'com.mycompany'. And I have updated teh main.xml file according. So can you please tell me why I am getting the ' java.lang.NoSuchMethodException'? This is my updated main.xml file: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <com.mycompany.ARProgressBar id = "@+id/cProgres" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Processing" /> <Button id = "@+id/btnSimulate" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Simulate" /> <Button id = "@+id/btnStop" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Stop" /> </LinearLayout> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

