[android-developers] Problems by testing on different devices

2011-03-24 Thread Daniel Rindt
Hello,

testing my application on different devices with different screens. The
QVGA-small-ldpi device brings startup errors. 
=== 8 ===
E/AndroidRuntime(  874): java.lang.RuntimeException: Unable to start
activity
ComponentInfo{com.viselabs.myroutes/com.viselabs.myroutes.activity.TabView}: 
android.content.res.Resources$NotFoundException: File 
res/drawable/tab_waypoints.xml from drawable resource ID #0x7f020012
=== 8 ===
The mentiones ressource 0x7f020012 is present in the appropriate size in
ldpi, mdpi and ldpi. Another side effect is that the application icon is
not shown, so a default is shown now. Seems to me that the drawables are
searched in a wrong folder? But to repeat ldpi is present and the png's
are not corrupt or something.

Thanks for your help.
Daniel

-- 
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


Re: [android-developers] Problems by testing on different devices

2011-03-24 Thread Mark Murphy
It sounds like the device in question is running an older version of
Android, perhaps 1.5, where the -ldpi and related resource sets did
not exist.

On Thu, Mar 24, 2011 at 7:30 AM, Daniel Rindt
daniel.ri...@googlemail.com wrote:
 Hello,

 testing my application on different devices with different screens. The
 QVGA-small-ldpi device brings startup errors.
 === 8 ===
 E/AndroidRuntime(  874): java.lang.RuntimeException: Unable to start
 activity
 ComponentInfo{com.viselabs.myroutes/com.viselabs.myroutes.activity.TabView}: 
 android.content.res.Resources$NotFoundException: File 
 res/drawable/tab_waypoints.xml from drawable resource ID #0x7f020012
 === 8 ===
 The mentiones ressource 0x7f020012 is present in the appropriate size in
 ldpi, mdpi and ldpi. Another side effect is that the application icon is
 not shown, so a default is shown now. Seems to me that the drawables are
 searched in a wrong folder? But to repeat ldpi is present and the png's
 are not corrupt or something.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.5 Available!

-- 
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