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. Android Automation

I work for a company that makes Bluetooth headsets.  I test the
software on the headsets.  Our testing is currently completely manual,
meaning I press the buttons on the headset and see whether it does the
right thing.  I am looking to ways to automate some of the testing and
am investigating whether Android is an appropriate platform for
automation.  The idea would be to have a system that can control the
phone via a script of some sort.  The system would have a desktop
component that reads the script and then sends commands to the phone
and receives status information from the phone.  Some examples of
commands might be to make 100 phone calls, waiting 95 seconds between
calls.  Status information might be to indicate if the Bluetooth link
to the headset is broken.  Ideally the system would be interrupt
driven so that the script would not have to continually poll for new
events.

Such an automation system would be complex.  It would require
technical expertise on all levels from low level hardware event
detection up through script parsing and user interface design.  I have
taken a class on Android development and know about the basics such as
Activities and Intents.  I don't know about the lower level details
such as how to detect that the Bluetooth link has been broken.

I know there are automation tools available.  The software automation
tools are geared toward web or desktop applications.  There are
hardware automation tools, but those don't support control of a mobile
phone.

Any thoughts in this area would be greatly appreciated.

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

2. Database Sync

Hi all,

How can we do database sync from android app to sql server.

Thanks in advance.

-- 

3. Feedback on "Embedded Help" solutions for Android apps.

4. Verify runtime exception

5. Problem with 9 patch image as background

6. Validity term of getProperty('am.current.package') in monkeyrunner

7. fake call