+ Start a Discussion
sivaextsivaext 

Call /run native android services in salesforce hybrid mobile app

Hi, 

We have built salesforce hybrid mobile application to one of my customer. It is working both offline and online.  We have problem in syncing data once app closed. 
Currently we have setup "Manual" sync button to sync records between hybrid app and sf server but app should be open while syncing data.

We are plan to write native android background services to sync every 1 hours automatically withoout opening app. 

Can you please suggest process to call native android services using hybrid app (smart store)? 


Thanks in advance.



Gaurav KheterpalGaurav Kheterpal
What do you mean by native Android services? Are you refering to any server-side REST services?
sivaextsivaext
Thanks Gaurav, 

Native android services means , code written on android compatiable language,

Yes, call the native android services/methods from hybrid sdk provided by salesforce.

1. write services/methods in android compatiable language
2. call these methods from salesforce hybrid sdk methods