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' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -