Re: [android-developers] why is the account managed by AccountManager is delete automatically ?

2012-07-14 Thread Dianne Hackborn
The Galaxy Nexus never installs things on "external storage", because that
is the same partition as internal storage.  You will note there is no UI
for moving apps between internal and external storage on such devices.

This is probably a bad interaction with the new app encryption at boot.

On Fri, Jul 13, 2012 at 1:01 AM, Mathias Roth  wrote:

> Some of my users are experiencing the same issue. My suspicion is that the
> default install location changed from internal to external on 4.1.1. At
> least one user reported things are working with
>
> android:installLocation="internalOnly"
>
> set in the manifest. This should be default behavior according to API-doc,
> but it seems like it isn't on 4.1.1.
>
> For more discussion, take a look at my related issue 
> ticket
> .
> Cheers,
> Mathias
>
> On Thursday, July 12, 2012 11:14:28 PM UTC+2, marten wrote:
>>
>>
>>
>> Am Mittwoch, 23. März 2011 07:50:56 UTC+1 schrieb Dianne Hackborn:
>>>
>>> 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.
>>>
>>
>> Ok, but this also happens on the Galaxy Nexus (which doesn't feature a SD
>> card slot). Afaik it didn't happen with Android 4.0.4, but it happens for
>> users who upgraded to Jelly bean.
>> What can I do to prevent this.
>>
>> Marten
>>
>>>
>>> On Mon, Mar 21, 2011 at 8:22 PM, 琅琅  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=, 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 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

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



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

Re: [android-developers] why is the account managed by AccountManager is delete automatically ?

2012-07-14 Thread Mathias Roth
Some of my users are experiencing the same issue. My suspicion is that the 
default install location changed from internal to external on 4.1.1. At 
least one user reported things are working with

android:installLocation="internalOnly"

set in the manifest. This should be default behavior according to API-doc, 
but it seems like it isn't on 4.1.1.

For more discussion, take a look at my related issue 
ticket
.
Cheers,
Mathias
On Thursday, July 12, 2012 11:14:28 PM UTC+2, marten wrote:
>
>
>
> Am Mittwoch, 23. März 2011 07:50:56 UTC+1 schrieb Dianne Hackborn:
>>
>> 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.
>>
>
> Ok, but this also happens on the Galaxy Nexus (which doesn't feature a SD 
> card slot). Afaik it didn't happen with Android 4.0.4, but it happens for 
> users who upgraded to Jelly bean.
> What can I do to prevent this.
>
> Marten
>
>>
>> On Mon, Mar 21, 2011 at 8:22 PM, 琅琅  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=, 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 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
>>>
>>
>>
>>
>> -- 
>> 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

Re: [android-developers] why is the account managed by AccountManager is delete automatically ?

2012-07-12 Thread marten


Am Mittwoch, 23. März 2011 07:50:56 UTC+1 schrieb Dianne Hackborn:
>
> 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.
>

Ok, but this also happens on the Galaxy Nexus (which doesn't feature a SD 
card slot). Afaik it didn't happen with Android 4.0.4, but it happens for 
users who upgraded to Jelly bean.
What can I do to prevent this.

Marten

>
> On Mon, Mar 21, 2011 at 8:22 PM, 琅琅  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=, 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 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
>>
>
>
>
> -- 
> 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

Re: [android-developers] why is the account managed by AccountManager is delete automatically ?

2011-03-23 Thread Dianne Hackborn
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, 琅琅  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=, 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 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
>



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