Re: [android-developers] Re: Stored files on sdcard deleted during uninstall or update
Thanks Llanox, this is what I will try.
On Wed, Oct 12, 2011 at 4:31 AM, Llanox <correo.del.llanox@gmail.com> wrote:
> That is a bad idea too?
> No, If you don't need store private data there.
>
> Should I use /companyname on sdcard
> directly?
>
> In API Level 8 or greater, you could use
> getExternalStoragePublicDirectory("companyname") in order to create a
> directory which will not be erased when you
> uninstall or update your app.
>
>
> On Oct 12, 1:30 am, Yves Liu <yves...@gmail.com> wrote:
>> I put data on the /data folder directly on sdcard. Not internal
>> memory. That is a bad idea too? Should I use /companyname on sdcard
>> directly?
>>
>>
>>
>>
>>
>>
>>
>> On Tue, Oct 11, 2011 at 9:54 PM, Chris <crehb...@gmail.com> wrote:
>>
>> > On Tuesday, October 11, 2011 11:34:37 PM UTC-4, Nikolay Elenkov wrote:
>>
>> >> The real problem is that it gets deleted on *update* as well in some
>> >> early Froyo versions. So it's not safe to use prior to 2.3.
>>
>> > Eeesh. I've had test devices with every Android version up to (but not
>> > including 3.x) and I've never come across this. I don't use this path
>> > because it doesn't help me at all, but man ... considering the suggestion on
>> > d:
>>
>> > "You should then write your data in the following directory:
>>
>> > /Android/data/<package_name>/files/"
>>
>> > ...this sounds like a bad misdirection.
>>
>> > --
>> > 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+unsubscribe@googlegroups.com
>> > 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 android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscribe@googlegroups.com
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home