We are trying to take in a room number (e.g. C123) from a user in one activity and use that variable in a different activity. The other activity would look like:
roomNewNums.put("A100", "1")
...
roomNewNums.put("C303", "198")
We were using this to send over the variable from the second activity (first activity is irrelevant):
public static Bundle myNums = new Bundle();
SecondActivity.myNums.putString("newNumber", "destPos");
We used this to receive it in the third activity:
String newNum = SecondActivity.myNum.getString("newNumber");
What we think is the main error is the putString. It keeps saying
Cannot resolve symbol 'putString'
We checked multiply websites and forums online and all were no help.
Any help is much appreciated.