On 11 April 2011 17:57, Jacob <[email protected]> wrote:
this app is being deleted. I need to keep my data on the device until > the app is "uninstalled". > Tell your users to keep hands off this button. Store something on SD card to flag you shall have your data and if you got no data but this file exists complain and stop working. But I think you shall rather rethink your goals. Is there *really* any reason you bother this button? > Is there a way to keep my application data "on the device" somewhere > without being deleted? SD card? > My device is not rooted. My app is not meant to > be on rooted devices. > Unless you test if device is rooted or not, it in fact means nothing. > Note: I saw the /data/data/'my app package'/lib directory is not being > deleted using the "clear data" option. But I couldn't programatically > write to this direcroty. I get permission denied. Is there a way to > use this directory to store my data? Yes. You need root :) Regards, Marcin Orlowski *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy... WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and *Twitter<http://webnetmobile.com/twitter/> * -- 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

