B4A Library [Lib] MediaBrowser - Informatix    Apr 22, 2021   (26 reactions) Location = complete path name for the file.
The fields that are returned are:
"ID"
"Location"
"DisplayName"
"DateTaken" (in ticks from 1970)
"Height" (with Android 3.0+)
"Width" (with Android 3.0+)
"Size" (in bytes)
GetExtVideoFileInfo (Location As String) As Map
Returns a Map containing info from B4A Question location permissions in Android 14 (sdk34) - drgottjr (first post)    Feb 11, 2024   (1 reaction) not only do you need fineaccess permission in the manifest, but you will have to direct the user to the locations settings dialog on his device if location is turned off, even though the user has granted you permission to use location (it's a runtime permission).
you cannot turn on location from the B4A Code Snippet Sample using GPS and GeoAddress - DonManfred (first post)    Jul 02, 2020   (2 reactions) context.LOCATION_SERVICE); if (!locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { // showSettingsAlert(); //Toast.makeText(context, "Permission Denied", Toast.LENGTH_SHORT).show(); String info = "Permission Denied"; ba.raiseEvent B4A Question [SOLVED] GPS Library - BearingTo and DistanceTo - agraham (first post)    Sep 28, 2019   (2 reactions) From the Android documentation for Location.distanceTo https://developer.android..html#distanceTo(android.location.Location) Returns the approximate distance in meters between this location and the given location. Distance is defined using the WGS84 ellipsoid. B4A Question Google_Maps Marker Rotate - prajinpraveen (first post)    May 01, 2016   (1 reaction) used location class, and worked like a charm Dim LocationFrom As Location Dim LocationTo as Location LocationTo.Initialize2(routeto.Latitude,routeto.Longitude) LocationFrom.Initialize2(routebegin.Latitude,routebegin.Longitude) rotateangle =LocationFrom.BearingTo(LocationTo) B4A Question Missing information in prominent disclosure - JohnC (first post)    May 27, 2021 Location is needed when "scanning" for wifi ap's or Bluetooth devices. This is because those devices can be used to "locate" you even if your GPS is off.
For example, Wifi access points (AP) are typically located in a fixed physical location. Whenever your phone "sees" a wifi access point, google c B4A Library Geocoder library - warwound    Mar 31, 2016   (31 reactions) GetFromLocationName (LocationName As String, MaxResults As Int, Tag As Object)
Gets an Array of Address objects that describe the named location.
LocationName may be a place name such as "Dalvik, Iceland", an address such as "1600 Amphitheatre Parkway, Mountain View, CA", an airport code such as "S B4A Library GeoLocation - DonManfred (first post)    Dec 11, 2018 You can call the method to get the location. It checks different providers and returns the one with a result.
public void GetLocation(BA ba) {
LocationManager locationManager = (LocationManager) ba.context.getSystemService(ba.context.LOCATION_SERVICE);
if (!locationManager.isPro B4A Question How to calculate distance between 2 GPS coordinates? - harinder (first post)    Mar 24, 2020   (3 reactions) Add GPS library in Libraries Manager
Dim Location1, Location2 As Location
Location1.Initialize
Location2.Initialize
Dim distance As Int
Location1.Latitude = 35.24
Location1.Longitude = 36.20
Location2.Latitude = 30.10
Location2.Longitude = 25.04
distance = Locatio B4A Question User Claims that app cannot find bluetooth device after Android 12 Update - ema01 (first post)    Dec 14, 2021   (1 reaction) Long story short, the real issue in the end was in how we detect that location is active. We were using the "suggested" method around here, which is to use the phone library and check the content of "location_providers_allowed" This setting has been finally removed in android 12 so to see if locatio Page: 1   2   3   4   5   6   7   Powered by ColBERT |