2
我已经实施Google - Fused Location Provider。像下面的代码...如何将我的应用归类为电池电量不足?
LocationRequest locationrequest = LocationRequest.create();
locationrequest.setPriority(LocationRequest.PRIORITY_LOW_POWER);
LocationListener locationListener = new LocationListener() {
@Override
public void onLocationChanged(Location location) {
sendLocationUpdate(location,this);
locationclient.removeLocationUpdates(locationListener);
locationclient.disconnect();
}
};
locationrequest.setInterval(UPDATE_INTERVAL);
locationclient.requestLocationUpdates(locationrequest, locationListener);
但它仍然显示为高电池使用的应用程序。任何人都可以解释我做错了什么。
我也想弄清楚该怎么做!我有一个问题在这里打开50分的奖励:http://stackoverflow.com/questions/28108326/android-google-maps-location-with-low-battery-usage – 2015-01-26 03:19:24