I am developing an app where i need to be able to open an activity from other classes. I have tried different Preference types, but without being able to save and load the Preferenceses. I need to be able to save an activity and then pick it up later in another class to use it.
Please help me
Here use intent to switch classes
OP wasn’t looking for this answer.
Maybe this answer:
http://developer.android.com/guide/topics/data/data-storage.html
In here you can access either SQLDatabase lite to store data or use sharredPrefference to store small data like textsizes and such where in your other activity classes can look if it exist and do stuff when it does exist.
Difference between SharredPrefference and SQLDatabaseLite is that data is more organized on SQLDatabaselite while SharredPrefference is quick and easy to access and change.