Posts by herbertxm • 51 points
3 posts
-
0
votes1
answer281
viewsA: How to convert Curl request to java (Android)
The solution is to create another JSON, "data". And then insert the "date" into jsonObject. JSONObject data = new JSONObject(); data.put("number", params[4]); data.put("verification_value",…
-
3
votes2
answers533
viewsA: Alertdialog from another class
Create a class: public class Message { public static void Alert(Context context, String Mensagem) { AlertDialog.Builder alertDialog = new AlertDialog.Builder(context); //ADICIONANDO UM TITULO A…
-
1
votes1
answer281
viewsQ: How to convert Curl request to java (Android)
I hope to convert the example below into CURL for Json in Java/Android. The IUGU API accepts JSON or XML. I tried several examples on the internet, but to no avail. CURL: $ curl…