QNimate

  • CoursesVideos
  • WP PremiumPlugins
  • DemosLab
  • Bitcoin BankingBuy, Sell, Store and Earn Interest
  • 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
    4 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
    5 years ago

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

    ReplyCancel
  3. fabrizio
    5 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 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`.

Narayan Prusty

I am a full-stack web developer. I specialize in Blockchain and JavaScript. This is my personal blog where I write about programming and technologies that I learn and feel interesting to share.

6 years ago 3 Comments Cordova
Share this
0
GooglePlus
0
Facebook
0
Twitter
0
Linkedin
Related Articles
  • Vibrating Phone using Intel XDK
  • Playing Beep Sound using Intel XDK
  • Sending SMS using Intel XDK
  • Install or Run a App using Intel XDK
  • Launch Default Browser using Intel XDK
Our Sponsor
Freelance: I am available
@narayanprusty
Hi, I am a full-stack developer - focusing on JavaScript, WordPress, Blockchain, DevOps, Serverless and Cordova. You can outsource your app development to me.





Will get back to you soon!!!
WordPress
ReactJS
Meteor
Blockchain
Serverless
Kubernetes
DevOps
DB & Storage
Ejabberd
Let's get started
My Books

2014 - 2015 © QNimate
All tutorials MIT license