This image is after completing the eclipse task.

There are no errors in my Android program, and everything was in order before this problem. This happened when I added the code to my program. It gets stuck after pressing the start button. This also happens when I run my hand-held phone to debug a program. Other programs work fine, only one stuck.
the meaning of my stuck is an eclipse keep show progress bar launching myprogram (100%), but there was no emulator in it.

, , classes.dex, , , , .
-, , , .
- , .
private boolean chkConnectionStatus(){
ConnectivityManager connMgr = (ConnectivityManager)
this.getSystemService(Context.CONNECTIVITY_SERVICE);
final android.net.NetworkInfo wifi =
connMgr.getNetworkInfo(ConnectivityManager.TYPE_WIFI);
final android.net.NetworkInfo mobile =
connMgr.getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
if( wifi.isAvailable() ){
return true;
}
else if( mobile.isAvailable() ){
return true;
}
else
{
Toast.makeText(this, "Check your internet" , Toast.LENGTH_LONG).show();
return false;
}
}