Passing data between Activities Android | java -


consider 3 activities, a,b,c . want pass data activity activity c, activity c not launched activity , instead launched activity b, looking solution if can send integer value activity c activity , , activity c receives value whenever gets executed, can use intent.putextra() purpose? appreciated.

yes right . can use intent.putextra()

  1. you can pass data using intent.putextra() activity a activity b .
  2. then sote bundle in activity b
  3. then when launching activty c pass bundle intent
  4. catch data in activity c

Comments

Popular posts from this blog

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -