> > I wonder if a newer version of TabHost requires an XML-based > instantiation...? > Not that I am aware of...
What does your code look like that creates the TabView and loads up the resources. Also, what are the contents of your res folder? Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Apr 16, 2012 at 10:28 PM, momo <[email protected]> wrote: > I wrote a small app for a colleague, that uses a TabHost widget. He said > he upgraded his phone's OS recently and the app now crashes when attempting > to access the Activity containing the TabHost. After some remote support, > I was able to get little of the log: > > Caused by: android.content.res.Resources$NotFoundException: Resource ID > #0x0 > at android.content.res.Resources.getValue(Resources.java:1018) > at > android.content.res.Resources.loadXmlResourceParser(Resources.java:2105) > at android.content.res.Resources.getLayout(Resources.java:857) > at android.view.LayoutInflater.inflate(LayoutInflater.java:394) > at > android.widget.TabHost$LabelAndIconIndicatorStrategy.createIndicatorView(TabHost.java:565) > at android.widget.TabHost.addTab(TabHost.java:223) > > All resources are in there. It works fine on my device. I'm not sure > about the specifics of the upgrade he made - he's trying to find out but I > won't have that information for at least a day > > I notice the line regarding LayoutInflater.inflate - not sure if it > matters (I kind of doubt it), but the TabHost was instantiated dynamically > (Java, not XML)... I wonder if a newer version of TabHost requires an > XML-based instantiation...? > > Any ideas? > > TYIA. > > -- > 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 -- 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

