Indicator of loading (activity) on BB10

Is there an indicator of the system of loading/activity on BB10 as those on Android/iOS? I need something to show the user that the data loading my application. Simple rotating image I provided, managed by the separate system on thread would save me probably some time coding.

It is activity indicator and control an indicator of progress on the waterfall. In cookbook in github example give the code for both of the indication. You can download from it and start and stop whenever you want to do.

Sample cookbook github link:https://github.com/blackberry/Cascades-Samples/tree/master/cascadescookbookqml

Tags: BlackBerry Developers

Similar Questions

  • Activity indicator for loading data model

    Hello

    I'm looking in using an activity indicator to show for my list view to load the user (as it takes 2-3 seconds to display list to be filled with data that it receives the files from my server).

    Here is my list view & data source:

    ListView {
                                    id: listView1
                                    dataModel: dataModel1
    
                                    leadingVisual: [
                                        Container {
                                            id: dropDownContainer1
                                            topPadding: 20
                                            leftPadding: 20
                                            rightPadding: 20
                                            bottomPadding: 20
                                            background: Color.create("#212121")
                                            DropDown {
                                                id: dropDown1
                                                title: qsTr("Date:") + Retranslate.onLocaleOrLanguageChanged
                                                Option {
                                                    id: all
                                                    text: qsTr("All") + Retranslate.onLocaleOrLanguageChanged
                                                    selected: true
                                                }
                                                Option {
                                                    text: qsTr("23/06/2014")
                                                    value: "23/06/2014"
                                                }
                                                Option {
                                                    text: qsTr("24/06/2014")
                                                    value: "24/06/2014"
                                                }
                                                Option {
                                                    text: qsTr("25/06/2014")
                                                    value: "25/06/2014"
                                                }
                                                Option {
                                                    text: qsTr("26/06/2014")
                                                    value: "26/06/2014"
                                                }
                                                Option {
                                                    text: qsTr("27/06/2014")
                                                    value: "27/06/2014"
                                                }
                                                Option {
                                                    text: qsTr("28/06/2014")
                                                    value: "28/06/2014"
                                                }
                                                Option {
                                                    text: qsTr("29/06/2014")
                                                    value: "29/06/2014"
                                                }
                                                Option {
                                                    text: qsTr("30/06/2014")
                                                    value: "30/06/2014"
                                                }
                                                Option {
                                                    text: qsTr("01/07/2014")
                                                    value: "July 1 2014"
                                                }
                                                Option {
                                                    text: qsTr("02/07/2014")
                                                    value: "July 2 2014"
                                                }
                                                Option {
                                                    text: qsTr("03/07/2014")
                                                    value: "July 3 2014"
                                                }
                                                Option {
                                                    text: qsTr("04/07/2014")
                                                    value: "July 4 2014"
                                                }
                                                Option {
                                                    text: qsTr("05/07/2014")
                                                    value: "July 5 2014"
                                                }
                                                Option {
                                                    text: qsTr("06/07/2014")
                                                    value: "July 6 2014"
                                                }
                                                onSelectedIndexChanged: {
                                                    if (selectedOption == all) {
                                                        dropDownDataSource1.sQuery = ""
                                                    } else
                                                        dropDownDataSource1.sQuery = dropDown1.at(dropDown1.selectedIndex).value;
                                                }
                                            }
                                        }
                                    ]
    
                                    listItemComponents: [
                                        ListItemComponent {
                                            type: "item"
                                            StandardListItem {
                                                title: ListItemData.fixtureInfo
                                                description: Qt.formatTime(new Date(ListItemData.timestamp * 1))
                                            }
                                        }
                                    ]
    
                                    onTriggered: {
                                        var selectedItem = dataModel1.data(indexPath);
                                        var detail = fixtures.createObject();
    
                                        detail.fixtureInfo = selectedItem.fixtureInfo
                                        detail.dateInfo = selectedItem.dateInfo
                                        detail.timeInfo = selectedItem.timeInfo
                                        detail.timeZone = Qt.formatTime(new Date(selectedItem.timestamp * 1))
                                        detail.courtInfo = selectedItem.courtInfo
                                        detail.resultInfo = selectedItem.resultInfo
    
                                        navigationPane1.push(detail)
                                    }
                                }
    
    GroupDataModel {
                        id: dataModel1
                        sortingKeys: [ "dateNumber", "id" ]
                        grouping: ItemGrouping.ByFullValue
                        sortedAscending: false
                    },
                    DataSource {
                        id: dataSource1
                        property string sQuery: ""
                        onSQueryChanged: {
                            dataModel1.clear()
                            load()
                        }
                        source: "http://tundracorestudios.co.uk/wp-content/uploads/2014/06/Fixtures.json"
                        type: DataSourceType.Json
    
                        onDataLoaded: {
                            //create a temporary array tohold the data
                            var tempdata = new Array();
                            for (var i = 0; i < data.length; i ++) {
    
                                tempdata[i] = data[i]
    
                                //this is where we handle the search query
                                if (sQuery == "") {
                                    //if no query is made, we load all the data
                                    dataModel1.insert(tempdata[i])
                                } else {
                                    //if the query matches any part of the country TITLE, we insert that into the list
                                    //we use a regExp to compare the search query to the COUNTRY TITLE (case insenstive)
                                    if (data[i].fixtureInfo.search(new RegExp(sQuery, "i")) != -1) {
                                        dataModel1.insert(tempdata[i])
    
                                        //Otherwise, we do nothingand donot insert the item
                                    }
    
                                }
    
                            }
    
                            // this if statement below does the same as above,but handles the output if there is only one search result
                            if (tempdata[0] == undefined) {
                                tempdata = data
    
                                if (sQuery == "") {
                                    dataModel1.insert(tempdata)
                                } else {
                                    if (data.fixtureInfo.search(new RegExp(sQuery, "i")) != -1) {
                                        dataModel1.insert(tempdata)
                                    }
                                }
                            }
                        }
                        onError: {
                            console.log(errorMessage)
                        }
                    },
    
    onCreationCompleted: {
                    dataSource1.load()
                }
    

    In another part of my application, I use an activity indicator to load a webView but I couldn't reshape it for the list view.

    The following code works when my webView loads:

    WebView {
                        id: detailsView
                        settings.zoomToFitEnabled: true
                        settings.activeTextEnabled: true
                        settings.background: Color.Transparent
                        onLoadingChanged: {
                            if (loadRequest.status == WebLoadStatus.Started) {
    
                            } else if (loadRequest.status == WebLoadStatus.Succeeded) {
                                webLoading.stop()
                            } else if (loadRequest.status == WebLoadStatus.Failed) {
    
                            }
                        }
                        settings.defaultFontSize: 16
                    }
    
    Container {
                id: loadMask
                background: Color.Black
                layout: DockLayout {
    
                }
                verticalAlignment: VerticalAlignment.Fill
                horizontalAlignment: HorizontalAlignment.Fill
                Container {
                    leftPadding: 10.0
                    rightPadding: 10.0
                    topPadding: 10.0
                    bottomPadding: 10.0
                    horizontalAlignment: HorizontalAlignment.Center
                    verticalAlignment: VerticalAlignment.Center
                    ActivityIndicator {
                        id: webLoading
                        preferredHeight: 200.0
                        preferredWidth: 200.0
                        horizontalAlignment: HorizontalAlignment.Center
                        onStarted: {
                            loadMask.setVisible(true)
                        }
                        onStopping: {
                            loadMask.setVisible(false)
                        }
                    }
                    Label {
                        text: "Loading Content..."
                        horizontalAlignment: HorizontalAlignment.Center
                        textStyle.fontSize: FontSize.Large
                        textStyle.fontWeight: FontWeight.W100
                        textStyle.color: Color.White
                    }
                }
            }
    
    onCreationCompleted: {
            webLoading.start()
        }
    

    Therefore, what I am trying to make is: get the activity indicator to show when the list view is charging and when it's over, for the activity indicator be invisible. Also, if the user doesn't have an internet connection or loses the signal while the data is filling: would it be possible to recover data from a file stored locally instead ("asset:///JSON/Fixtures.json")?

    Thanks in advance

    With the help of a few other developers I maneged to make everything work properly.

    Jeremy Duke pointed out that I would need to use the onItemAdded in my data model of the Group:

    onItemAdded: {
                            myActivityIndicator.stop();
                            myActivityIndicator.visible = false;
                            loadMask.visible = false;
                            searchingLabel.visible = false;
                        }
    

    Adding that, the loading stops when an element has completed the list.

    Thanks for your help

  • How/where can I view activity indicator when loading new records in listview

    Hello

    I would like to display a kind of activityindicator when I load more records into my view of the list... IE when atEnd struck in ListView:nScollingChanged().  My question is can I view the ActivityIndicator in the listview control itself or I view wihtin the bottom of the container containing listview?

    I don't know there must be a standard way that people go on display an indicator when additional data are retrieved...

    Thank you

    In the World of Blackberry app in the view by categories:

    -A view at the bottom of the list become visible, showing a small LoadIndicator.

    But I do not like much because the first loading, the screen is black, and all data that happens then both. A big LoadIndicator to the Center must have been added, as in the home screen.

    But this way, we have two indicators of management, which is not cool. I prefer so usually just a big focus indicator, which appears behind the list loading data 'more '.

    It's your call. But I like to listen to other choices.

  • Popup Director Player error - failed to load active film/art. DDR

    When I got a game 4 pack by Gogii would not be one of the games download, I got / art Assets.ddr isn't Director file, then a second error popped up: unable to load film/art active. DDR and it will not open.

    Hi patbrat,

    I suggest that you contact support for Gogii for assistance with downloading the games.

    http://www.gogiigames.com/contact

  • How to change the color of the indicator of loading the default page?

    Hello

    I was wondering how to change the color of the indicator as shown in the photo below, the default page loading

    http://1drv.Ms/1kivj05

    I use Jdeveloper 11 GR 2 11.1.2.4 & Weblogic 10.3.6

    Best regards.

    Hello

    This will guide you to what you need to do.

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/15-custom-splash-screen-169144.PDF

    As Timo says you will need to locate the gift of animation edit and then create a new skin by using the new gif.

    Concerning

  • Docking station indicating the program activity of the other user

    In recent days a colleague and I have found that two of our Mac Dock have a separate block on the left of the main dock to burst open and closed in accordance with the activity of each and other.

    In other words, when I use Chrome or by post or similar, they see the Chrome or Mail app icons popping up in their Dock.

    I googled this and found nothing on this subject.

    Any ideas what this feature and how to turn it off? It of really annoying, is without impact on the our office machines.

    We miss all day El Capitan 10.11.5 (15F34).

    Looks like the transfer procedure. The two machines are configured with the same iCloud account.

  • Can I move staus indicator page load FF4?

    In FF3, the information on a page load or even the url of a link when hovering appears in the status bar. Now, it appears in a tab as window above the bar of the add-on and obscures the part of the screen.

    Can it be returned to where it was in FF3?

    The easiest way is to use the add-on of status-4-Evar. With it, you can choose to not display all status messages, or view them in the bar modules or the address bar instead.

    https://addons.Mozilla.org/firefox/addon/status-4-EVAR

  • Loading active lists in Hyperion Planning 11.1.2.0

    Hello!! I'm new to Hyperion Planning. I need to download the SmartList in Hyperion Planning using contour load utility. Could you please show me the steps.
    I just need a few examples of metadata can be two or three line metadata that will give me an idea to generate our metadata file...
    I created syntex utility contour... Please guide me...
    any help from you would be really appreciated...

    Here is an example of the file format for the loading of the smart lists:-http://4.bp.blogspot.com/-dzmJaV0Cw-E/TbXPb1IFLII/AAAAAAAADFE/iY55xv2_Ggg/s1600/image008.png
    There is also an example in planning doc admin with the command line parameters to use - http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/ch05s02s03.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Captivate 5.5 indicator of loading of Internet Explorer appears

    We have created several videos captivate with 5.5 (after upgrading from a previous version 3) and we are happy that we don't have to include skin files more! : )

    The question however is that when you open SWF files using IE (arrives 8 and 9, maybe others too), the first screen hangs with a blank screen until the full video has downloaded, then it starts to play. On all other web browsers that we have tested (Firefox, Opera, Chrome), the SWF file opens with the default loading screen/progress bar Captivate (Adobe Captivate [Green loading bar] loading... #%).

    The files are opened in a new window using javascript with a url that points directly to the SWF file, such as:

    JavaScript:Window.Open ('path_to_the_swf.swf', 'MainWindow.title', 'height = 720, width = 1024');

    Any ideas?

    Welcome to our community

    I see that you open the new window using JavaScript and the new tip window to the raw SWF file. Have you tried a rather pointing to the HTML page that Captivate creates? I remember a few versions back (to version 2, 3 or 4) that the preloader would not work unless you open the presentation using the associated HTML page.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • Indicator takes too long to load! How to fix?

    I have a question, after I typed my correct login information and try to connect through creative cloud that this indicator of loading lasts too long more than 15 minutes on my decent connection! It's frustrating for me, I tried the cleaning Cloud Creative tool and I uninstalled previous versions of adobe products, and I tried to rename the dll located in the user temp files or completely remove the OOBE folder! I've done everything I can. but still it is not letting me connect to download my last AE and PS apps! This is the link below for the GIF to have a better understanding of what I mean exactly after I connect...
    Gyazo - 955f1152a0dca08f501b0c3cf2d645e6.gif

    Hello

    I think you found the turning wheel on the Adobe CC application.

    Please check the help below document:

    Does not open App | Wheels of progress turn continuously

    You can also view the nets below where this issue has been addressed:

    Adobe Creative Cloud / Desktop App / Home Screen: constant spinning wheel

    Creative Cloud Desktop App taped blue spinning wheel after update.

    Kind regards

    Sheena

  • Recently, Firefox does not display PDF files. It acts like it loads the PDF file, but there is nothing there but the "program" that the document should be presented in.

    This started with 20 Firefox and persists with Firefox 21. It's never happened before. Everything is up-to-date. However, PDFs don't appear. Sometimes I see the bar indicating a load of progression and sometimes it of just the normal program PDF background, but no matter, he does not appear. What is happening with this?

    Moreover, I will eventually switch to Chrome to view the PDF file as I can't make them work in Firefox.

    Thank you very much. That seems to work. What a shame the preview version of Firefox is not longer functional!

  • How to load procedures arrival and departure GPS

    Hello

    I have been using Microsoft flight Sim X for the last month to help me become current once more with my real world driving skills that I learned in the Air Force. I am now using this Flight Simulator help me prepare for the tests of flying commercial to reach my license of civil commercial flight. I found this Flight Simulator useful enough to bring my skills to the height.
    However, when I try to use the Garman GPS device with this Simulator, I am not able to load and use procedures IFR arrival and departure . On the page 'button of procedures' of the Garman GPS, it shows arrival and departure at the bottom of this page titles but does not allow to load or select one arrival or departure from any airport.

    Don't confuse not arrived and departure with approaches. I have no problem using the procedures of approaches to airports. The Help Center for this simulator game [which goes into the details of using the Garman GPS] mentions that I'll be able to load the arrivals and departures and that it will be explained below, I have... "to activate an arrival or a departure follow steps later in this section. I can't find anywhere where it says how to perform this loading/activation of the procedures of departure or arrival.

    Arrivals and departures flight for professional pilots procedures is an essential to b practice skill. It seems that this Flight Simulator can accommodate the procedures of arrivals and departures, but I can't seem to access despite a careful search throughout all of the game literature.

    I would appreciate your help to solve this problem for me.

    Thank you

    Chad
    Thank you youThanksThanks

    Hi Chad,

    The question you posted would be better suited in the Flight Simulator X support forums. I suggest you support professional technique contact Flight Simulator X for assistance on this issue.

    http://support.Microsoft.com/GP/games-for-Windows

    http://www.Microsoft.com/products/games/FSInsider/tips/pages/ContactingTechnicalSupport.aspx

    It will be useful.

  • Vista Lite does not load

    I have a Toshiba with Vista Lite netbook. I can't load in any mode. I tried the normal, safe mode, safe mode with command prompt and debug mode. I get a screen indicating the loading files Windows that changes eventually Windows is loading files with a status bar, then the typical with a status bar Microsoft company as if Windows loads. After that, I have a black screen with a mouse. Nothing else happens. Because it's a netbook, I don't have a disk drive, and I never remember getting one any boot disk. I don't have an external drive anyway, if the disc would be useless. Any help would be greatly appreciated! Thank you.

    Hello

    What do you mean by Vista Lite?

    If you are referring to what is in this link, Microsoft does not support:

    http://www.vLite.NET/about.html

    _____________________

    All I can suggest is try to reinstall using the builtin Toshiba recovery options.

    With a Toshiba, you press 0 (zero) to the starter to start the process of recovery back to the factory settings.

    See you soon.

  • Start Impossible load or run a file specified in the registry.

    On startup, I get a message indicating "Impossible load or run a file specified in the registry" and "make sure that the file exists on your computer or remove the registry." How can I access the registry to delete this file? File is a file to user\appdata\local\temp.

    Hi DottieCalli,

    You can try to check if the file is displayed in the startup items. If so, you can try to disable the option to disable the file in the startup items.

    For more information, you can consult the following article:

    Using the System Configuration

    If please reply and we will know the results.

    Hope this information is useful.

  • The upgrade of vista activation window

    I have a HP computer I bought several years of 'NEW '.  She had the window XP by HP with a key code on the side of the computer for XP.  Later, I've updated with windows vista, which was more stable and safer.   My computer is turned off and I couldn't have managed to restart.  First, I tried the vista upgrade disc and he told me that I had to use the original windows XP to perform a recovery.  Since the windows XP has been installed by HP I had to use the original recovery discs, I did when I first bought the computer.  Then I had to reinstall the upgrade to vista.  Now to my problem: I tried to activate the vista, but since it was installed by HP there is no activation wizzard, so I used the prompt "Activate now" and he asked that I enter the code I did and he said I have used the original key not upgrade code code.  So, I am entered in the key for the windows XP code he would accept either this key code.  I called the Microsoft Support Center and tried to get help.  Finally, I need to talk to a technical support and he said that I'd give it an activation number that is indicated in the "Activation Wizzard" which I told her that I don't have the "Wizzard" because it was installed by HP.  He said he couldn't help me and hung up on me immediately.  Then, I called HP to see if they could help me get the activation number that Microsoft wanted to.  They said that my computer was more guaranteed and could not help me, but could give me to another group of service that would charge me aqpproximately $60 to help me.  I told him everything I needed was the GOOD key code for the window they've installed on my XP computer or tell me how to enter into the computer to confirm that the key code, they gave me was correct or not.  He asked for forgiveness, but my computer was out of warranty.  I bought two operating systems of windows for this computer and have two key codes and neither one of them can be activated.  The key encoded on the computer is provided by Microsoft and key coded on the Vista upgrade is provided by Microsoft, so why can't the operating system activated by Microsoft.  For both companies CUSTOMER SERVICE leaves much to be desired.  I have spent a lot of time getting this system to the top and re - install the other software that I had to go through all of the upgrade again.  I don't want to not all over again if I don't get the Windows operating system that is activated before the end of the time and the system shuts down again.

    Hello

    It seems that the Windows Vista product key has been blocked, so you may need a new product key.

    You can keep your Windows Vista DVD at hand & contact Microsoft Product Activation Center for assistance.

    Reference: How to solve the codes error Activation Volume Windows 7, Windows Server 2008 and on Windows Vista computers

    Hope the helps of information.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for

  • settings mms Android to many people

    How to send texts and pix to several people?

  • HP SimplePass - error "sensor not connected.

    I have used successfully to my software and sensor SimplePass fingerprint for a year, but he has now suddenly stopped working. A friend of my son was using my laptop and may have changed some settings in the error. Now, when I go to the control panel

  • Read a character from a file

    Hi guys I have a .txt file. In this file, the data is stored as ' $341ACF12341ACF12341ACF12341ACF12341 ' now I want to read the next 128 bytes after this character ' $'? How to run that? Thanks in advance Loïck

  • How/where can I get or Downgrqade for XP with IE7

    I'm building a new PC and for my applications, I use XP with IE7. Where can I buy XP with IE7? Or is it possible to buy WIndows 7 to downgrade to XP and IE7? Thank you

  • Change the language for spell check in Outlook Express

    Spelling previously Outlook Express worked fine, but now it checks in French.  When I go to the language page, the French is the only option available.  I recently upgraqded to Office home and Student 2007 and it started after that.