Question very, very based on QML...

I'm new to BB10 development and I have read on the provided tutorials and reference materials. As the title of my post, I have a very basic question for QML who may have a not so fundamental response:

Just what exaclty QML can be used for? Literature in the documentation seems to suggest in places that QML is used for user interface elements scripts, while behind the scenes is done by code written in C++. Other documentation seems to hint that an application can be written in QML although the only examples I've seen of this apps that really only window UI elements.

I guess that a shorter question would be: can I write a useful application entirely in QML without ever touching the C/C++?

On a related note, when someone says that they wrote the app in "cascades", what are they referring to? Is the sequel to stunt development? It is referring to the use of QML / C + c++ / QT?

You can think of as an extension of Qt which allows a more sophisticated user interface specially design for phones BB10 Cascades.

QML we can consider, at its simplest, as a way to describe how you want to place controls on the screen.

Where it gets complicated is the ability to use JavaScript in the QML himself file.

So yes, it is possible to write completely competent applications entirely in QML/JavaScript and do not write any C++.

A good starting point is the free to download the book of development...

http://supportforums.BlackBerry.com/T5/social-lounge/free-BlackBerry-10-development-eBook/TD-p/28358...

Tags: BlackBerry Developers

Similar Questions

  • Configuring PIX Cisco Question - very limited info. Sorry!

    People,

    Have been put to me a quetsion on a Cisco PIX (I don't know what model it is) who I know very very limited. The person asked me the question, is to help someone else! I apologize in advance for the lack of information here, but Im hoping that someone who has expertise in PIX experts will be able to diagnose the problem, or ask the question to the bottom of the chain to address this problem. The question they asked me: -.

    "Can't get NAT works correctly between the demilitarized zone and other ports.

    I know that it is very skectchy, but because I'm not a firewall or security Im not sure what I want or what questions I need to ask. I have however a copy of the config, if someone can help, we'd really appreciate it.

    Config is attached.

    I think that the above is not a problem.

    However, here it is a question;

    static (dmz1, external) 20.20.20.252 switch1 netmask 255.255.255.255 0 0

    static (dmz1, external) 20.20.20.22 switch1 netmask 255.255.255.255 0 0

    I think it should be;

    static (dmz1, external) 20.20.20.252 switch1 netmask 255.255.255.255 0 0

    (dmz1, external) 20.20.20.22 static nlbweb1 netmask 255.255.255.255 0 0

    Let us know if this can help,

    Paul

  • A question very newby

    Hi all
    I am a new learner of Flex and action script. I just got a very simple question that, for example, if I have 3 HBox:
    < mx:HBox id = "1"... / >
    < mx:HBox id = "2"... / >
    < mx:HBox id = "3"... / >

    So in my class action, for example, if I use:

    var text: text = new Text();
    ....
    This.1.addChild (Text);
    This.2.addChild (Text);
    This.3.addChild (Text);


    Then my model does not, I think that there is a mistake or something. So if I want to create a single component registered in containers of 3 or more different, can I do this?

    If can't, so how do I just create a component and use it in several places rather than create several components and change one after the other?


    Thanks in advance!

    Yes, a single instance of a component may have a parent.

    You try to 'text' in three parts. Create a new instance for each component.

    Tracy

  • Question very Simple

    All-

    I installed Photoshop CS5 the other day and was very impressed by it.  The only thing that I am "missing" is the outline of the elements, I am in the process of selection.  For example, in previous versions if I used the rectangular selection tool to make a selection of everything I was selection was the boarder/plan dotted around it while making the selection.  As soon as I release the left button of the mouse, I can see the selection I made now has a boarder/outline around him.  I wish I could see this plan while I am dragging/make the selection.  Where in CS5 enable this?

    Thank you

    Brian

    Sounds like a bug, go to Edition->-> Performance Preferences and disable OpenGL drawing if it is not already, create a new document and try again

  • FTP question; very basic

    I don't know how to configure FTP file transfer to start a Web download.

    Where can I get the information to fill in the fields?

    Help, please

    Screen shot 2009-12-08 at 1.57.27 AM.png

    It is another way to follow is SmugMug or Zenfolio. In fact my site has its own gallery, but connects also with my Smugmug Gallery for sales. Either way Lightroom has plugins that make it very convenient to download images SmugMug and Zenfolio:

    http://regex.info/blog/Lightroom-goodies

  • question very simple-how to fill a shape I draw with color

    Hello. I'm new to photoshop and have a lot of trouble to choose no matter what form that I shoot. I'm doing a tutorial that is to fill a gray canvas, then by drawing a small white rectangle inside the largest canvas/rectangle gray. (I have not forgotten to unlock the bottom).

    My question: How can I select and fill (white) the second rectangle I draw over a gray rectangle?

    In general, I can not understand how to select or fill any shape I draw using the rectangle tool. Similarly, the forms of brand tools are no help because I can't my gray rectangle to select and fill it with a white fill inspired brand. I also tried to use a "layer of filling.

    I'm almost certain that something is wrong with my computer (I have reset), but still I have not used photoshop in over a year. Any help will be greatly appreciated.

    The Rectangle sgould tool create a work path, to shape layer or fill pixel according to the settings in the Options bar.

    The rectangular selection tool should create a selection that you could edit > fill or use it as a layer of a solid color layer mask.

    Could you please post a screenshot with the relevant panels visible?

  • Scripting Question - very basic

    Hello, I use the trial version of InDesign and wonder if because it's the trial version that I can't load Adobe custom scripts?  I downloaded and installed a custom calendar script [I can see the files extracted in/on my PC] but the app apparently doesn't see it.  Any help you offer is greatly appreciated.  Thank you

    Do you have script thew somewhere that InDesign uses scripts? See How to install scripts in InDesign | InDesignSecrets

  • Noob question very basic understanding of creating classes

    After learing some scripts procedure that I have just begun to understand OBJECT oriented programming and have a problem with a basic like this stuff. Why my Try.as below does not work when I type Try (1); in the main file. Exit says: has no Type constraint: cannot convert 1 in Try

    package {}
    public class Try {}
    public void Try(some:Number) {}
    some += 1;
    trace (a little);
    }
    }
    }

    use:

    var s:Try = new Try (3);

  • Question of function-based Index

    Hello Experts,

    I am wondering something simple relating to the funcion according to index. Lets say I have a FBI something like the following.

    CREATE INDEX idx my_fbi ON my_table (substr (nls_lower (my_column),1 25));

    Maybe it's a very basic question, but SERIOUSLY, I want to know. My question is, when I use this index, including the rating should I use other side of the equal sign? and WHY?

    SELECT * FROM my_table WHERE substr (nls_lower (my_column),1 25( ) = 'ali';

    OR

    SELECT * FROM my_table WHERE substr (nls_lower (my_column),1 25) = substr (nls_lower ("ali"),1 25( );

    Thank you 1 million for your great comments.

    Best regards

    Charlie

    using value once the '=' sign would be more effective if you already know the value because in this case Oracle does not need to evaluate the expression, but if the values are not known, then you have to use the expression.

    Exact values are more efficient than expressions, especially when the expression is already evaluated and it must be evaluated at run time.

    Onkar

  • Change the contents of cell based selector QML property in container QML

    I have a selector in which I want to have the text in each cell selector display in one of two ways, depending on the State of another control in the QML that surrounds the selector and the other controls.

    My first attempt used only a QML based Picker with PickerItemComponents.  The PickerItemComponents had their text property set to the return value of a utility JS function that takes two arguments - the PickerItemData extracted string and an indicator a boolean to indicate the JS function how to change the string returned to display in the cell of the selector.

    When I try to spend a QML property set on the selector for JS calls in the PickerItemComponents, I get an error log saying:

    "" ReferenceError: can't find variable: ".

    I assume here that a PickerItemComponent is missing the context of the selector containing the same way that a ListItemComponent is not the context of the parent company of the ListView.  However the docs of PickerItemComponent do not seem to set all of the properties that I could use similiarly to the ListItem.view property, which is ListItemComponent.  (In fact, the PickerItemComponent docs don't same spec property of pickerItemData - it only appears in example code).

    So the next thing I plan extends the C++ PickerProvider class.  However, it seems that this class inherits QObject, not so I don't know if once I go to the trouble to write and expose my own version, I'll be able to finally get the QML of the container including down in the correct callback inside my custom PickerProvider.

    Anyone who has been in this way, please share your experience/solution you are able - thanks!

    You can try @simon_hain replica of this thread
    http://supportforums.BlackBerry.com/T5/native-development/using-QProperty-for-a-label-inside-list-VI...

  • IOM: Question of reconciliation based CSV

    I'm accommodating users of flat file in IOM using GTC for IOM 9101. My data has the ID field Director filled for all user records. While conciliatory, IOM checks if the user in the managerID field is present as a user to the IOM. If this isn't the case, it does not have the value in the field. If it is present as a user of IOM, then he puts the value correctly.

    This seems to be correct, but any behavior by reconciling I can't be sure to reconcile management first, followed users - almost impossible. Seems to be a fundamental question, what is the usual way out? I see one.

    Make the Manager ID field in the form of the user to create a field of text instead of a search, reconcile, then do a search.

    Is thus always finished sound or there is a better solution. IOM tries to be clever here, but this isn't help :-)

    Thank you!

    If its a time of reconciliation, then you can also do this from a standalone java program, in this way, you do not have to write even a scheduled task.
    -Remove the attribute of CSV Manager
    -Reconcile
    -Update the stand-alone java program manager field.

  • SQL question - aggregate rows based on the value of the columns

    Hi all

    DBA_EXTENTS reports on the number of starting point of measurement (column BLOCK_ID) and the size of the scale in the Oracle (BLOCKS column) blocks.

    I'm trying to combine the lines of the segments of same as if their associated extensions are adjacent.

    For example, assume that the data in the view are as follows:

    Nom_segment Block_id BLOCKS
    EMP108
    EMP188
    DEPARTMENTS2616
    DEPARTMENTS428

    EMP

    5016EMP668

    And I want to do a set of results that looks like this:

    Nom_segment Block_id BLOCKS
    EMP1016
    DEPARTMENTS2624
    EMP5016

    I thought to use an analytical query, but I couldn't find something that meets this requirement.

    Can you please help?

    Hello

    Here's a way to do that using the analytical SUM function:

    WITH got_grp AS

    (

    SELECT nom_segment, block_id, blocks

    , block_id - SUM (blocks) over (PARTITION BY nom_segment

    ORDER BY block_id

    ) AS the grp

    FROM the data

    )

    SELECT nom_segment

    MIN (block_id) AS grp_block_id

    SUM (blocks) AS grp_blocks

    OF got_grp

    GROUP BY nom_segment, grp

    ORDER BY grp_block_id

    ;

    The data you posted in response to #3:

    Pini Dibask wrote:

    Thanks Frank,.

    If you would care to post CREATE TABLE and INSERT to your sample data and the version of your database, then I could show you exactly.

    The Oracle version is 11.2.0.4

    This is the CREATE TABLE and INSERT statements for the sample data:

    CREATE THE TABLE DATA (NOM_SEGMENT VARCHAR2 (20), BLOCK_ID NUMBER, NUMBER OF BLOCKS);

    INSERT IN DATA VALUES ("EMP", 10, 8);

    INSERT IN DATA VALUES ("EMP", 18: 8);

    INSERT IN DATA VALUES ("DEPARTMENTS", 28, 16);

    INSERT IN DATA VALUES ("DEPARTMENTS", 42, 8);

    INSERT IN DATA VALUES ("EMP", 50, 8);

    INSERT IN DATA VALUES ("EMP", 66, 8);

    is not the same as the data in your first post and the results are not the same, either.

    The fixed difference technique involves lines don't overlap.  In the sample data in response #3, 'DEPARTMENTS' lines overlap, i.e. blocks 42 and 43 belong to two segments.

  • Bridge CC is VERY SLOW on my iMac

    CC of Photoshop, Lightroom CC & CC bridge give me a question VERY SLOW on my iMac. I thought after I erased from my hard drive (now it is more than 70% free at 705 GB of free space) I'd move quickly for each task, but it's far too slow. I can't see the rotation range ball that I do my job (and family!). I have a 2.93 GHz Intel Core i7; 16GB 1333MHzDDR3. with an ATI Radeon HD 5750 1024 MB. Please help me understand what I can do to solve this problem.

    Hi gailh

    Please see this link resolve errors, freezes | Adobe Bridge | Windows, Mac OS

    Concerning

    ~ Assani

  • A few newbie questions

    Ok, I am a fanboy of Adobe, Photoshop/Illustrator ACE but I'm a video / graphic guy My employer is about 'apps' that they average / envy = applications that run on all smartphones modern and major players in the Tablet world. I had a divorce with writing code about 4 years ago (we all have two happy summer separated from eachother) but it feels like I will be together soon.

    Looking for some quick info to get used to the speed (note that I Master Collection CS5.5):

    1. Type of code: Action Script 3 ? HTML? Or lazy build in Flash?
    2. We would start Flash or Flex SDK?
    3. Currently, they want to read on an iPad... then tomorrow a Playbook... but always on an iPhone and EVO... is it something to be considered early in the process?

    I realize, these are newbie questions VERY and it's a long way to follow, thank you for contributing to the trip!

    Nick

    Hi Nick,

    I think it depends on type of content/content/deployment.

    If it's only video content to be played in standalone or web apps that look like native and support wide range of devices - then your suite already comes with Dreamweaver 5.5 - who has for example jQuery Mobile for web based application development/deployment and PhoneGab for native-app - all code development with html/javascript and two of them takes charge of video content.

    With Flash CS5.5 you get timeline based development and authoring tools - but nothing in the simplified UI that comes with the spark in Flash Builder (Flex SDK). Outputs the CS5.5 Flash and Flash Builder 4.5 using the same development tools Adobe Air (more to read on the page of software development given).

    Oh: web development with Dreamweaver and jQM does not require App Store submission process required otherwise for the content generated with Flash CS/Flash Builder or with PhoneGap in DreamWeaver.

    Kind regards

    Peter

  • Questions about MDB

    Hi all

    This question is just based on what I observed when deploying an MDB and send messages.

    Configuration:

    Has deployed an MDB on Admin Server.

    Comment:

    Current consumption = 16
    Consumer high = 16
    Consumer Total = 16


    Some messages sent and was able to consume these messages through the MDB successfully (no problem)

    Cancelled the MDB

    Current consumption = 0
    Consumer high = 16
    Consumer Total = 16

    The MDB has deployed again

    Current consumption = 16
    Consumer high = 16
    Consumer Total = 32

    Weblogic server restart

    Current consumption = 16
    Consumer high = 16
    Consumer Total = 16


    Issues related to the:
    1: Why is there 16 consumer... .is this default or we can modify them?
    : 2 16 consumers, what it means at the same time, I have 16 consumer consuming or read to consume messages?
    3: after the redeployment of the MDB, I observe that total consumption number is 32, this just means the total number of available consumer until Let's restart weblogic?



    These issues could be very basic, but I'm pretty new to weblogic, so you'd be grateful if someone of you could share your knowledge with me.

    Thank you
    Stacey.

    Published by: stacey on 7 Sep 2010 17:44

    Published by: stacey on 7 Sep 2010 17:47

    1: Why is there 16 consumer... .is this default or we can modify them?

    It is the default value. See chapter MDB of the Performance Tuning guide to change:

    http://download.Oracle.com/docs/CD/E14571_01/Web.1111/e13814/mdbtuning.htm#PERFM271

    : 2 16 consumers, what it means at the same time, I have 16 consumer consuming or read to consume messages?

    Yes.

    3: after the redeployment of the MDB, I observe that total consumption number is 32, this just means the total number of available consumer until Let's restart weblogic?

    N ° it simply means a total of 32 consumer have been created, 16 of them have been closed when you redeployed, and 16 are open ("current").

    Kind regards

    Tom

Maybe you are looking for

  • Tecra R840 & hi speed duplicator USB not recognize WD 1 TB usb drive

    Hi all Something strange happened to my * Terca R840 * with Windows 7 pro 64-bit and a * hi speed usb port replicator *. I have an a TB western Digital USB hard drive (* 3.0* USB). However, my laptop computer and of the Port Replicator high-speed sto

  • Access no longer work after the abduction of (Server Essentials 2012 R2) Direct access

    Hello Ive been running around access to the company I work for, its been working well for almost a year. I removed a direct access and remote access via the menu "Roles and features" in the Server Manager, since then it is not working and when I try

  • code 80072efe

    code 80072efe updates for windows vista

  • Dull Interior photos

    When you take pictures of Interior (i.e.: wedding reception) with EOS50D & EFS 17-55 mm f2.8 zoom, in manual or automatic mode, the shots are not clear, sharp and a bit too dark. ISO1600, 1/125th shutter and f4.5, auto focus. Can someone help me? It

  • How to print with 10 HP

    HelloI have a HP Tablet and new in the world of Android and do not understand the to send a document to my printer. The problem is that I get an email with a PDF and when I opened the attachment, that it goes to Adobe reader and when I select the pri