See here: http://developer.android.com/guide/appendix/install-location.html

Use this to find out when the app is remounted:

http://developer.android.com/reference/android/content/Intent.html#ACTION_EXTERNAL_APPLICATIONS_AVAILABLE

However I would generally suggest not doing this.  If your app isn't large,
there is really not much benefit to it.  Apps on SD is mostly intended for
large applications that are fairly self-contained (read games and stuff like
that).

On Fri, Sep 24, 2010 at 7:57 AM, Peter Sinnott <psinn...@gmail.com> wrote:

> I am thinking of adding install to sd support to my app but it seems
> sd and the alarms manager do not mix well.
> So far I have tried receiving ACTION_MEDIA_MOUNTED intents so I can
> reregister my alarms but the intent is never fired. Is there any easy
> hook I can use to register alarms when my app becomes available after
> the sd card is remounted?
>
> My app isn't very large but I think users will appreciate any internal
> memory I free up since Android phones don't seem to have very much of
> it.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

Reply via email to