How can I replace parameters of a Query and start an Activity on click Button? (Android JAVA)

I have two activities Activity 1 and Activity2; in the Activity 2 I have buttons and on click I would like to:

1) re-launch Activity 1 after changing the Query by passing a new parameter to mount the call.

2) delete on button's click the data of Activity 1 and reload Activity 1 by passing data into my current Activity 2?

In Activity 2 i've the Button. On click I want to call from Activity 1 the response of this call:

int idCodTipologia = i;

String POST_URL = Constants.url + Constants.getTotaleConAbitCodTipo;

Uri.Builder builder = new...

Read More »

By: StackOverFlow - Friday, 9 November

Related Posts