This is my code:
The problem is on the SendPostReqAsynkTask class, saying that this class must either be declared abstract or implementabstract method doInBackground(Params) in 'AsyncTask.
What should I do?
I have some problems with the login request I'm working on and if you could give me some advice, some easier methods to implement, sources, etc. it would be very helpful.
public void sendPostRequest(String url, String method, final String jsonex) {
class SendPostReqAsyncTask extends AsyncTask<Object, Void, String>
{
protected void onPreExecute()
{
try {
showProgressDialog("Please wait...", "Logging in...");
//Log.d(TAG, "show");
}catch (Exception e){
e.printStackTrace();
}
}