Because when the SD card is unmounted the apps on it disappear, so things
that have state associated with those apps will clean it up.  This is why
the documentation says you should not allow these kinds of apps to be placed
on the SD card.

On Mon, Mar 21, 2011 at 8:22 PM, 琅琅 <[email protected]> wrote:

> My little App creates an account in AccountManager. But if i move the
> App from internal storage to SD card, the account is automatically
> delete by AccountManagerService if i unmounted the SD card or reboot
> the machine.
>
> does anyone have any idea about this ? does this mean we cannot move
> the App to SD card or is it because i am missing some config
> attributes in the config xml ?
>
> D/AccountManagerService( 245): deleting account XXX because type
> com.XXX no longer has a registered authenticator D/
> ContactsProvider( 945): removing data for removed account Account
> {name=XXXX, type=com.XXX}
>
> --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

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