Created
October 26, 2015 03:26
-
-
Save victorximenis/817faf6fe45645df20e2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.victor.organiccity; | |
import android.content.Context; | |
import com.android.volley.Request; | |
import com.android.volley.RequestQueue; | |
import com.android.volley.toolbox.StringRequest; | |
import com.android.volley.toolbox.Volley; | |
/** | |
* Created by victor on 26/10/15. | |
*/ | |
public class LoginRequest { | |
private static final String URL = "https://www.eukip.com/aulas/getusuario.aspx?"; | |
private String resultRequest; | |
public void requestLogin(LoginActivity main, final Context context){ | |
RequestQueue requestQueue = Volley.newRequestQueue(context); | |
StringRequest stringRequest = new StringRequest(Request.Method.GET, URL, main, main); | |
requestQueue.add(stringRequest); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment