How to display standard mobile OS loading animation while in

Posted by wardcouckecac on 11-Apr-2013 06:05

When I invoke a service, for example a JSDO.read  , I want to show the standard loading/waiting animation while getting the data. How can I do this?

All Replies

Posted by egarcia on 11-Apr-2013 09:59

Hello,

You could call the service using JavaScript and add the calls to showSpinner() and hideSpinner().

If you add a call to a service then browse the .js for your screen (home.js for example), you will see code that calls the service  ( execute() in a try block ).

I hope this helps.

Posted by tyagi.ankit40 on 17-Apr-2013 07:30

how can i use custom spinner with themes as shown in http://jquerymobile.com/demos/1.2.0/docs/pages/loader.html ?

Posted by robw@hltool.com on 17-Apr-2013 08:08

Keep in mind - those spinning widgets will get very annoying for users - if the delay is long.

Cool look if it's a quick load, but otherwise it could drive them away.

My 2 cents

Posted by tyagi.ankit40 on 17-Apr-2013 08:15

i just wanted to give it a try to see how to implement such things!

Posted by tyagi.ankit40 on 19-Apr-2013 08:08

Any one got an idea?

This thread is closed