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 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 B4J Question How to get the TaskBar Height and position? - Cableguy (first post) Sep 14, 2024 (2 reactions) Amongst some results I found, this seem to be the most complete and pertinent piece of code: public enum Location { TOP, RIGHT, BOTTOM, LEFT; } private static final class Taskbar { public final Location location; public final int width, height; private Taskbar(Location location, in 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 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 how do I calculate the distance between two different points? - klaus (first post) Jul 31, 2019 (2 reactions) I would do it like this:
Add the locations to the list.
Public lstLocations As List
lstLocations.Initialize
Sub MapFragment1_Click (Point As LatLng)
'add the location to the List
Private Location1 As Location
Location1.Initialize2(Point.Latitude, Point.Longitude)
lstLocations.Add( 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 Find my location distance from a point ! - Andrew (Digitwell) (first post) Jul 16, 2021 (1 reaction) The Location object provides the DistanceTo function which gives the distance between 2 points in meters. 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. Share My Creation BS Where Am I - Find your location address anytime! - Xenno Oct 26, 2017 (4 reactions) Description
Find your current location address at any time. Also available on home screen by using a simple widget. Location is retrieved either using GPS or WiFi/network and address is retrieved from Google.
B4A Libraries
LocationManager
HttpUtils2
MaskedEditText
RuntimePermissions
SQL
Screensh Page: 1 2 3 4 5 6 7 Powered by ColBERT |