[android-developers] Re: SharedPreferences doesn't work for my app but other apps is ok.

2015-12-22 Thread Cihan KALOĞLU
Hi Vishal, That code block for SharedPreferences example. It always run for every app. Tried that many times everthing is ok. However it does not working in my existing app. I checked many different way but it didn't. I looking for what is wrong with my app? 22 Aralık 2015 Salı 09:20:09 UTC+2

Re: [android-developers] Re: SharedPreferences doesn't work for my app but other apps is ok.

2015-12-22 Thread Cihan KALOĞLU
It is not just a class. It's big bussines app. I tries diffrent clas but doesnot work. Sorry i can't share app source it's not mine. 22 Ara 2015 13:00 tarihinde "VISHAL TIKKU" yazdı: > Can you share me the complete code of the class in which you have > implemented this

[android-developers] Re: SharedPreferences doesn't work for my app but other apps is ok.

2015-12-22 Thread VISHAL TIKKU
Can you share me the complete code of the class in which you have implemented this shared preference block On Monday, December 21, 2015 at 4:08:28 PM UTC+5:30, Cihan KALOĞLU wrote: > > Hi, > > I tried all ways how many i know. > > That is my code block for test. (MainActivity.onCreate()) > >

Re: [android-developers] Re: SharedPreferences doesn't work for my app but other apps is ok.

2015-12-22 Thread Cihan KALOĞLU
Thank you. Tried completely same step. But it working with all other apps new or existing. Just not working with my app. 22 Ara 2015 14:14 tarihinde "VISHAL TIKKU" yazdı: > Its okay no issues.Test case to test this functionality are as > follows: > 1. In your code write

Re: [android-developers] Re: SharedPreferences doesn't work for my app but other apps is ok.

2015-12-22 Thread VISHAL TIKKU
Then there can only be one case that is preventing execution of the code ie check for return statement or system.exit or if block is inside any loop check for break..just dry run it put appropriate debug pointers... On Dec 22, 2015 6:04 PM, "Cihan KALOĞLU" wrote: > Thank

Re: [android-developers] Re: SharedPreferences doesn't work for my app but other apps is ok.

2015-12-22 Thread Cihan KALOĞLU
If I didn't kill app. Its seems ok. Shared preferences object has "email". When I killed app, Shared preferences empty. 22 Ara 2015 15:08 tarihinde "VISHAL TIKKU" yazdı: > Then there can only be one case that is preventing execution of the code > ie check for return

Re: [android-developers] Re: SharedPreferences doesn't work for my app but other apps is ok.

2015-12-22 Thread VISHAL TIKKU
Its okay no issues.Test case to test this functionality are as follows: 1. In your code write an else block in which provide a toast message and also in your if block provide a different toast message. 2. Clear yours app's cache and data from settings of the phone. 3. Run your code and see if

[android-developers] Re: SharedPreferences doesn't work for my app but other apps is ok.

2015-12-21 Thread VISHAL TIKKU
Hi Is it throwing any exception firstly please trace that and can you please elaborate a little about your problem. On Monday, December 21, 2015 at 4:08:28 PM UTC+5:30, Cihan KALOĞLU wrote: > > Hi, > > I tried all ways how many i know. > > That is my code block for test.