QNimate

  • CoursesVideos
  • WP PremiumPlugins
  • DemosLab
  • Home
  • QIdea
  • QTrack
Home Carbon Ads Display Loading Indicator In Status Bar using Intel XDK

Display Loading Indicator In Status Bar using Intel XDK

This post is a part 19 of Intel XDK Complete Tutorial post series.

Many times you would have seen a loading indicator in status bar while using a app. This indicator is used to convey to user about something been downloaded by the app or app is loaded some library.

Intel XDK developers can display this indicator by just one line of code

document.addEventListener("intel.xdk.device.ready",function(){
    //this function displays a indicator. Must be executed inside a event handler.
    intel.xdk.notification.showBusyIndicator();
},false);

You can close this indicator anytime using

intel.xdk.notification.hideBusyIndicator();

Make sure you have included the Intel XDK Notification plugin with your app.

Screen Shot 2014-11-12 at 6.06.01 pm

Nov 12, 2014Narayan Prusty
Using @font-face for Bold and Italic StylePlaying Beep Sound using Intel XDK
Comments: 3
  1. TG
    7 years ago

    Many of the ‘intel.xdk’ plugins have been or are being deprecated in favor of their standard core Cordova counterparts.

    ReplyCancel
  2. Manda
    7 years ago

    Where should I place that code?
    On what folder and what file?

    ReplyCancel
  3. fabrizio
    7 years ago

    i get error “Uncaught TypeError: Cannot read property ‘showBusyIndicator’ of undefined ” on your code.
    can u provides a working project to download?

    ReplyCancel

Leave a Reply to Manda Cancel reply

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax

Narayan Prusty

I am a software engineer specialising in Blockchain, DevOps and Go/JavaScript. This is my personal blog where I write about things that I learn and feel interesting to share.

8 years ago 3 Comments Cordova
Share this
0
GooglePlus
0
Facebook
0
Twitter
0
Linkedin
Related Articles
  • Playing Beep Sound using Intel XDK
  • Vibrating Phone using Intel XDK
  • Sending SMS using Intel XDK
  • Intel XDK Copy to Clipboard
  • Launch Browser Inside Intel XDK App
Our Sponsor
My Books

2014 - 2015 © QNimate
All tutorials MIT license