On Friday, May 27, 2011 1:48:38 AM UTC-4, Gopi wrote:
 

>        i m using devkit800 and i used to insert the sdcard once before 
> the android boot animation comes...


What Dianne said still holds true for the external storage (partition?) of 
the sdcard.  It's not mounted immediately.

Your service will need to either log elsewhere, or wait until the sdcard is 
mounted.

There's probably a better way, but it could for example check for something 
sdcard-ish in /proc/mounts or simply try opening the file, and if not sleep 
for 10 seconds, then try again, until it works.

Is there a reason you don't want to use the built in android logging 
functions?
 

> the sdcard details are available in 
> the settings->sdcard. as in mobile there is no "My files" app so i 
> used to remove the sdcard and check whether the file is created its 
> not getting created.I m using the same sdcard which has the android 
> images for this also.... 
>

You might want to use the adb shell to look around without shutting down and 
removing the card. 

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to