Hi, I'm having the same kind of issue, I can usually receive the
media_eject intent, but I dont get it when my app is using the sd card
at the same time, because it kill the process before i receive the
intent =/ So i cant even try to close my file on the sdcard before the
sdcard get unmounted, since i dont get the media_eject notification
=|
This is really annoying, does anyone have any idea about this?

On 7 sep, 17:30, Zhenyu Jiang <[email protected]> wrote:
> i think the problem here is that you really do not known when
> the user is going to unmount the sdcard.. it can happen at any
> moment.
> so the only way is to make those open file closed, which seams
> to be difficult, especially for files read/written in a separate
> thread async...
> since i met with the the same problems, 
> seehttp://groups.google.com.ni/group/android-developers/browse_thread/th...
> and i searched in the group, but just did nou find any
> satisfying solution.
> i wounder is there any way to make open files closed?
> just to avoid the process being killed problems...
>
> 2010/9/7, Frank Weiss <[email protected]>:
>
>
>
> > Can this data be written sooner rather than later? Can you put it or
> > part of it in SQLite, where it's quicker to update just a part of a
> > large data model?
>
> > --
> > 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

-- 
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