How do I access variable value in another activity. In my example I have a string variable item which value is spinner selected value. How can I access this variable in ano
You can declare them as static variables and then in your other class you may access them like Activity1.stringName.
public static String stringName; stringName = .. // value from Spinner
Then, in all the other Activities, you can access them as YourMainActivty.stringName.
YourMainActivty.stringName