javascript - How to invoke the adapter(SQL or HTTP) call for every few seconds in IBM MobileFirstPlatform -


in application(using jquerymobile) invoking sql adapter call getting data enterprise database , storing in jsonstore in mobile app, need update real time data automatically in jsonstore whenever enterprise db updated, without disturbing mobile ui(means not showing jsonstore refreshing). please give me suggestions on this. if feature available in mfp, suggest sample or tutorial in ibmkc. in advance.

this not related mobilefirst.

it sound want implement setinterval.
see usage examples here: http://www.sitepoint.com/setinterval-example/

simply call whichever function have sync jsonstore , don't in callbacks interfere application's ui.


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -