Code Monkey home page Code Monkey logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 21, 2024
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)

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.