Powerapps : is it possible to geolocate user via Android? - geolocation

I'm building an PowerApps application. I would like to know if is it possible to geolocate an user whose using my PowerApps Application. For example, i want to create a button, and when user click on this button, the geolocation will be activated and the user's position archivated in my apps. Is it possible ?
Thanks for answers !

Yes it is possible.
Location
The Location signal returns the location of the device based on the Global Positioning System (GPS) and other device information, such as cell-tower communications and IP address.
When a user accesses the location information for the first time, the device may prompt that user to allow access to this information.
As the location changes, dependencies on the location will continuously recalculate, which will consume power from the device's battery. To conserve battery life, you can use the Enable and Disable functions to turn location updates on and off. Location is automatically turned off if the displayed screen doesn't depend on location information.
Location.Altitude Returns a number that indicates the altitude, measured in feet, above sea level.
Location.Latitude Returns a number, from -90 to 90, that indicates the latitude, as measured in degrees from the equator. A positive number indicates a location that's north of the equator.
Location.Longitude Returns a number, from 0 to 180, that indicates the longitude, as measured in degrees west from Greenwich, England.
From Microsofts own documentation found here: https://learn.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/signals#location

Related

Getting User's Location Without Permission

This website finds my location with a reasonable presicion. If i use mobilephone the website finds my exact location. If it is possible without asking permission why most of them asks me before getting my location? Isn't it makes personal security vulnerabilities?
From the same page you gave us:
Webkay uses the Google Geolocation API to locate you. This is an
educated guess and never as accurate as a GPS Location. The accuracy
depends on your location and also on your connection type. If you are
on a mobile network expect an error of up to 50km. This example just
tries to demonstrate how accurate a website can guess your location
without asking you for permission to access your GPS.
A site only needs permission, if it wants to enable your device's GPS. Also, without the permission, the guessed location is heavily dependent on your mobile carrier signal and IP address. If you are in a location with a lot of mobile towers, the location (obviously) will get more precise.
A site can use the information from all near mobile towers around you to triangulate the position and guess where you are. Think of it like a mesh.
For example: I am using a computer to write this now and the location is easy ~100km off, because it has only my IP adress to estimate the location.

How many ways we can access user's location iOS?

I know we can access user's location using geolocation in iOS. I want to know what other ways we can access user's location off course with his permission. I also heard we can access user's location using network/Internet etc.
All geolocation of the device is done via the CoreLocation framework. The specifics of what method(s) used to determine the location is not provided through the framework. The position can be determined via WiFi proximity to a known AP, cellular proximity to a tower mapped by the carrier, or most accurately via the GPS system. Not all methods are available on all devices, obviously. Rather than knowing how location was determined, you merely request location within a desired level of accuracy, and the framework will call back and notify you of an update in position. The actual position is not guaranteed to be pinpoint accurate.

Can not get most accurate location in the first time in IOS?

I'm developing an IOS application, that showing user's current location in Google Map when the application load. It's the first screen that I'm showing to users.
But for the first time, application shows incorrect location in the Google Map. Most cases it happens when we do a fresh install. From the second attempt application shows accurate location in the Map.
I'm using IOS default to do this. Using horizontal accuracy & location age we are determining what we assume to be the most accurate current location of the user.
Is there any reason why this is not working as expected?
It has to do with the way iOS get you users location. Often the first location is the last known location, you can check the date on the location results to see how old it is.
The you get the location by triangulation of cellular and WiFi networks. After this location update the phone might have a good GPS signal and will give the most accurate location.

Determine CLLocation source from GPS only

So the general idea is to get location information ONLY if it is from a GPS source (not WiFi or Cell-Tower). The reason for this isn't really important, for research purposes (and not my research).
If I specify the desiredAccuracy to kCLLocationAccuracyBestForNavigation, it should be using GPS to gather this information. Is it guaranteed, however, that it will use GPS?
I know you can also check the verticalAccuracy property for validity of altitude, which can only be valid if it is from 3D GPS, but does this guarantee that the rest of the information other than altitude is from GPS also?
I posted here on the apple developer program and got a response from an apple employee: https://devforums.apple.com/thread/264712
Even if it's guaranteed to /use/ GPS, it's not guaranteed to /only/ use GPS.
iOS's location subsystem does not provide a way for you to
pick and choose the specific location technology used to satisfy your
request. You will not be able to achieve this goal on the system as
its current architected.
Share and Enjoy

Geofence API for iOS 5

I want to build an application that can set up a set amount of geo-fenced square regions across town, I know I could achieve this by enabling location in the background, and check those coordinates to determine if they are in my area of interest.
But that would mean receiving many notifications from the system and would hit the battery performance.
Instead I wondered if there was a new API or possibly an upcoming one that would let you set a geo fence and only be notified by the system if you're inside of that or close by, rather then monitor your location constantly.
Is that possible ?
I found the following question, but I can't find much else:
http://www.quora.com/Is-the-geo-fence-functionality-built-into-iOS5s-Reminders-application-available-as-a-public-facing-API
It would seem to me that there is something more to geo fencing then tracking the GPS and comparing to an array of points of interest. If I set the reminders app to remind me that I have to walk my roommates dog tonight when I get in, then I can see the location icon at the top of the screen.
If I open the multitasking bar and remove reminders, the location icon persists, indicating the phone is tracking me, but it's an independent task to the reminders app.
If I set up an application with background location tracking, and remove from multitask bar, the location icon disappears with the application. This makes me believe that there is or will be an API for geo fencing coming for iOS 5.x, this would allow apps to post an array of coordinates to the system and receive local notifications based on the proximity to those points.
Does something similar exist or not yet ?
Thanks
UPDATE FOR FUTURE USERS
There seems to be a limit of 10 regions per app that can be monitored at any time (my personal testing), as this is a shared resource.
Apple Documentation extract:
You should always be judicious when specifying the
set of regions to monitor. Regions are a shared system resource and
the total number of regions available systemwide is limited.
You should look at the startMonitoringForRegion:desiredAccuracy: method on CLLocationManager.

Resources