Comments (5)
I really do need more info than this to investigate it, sorry! You will need to
give debug output, device names, versions, location state, library version -
basically what you'd expect an end user to provide when you need to investigate
something. Cheers!
Original comment by [email protected]
on 9 May 2014 at 10:01
- Changed state: Invalid
from little-fluffy-location-library.
Device is samsung TAB 3
os- Jealybean
version 4.1.2
problem
Always take latitude and longitude as -2134.37878,-2345.989898 like that
where my current location should be 20.0000,73.7800.
location : nashik,Maharashtra, India
Original comment by [email protected]
on 9 May 2014 at 11:30
from little-fluffy-location-library.
Same issue here with a galaxy s4 4.1.2.
Same code works on Nexus4, nexus5, LG....... using jar version v15.
The broadcast receiver doesn't get any intent.
IntentFilter intentFilter = new IntentFilter();
intentFilter.addAction(LocationLibraryConstants.getLocationChangedPeriodicBroadcastAction());
CustomLocationManager.startAlarmAndListener(sBaseContext.getApplicationContext());
sBaseContext.getApplicationContext().registerReceiver(mLocationBroadcastReceiver, intentFilter);
Having this BradcastReceiver:
private static class LocationBroadcastReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
if (intent.getAction().equals(LocationLibraryConstants.getLocationChangedPeriodicBroadcastAction())) {
broadcastedLocationInfo = (LocationInfo) intent.getSerializableExtra(LocationLibraryConstants.LOCATION_BROADCAST_EXTRA_LOCATIONINFO);
}
}
}
Original comment by [email protected]
on 14 May 2014 at 3:28
from little-fluffy-location-library.
Thanks for the info. Will get back to you.
Original comment by [email protected]
on 14 May 2014 at 3:39
- Changed state: Accepted
from little-fluffy-location-library.
Same here. I tried in a emulator and a real device (s4 4.2.2) and got the same
-2134.37878,-2345.989898
However, on the real device this value changed when i went to google maps and
requested a location update using the google maps button (on the screen). The
value is updated only when I go to google maps and hit the button. So I guess
either this is a bug or I missed something to force location update :S
Original comment by [email protected]
on 25 May 2014 at 2:42
from little-fluffy-location-library.
Related Issues (20)
- Additional information in LocationInfo HOT 1
- Get location shown in google maps HOT 3
- Gradle support HOT 12
- Add support for google play services location client (aka fused location provider) HOT 4
- Grabbing the GPS provider HOT 2
- Indoor GPS HOT 4
- gps problem HOT 1
- Not connected. Call connect() and wait for onConnected() to be called. using the trunk version. HOT 1
- OutOfMemoryError HOT 1
- maven HOT 5
- Last know location HOT 2
- NumberFormatException HOT 1
- null pointer Exception from LocationBroadcastService -> gms HOT 8
- IllegalStateException from GMS
- NoSuchMethodError: iterator
- Find Crash in app due to LocationBroadcast service disconnected HOT 6
- InitialiseLibrary with AlarmFrequency Parameters HOT 1
- LocationBroadcastService keeps running infinitely when LocationService is turned off HOT 1
- Null pointer exception
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from little-fluffy-location-library.