Try listening to the broadcast type and proceed after that.
ACTION_MEDIA_MOUNTEDKumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com



On Wed, Jan 12, 2011 at 1:14 AM, Tux <[email protected]> wrote:

> Hi all,
>
> Ok so I have an application writing/reading xml files on SDCard, no
> problem.
> Another application is reading those when device is booting, but its
> crashing because the scan of the sdcard is not over when the app try.
> So /mnt/sdcard exists but files inside, no!
>
> How can I say "If(scan is over) then....else"? is there a way?
>
>
> Best regards
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to