Skip to Content
0

SAP C4C: How to read GPS data from ABSL

Mar 12 at 10:55 AM

52

avatar image
Former Member

Hi,

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

Thanks

Jens

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Uldis Kalviskis Mar 20 at 01:10 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded