Is it a bad idea creating a separate class and use it as a storage which consists only of static data variables?
I am currently developing an app for android, but th
use SharedPreference to store flags and variables
http://developer.android.com/reference/android/content/SharedPreferences.html
For Global variable:
it would be better to use the Android Application class. It's meant to store global application state