How to provide image file as an sd card

by Chetan » Wed, 18 Mar 2009 14:08:47 GMT

Sponsored Links
 Hello ,
I am using camera to capture snapshots.
But i am unable to view taken pictures location.
I am also unable to browse sdcard directory using DDMS in eclipse.

How to provide image file as an sd card

by David » Thu, 19 Mar 2009 01:26:54 GMT

 In Run Configuration,
set the Additional emulator command line options

type this parameter
-sdcard "exactpath of image file in your PC"

so this image will be added as SDcard for your emulator.



Sponsored Links

Other Threads

1. How to manage service lifecycle when device kills it due to low memory


I have a service that polls for data. To indicate this to the user I
have a persistent notification in the statusbar. In some cases when
the device goes low on memory it destroys the service but OnDestroy is
not called. Later when there is available memory OnCreate is called.
Is this normal behavior? I had hoped that OnDestroy would be called to
I could remove the notification in the statusbar. Now the user thinks
that the service is still running, while it has been stopped by the

In order to restart the polling how do I know that the OnCreate is
really a restart event and not first time creation of the service? I
thought about checking for the presence of the notification in the
statusbar, but I couldn't find a API to check if a notification was
showing or not.

I have not tried "SetForeground" on the service, since the service
isn't that important to the user, but maybe that would minimize the


2. unexpected error in sms application

i have trying sms first few times it was running verry well
in eclips.then i tried some modification so its showing error
unexpectedally closed.then i removed that application n imprted pre
one which was running but now that is also not running n showing the
same error.what should i suppose to do?

3. google maps question

4. Force the height of a view

5. Java N00b Test Question

6. Protecting /system/app packages from extraction

7. Jdbc driver problem