Specific drawable not working?????

by mikedrmfs » Fri, 20 May 2011 09:30:40 GMT

Sponsored Links
 In a very simple menu the drawable @android:drawable/ic_media_stop
doesn''t work and @android:drawable/ic_media_pause does.

I get problem
[2011-05-19 14:04:52 - Twitter Update] W/ResourceType( 7852): Bad XML
block: header size 151 or total size 0 is larger than data size 0
[2011-05-19 14:04:52 - Twitter Update] M:\Development\Eclipse_Java
\eclipse\Workapace\Twitter Update\res\menu\menu.xml:6: error: Error:
No resource found that matches the given name (at 'icon' with value

Both of them are in
M:\Program Files\Android\android-sdk\platforms\android-8\data\res


Re: Specific drawable not working?????

by Marcin Orlowski » Fri, 20 May 2011 16:46:37 GMT


You should copy drawables to your app's res folder.

Marcin Orlowski

*Tray Agenda < http://bit.ly/trayagenda> ;* - keep you daily schedule handy...
*Date In Tray* < http://bit.ly/dateintraypro> ; - current date at glance...
WebnetMobile on *Facebook < http://webnetmobile.com/fb/> ;* and
*Twitter< http://webnetmobile.com/twitter/> ;


Sponsored Links

Other Threads

1. byte arrays and cross process content providers

I've been fighting this one for a while and I'm seeing no joy, so 
hopefully someone can help.

I have multiple apks; The first gets a data set from a server, The 
others perform actions on the data.

At the moment the first APK get data from a server and exposes a 
ContentProvider that the other apks can use to access the data (it 
returns a MatrixCursor when data is queried because seems to be the only 
way to handle cross APK non SQLiteDatabase originated data).

The problem is that the data set may contain byte arrays, and when you 
put the byte array between processes in a MatrixCursor it comes out the 
other end corrupted.

I ran a test which inserted a two byte array via the content provider, 
then returned the same two byte array via the MatrixCursor, the result 
was the client APK saw a 12 byte array which was filled with junk.

The dataset contains several rows (could be thousands), so creating a 
file for each row and using streams will seriously degrade performance. 
The other issue is that each row can contain multiple byte arrays which 
makes using the _data & stream ContentProvider method even more unworkable.

So does anyone know how to get byte arrays between APKs via a cursor 
without having to create lots of intermediate files?


Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 


2. SD card not detected in Android

Modify the  /system/etc/mountd.conf So that the system will recognize other
For ex:- block_device /dev/block/mmcblk0p1*


unsubscribe: android-porting+unsubscr...@googlegroups.com

3. Need help in understanding android 's code

4. OProfile querries

5. an error saying" DDM dispatch reg wait timeout Can't dispatch DDM chunk" occurs when uninstall the preinstalled APIDemo in SDK

6. If rc33 can be dl to my g1 why not elements of cupcake?

7. How to lock down device?