I want that a button with comment having already clicked will not show up the next time user opens app. I searched on google and understood that I should use shared preferences but I don't know how to ...

I'm currently working on an android application that fetches information in a webservice. Those informations are related to a user ( who has a numeric user ID ).
So basically, I do Volley requests on ...

I have an issue when I try to save data in SharedPreferences.
Why can't I save data into SharedPreferences normally?
I have tried several times, but only SharedPreferences works in the other class.
I ...

I'm developping an app that contains some settings like server ip, sharedpreference filename and other that I would prefer save into a single file and not hard coded somewhere in the code.
So I would ...

I have a problem with SharedPreferences. I have two activities: MainActivity and SettingsActivity. When MainActivity is strating, in onCreate method I creating settings by default and check or this is ...

I am working on an Android game, in which in settings there is an option to turn off/on the sound of game.
I want to store these settings for the game, for this i am using shared preference to store a ...

i want to make a many level on my android game, so when the current level completed the next level will unlock or enbaled and when the game closed level that i have done are saving not lock again when ...

I've hard time trying to resolve this issue what i found when i deployed my application in API 4.4. I need to store some settings locally in my application for users and i store these flags in Shared ...

I have a mobile app which, once installed, must generate a random String that must be kept during its entire lifecycle till uninstalled.
I was thinking of using static variables, but as posted here, ...

My app will carry two scores the entire time, calling them, adding to them, saving them, and later calling them back again for other functions and editing. What is the best method for this? These will ...

I'm creating a ListView in which users can add/remove list items with a button click, but when I restart the app the added list items gets removed from the list. So I tried to use SharedPreferences to ...

having thoroughly serched before, I could not find a question that could help me.
My issue is having a ListView, which automatically gets populated from a SQL-database upon opening the app. Now, the ...

I have an app that I'd like to be able to let a user customize as far as setting their user name, email address and picture to the navDrawer from the preference menu. I'm not 100% sure how to do this ...

I'm using sharedPreferences to save my app/game progress and I have 5 different methods to save/load/delete data from sharedPreferences. I'm wondering if it's good practise to create new Class only ...

I'm creating a shared preference in my MainActivity and then I want to get a value saved in the shared preference in my IntentService; however; I keep getting the default value rather than the value ...

I am writing an application for Android and i have difficulties with saving the state of the activity. I'm using sharedpreferences to save the visibility of an imageview. I have a boolean named "flag" ...

I am using actionbar tabs (deprecated) to test some tab features. I want to save form validation information from my 1st tab to shared preferences, then on the onTabSelected method, check the value ...

I'm writing an app which in I have to save the state of the Activity.
I have an ImageView and a Button on the screen. When I click on the Button the ImageView change the background image. My problem ...

I am trying to check if a user has already logged into my android application using shared preference.
I have a flash screen where I try to read userID from the shared preferences and if the userID ...

Well trying to program a simple game in Android, I cam across the problem of saving data. I went the route of using simple Key Value pairs using Shared Preferences, mostly because I'm only saving 10 - ...

I am creating an app that saves that saves user's previous names. I am using Shared Preferences so when the user kills the app and reopens it the names will still show in the saved Activity. The app ...

hello every one i am beginner as a android developer . i am making an app which will remind user to do his task such as paying bills. In this app user sets an alarm which will be set till his duedate ...