Can't get what you mean by Package Name, if this is My code package name, then I am using "com.android.myfirstapp".
basically I am using tabs, but because I have more than one activity to show in a single tab, I am following this articlehttp://blog.henriklarsentoft.com/2010/0 ... ctivities/
to create activitygroup and sub activities. all working. but I have a spinner control in a sub activity, when I try to open spinner by clicking it, it producing above mentioned exception.
this code is working perfectly when I put it in main activity, outside tabs.
ArrayAdapter<CharSequence> adapterState = ArrayAdapter.createFromResource(
this, R.array.states_list, android.R.layout.simple_spinner_item);
basically this is some context problem. I have already tried getApplicationContext()
while ProfileGroup is name of ActivitiyGroup Class, and groupContext is static variable of type Context, holding the instance of ProfileGroup Class.
let me know, if you didn't get me.......I must need to solve this.....