cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP C4C: How to read GPS data from ABSL

jensniemeyer
Participant
0 Kudos
536

Hi,

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

Thanks

Jens

Accepted Solutions (0)

Answers (1)

Answers (1)

uskalviskis
Participant
0 Kudos

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