Skip to Content

SAP C4C: How to read GPS data from ABSL

Hi,

is there a function, to read from my ABSL code the current GPS Location of the device?

Thanks

Jens

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 20 at 01:10 PM

    Hi Jens,

    you can try to look into the option if HTML5 geolocation API could solve this requirment. More details regarding API you can find in https://www.w3schools.com/html/html5_geolocation.asp

    By theory you will need to create a custom HTML mashup which is emebed via UI, and to get back any results from mash-up you will require to writeback data to application UI using sap.byd.ui.mashup.fireResultUpdate(resultObject) method. More details on this item you will find in the SDK guide page 500 (8.13.3.5 Example APIs for HTML Mashups).

    So only limitation you will need explore if mashup executes from the device as expected. For Offline mode it will not work.

    Cheers,

    Uldis

    Add comment
    10|10000 characters needed characters exceeded