Git Product home page Git Product logo

little-fluffy-location-library's People

Contributors

kentonprice avatar romainpiel avatar

Stargazers

 avatar

Watchers

James Cloos avatar

little-fluffy-location-library's Issues

Not working in some Android devices

What steps will reproduce the problem?
1.Some devices not giving location
2.It is working in some device but not in other devices irrespective of GPS on 
of
3.

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
2.2 and above

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 9 May 2014 at 9:43

Stack trace i received from a running app

java.lang.NullPointerException
at 
android.location.LocationManager._requestLocationUpdates(LocationManager.java:75
2)
at 
android.location.LocationManager.requestSingleUpdate(LocationManager.java:906)
at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService.forceL
ocationUpdate(LocationBroadcastService.java:132)
at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService$1.run(
LocationBroadcastService.java:87)
at java.lang.Thread.run(Thread.java:1050)

Original issue reported on code.google.com by [email protected] on 14 Feb 2013 at 5:51

OutOfMemoryError

java.lang.OutOfMemoryError: pthread_create (stack size 32768 bytes) failed: Out 
of memory
at java.lang.VMThread.create(Native Method)
at java.lang.Thread.start(Thread.java:1026)
at java.util.Timer$TimerImpl.<init>(Timer.java:192)
at java.util.Timer.<init>(Timer.java:367)
at java.util.Timer.<init>(Timer.java:387)
at java.util.Timer.<init>(Timer.java:394)
at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService.forceL
ocationUpdate(LocationBroadcastService.java:146)
at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService$1.run(
LocationBroadcastService.java:94)
at java.lang.Thread.run(Thread.java:838)

Original issue reported on code.google.com by [email protected] on 28 Mar 2014 at 1:10

Grabbing the GPS provider

final LocationInfo locationInfo = (LocationInfo) 
intent.getSerializableExtra(LocationLibraryConstants.LOCATION_BROADCAST_EXTRA_LO
CATIONINFO);

locationInfo.lastProvider will always return "network" even if GPS is on.

Original issue reported on code.google.com by [email protected] on 22 Nov 2013 at 5:39

Find Crash in app due to LocationBroadcast service disconnected

What steps will reproduce the problem?

1.Don't known reason for crash step 


But in My Samsung galaxy s 4 location service it disable when this crash happen 

What is the expected output? What do you see instead?

Below is my crash 
:
09-26 15:00:21.656: E/AndroidRuntime(15726): FATAL EXCEPTION: main
09-26 15:00:21.656: E/AndroidRuntime(15726): Process: com.xxxxx.xxxxxxx, PID: 
15726
09-26 15:00:21.656: E/AndroidRuntime(15726): java.lang.IllegalStateException: 
Not connected. Call connect() and wait for onConnected() to be called.
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.google.android.gms.internal.hb.cn(Unknown Source)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.google.android.gms.internal.jg.b(Unknown Source)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.google.android.gms.internal.jg$c.cn(Unknown Source)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.google.android.gms.internal.jf.removeLocationUpdates(Unknown Source)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.google.android.gms.internal.jg.removeLocationUpdates(Unknown Source)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.google.android.gms.location.LocationClient.removeLocationUpdates(Unknown 
Source)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService.onDisc
onnected(LocationBroadcastService.java:286)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.google.android.gms.internal.hb$c.onConnectionSuspended(Unknown Source)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.google.android.gms.internal.hc.ao(Unknown Source)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.google.android.gms.internal.hb$a.handleMessage(Unknown Source)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
android.os.Handler.dispatchMessage(Handler.java:102)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
android.os.Looper.loop(Looper.java:157)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
android.app.ActivityThread.main(ActivityThread.java:5356)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
java.lang.reflect.Method.invokeNative(Native Method)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
java.lang.reflect.Method.invoke(Method.java:515)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
09-26 15:00:21.656: E/AndroidRuntime(15726):    at 
dalvik.system.NativeStart.main(Native Method)



What version of the product are you using? On what operating system?

Phone Name : Samsung Galaxy S 4

OS: Kitkat 4.4.2

Library version that i am using v17 of little-fluffy-location

Let me known if you require more detail for identify issue root cause. 


Original issue reported on code.google.com by [email protected] on 26 Sep 2014 at 9:40

30s delay when forcing location update

Steps:
Call LocationLibrary.forceLocationUpdate() and wait 30s before getting a 
location fix. 

