Activity indicator

6 views
Skip to first unread message

Jake Sankey

unread,
Sep 11, 2009, 10:47:57 PM9/11/09
to LiquidGear
Seeing as LG doesn't use a .xib interface, is there a way we could get
the central located spinning activity indicator?

Giraldo Rosales

unread,
Sep 13, 2009, 8:42:20 PM9/13/09
to liqui...@googlegroups.com
Sure, will look into this.

-G

Jake Sankey

unread,
Sep 19, 2009, 10:30:04 PM9/19/09
to LiquidGear
Hey Giraldo,
Have you made any progress on this issue? I have played with it a
bit and was able to get an indicator but I can't get the thing to go
away once it starts. any help is appreciated!

Giraldo Rosales

unread,
Sep 22, 2009, 1:49:08 PM9/22/09
to liqui...@googlegroups.com
Yes, the activity throbber has been added to the new LG update.
Although will not be posted to the SVN till later today. Wanted to
make a couple adjustments to the addition some new features.

-G

Jake Sankey

unread,
Sep 22, 2009, 10:09:07 PM9/22/09
to LiquidGear
Giraldo,
Thanks for taking care of this! Right now I am not seeing this in
the SVN yet??? Which classes will need to be updated? Also just so you
are aware, when using SplashView, if you try to go between .html files
internally in the app, it crashes...

Giraldo Rosales

unread,
Sep 22, 2009, 10:31:37 PM9/22/09
to liqui...@googlegroups.com
Still finalizing the update. I'll post an email when it is up.
Although the only update you will need is in the webView, you may need
to update the navbar class as well. I'll fix that splash screen as
well before I update.

-G

Giraldo Rosales

unread,
Sep 23, 2009, 1:56:00 AM9/23/09
to liqui...@googlegroups.com
Ok, it has been added. I would update all the files in the latest
update. You can see a list at: http://code.google.com/p/liquidgear/source/detail?r=251

To view the throbber, you call:
lg.throbber.show();

And to hide you call:
lg.throbber.hide();

There is an example in the UI under Native UI.

If you would like to change the look of the throbber, you can update
the images in the throbber folder within the resources. There is a
tint color in the Settings.plist but am going to have to re-render the
throbber images to a neutral color to allow for the correct tint
(right now, if you tint yellow, the throbber will be green since it is
currently blue).

Let me know how it goes,
-G

On Sep 22, 2009, at 9:09 PM, Jake Sankey wrote:

>

Jake Sankey

unread,
Sep 23, 2009, 12:17:56 PM9/23/09
to LiquidGear
Awesome.. So this will be a JS call in the HTML, not in the actual
delegate? will it stop automatically when finished loading?
> >>>>> the central located spinning activity indicator?- Hide quoted text -
>
> - Show quoted text -

Giraldo Rosales

unread,
Sep 23, 2009, 12:20:55 PM9/23/09
to liqui...@googlegroups.com
Correct, in the JS. You will have to add it in your calls. Jut put in
the show when you make a request. For example, if you are loading
something via AJAX, in the call, show the throbber. In the response
function, call the hide.

-G

Jake Sankey

unread,
Sep 23, 2009, 3:38:53 PM9/23/09
to LiquidGear
Cool. will try tonight! thanks again. did you end up getting a fix
for that issue on the splashview crashing in this update?
> >> - Show quoted text -- Hide quoted text -

Giraldo Rosales

unread,
Sep 23, 2009, 3:50:18 PM9/23/09
to liqui...@googlegroups.com
I was not able to reproduce it but I think I saw where the problem was
and had it fixed.

-G

Znoopy

unread,
Sep 23, 2009, 7:26:44 PM9/23/09
to LiquidGear
Awesome. What is the smoothest way of getting these updates into an
existing project built on the Jun 21 library? Im trying to do that
using zigversion with not much luck so far.

Thanks

Giraldo Rosales

unread,
Sep 23, 2009, 7:46:40 PM9/23/09
to liqui...@googlegroups.com, LiquidGear
Have not used zigversion, but would keep a separate repo updated and
untouched at all times. Then copy the "iphone" dir and replace your
HTML files with those in the "www" folder as well as any JS and CSS
files.

Basically, you are keeping the shell updated. And using your HTML/JS/
CSS files.

-Giraldo

Znoopy

unread,
Sep 23, 2009, 8:05:17 PM9/23/09
to LiquidGear
Cheers.

I would like to to toggle the throbber during the time a photo is
uploaded to the server in the image class, would that work, eg calling
it from within another class?

Giraldo Rosales

unread,
Sep 23, 2009, 8:37:29 PM9/23/09
to liqui...@googlegroups.com
You using LG with Obj-C or via JavaScript/WebView?

-G

Jake Sankey

unread,
Sep 23, 2009, 11:03:08 PM9/23/09
to LiquidGear
G, I am having an issue with the sound and accelerometer with the
updated files.. I downloaded the new package and put in my sounds to
the resources, but no sound... I also am not getting and
lg.accelerometer functions to work anymore (they were working
previously..)
Message has been deleted

Jake Sankey

unread,
Sep 24, 2009, 12:36:46 AM9/24/09
to LiquidGear
Seems to be just MP3 formated sounds that dont work... I fixed my
accelerometer issue.

Znoopy

unread,
Sep 24, 2009, 7:56:15 AM9/24/09
to LiquidGear
As you are using jqtouch in this, does it mean you are moving away
from the lg.navigation calls to open new pages? Also, have you changed
the way to use the tabbar?, I cant seem to get it to work as before
using this new code.

Giraldo Rosales

unread,
Sep 25, 2009, 10:00:55 AM9/25/09
to liqui...@googlegroups.com
What was wrong with the acceleration? Also everything else work
smooth? Like the splash?

-G

Giraldo Rosales

unread,
Sep 25, 2009, 10:02:33 AM9/25/09
to liqui...@googlegroups.com
I'll take a look at the tabbar, this stayed the same. But, yes, using
jQTouch instead of the the previous interface.

-G

Jake Sankey

unread,
Sep 25, 2009, 10:08:41 AM9/25/09
to LiquidGear
The splash works great!! the activity indicator is great and the
accelerometer works great (now that I figured out my issue) .. however
mp3 format sound effects still dont work but wav do.

Znoopy

unread,
Sep 25, 2009, 6:51:15 PM9/25/09
to LiquidGear
How do you force a page open (div) in jqtouch through javascript? Eg
for instance in the functions used for the tabbar buttons, I would
want to open a specific internal page?

Btw, the tabbar works great, I just had to put the init in the index
and not in a standalone js file like before.

Thanks

Znoopy

unread,
Oct 5, 2009, 6:34:03 PM10/5/09
to LiquidGear
JavaScript/WebView. Basically, I want to run the throbber while the
uploading of the taken image takes place in image.m.

M
Reply all
Reply to author
Forward
0 new messages