I used a simple location service, I do a test with real device and 5 seconds The real device works well, Log in OnLocationChanged ) 03-17 11: 59: 27.115: I / Locationing_GpsService_Test (27147): Online: Now! 03-17 11: 59: 32.189: I / location_gpsSurstest (27147): Online: Now! 03-17 11: 59: 37.259: I / Local_GPSurstest Gast (27147): Online: Now! 03-17 11: 59: 42.171: I / location_gpsSurststasts (27147): Online: Now! 03-17 11: 59: 47.215: I / location_gpsSurststasts (27147): Online: Now! 03-17 11: 59: 52.240: I / Location_GPSSheststast (27147): Online: Now! The interval on
genuine virtual device is like 1 second:
03-17 12:10 to 10: 20.280: I / Location_gpsSurstest Gast (2616): OLC: Now! 03-17 12:10: 21.270: I / location_gpsSurstest (2616): Online: Now! 03-17 12:10 10: 22.269: I / location_gpsSurststasts (2616): Online: Now! 03-17 12:10 10: 23.271: I / local_gpsSurststasts (2616): Online: Now! 03-17 12: 10: 24.273: I / location_gpsSurststasts (2616): Online: Now! 03-17 12:10: 25.273: I / location_gpsSurstest Gast (2616): Online: Now! 03-17 12:10: 26.275: I / location_gpsSurststasts (2616): Online: Now! 03-17 12: 10: 27.273: I / location_gpsSurststasts (2616): Online: Now!
Code to enter location requests:
mLocationRequest = new LocationRequest (); MLocationRequest.setInterval (5000); MLocationRequest.setPriority (LocationRequest.PRIORITY_HIGH_ACCURACY);
Can anyone help me what's going on here?
Do you expect fuse space
to work on the emulator? fuse space
is about fusing mobile / wifi / GPS signals - do you expect mission / mobile / wifi / GPS misses so that it is fired
Can I input some meaningful data at the place
? I do not think so.
However, if you see, you will see:
You can also get the request faster than requested (if a faster application is requested at other application location ).
then mLocationRequest.setInterval (5000) setting;
Not really anything.
No comments:
Post a Comment