BLACKBERRY10NDK: Import and run the example program HelloWorld

Source: Internet
Author: User

Bb10ide Select Menu File->new->example ...



Select Blackberrycascadessamples->blackberrycascadesc++projectfromsdksamples



Let me pick an interesting example program, choose Lightningcrossfadeqml. As the name suggests, this is a QT program that uses QML to write the UI.




If you have previously configured a simulator or a real machine for your development tools, then click the Cancel button to ignore this step.



We can see the import of an example program project and show the source code of the main program main.cpp.



Before running this example program in the simulator/real machine, you need to buildproject to generate the binary code of the corresponding X86/arm platform.


After BuildProject,

Console display buildfinished

At the same time you can see in the project binaries directory, the following is the corresponding platform binaries, such as X86/le



Next, we can click the Run Down button, choose runconfigurations ...



Double-click the New button in the upper-left corner and tap the Run command button.


Console displays downloadingandstarting. Application ...

IDE development tools are later connected to the BB10 simulator or the real machine via the TCP/IP network, deploy the application, start the application


See the interface of this QML program in the simulator/real machine.



Pull the round button on the scroll bar to the right and you can see the button outside a beautiful blue halo, the picture from night to day.



Looking back into the BB10 development tool, you can see that after runconfiguration, there is a barpackages directory in the project, and there is a bar file below.



In the qnxsysteminformation perspective, you can view the application directory that is deployed under the/account/1000/appdata/directory on the BB10 file system, the corresponding binaries, and the configuration file Bar-descriptor.xml.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.