1
如何從延伸Thread類的run()方法使用LOCATION_SERVICE? 這些兩者都是給我的錯誤:使用線程中的LOCATION_SERVICE
lm = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
的方法getSystemService(字符串)是未定義的類型Thread_ReadGps和
lm = (LocationManager) context.getSystemService(LOCATION_SERVICE);
LOCATION_SERVICE不能被解析爲一個變量
謝謝!
它現在有道理,謝謝! – user2566468