[android-developers] Re: Shares Preferences are not getting deleted

2008-11-12 Thread Sudha
I dont know anything about the viewing that file. I didnt try..will try soon and tell u as far as no one tried to help me out I thot of makinganother apk which will uninstall ur apks.. that should search in every folder and find out is tehre any traces of it left ..etc etc but I dont think thats

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-12 Thread Michael
If you're talking about the /data/ directory on the handset, that is correct, you cannot look in that directory when connected via the adb shell. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread yasmin afrose
Hi Sudha, Thanks for your reply. Just now I came to my place. Before that I was in meeting. Hey, I have done one application. It will play a song(Airtel) if the SMS reached the mobile. Demerit : The user is not able to hear their favourite song. So I would like to

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread Sudha
Hi shared preferences are very simple. 1.create it prefereceObj = context.getSharedPreferences(preferenceName, modeOfAccess) 2.to write the data 1.obtain the editor Editor edr= prefereceObj.edit(); 2.use edr.putString(key, value)..putBoolean etc etc 3.edr.commit() 3.to read it

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread Christine
On Nov 11, 7:36 am, Sudha [EMAIL PROTECTED] wrote: I am using sharepreferences in my application in the mode MODE_PRIVATE. its working fine.But when I am deleting my application from the emulator and installing it takes the values from the old sharedpreference. Nice, huh? This means that

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread yasmin afrose
Thanks..I got the output... But still I didn't try the delete action. Thanks, Yasmin On Tue, Nov 11, 2008 at 4:56 PM, Sudha [EMAIL PROTECTED] wrote: Hi shared preferences are very simple. 1.create it prefereceObj = context.getSharedPreferences(preferenceName, modeOfAccess) 2.to write

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread Sudha
hi u can delete the values by using the clear() function it wont delete the file..yaarr its getting saved in data/data/ur apkpath/shared_prefs/urpref name.xml On Nov 11, 4:52 pm, yasmin afrose [EMAIL PROTECTED] wrote: Thanks..I got the output... But still I didn't try the delete action.

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread Sudha
Yes it seems to be the same.. same case with your sqlite also.. since teh data is getting saved in data/data folder and ur application in data/app folder when u r deleting from ur emulator ( as far as I know) we are deleting it from the data/app folder only so the data wont getting deleted..

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-11 Thread yasmin afrose
Hi, Thanks Sudha. I've tried to find where that file was stored... U told about that.. Really I thank you lot. But I tried to open the file... but I can't .. Is it possible to view the data in the Shared file. Thanks for everything... Regards, Yasmin On Tue, Nov 11, 2008 at 5:42 PM, Sudha

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-10 Thread yasmin afrose
Hi Sudha, Could you please share your knowledge related to Shared Preferences... Since I'm facing one problem. I hope it will recover if I know shared preferences concept. Thanks in Advance. Thanks Again!!! Yasmin On Tue, Nov 11, 2008 at 12:06 PM, Sudha [EMAIL PROTECTED] wrote: Hi I am

[android-developers] Re: Shares Preferences are not getting deleted

2008-11-10 Thread Sudha
hi what I did is I created a sharedpreference to store my application data.. when the application is deleting..its not removing the data stored. just like our desktop application.. thats the problem faced by me.. so I want toknow is there nayway to do that.. Plz mention ur problem so that I can