Hi,
i had the same error but i don't know why, my app runs fine now.
My code is similar to your code (perhaps you have to work with the
setContent- and the createTabContent-function??):
lv=(ListView)findViewById(R.id.list);
ts.setContent(new TabHost.TabContentFactory()
{
public View createTabContent(String tag)
{
ArrayAdapter<String> adapter = new
ArrayAdapter<String>
(APPNAME.this,android.R.layout.simple_list_item_1,test);
lv.setAdapter(adapter);
return lv;
}
});
I hope you have find the error already.
Regargds,
Stefan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---