Friday, 9 August 2013

How to send string from one activity to another?

How to send string from one activity to another?

So i have a string in activity2
String message = String.format(
"Current Location \n Longitude: %1$s \n Latitude: %2$s", lat, lng);
i want to insert this string into text field in activity1. how can i do
that? Thank you in advance.

No comments:

Post a Comment