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
| 07-04 16:12:42.628 10265-10265/com.sandftechnologies.schoolmanagement W/System.err: android.os.NetworkOnMainThreadException | |
| 07-04 16:12:42.629 10265-10265/com.sandftechnologies.schoolmanagement W/System.err: at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1273) | |
| 07-04 16:12:42.629 10265-10265/com.sandftechnologies.schoolmanagement W/System.err: at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:249) | |
| 07-04 16:12:42.629 10265-10265/com.sandftechnologies.schoolmanagement W/System.err: at libcore.io.IoBridge.recvfrom(IoBridge.java:549) | |
| 07-04 16:12:42.629 10265-10265/com.sandftechnologies.schoolmanagement W/System.err: at java.net.PlainSocketImpl.read(PlainSocketImpl.java:481) | |
| 07-04 16:12:42.629 10265-10265/com.sandftechnologies.schoolmanagement W/System.err: at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:37) | |
| 07-04 16:12:42.630 10265-10265/com.sandftechnologies.schoolmanagement W/System.err: at java.net.PlainSocketImpl$PlainSocketInputStream.read(Pl |
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
| import android.os.AsyncTask; | |
| import android.util.Log; | |
| import org.json.JSONException; | |
| import java.io.IOException; | |
| import okhttp3.MediaType; | |
| import okhttp3.OkHttpClient; |
NewerOlder