Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Global ActivityIndicator not working on Android (KS Demo)

It seems the globally defined ActivityIndicator in the KitchenSink Demo is not displayed in any sub-context / tab / window.

The ActivityIncator hide and show functions are defined in app.js and should be triggered via global events.

Titanium.App.addEventListener('show_indicator', function(e)
{
    Ti.API.info("IN SHOW INDICATOR");
    showIndicator();
});

Some examples then try to use this ActivityIndicator (e.g. image_view_animated.js) and trigger them via

Titanium.App.fireEvent('show_indicator');

Actually this just pinpoints a bug I've been struggeling with for some time. It seems you can't open "overlay" items (e.g. indicators, additional info bar, etc.) from the global context via events sent from sub-contexts.

— asked July 27th 2010 by Friedrich Seydel
  • activity
  • activityindicator
  • android
  • event
  • indicator
  • kitchensink
0 Comments

2 Answers

  • Accepted Answer

    There are several issues in play. There is a "fix" to the ActivityIndicator in the lastest builds where it should in most cases show up correctly.

    Our continuous integration (CI) system provides updated builds approximately 30 minutes or less after a change has been committed to github. Please refer to our Continuous Builds for Download guide for obtaining one for your platform.

    — answered July 27th 2010 by Don Thorp
    permalink
    0 Comments
  • Thanks Don, works like a charm with SDK 1.4.0!

    — answered July 28th 2010 by Friedrich Seydel
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.