我在“criteria.setHorizontalAccuracy(5000);”处遇到错误 线。它说标准不存在。知道我做错了什么吗?
package displaytest;
import javax.microedition.location.Criteria;
import javax.microedition.location.Location;
import javax.microedition.location.LocationListener;
import javax.microedition.location.LocationProvider;
public class get_gps {
Criteria criteria = new Criteria();
criteria.setHorizontalAccuracy(5000);
public static String get_lat()
{
String lat = "test";
return lat;
}
}