My app relies on getting a location fix immediately (or at least quickly) on 
startup. I call  LocationLibrary.forceLocationUpdate() in my main activity and 
was expecting to get a location fix quickly. However, it always takes 30sec 
before LocationBroadcastService starts and before I receive a callback on my 
broadcast receiver. It looks like the problem is in 
PassiveLocationChangedReceiver when it processes a single shot update. The 
delay is hardcoded to 30 seconds:

LocationBroadcastService.forceDelayedServiceCall(context, 30);

Is there a way to make it configurable? Or is there any other way to get a 
location fix faster than 30 seconds?

Original issue reported on code.google.com by [email protected] on 22 Aug 2012 at 8:07

little-fluffy-location-library seems to blocks surfaceview widgets in another activity

What steps will reproduce the problem?
1. Create an activity that uses little-fluffy-location-library (with either a 
global broadcast receiver on with a broadcast receiver internal to the 
activity).
2.from the first activity - launch a new activity with a SurfaceView widget (in 
my project - it receives a feed from the camera).
3. when the second activity is launched - the there is no rendring of the ui. 
clicking "Back" brings you back to the first activity and everything works (the 
app is still alive and functioning).

What is the expected output? What do you see instead? I would like the second 
activity to show the feed from the camera.

Please provide any additional information below.

FYI - 
1. the activity containing the SurfaceView widget worked previously. if I 
launch it as the first activity - it works.
2. If I remove all little-fluffy-location-library code from the project - the 
second activity with the SurfaceView starts working again.
3. I think this may have to do with threading. is it possible that 
little-fluffy-location-library runs within the ui thread, blocking the 
SurfaceView somehow? I Googled for hours but couldn't find a solution. you are 
my last resort.

What version of the product are you using? On what operating system?
I tested this on a LG phone with android 2.2.1. Same behavior on emulators with 
version 2.2 and 4.1.2. 

little-fluffy-location-library is a great lib. love it!


Original issue reported on code.google.com by [email protected] on 25 Jan 2013 at 10:20

IllegalStateException from GMS

java.lang.IllegalStateException: Not connected. Call connect() and wait for 
onConnected() to be called.
        at com.google.android.gms.internal.bi.j(Unknown Source)
        at com.google.android.gms.internal.ed.a(Unknown Source)
        at com.google.android.gms.internal.ee.a(Unknown Source)
        at com.google.android.gms.internal.ea.a(Unknown Source)
        at com.google.android.gms.internal.ed.a(Unknown Source)
        at com.google.android.gms.location.d.a(Unknown Source)
        at com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService.a(LocationBroadcastService.java:286)
        at com.google.android.gms.internal.bl.a(Unknown Source)
        at com.google.android.gms.internal.bq.a(Unknown Source)
        at com.google.android.gms.internal.bj.handleMessage(Unknown Source)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:176)
        at android.app.ActivityThread.main(ActivityThread.java:5279)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:511)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
        at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by [email protected] on 31 Jul 2014 at 11:24

Indoor GPS

If i am indoor and my GPS is on i cant get any location. Is there some way i 
can get location from network provider for example, when gps is not able obtain 
location in some time interval (30 seconds for example)?

v15

Original issue reported on code.google.com by tomas.bozek.cz on 28 Jan 2014 at 11:01

Additional information in LocationInfo

What steps will reproduce the problem?
1. Not applicable
2.
3.

What is the expected output? What do you see instead?
Not applicable

What version of the product are you using? On what operating system?


Please provide any additional information below.
This is not an issues. First, I have to say that this library has saved me 
hours in time and hundreds of lines in code over the large number of projects I 
have been working on in the last year. It is easy, simple and most importantly 
- it works!
I was basically just wandering if it could be possible to add and expose 
bearing and speed in the locationInfo model?
I suppose it would be some work to go through the code and add those items to 
preferences everywhere.
Just a suggestion!

Either way, thank you for an amazing library and selfless effort!

Ana

Original issue reported on code.google.com by [email protected] on 31 May 2013 at 4:47

NumberFormatException

What steps will reproduce the problem?
- Could not reproduce it on our own. Crashes are beeing reported with that 
Exception, see below.

What is the expected output? What do you see instead?
Initialisation of fluffy is done in onCreate of Application class. The app 
crashes during LocationLibrary.initialiseLibrary.

What version of the product are you using? On what operating system?
Samsung GT-I9000, 2.3.3 and 2.3.6

Please provide any additional information below.

Android: 2.3.6, 2.3.3
Manufacturer: samsung
Model: GT-I9000
Date: Sat May 17 09:29:34 MESZ 2014

