on 02-08-2016 3:31 PM
Hello Experts,
We are trying to capture current location of the user on click of a button, we were successfull in fetching the location through 2 step transaction.
1 Step, set location,latitude and longitude parameters in main object to 0.
2 step call a rule with GPS_Location function set to 0.
3 step fetch latitude and longitude from the location parameter set in step 3.
We get the correct values, but the issue is even after switching off the GPS/WIFI we still get the last fetched value when we execute the above 3 steps.
Property values in the main object were getting reset. But GPS_location fetch is returning the last updated value even when the Location/Wifi in the device is disabled.
Has anyone used these system functions in Android client? Any suggestions.
Regards,
Nirmal
SMP SDK 70.10.5
Nirmal,
Hi. Is this based on our SAP Work Manager GPS feature? The reason I am asking for this is because there is a feature in our SAP Work Manager GPS location to cache the last known map so that the user can still have access to the maps even though they are offline. This way they do not need to be located where there is signal. Imagine in a building somewhere or deep in the tunnel.
1) Is this issue only in the Android? Or is it also in other clients?
2) May probably need to customized the 3 steps above by adding a new transaction to set the properties to null or blank.
3) In Android device OS there is an option to clear the cache. Settings -> Applications - Application Manager and choose your app and see if you can set the option. This is a manual process.
4) You may also look at reference:
See if you can answer or look at the link above (Reset the rule).
Best Regards,
SAP Mobile Platform Support Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.