Hi Frndz,
I am encountering an Application error when I am trying to open a
ListActivity from another activity using startActivity().
The error is
"Application error:<package name>"
"An error has occured in <package name>.Binary xml file line #xxx:
Error inflating class accelerateInterpolator."
The source code of the class extending ListActivity is
import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
public class MainMenuList extends ListActivity {
private String[] listItems = {"Login", "Edit Settings"};
protected void onCreate(Bundle icicle) {
super.onCreate(icicle);
setListAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, listItems));
}
}
The entry for this activity is also present in the AndroidManifest.xml
file.
I am Eclipse 3.4 with the "android-sdk_m5-rc15_windows" sdk.
Do any one have encountered this error earlier. How can I solve it?
Thanks
Deepanjan
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---