English
Functions and Help

function: dev.gps

 
{ zero | long | aray } = dev.gps [ ( [ bool active ] ) ]  

The function dev.gps bid Opportunities for Positionsermittlung, Positionsdaten stand simply in aray = dev.gps(). The Positionsermittlung can with dev.gps(true) activate go.

Info: usually sees Android it to, that it for different Opportunities the Positionserkennung too Own Konstrukte gives - so is about The recognition over the Provider "Netzwerk" another as The over GPS or The over "WLAN". Infinity-Profan edge any these Opportunities together and bid a homogeneous call. so can also a genauere position determined go without that GPS explizit activate watts of User.

becomes no Parameter transfer, then sustain one this assoziatives aray with the actually Positionsinformationen:

example:
print "Ermittlung: "+(dev.gps(true)==true?"Aktiv":"konnte not activate werden")// recognition enable

proc event id dta

    case id==event.backkey : end

    if id==event.gps

        print "Positionsdaten:"
        print dta

    endif

endproc


Info: it'll the event event.gps on The proc event supplied, same to the The Positionsermittlung a worth detect could and fortlaufend. Positionswerte stand then in the aray in data.

toggles the User GPS hinzu, then is the position solely accurate (accuracy).

worth lists gives again whether The Infinity-Profan-Positionsbestimmung activate or not. Per aray providers can determined go, whether the User Positionsbestimmung at all allows and at least 1 Positions"provider" angezapft go could.

Providers is a assoziatives aray with Schlüsselnamen which modes the Standortbestimmung angezapft go could. has the User Standorterkennung deaktiviert then is the aray 0 Entries big.

Üben len(dev.gps()["providers "]) can therefore The Number of available modes detect.

in the aray satelites stand detailierte Information to the angezapften Sateliten:

long id: interne Nr. the Sat
long signal: 0-99, Signalstärke to that unit
long azimuth: 0-360, Horizontalwinkel to that unit
long elevation: 0-90, Höhenwinkel to that unit


Üben len(dev.gps()["satelites"]) can therefore The Number of akquirierten Satelliten detect.

Keywords: GPS, position, Location, network

 
01/26/15  
 



New:

values lists and found:

worth lists gives again whether The AndroidProfan-Positionsbestimmung activate or not. worth found gives on whether the User Positionsbestimmung at all allows and at least 1 Positions"provider" angezapft go could.
 
01/28/15  
 



New: More GPS-Information, now too To each individual Satelliten:
long lists
aray providers
float longitude
float latitude
float altitude
float accuracy
float bearing
float speed
string provider
aray satellites


New thereby is aray providers as well as aray satelites.

Providers is a assoziatives aray with Schlüsselnamen which modes the Standortbestimmung angezapft go could. has the User Standorterkennung deaktiviert then is the aray 0 Entries big.

Üben len(gps()["providers "]) can therefore The Number of available modes detect.

in the aray satelites stand detailierte Information to the angezapften Sateliten:
long id: interne Nr. the Sat
long signal: 0-99, Signalstärke to that unit
long azimuth: 0-360, Horizontalwinkel to that unit
long elevation: 0-90, Höhenwinkel to that unit


Üben len(gps()["satellites"]) can therefore The Number of akquirierten Satelliten detect.
 
01/29/15  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

4.799 Views

Untitledvor 0 min.
AndreasS11/26/18
Erasmus.Herold04/02/16
iF01/31/16
HofK01/15/16
More...

Themeninformationen

this Topic has 1 subscriber:

iF (3x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie