[android-developers] Re: Can't seem to get something as simple as a ListView to work
Hi buddy, Does anyone know a solution 4 this issue...uknown value for gettextarray(0) Could anyone please explain me what is it signifying and why am I facing the problem. The scenario over here is same as withe ecogeek. Best Regards Robin On Jan 15, 1:39 am, ecogeek ecog...@gmail.com wrote: Well now I don't get an error when I save, but I still can't get the layout to display, now it says this: UnsupportedOperationException: BridgeTypedArray:UNKNOWNVALUEFORgetTextArray(0) = @array/FacesList Thanks for the help. :) On Jan 14, 2:18 pm, Dmaxi robert.b...@gmail.com wrote: I tried it and works. arrays.xml: resources string-array name=FacesList item 2/item item 4/item item 6/item item 8/item item 10/item item 12/item item 20/item item 100/item /string-array /resources main.xml: ListView android:id=@+id/DiceFaces android:layout_width=50px android:layout_height=wrap_content android:drawSelectorOnTop=true android:entries=@array/FacesList android:layout_x=209px android:layout_y=128px /- Hide quoted text - - Show quoted text - --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Can't seem to get something as simple as a ListView to work
I replaced array with string-array and now I get no resource found On Jan 13, 8:05 pm, James Yum j...@google.com wrote: I believe it should be a string-array rather than an array. Cheers, James On Tue, Jan 13, 2009 at 3:15 PM, ecogeek ecog...@gmail.com wrote: I'm trying to make my first app and I'm designing the UI right now and I am extremely hung up. I have this in my arrays.xml file ?xml version=1.0 encoding=utf-8? resources array name=FacesList item2/item item 4/item item 6/item item 8/item item 10/item item 12/item item 20/item item 100/item /array /resources And this in my main.xml file ListView android:id=@+id/DiceFaces android:layout_width=50px android:layout_height=wrap_content android:drawSelectorOnTop=true android:entries=@array/FacesList android:layout_x=209px android:layout_y=128px I'm using Eclipse and when I click on the layout tab I get the following: UnsupportedOperationException: BridgeTypedArray:UNKNOWN VALUE FOR getTextArray(0) = 2 Any help would be greatly appreciated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Can't seem to get something as simple as a ListView to work
I tried it and works. arrays.xml: resources string-array name=FacesList item 2/item item 4/item item 6/item item 8/item item 10/item item 12/item item 20/item item 100/item /string-array /resources main.xml: ListView android:id=@+id/DiceFaces android:layout_width=50px android:layout_height=wrap_content android:drawSelectorOnTop=true android:entries=@array/FacesList android:layout_x=209px android:layout_y=128px / --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Can't seem to get something as simple as a ListView to work
Well now I don't get an error when I save, but I still can't get the layout to display, now it says this: UnsupportedOperationException: BridgeTypedArray:UNKNOWN VALUE FOR getTextArray(0) = @array/FacesList Thanks for the help. :) On Jan 14, 2:18 pm, Dmaxi robert.b...@gmail.com wrote: I tried it and works. arrays.xml: resources string-array name=FacesList item 2/item item 4/item item 6/item item 8/item item 10/item item 12/item item 20/item item 100/item /string-array /resources main.xml: ListView android:id=@+id/DiceFaces android:layout_width=50px android:layout_height=wrap_content android:drawSelectorOnTop=true android:entries=@array/FacesList android:layout_x=209px android:layout_y=128px / --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Can't seem to get something as simple as a ListView to work
I believe it should be a string-array rather than an array. Cheers, James On Tue, Jan 13, 2009 at 3:15 PM, ecogeek ecog...@gmail.com wrote: I'm trying to make my first app and I'm designing the UI right now and I am extremely hung up. I have this in my arrays.xml file ?xml version=1.0 encoding=utf-8? resources array name=FacesList item2/item item 4/item item 6/item item 8/item item 10/item item 12/item item 20/item item 100/item /array /resources And this in my main.xml file ListView android:id=@+id/DiceFaces android:layout_width=50px android:layout_height=wrap_content android:drawSelectorOnTop=true android:entries=@array/FacesList android:layout_x=209px android:layout_y=128px I'm using Eclipse and when I click on the layout tab I get the following: UnsupportedOperationException: BridgeTypedArray:UNKNOWN VALUE FOR getTextArray(0) = 2 Any help would be greatly appreciated. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---