Questions tagged [location-provider]
117 questions
1
vote
1 answer
Angularjs url remove hash not using html5
I know one possible way to remove '#' from AngularJs route url is to enable html5 mode. like:
$locationProvider.html5Mode(true) if window.history && window.history.pushState
This is work, but the problem is after I click menu and switch to the…

Perpherior
- 201
- 1
- 9
1
vote
0 answers
Is there any way to get the number of satellite without LocationProvider?
I'm using LocationClient (a part of Google Play service) to get the current location. It works well, but I can't find any way to get the number of satellites without using LocationProvider.
mService_NORMAL = new LocationProvider(mParent, 10000, 1,…

user3673258
- 11
- 1
1
vote
1 answer
AngularJs routeProvider 404
Code bellow is from AngularJs tutorials and little bit modified by me. I wish to remove hash from url. I actually succeed, but now I have other problem.
When I use link localhost, it works just fine and redirect me to localhost/phones. But in case,…

Clem
- 11,334
- 8
- 34
- 48
1
vote
0 answers
Undstanding GDK Remote GPS Provider
Is the Remote GPS Provider in the GDK always on? I thought the remote gps provider is getting the location update from the phone, but I purposely turn off the GPS on my phone and It is still returning true when I check if the provider is…

Jacky So
- 233
- 5
- 12
1
vote
1 answer
How Do I Implement LocationClient within Intent Service?
I'm a noob to android development and I am trying to figure out how to use the Fused Location Provider. I'm using this tutorial and have no issues implementing as the tutorial shows. However, now I want to get my last location from within an…

DollaBill
- 239
- 1
- 3
- 15
1
vote
3 answers
Android fused location provider settings
I recently used the fused location provider to locate the user during special tasks inside our app. Till now I could not find out a way to check a few settings:
When the user allowed Google Apps to access the location(Google Settings), does this…

Peter
- 186
- 1
- 10
1
vote
2 answers
Android getBestProvider never returns GPS
I have been working on a location based app.
I am testing on both Samsung Galaxy S4 and Samsung Tab 7.
When calling getBestProvider() it usually returns GPS if it was enabled and network otherwise, and that was the case on my Galaxy S4.
However,…

Mazen Elian
- 228
- 1
- 4
- 19
1
vote
1 answer
Android Location - Network provider, device speed
Is it possible to get the device speed from the location NETWORK_PROVIDER and not from the GPS_PROVIDER?

phcaze
- 1,707
- 5
- 27
- 58
1
vote
1 answer
Is there any idea to get altitude data quickly while using LocationClient for Android?
I have been using LocationManager for Android to record location data, and the new 'LocationClient' API has come, so I tried it.
The result looked good. It gets location data very quickly, but I found that the Android Fused Location…

user2435926
- 23
- 1
- 5
1
vote
1 answer
AngularJS routeProvider not adding hash at the end of URL
I have the following routeProvider configured:
angular.module('myModule').config ['$routeProvider', (provider) ->
provider
.when '',
templateUrl: '/templates/dashboard.html'
.when '/some_path/:some_param',
templateUrl:…

Abraham P
- 15,029
- 13
- 58
- 126
1
vote
1 answer
How to access the location from the GPS provider instead of Network provider?
I am trying to get the location from the best provider. I have enabled the GPS. Also, when I am printing the latitude and longitude, I am getting it from the Network provider.
My question is:
If GPS is enabled, then I want to search for 30 seconds…

Narendra Pal
- 6,474
- 13
- 49
- 85
0
votes
1 answer
How do I get the GPS coordinates in different locations after clicking on a button
I want to find the GPS coordinates of current location on click of a button using GPS_PROVIDER. After clicking on button in place 'A' I will close the app and go to the place B and click the button again to get the B coordinates. How can I do this…

user1129655
- 55
- 1
- 6
0
votes
1 answer
Java JME location provider not returning coordinates if not in startApp()
I believe I am doing something wrong in a Midlet application. Whenever I try to use the LocationProvider to find my mobile's position, two scenarios happen. If I start the application with a form (unique select group) with 3 options and I press "OK"…

Jean-Francois Hamelin
- 633
- 2
- 9
- 19
0
votes
3 answers
Blackberry socket connection and threads
I am developing a program which have 2 buttons : Start and End. When i click Start it will start to get Locations in every 30sec. and send them to a server using socket connection. When i click the End button it will stop all works.
Can i do this…

henderunal
- 749
- 2
- 9
- 14
0
votes
0 answers
Is it possible for android network provider to get GPS information in intranet environment?
We are testing Android LocationManager in intranet environment.
I tried to get GPS coordinate with NETWORK_PROVIDER in intranet environment.
In case of phone connected to intranet, NETWORK_PROVIDER cannot get location.
In this case, is there any way…

lsy
- 1