Active frames

I don't see any documentation or tutorials on these.  Anyone know how to make them?

Nevermind, I found it in the fundamentals of waterfalls

For those who want her here: https://developer.blackberry.com/cascades/documentation/dev/fundamentals/index.html

and its Application: setCover()

Tags: BlackBerry Developers

Similar Questions

  • The Devs creating their active Frame for a separate QML file covers? I'm stuck

    Bit in trouble, I do my best to bring my Apps support 10.2.1 10.2.2 I practically everything by working the * beep * covers Active, I did do a check and create the file QML according to less than 10.3 or greater

     ComponentDefinition {
                id: creator;
                source: ""
                function createQMLObject(sourceUrl){source=sourceUrl; creator.createObject()}
            }
    

    Feel free to use that btw ^.

    if(olderFirmware===true)  Application.setCover(creator.createQMLObject("CoverOlderFirmware.qml"))
            else{Application.setCover(creator.createQMLObject("Cover.qml"))}
    

    Now for some reason, they do not work, they seem to be created, but do not want to show, normally I would create it from my main.qml but the passport and its lid Multi forced me to separate the covers in their own QML files

    Begins like (not included UI code)

    import bb.cascades 1.2
    
        SceneCover {
            id: large
    
            content: Container {
                background: Color.create("#000000")
                layout: DockLayout {}
    }
    }
    

    Place in a container gives me a weird error on not able to create a list in an object, probably referring to MultiCover and SceneCover as a child of the container.

    Any suggestions?

    I use active selector to do this, find in this application example:
    https://github.com/RodgerLeblanc/AssetSelector

    This method can support 10.2.1 users and below, don't forget to add the lines of c ++ this blog:
    https://bb10code.WordPress.com/2014/12/10/active-frame-made-easy/

    Check your email, I also sent you something on your last post on the forum.

  • Waterfalls: NotificationDialog in the active Frame

    Hi @all,

    I want to implement a "alarm" - functionality of my application, which displays a Notification dialog box in some situations. I get the job of Notification dialog when the application is in the foreground. However, the application will be often minimized. I tried to create a Notification dialog box in the active Frame, but it is not displayed.

    Now my question: is it possible to display a Notification dialog box, while the app is an active Frame (and how)? I think that it should be possible because it is an important feature, but I couldn't make it work.

    Thanks a lot for your help!

    Peter

    OK, I found the solution on my own. It is possible to display active frames notification dialog boxes. The implementation is the same as put forward app. My problem was that I got another error that prevented the projection dialog.

  • Active frame, the Splashscreen being thumbnailed-> error

    Hi, I am adding active frame on my apps (dynamic image as a backdrop)

    It works well, but it has a problem: app still the splashscreen-> being thumbnailed-> (see only black)-> when tap in the foreground, near app.

    What could cause the problem?

    Thank you

    Hi, I have change the location to setCover after some process done httpRequest. And the app will not fill again.

    Was before I put setCover on constructor ApplicationUI.

    void ApplicationUI::setActiveFrame()
        {
        iIsActiveFrameSet = true;
        MyActiveFrame *activeFrame = new MyActiveFrame();
        Application::instance()->setCover(activeFrame);
        iQmlDocument->setContextProperty("_activeFrame", activeFrame);
        }
    

    Thank you

  • Cover (active Frame) alarm SHOOTING when wide screen

    While my application is in Active Frame mode, I have an alarm that fires based on a set of users. The user gets to set the interval on how often updates the screen of the frame of the cover.

    When debugging my application using the Alpha of DEV, I noticed the continues to fire even when the screen turns off alarm. To help reduce battery drain I would cover alarm to stop cooking when the screen turns off and start over when the screen is back on. Is this possible?

    The alarm I set is: QNXSystem.system.setAlarm (1000 * alarmTime, True);

    IowWindowEvent.WINDOW_STATE_CHANGED allows you to control exactly if your app is only minimized or totally hidden, so you can cancel the events system, while they are not necessary (IowWindowState.THUMBNAIL, IowWindowState.HIDDEN, and IowWindowState.NORMAL

    My app: Get set - get up!   Get ready for the revolution snooze.

  • All tuned if app is put in the active frame?

    I have an application that uses the constant GPS, but it doesn't have GPS if the user does not interact with it. Is there a way I can hear if my application is put in and outside the active? I want to be able to have the GPS off when my application is in active frame mode and turned on when it is open.

    Thanks in advance. The answers will be be loved and solutions marked as resolved.

    Hi bmrr,

    You can find this blog useful to make your application to listen to the signal of thumbnail():

    http://devBlog.BlackBerry.com/2013/08/listen-up-to-those-important-lifecycle-event-signals/

  • Dynamic active frame with the data from a file

    Hello

    I'm looking in creating a dynamic active setting (like the BBM active frame that has a title of the header and moves through updates).

    I will create a page that has a heading "interesting facts" and then labels different facts and I was wondering how I would go on the establishment in order to create a dynamic active frame that scroll the different labels?

    Thanks in advance

    Hello

    You can follow the example of code here.

    https://github.com/BlackBerry/Cascades-samples/tree/master/BFB-showcase

    The "activeFrameQML.cpp" has this feature

    {voidActiveFrameQML::update()}

    TODO: Replace with piloted by data update instead.

    If {(isActiveFrame)

    QTimer::singleShot (10000, this, SLOT (update ()));

    issue of updateChanged();

    }

    }

    And you can place your updated code in the 'AppCover.qml' to update your ActiveFrame

  • GroupDataModel in an active Frame (aka Cover)?

    Hey guys,.

    I have an active frame for my application that uses a simple ActiveFrame class (derived from examples on the ' net).  He received an ImageView and a label.  in my main.qml I connect the signal of thumbnail() to an onThumbnail() function and send the text to the ActiveFrame class to update the label by a Q_INVOKABLE update() method.   Everything works beautifully.

    I would replace the label with a ListItemView that is attached to a GroupDataModel in my main class (a class of client Manager 'work').

    How can I go on the passage of the GroupDataModel to the SceneCover?

    the job manager and the scene covers both are exposed to QML via setContextProperty.

    Can I put a GroupDataModel as a property on my SceneCover and set it with a Set accessor method?

    is there a better way to do it?

    EDIT: update, I tried simply adding a ListItemView to the SceneCover.qml page and some properties Label.text of binding to the property of the presentation object workManager representing the GroupDataModel, but the ListItemView on the SceneCover is empty.

    Thank you!

    J

    OK, solved it myself.

    First of all, in the applicationui.cpp file, I put the parent to my WorkManager object and the SceneCover object:

        // Create a WorkManager
        WorkManager * workManager = new WorkManager(this);
        qml->setContextProperty("workManager", workManager);
    
        // Active Frame
        ActiveFrame * activeFrame = new ActiveFrame(this);
        Application::instance()->setCover(activeFrame);
        qml->setContextProperty("activeFrame", activeFrame);
    

    Then, in the constructor for the class ActiveFrame, I find the WorkManager and define a context property.

        qDebug() << "ActiveFrame;:ActiveFrame(), my parent is " << parent;
        wm = parent->findChild("myWorkManager");    QmlDocument *qml = QmlDocument::create("asset:///SceneCover.qml")
                .parent(parent);
        Container *mainContainer = qml->createRootObject();
        setContent(mainContainer);    qml->setContextProperty("myWorkMgr", wm);
    

    After having done that, I can access properties, in particular, the GroupDataModel property of the WorkManager.

    not sure if it's the "right" way to do it, but it seems to work reliably.

    see you soon,

    J

  • How to disable or remove an extension of the active frame?

    How to disable or remove an extension of the active frame?

    Hello

    Get access to the responsibility of the functional administrator, click personalization - > search path - > go ahead and select Update customization
    You can check / uncheck peronalization (use box) and select personlization to disable or remove customization to undo changes.

    Note: Customization of Delete will delete the data server (MDS) Meta peraonlization

    -Had

  • The C/C++ libs give access to the active Frame outside the waterfalls?

    Native libraries in C/C++ can access the Frame active outside waterfalls?

    Inside of the waterfalls, I would use ScreenCover but this class is connected to the object Application of Cascades. As a QT application my code has only the QApplication object available.

    There is a set of functions in navigator.h 'cover of window' bunch, and I suspect that what you use is among them.

    They appear roughly underdocumented, however, so I don't know to what extent you will have with him unless there is a sample. See for example: https://developer.blackberry.com/native/reference/bb10/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_r...

  • New window (active Frame) of the API File Path coverage helps

    I'm still learning, but I can't understand how to deliver the active location of my frame image in the new window cover api.  Here's my function that is called from the entercover event listener.  The image is a jpg in the images of my webworks app folder.  Any ideas?

    
    

    Few things to note-

    Also, you must wait until you entercover. You can do it anytime and entercover is for you to know when the cover is about to go, then you can start an interval or something, if you want to be updated with the information from your server

    path must be a full path
    'file:///accounts/1000/shared/downloads/windowcover.png '.

    If you want a path to local file, you can use (for files in your content)

    'local:///images/active_frame.jpg '.

    I have not yet complete samples but you can take a look at our test scenarios

    local path-
    https://github.com/BlackBerry/BB10-WebWorks-framework/BLOB/master/test/functional/manual/BlackBerry...

    https://github.com/BlackBerry/BB10-WebWorks-framework/BLOB/master/test/functional/manual/BlackBerry...

    Samples should be available soon.

  • Not Actived frame "CHASSIS-LIMIT-EXCEEDED."

    Hi all,

    We have an infrastructure with two fabrics of interconnection Cisco UCS 6120, the version installed is 1.2 (1 d), now that we have connected 12 chassis UCS 5108 with 1 link in 'Political discovery Chassis', so we have 12 port configured server and we have installed all the port licenses required on each interconnection fabric.

    We have the 1.2 (1 d) version supports up to 12 chassis running, but we can not activate more than 10 chassis, in the UCS Manager appear this message "CHASSIS-LIMIT-a EXCEEDED."

    Can anyone help us.

    Thank you, bye

    Marco Pagani

    In 1.2 (1 d) UCS does support more than 10 chassis. In support of more, the UCS must be upgraded to 1.3 (1 c) or higher.

    Hope that helps.

    Thank you
    Michael

  • Active image tag

    Hello

    I am trying to create a framework of active and wanted that she look like active frames the native BlackBerry apps where there is a label at the top of the active frame and icon at the top right.

    I have sorted out etiquette:

    Container {
            background: Color.Black
            opacity: 0.8
            leftPadding: 10
            rightPadding: 10
            topPadding: 10
            bottomPadding: 10
            horizontalAlignment: HorizontalAlignment.Fill
    
            Label {
                text: qsTr("Useful Facts")
                textStyle.color: Color.White
                textStyle.fontSize: FontSize.Medium
            }
    
        }
    

    But I don't know how to get my icon to sit in line with the label, like the image below. Also, what size the icon should be for both devices Q & Z and I'd be able to change the calibration in Momentics or I need to create more than two copies of the icon?

    Thank you

    Use a DockLayout

    Then place the label first and second Image

    The horizontal label LEFT and vertically CENTER

    CENTER of RIGHT and vertically image Hor.

    Maybe using translateX and translateY to justify

  • Active executives Z30 blackBerry disappearing randomly on Z30

    Hello

    My active frames apps sometimes close without reason.  Most of the apps I have open at the same time is usually 4-6.  I usually close apps when I'm done with it.  Is it possible that my BlackBerry learned my habits and stop my frames active apps on the fly? I 10.2.1.2102 STA 100 - 5 (Z30) model.

    Thanks for the help in advance.

    In addition I've seen this happen more (active closing & low memory) when the unit has not been restarted for some time. So, if you see this often, restart your BlackBerry.

    Now on the power button on top for about 20-25 seconds until the screen turns black and the red LED flashes for start up.

  • How to select all the text in the active text block?

    Hello!

    I need a simple script for:

    1. Select all the text in the active frame (ctrl + A)

    2. Paste from the Clipboard (ctrl + V)

    3. go in the beginning new text (ctrl + Home)

    and

    4. Insert the 2 paragraph marks (press enter 2 x).

    That's all.

    I tried, but I'm not not an expert, only good script in DTP and pre-press.

    Thank you.

    Here you go again-

    if (app.selection.length > 0 && app.selection[0].hasOwnProperty ('parentTextFrames')) {
        frame = app.selection[0].parentTextFrames[0];
        frame.parentStory.contents = '';
        frame.insertionPoints[0].select();
        app.paste();
        frame.parentStory.insertionPoints[-1].contents = '\r\r';
    }
    

    Peter

Maybe you are looking for

  • Wireless network card does not appear in the Device Manager on Satellite L50 - B - 1 DM

    Hello!I bought just new Satellite L50 - B - 1 DM, model number PSKTCE and installed on Windows 7 Professional SP1 64 bit. He came without OS installed and without driver installation disk. Problem is that Wlan card does not appear in Device Manager.

  • Satellite L750D-14R - keyboard missing letters when you type

    I recently bought a laptop L750D-14R and he has problems with the keyboard completely ignoring letters when you type. If I type any faster than the pace of 1 finger of each hand, and then I can abandon typing altogether.If anyone else has had a simil

  • Premium vs potentiometer only finished reading

    Hello I want to read a potentiometer supplied with voltage the + 5V and GND signals from the DAQ card. I thought to connect output GND directly on the potentiometer and use single ended mode. Is there any point in using the differential mode in this

  • Download of errors due to a worm Viruis

    My computer won't let me download or update, he always tells me that I have several errors, reg.exe and C:\Windows\System32\rundll32.exe Appication not found error, I can not add or remove all the programs because he won't let me place this file at a

  • Windows Mail: "certain elements in the"Deleted items"folder not can be removed."

    I've scanned against viruses and software advertising and deleted all my browsing history and cookies.  I restored my computer to an earlier date, before I had this problem. I have 112 deleted messages but when I open the file there is nothing there.