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
'@android:drawable/ic_media_stop').

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

-- 



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.

Regards,
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. Does Android Browser support "right menu - open with" ?

If you long-press on a link, the browser brings up a menu of options.
If that isn't sufficient, can you explain in more detail the scenario
you'd like to support? What is the link to? Is it sufficient that you
can "copy" the link to the clipboard?




--~--~---------~--~----~------------~-------~--~----~

2. PKI enrolement - When and how

Based on no information and failing tests on
http://demo.webpki.org/keygen.jsp
http://demo.webpki.org/mozkeygen
using G1, I draw the conclusion that client-side certificates are not yet 
implemented.

Well, <keygen> seems to be partially implemented GUI-wise at least :-)

I wonder if it is possible to get a contact with the persons that actually 
implement this code?
The reason for that is that I'm in the process of establishing a standard for 
key provisioning that is particularly intenended for mobile phones.

Neither <keygen>, generateCRMFRequest (), or CertEnroll have the functionality 
needed in order to make a phone into a generally useful security token because 
they all lack an ability to recognize the container type so that the issuer 
could for example verify that the client's container matches FIPS140-2:
http://csrc.nist.gov/publications/fips/fips140-2/fips1402.pdf

KeyGen2 already supports issuer-verifiable key-pair attestations which are 
equally usable for asymmetric key (PKI) deployment, as well as for downloading 
symmetric keys (shared secrets) into secure authenticated storage (AKA "smarter 
smart cards"):
http://webpki.org/papers/keygen2/keygen2-key-attestation-1.pdf

It is though more or less impossible to implement KeyGen2 without having a team 
involved since it affects the browser, the keystore and possibly even the 
kernel.

The <keygen> tag was BTW, not adopted by the HTML5 team.

Anders Rundgren

3. Android and linux kernel dependencies

4. How to set sdp file in the MediaPlayer

5. Client server Architecture in Android

6. Queries regarding media support for Android.

7. Dev Phone Warranty