facebook

Progress/loading bar

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #324773 Reply

    Max87
    Member

    Hello,
    I wonder, if it’s possible to add simple progress/loading bar, for example to startup image/screen(to indicate, that app is still loading).
    Any ideas?

    #324796

    Max87
    Member

    Thanks for answer Octavio.

    #325258

    JohnWord
    Member

    follow up question please…

    what about between pages?

    Page A – enter data and click then calls javascript that calls web service. sometimes takes a minute to get response..
    Page B – displays data from web service call…

    I would like to display a loading bar or the ‘chasing’ icon or something similar to show background task in progress..
    otherwise the user keeps pounding the button.

    any suggestion?

    thanks.

    #325366

    JohnWord
    Member

    I figured out how to do my “page to page” show loading requirement with even some animation (chasing tail .gif) using timers..
    so never mind my question above..

    thanks

    #325386

    JohnWord
    Member

    thanks! – will try it..

    #326013

    Max87
    Member

    Hi Octavio,
    are you sure, that semicolon in phoneui.showActivityDialog(“Loading Data”) is not missing?
    Thanks.

    #326018

    Max87
    Member

    You’re welcome Octavio

    #326046

    Does someone know where I can find more information about (perhaps) useful functions in the phoneui namespace/library ?

    #333089

    skip8it
    Member

    Im not sure exactly where you would put that code ?

    #333090

    skip8it
    Member

    if its not to much,, could you post a pic, specifying the location of the code

    #333091

    Max87
    Member

    skip8it: are you answering tobi? Or are you interested in phoneui.showActivityDialog?

    #333095

    skip8it
    Member

    no Im not answering tobi.. Im not sure where exactly to place the code phoneui.showActivityDialog(“Message”) .. thank you for the fast response, everyone on here seems to be so helpful 😉

    #333097

    Max87
    Member

    you can put it wherever you want 🙂
    the point is, you show the dialog by calling that function. Dialog is showed until you call ide function.
    So for example, you have to populate custom list from database from one screen to another, and you have to set timeout for 1sec before it transfers you to new page. You call showDialog function to inform user, that something is happening and when your stuff is done, simply call hideDialog function.

    #333098

    skip8it
    Member

    which js file… phoneui.js , custom.js,? , im not sure where to place it… can you post a pic,, because I cant seem to get it to work…

    #333099

    Max87
    Member

    Every custom code you have to put into <project name>_custom.js
    Do not edit other .js, .css or html files generated by Mobione, because if you do and when you change something in Design center and send project to Test center, Mobione asks you, if you want to overwrite that files(so you loose changes created in Design center or by editing that files).

Viewing 15 posts - 1 through 15 (of 25 total)
Reply To: Progress/loading bar

You must be logged in to post in the forum log in