java.lang.RuntimeException: Unable to create application com.xxx.app.XXXApp: 
java.lang.NumberFormatException
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3279)
    at android.app.ActivityThread.access$2200(ActivityThread.java:117)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:973)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:130)
    at android.app.ActivityThread.main(ActivityThread.java:3687)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:507)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NumberFormatException
    at org.apache.harmony.luni.util.FloatingPointParser.parseFltImpl(Native Method)
    at org.apache.harmony.luni.util.FloatingPointParser.parseFloat(FloatingPointParser.java:321)
    at java.lang.Float.parseFloat(Float.java:323)
    at java.lang.Float.<init>(Float.java:143)
    at com.android.internal.util.XmlUtils.readThisValueXml(XmlUtils.java:720)
    at com.android.internal.util.XmlUtils.readThisMapXml(XmlUtils.java:516)
    at com.android.internal.util.XmlUtils.readThisValueXml(XmlUtils.java:733)
    at com.android.internal.util.XmlUtils.readValueXml(XmlUtils.java:667)
    at com.android.internal.util.XmlUtils.readMapXml(XmlUtils.java:470)
    at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:452)
    at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java:146)
    at android.preference.PreferenceManager.getDefaultSharedPreferences(PreferenceManager.java:348)
    at com.littlefluffytoys.littlefluffylocationlibrary.LocationLibrary.initialiseLibrary(Unknown Source)
                                                                     initialiseLibrary
                                                                     initialiseLibrary
                                                                     initialiseLibrary
    at com.littlefluffytoys.littlefluffylocationlibrary.LocationLibrary.initialiseLibrary(Unknown Source)
                                                                     initialiseLibrary
                                                                     initialiseLibrary
                                                                     initialiseLibrary
    at com.littlefluffytoys.littlefluffylocationlibrary.LocationLibrary.initialiseLibrary(Unknown Source)
                                                                     initialiseLibrary
                                                                     initialiseLibrary
                                                                     initialiseLibrary
    at com.xxx.app.XXXApp.onCreate(Unknown Source)
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3276)
    ... 10 more

Original issue reported on code.google.com by [email protected] on 19 May 2014 at 9:57

Not connected. Call connect() and wait for onConnected() to be called. using the trunk version.

Hi,

I'm testing last versión of your library, the one using google play services.

I get the next exception:



E/AndroidRuntime(14034): java.lang.IllegalStateException: Not connected. Call 
connect() and wait for onConnected() to be called.

E/AndroidRuntime(14034):    at com.google.android.gms.internal.dw.bP(Unknown 
Source)

E/AndroidRuntime(14034):    at com.google.android.gms.internal.gn.a(Unknown 
Source)

E/AndroidRuntime(14034):    at com.google.android.gms.internal.gn$c.bP(Unknown 
Source)

E/AndroidRuntime(14034):    at 
com.google.android.gms.internal.gm.removeLocationUpdates(Unknown Source)

E/AndroidRuntime(14034):    at 
com.google.android.gms.internal.gn.removeLocationUpdates(Unknown Source)

E/AndroidRuntime(14034):    at 
com.google.android.gms.location.LocationClient.removeLocationUpdates(Unknown 
Source)

E/AndroidRuntime(14034):    at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService.onLoca
tionChanged(LocationBroadcastService.java:288)

E/AndroidRuntime(14034):    at 
com.google.android.gms.internal.gm$a.handleMessage(Unknown Source)

E/AndroidRuntime(14034):    at android.os.Handler.dispatchMessage(Handler.java:99)

E/AndroidRuntime(14034):    at android.os.Looper.loop(Looper.java:153)

E/AndroidRuntime(14034):    at 
android.app.ActivityThread.main(ActivityThread.java:5299)

E/AndroidRuntime(14034):    at java.lang.reflect.Method.invokeNative(Native 
Method)

E/AndroidRuntime(14034):    at java.lang.reflect.Method.invoke(Method.java:511)

E/AndroidRuntime(14034):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)

E/AndroidRuntime(14034):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)

E/AndroidRuntime(14034):    at dalvik.system.NativeStart.main(Native Method)

W/ActivityManager(  511):   Force finishing activity 
es.iws.easymant/.ui.dayjobs.DayJobsActivity



Can you look at it?

Thanks.


Original issue reported on code.google.com by [email protected] on 10 Mar 2014 at 2:21

Library crashes when GPS is off

