I’m trying to do a simple database project on Android. I have two problems with my project:
- I want to pass a string value from the first activity to the second activity
and in both activities pass the string value to a third activity. I
can’t get the string values in the third activity. To check it I have a
print sts, but it reported nothing. There are no errors thrown. - I want to display data in a listview inside a dialog in the second activity
whenOnPostExecuteis triggered. I’m getting an error, but I’m doing it with just an
arrayadapter. It displays successfully.
What am I doing wrong?
See my code here.
To pass a Value from Activity to Activty
use Intent.putExtra before starting Activty
Like This Below
and on the next Activty Recive it using getExtra