4.0以上访问http网络需要在新的线程中进行
Runnable uploadRun = new Runnable(){
@Override
public void run() {
upload(mLatitude,mLongitude);
}
};
new Thread(uploadRun).start();
4.0以上访问http网络需要在新的线程中进行
Runnable uploadRun = new Runnable(){
@Override
public void run() {
upload(mLatitude,mLongitude);
}
};
new Thread(uploadRun).start();