What steps will reproduce the problem?
1. GPS is OFF
2. Start your example app

The app crashes with this exception:

E/AndroidRuntime( 4490): FATAL EXCEPTION: LocationBroadcastService
E/AndroidRuntime( 4490): java.lang.IllegalArgumentException: no providers found 
for criteria
E/AndroidRuntime( 4490):    at android.os.Parcel.readException(Parcel.java:1326)
E/AndroidRuntime( 4490):    at android.os.Parcel.readException(Parcel.java:1276)
E/AndroidRuntime( 4490):    at 
android.location.ILocationManager$Stub$Proxy.requestLocationUpdatesPI(ILocationM
anager.java:678)
E/AndroidRuntime( 4490):    at 
android.location.LocationManager._requestLocationUpdates(LocationManager.java:71
1)
E/AndroidRuntime( 4490):    at 
android.location.LocationManager.requestSingleUpdate(LocationManager.java:851)
E/AndroidRuntime( 4490):    at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService.forceL
ocationUpdate(LocationBroadcastService.java:129)
E/AndroidRuntime( 4490):    at 
com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService$1.run(
LocationBroadcastService.java:86)
E/AndroidRuntime( 4490):    at java.lang.Thread.run(Thread.java:1019)

Original issue reported on code.google.com by [email protected] on 3 May 2012 at 8:45

InitialiseLibrary with AlarmFrequency Parameters

Hey, 

Let me start of with: "This Library is uber awesome" and I'd love to get some 
help from you with this. 

I've set up the LocationLibrary as specified using: 

public static void initialiseLibrary(final Context context, final long 
alarmFrequency, final int locationMaximumAge, final boolean 
broadcastEveryLocationUpdate, final String broadcastPrefix) 

I setup the receiver with intent-filter as expected
I ensured the Library is working correctly - the locationInfo object is showing 
and the location accuracy is fine.

I expected the Location Update to run on AlarmFrequency (5minutes - 300000ms) - 
instead it kept on updating every 90sec or so. 

I tried both v15 and v17. WIth default 
LocationLibrary.initialiseLibrary(context, prefix) i gives me constant updates 
as well - no alarm frequency happening anywhere... 

I'm using 4.4 (Nexus7) and L (Nexus4) on my devices. I was also wondering 
whether it's possible to broadcast the location even if it haven't changed ? 

Original issue reported on code.google.com by [email protected] on 11 Dec 2014 at 6:07

Null pointer exception

Android: 4.4.2
Manufacturer: samsung
Model: GT-I9192

java.lang.NullPointerException
    at android.content.ContextWrapper.deleteFile(ContextWrapper.java:202)
    at com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService.forceLocationUpdate(SourceFile:136)
    at com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService$1.run(SourceFile:94)
    at java.lang.Thread.run(Thread.java:841)

Original issue reported on code.google.com by [email protected] on 31 Mar 2015 at 4:55

LocationBroadcastService keeps running infinitely when LocationService is turned off

What steps will reproduce the problem?
1. Disable Location support .


What is the expected output? What do you see instead?

- The service should have terminated seeing that there is no available 
providers Instead that background service keeps running infinitely.


What version of the product are you using? On what operating system?

- Version v17, android 4.4


I suppose, the service should timeout, if it doesn't receive callback from 
location service if a pre-defined time ( say 5 minutes) has elapsed.

Original issue reported on code.google.com by [email protected] on 30 Dec 2014 at 10:57

Location not getting updated

Following logs are recorded:

"LocationBroadcastService: Force a single location update, as current location 
is beyond the oldest location permitted"
I am getting this log again and again. Location not getting updated. I tried 
the sample app you have provided.


What is the expected output? What do you see instead?
I was expecting location. instead i get logs i mentioned above,

What version of the product are you using? On what operating system?
Can be reproduced on almost all the devices randomly. from 2.2 to 4.1. 
Reproduced on s3 as well.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 28 Feb 2013 at 9:51

maven

how about to turn this project into maven?
I can post pom.xml

Original issue reported on code.google.com by [email protected] on 13 Apr 2014 at 8:58

how to change the settings of the location update interval as a preference?

Thank you for the library it is great.
You mentioned that if I initialize your library in the first activity it will 
reset on a reboot. 
I want my user to be able to change the location update interval as a 
preference. After user have changed the time interval value, does he have to 
restart the application to take effect? How can I do that?

Original issue reported on code.google.com by [email protected] on 16 Jul 2012 at 6:52

Last know location

