Skip to content Skip to sidebar Skip to footer

Android: Passing Data Back And Forth Using Intent SetResults

I am creating a GPS based app for Android and there are 2 activities Main and LocNames. Main shows my map and LocNames is to get source and destination that user wants. I want to s

Solution 1:

You do not need an intent for a specific component. You only need an empty intent. So replace

Intent result = new Intent(LocNames.this, Main.class);

with

Intent intent = new Intent();

Post a Comment for "Android: Passing Data Back And Forth Using Intent SetResults"