I have changed my project android version from 2.2 to 2.3 but i got android.os.networkonmainthreadexception exception.I searched on net about this exception and got asynctask as solution but not getting to which class have to apply this asynctask.I have JSONParsor.java class in which i handled HttpPost and HttpResponse
Please help me how to resole this exception.