More a question than an issue: 
why does little-fluffy-location-library use and save the last known location in 
the preferences and does not use something like LocationManager 
getLastKnownLocation or getLastLocation on LocationClient? I think this may 
also  remove the need of the PassiveLocationChangedReceiver, as these methods 
return the last known location, even if used by another application.

Thanks and regards

Original issue reported on code.google.com by [email protected] on 25 Apr 2014 at 9:13

Add support for google play services location client (aka fused location provider)

There are several problems with locationManager and NETWORK_PROVIDER on recent 
android versions (see http://code.google.com/p/android/issues/detail?id=57707)

It would be very nice to have lfll use locationClient where available, and 
downgrade to locationManager only on old devices or where google play services 
is not available.

Original issue reported on code.google.com by [email protected] on 23 Sep 2013 at 12:01

gps problem

Hello.
Library always working with network provider , why it is not checking for gps 
location ?


Original issue reported on code.google.com by [email protected] on 21 Feb 2014 at 2:12

null pointer Exception from LocationBroadcastService -> gms

"java.lang.NullPointerException
        at com.google.android.gms.internal.ea.f(Unknown Source)
        at com.littlefluffytoys.littlefluffylocationlibrary.LocationBroadcastService.a(LocationBroadcastService.java:295)
        at com.google.android.gms.internal.dy.handleMessage(Unknown Source)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:137)
        at android.app.ActivityThread.main(ActivityThread.java:4747)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:511)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
        at dalvik.system.NativeStart.main(Native Method)
"

Code is ProGuard optimised.

Original issue reported on code.google.com by [email protected] on 18 Jun 2014 at 12:51

NoSuchMethodError: iterator

What version of the product are you using? On what operating system?

v15.

Android: 2.3.6
Manufacturer: samsung
Model: GT-S5300B

Please provide any additional information below.

java.lang.NoSuchMethodError: iterator
    at android.app.ContextImpl$SharedPreferencesImpl$EditorImpl.commitToMemory(ContextImpl.java:3066)
    at android.app.ContextImpl$SharedPreferencesImpl$EditorImpl.commit(ContextImpl.java:3098)
    at com.littlefluffytoys.littlefluffylocationlibrary.PassiveLocationChangedReceiver.processLocation(SourceFile:131)
    at com.littlefluffytoys.littlefluffylocationlibrary.PassiveLocationChangedReceiver.processLocation(SourceFile:80)
    at com.littlefluffytoys.littlefluffylocationlibrary.PassiveLocationChangedReceiver.onReceive(SourceFile:72)

Original issue reported on code.google.com by [email protected] on 16 Aug 2014 at 1:37

Gradle support

It will be ok awesome if little fluffy location library starts supporting 
gradle library configuration. I think it should be easy.

Original issue reported on code.google.com by [email protected] on 18 Sep 2013 at 12:28

Origin provider name

Hi, 
First of all - thanks a lot for a beautiful library, it's really useful.

There is one minor problem. LittleFluffyLocationLibrary uses PASSIVE_PROVIDER 
to determine coordinates. According to developers guide, PASSIVE_PROVIDER "can 
be used to passively receive location updates when other applications or 
services request them without actually requesting the locations yourself. This 
provider will return locations generated by other providers. You can query the 
getProvider() method to determine the origin of the location update"

http://developer.android.com/reference/android/location/LocationManager.html#PAS
SIVE_PROVIDER

It looks like current version of the LittleFluffyLocationLibrary doesn't allow 
to receive origin provider name ("network", "GPS", etc). But sometime it would 
be useful to show real provider name to the user. 

I have attached possible patch that can solve this problem. It adds new field 
originProvider to class LocationInfo. Please check if it worth to make such or 
alternative modification. I am not sure, but probably filling originProvider 
field should be made optional because it's not necessary in most cases...



Original issue reported on code.google.com by [email protected] on 13 Dec 2012 at 6:46

Attachments:

Get location shown in google maps

Really i don't think its really an issue, but the coordinates I got doesn't fit 
on gmaps, seems that it have another format maybe? I use toString to see what I 
got:

lastLocationUpdateTimestamp=none lastLocationBroadcastTimestamp=none 
lastLat=-2147,483643 lastLong=-2147,483643 lastAccuracy=2147483647

And the error:

FATAL EXCEPTION: main
java.lang.IllegalArgumentException: Latitude must be within the range (-90.0, 
90.0).

Regards

Original issue reported on code.google.com by [email protected] on 9 Aug 2013 at 4:18

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.