赞
踩
public class LocationErrUtils { private LocationErrUtils() { } private static class getInstance { private static LocationErrUtils INSTANCE = new LocationErrUtils(); } public static LocationErrUtils getInstance() { return getInstance.INSTANCE; } public void showErr(int errCode) { String msg = ""; switch (errCode) { case 1: msg = "context = null"; break; case 2: msg = "定位失败,由于仅扫描到单个wifi,且没有基站信息。"; break; case 3: msg ="获取到的请求参数为空,可能获取过程中出现异常。"; break; case 4: msg ="请求服务器过程中的异常,多为网络情况差,链路不通导致"; break; case 5: msg ="请求被恶意劫持,定位结果解析失败。"; break; case 6: msg
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。