[Pedometer Function] - How do i tap into mobile sensors data?

[Pedometer Function] - How do i tap into mobile sensors data?

  

Hi Guys, 

I am trying to built a "Step tracker" in both iOS and Android platform but not sure on how i can initiate the pedometer sensor using outsystems.

--Function--

1. Track users steps taken for each day.
2. Store it for 7 days locally. 

--Questions that i have--

1. Is it possible for me to get the data without plugins? 

if yes, what should i do to get the data? 

really appreciate any kind soul helps to kick start my development.  

Thank you!

Hi Olivier,

Integration with native device features is done through plugins, so you'll have to find (or develop) a plugin that provides you with access to that functionality (might want to check this cordova plugin).

Hello Mates,


I have created component illustrating implementation of cordova pedometer plugin for outsystems mobile applications, have a look.

https://www.outsystems.com/forge/component/2773/pedometer/


Hope it will be helpful for the community :)


Thanks and Regards,

Atul Patel

Atul Patel wrote:

Hello Mates,


I have created component illustrating implementation of cordova pedometer plugin for outsystems mobile applications, have a look.

https://www.outsystems.com/forge/component/2773/pedometer/


Hope it will be helpful for the community :)


Thanks and Regards,

Atul Patel

Thank you so much for your illustration! 

What else do I need to setup before using the module in my application? 

I tried to import into my eSpace and I clicked on the "WALK", but it shows me that pedo is not defined... 

Regards
Olivier Cheah