Possible Duplicate:
Android global variable
I am working with an Android project. I have two activities. I am designing a file uploader. The first activity is to choose a file. The second one is used to uploading the selected file.
How can i make a global variable So the file path selected in the first activity can be used by the second activity.
Is SharedPreference suitable for this or what's the best solution for this?