question about developing native applications

Hey there,
is it mandatory to develop a native app - c ++ stuff is essential to work with qml or can we develop the whole project only with qml coding... ??
. S

very probably the button calls a method from a class c ++, in the samples probably from applicationui.cpp.
check if the called method exists and is marked as q_invokable.

read
https://developer.BlackBerry.com/native/documentation/Cascades/dev/integrating_cpp_qml/
to know the basics.

Tags: BlackBerry Developers

Similar Questions

  • Question about updating an application SE

    Hi all

    I'm about to update to only one edition, we did last year.

    It contained our customer catalog 2012, which will be replaced by the issue of 2013.

    When you work on this update in iTunesConnect, a dialog box wonder what follows:

    ' Have you added or made changes to the functionality of encryption because you downloaded last a binary for this product?  (Yes)  (No.) "

    Anyone know what this means exactly?

    Thank you!

    The answer is no. Adobe did not any changes of encryption when developing applications.

  • A question about the job application process

    Hey.

    Recently, I applied for the post of trainee on "jobs.apple.com.

    I guess that I have completed successfully, it causes, I received the email telling me to wait until a recruiter turns to me.

    But after about 3 weeks I'm still nothing happens.

    One point that caught my attention is the menu of 'Activity', 'Submissions' Party it shows my time submit but the 'Questionnaire' part is empty.

    Should I do something about it?

    Also, is there a way that I can follow the process and be aware of what is happening to my presentation now?

    Regrads, Madrassah.

    Don't worry, part "Questionnaire". It may take as long as six weeks before receiving any communication. Unfortunately, Apple does anyway in response to your presentation.

    Good luck with your job search with Apple!

  • Question about the FND application R12 Oracle connection

    Hello

    I need a query to search for if logging is enabled in the application of R12. Recently, some users have allowed FND logging in the Application, although I have disabled logging
    but still, I want to know which allowed logging in it.

    The EBS version: 12.1.2
    Database version: 11.2.0.1
    Operating system: Aix 6.1

    Kind regards
    Gerard

    I checked another profile option, as we have implemented SOA.

    CONTEXT SHORT_NAME NAME LEVEL_SET VALUE
    ------------------------------ ---------------------------------------- --------------- ------------------------------ --------------------------------------

    FND_SOA_AUDIT_ENABLED SOA: Service Monitor ON Site

    He is one.

    See your other thread - Re: oafmstd.out size of the file increases very quickly

    Thank you
    Hussein

  • Back with a question about a certain application

    Hi guys, been away for a while, trying to write a scenario... hahahahahahahahaaaaaa! No, seriously...

    Anyway, in the meantime, I've been checking out Andrew Kramer's video Copilot website, which he called "Action Essentials 2" for the sale of software. In the list of compatibilities, the first name is mentioned. But being a noob, I thought it would be good to check further in case I read wrong.

    So no one knows all this particular software package? And, a - that someone used in first Elements 7, (this is what I have).

    Thank you, all,.

    Kurt.

    Maybe it is a good question to post on the Muvipix forum at http://muvipix.com/phpBB3/

    At Muvipix, you will find people with a greater variety of experience with these types of products you will have here.

  • Question about ActionBar on the first screen of the application

    Hi, I have a question about the actionbar behavior in the first screen of the application

    index.htm pushes immediately main.htm with actionbar. ActionBar clicks and responds correctly until I have add overflow on some buttons.

    When I click on the button of overflow, the overflow is displayed at the bottom of the page, the top of the overflow is put in correspondence with the upper part of the actionbar so buttons actionbar overflowing content is not visible.

    I reproduce this problem with the sample application.

    This is expected behavior? Is there a way around it?

    I was able to reproduce the problem and have connected it

    https://github.com/BlackBerry/bbUI.js/issues/329

  • Technical questions about the development on the BlackBerry PlayBook

    Hi, guys

    Hope this is the right place to post my thread...

    I was asked to develop an application on BB PlayBook (I'm an absolute beginner on this point, however), and now what I have to do is:

    place an image in my application, and tapping on the image, the application will open a. PDF file.

    However, I'm stuck here because I did some research on this one, looks like on BB PlayBook, the only way to open a. PDF file is to be opened with Adobe Reader (version BB). My 2 questions are:

    1. how to call the Adobe Reader to open a. PDF file in my application? I tried the "browseForOpen' from the 'File' class method, it opens a file picker in my application, and I can see the. PDF file here, however, when I select the file and click 'Open', it will not open the. File PDF... and, of course, it will not

    2. based on question 1, on BB OS tablet is it possible to open a file without showing up the "file selector"? I would like to have the opened file directly as long as I click on the image that links to the file.

    I would be grateful if you could give me a quick points up on this.

    PS: I use Adobe Flash Builder 4.5 as the dev. IDE and build up my app as a Flex app.

    See you soon!

    Terry

    Try the function navigateToURL (...). In addition, the class File (openWithDefaultApplication) and QNXApplication (openFile) class contains the methods to open applications preferred, based on a file.

    Before BBX 2.0 Beta, these two methods did the same thing (it didn't). It has been reported as a bug, but I'm not sure if that has been resolved. Need to try all 3 methods to see which works for your needs.

  • A question about Application module and bounded taskflows

    Hello

    One of my friends sent me this question that I could not answer. The question is:


    Your application contains a workflow bounded with four pages.

    The pages are all based on different application modules and the workflow has the property of transaction, the value 'Always Begin new Transaction, and a commit operation is defined as the return of the activity. The user makes a few changes on each page, but a validation failure happens on the links on the third page.

    Which of these scenarios describes the outcome of this situation?

    A. None of the changes on pages undertakes all are cancelled.

    B. pages one and two and four engaged; page three is not validated.

    C. changes to the first two pages are validated; changes on the last two pages are not committed.

    D. it depends on the value that has been set in the property Transaction on each module of the application.

    I suggest the answer is A, but the answer my friend is C.

    What is your suggestions

    Thank you

    You are right.

    The point of transaction is that a couple of operation may be validated or cancelled together.

    If a stubborn workflow starts with a new transaction, when he wishes to complete, he must call a task flow return activity validation or cancellation. They call the underlying commit() or rollback() operations on the associated data control framework, essentially validation or restoring all the data attached to the frame controls.


    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/ADF-task-flow-TRANS-Fund-v1-1-1864319.PDF

  • Start the native application of the android app

    I need to do a task which is not allowed to make an android app. So I created a native app and I want to start this app for my android app. Is this possible?

    I found this question as soon as 2013 (https://supportforums.blackberry.com/t5/Android-Development/How-to-register-my-Android-app-as-Conten...), but it's 2 years old...

    I don't want to develop my entire application natively.

    Thks in adv

    It is possible to what you describe.  An Android application can invoke a native BlackBerry 10 application.  You can even create a headless BlackBerry 10 app that runs in the background (similar to a service on Android).  So the action can be executed without the user see the GUI of the native application.

    In addition, starting with native apps BlackBerry BlackBerry 10 10.3.2 can launch Android applications.  Here are a few links to help you get started on the side BlackBerry 10.

    Invocation framework

    Apps headless

  • a few questions about the Push Service

    Hi all

    Have some questions about a Service of BlackBerry Push.

    (1) when registering for the assessment, it is requested

    Source IP address for shoot - what happens if I have a dynamic IP and I have two servers different one for development and one for the Production environment?

    1. Push is via the BIS-B connection only
    2. Register to access push Eval with RIM. Download the SDK, which includes a sample application for the client side and 3 examples of applications for the side server. Once RIM gives you access to Eval, you'll have an app ID, password and other details. Deploy the provided sample applications and enter your Eval details when prompted. The client-side sample must be deployed on a real device (i.e. not a simulator). There is a catch: many developers (including myself) have reported on this forum that their client-side sample is not able to receive push messages.
    3. I did not look to push on BES, sorry.

    I am fairly new to push myself, feel free to correct me if I'm wrong.

  • Some questions on development on the Blackberry Pearl 8110?

    Hello. I have a few questions about the development of java applications on this unit.

    Well, asumming my old pearl supports Java...

    I have the Eclipse plugin for java installed using the 5.0.0 jre so I think this means that the application works on OS5 and above all, Yes?

    Not sure what OS this old Pearl works (I personally don't think it runs OS5?), and if he ran to an older operating system (say OS 4 or less) then my developed apps still work on this unit?

    Sorry if these are stupid questions.

    Thank you

    "applications developed in the usual Blackberry JRE 5.0.0 run on machines running less than 5.0.0 OS?"

    It is more accurate to say - are not supported on.

    A few apps, when compiled using the API calls that have not been changed, will work on 'low' operating systems, at least a number of people on the forum (yourself included) have told me they have managed this.  However, I tried it by accident (when I plugged the wrong device to load an application) and a device in brick.  So I wouldn't recommend it, even if it does not work.

    "do you mean that if I develop my app in JDE, it works on any device blackberry hosting any level of the operating system?"

    JDE versions have the same restrictions - there are versions JDE as there are JRE versions.  I think JDE 4.2.1 and JDE 4.3 are always available, so if you want to develop is a phone which works 4.3, because I think that yours, you could use the JDE-, but it should have the JDE 4.3 or earlier.

    You can also upgrade your phone and use Eclipse (which is what I would do).

    Clear now?

  • Questions about discussions...

    Hello

    I have a new app to do that requires network access.

    I have read this EXCELLENT post from peter_strange:

    http://supportforums.BlackBerry.com/T5/Java-development/connecting-your-BlackBerry-http-and-socket-c...

    Because I can't use BIS - B because I'm not a partner of the Alliance, I wanted to take a look at the new OS 5.0 network API and see how it works.

    I know that network connections should be performed in a separate thread.

    I'm far from being an experienced Blackberry developer... so I have a few questions about discussions.  I looked around the Internet, read on the forum, read the documentation, did some tests and so far, I came up with this code:

    SerializableAttribute public class HTTPConnection extends UiApplication {}
    Public Shared Sub main (String [] args) {}
    HTTPConnection PAP = new HTTPConnection();
    theApp.enterEventDispatcher ();
    }

    public HTTPConnection() {}
    pushScreen (new HTTPConnectionScreen());
    }
    }

    class HTTPConnectionScreen extends form {}
    public HTTPConnectionScreen() {}
    setTitle ("HTTPConnection");
    Add (new RichTextField ("choose a type of connection :"));

    final RadioButtonGroup = new RadioButtonGroup() rbGroup;
    RadioButtonField radioButtonF1 = new RadioButtonField ("Direct TCP", rbGroup, false);
    RadioButtonField radioButtonF2 = new RadioButtonField ("WAP 1.0/1.1", rbGroup, false);
    RadioButtonField radioButtonF3 = new RadioButtonField ("WAP 2.0", rbGroup, false);
    RadioButtonField radioButtonF4 is new RadioButtonField ("BES/MDS", rbGroup, false);.
    RadioButtonField radioButtonF5 = new RadioButtonField ("BIS-B", rbGroup, false);
    RadioButtonField radioButtonF6 = new RadioButtonField ("WiFi", rbGroup, false);
    Add (radioButtonF1); Add (radioButtonF2); Add (radioButtonF3); Add (radioButtonF4); Add (radioButtonF5); Add (radioButtonF6);
             
    FieldChangeListener listener = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
    ConnectionThread ct = new ConnectionThread (rbGroup.getSelectedIndex () + 1);
    CT. Start();
    }
    };
             
    ButtonField buttonField = new ButtonField ("Connect", ButtonField.CONSUME_CLICK);
    buttonField.setChangeListener (listener);
    Add (buttonField);
    }

    / * method of onSavePrompt override default to avoid being asked if I want to record every time * /.
    protected boolean onSavePrompt() {}
    Returns true;
    }
    }

    class ConnectionThread extends Thread {}
    private int transportType;
    public ConnectionThread (int n) {}
    transportType = tt;
    }
        
    public void run() {}
    ConnectionFactory connFact = new ConnectionFactory();
    ConnectionDescriptor connDesc = connFact.getConnection ("URL", transportType, null);
    If (connDesc! = null) {}
    try {}
    HttpConnection httpConn = (HttpConnection) connDesc.getConnection ();
    httpConn.setRequestMethod (HttpConnection.POST);
    httpConn.setRequestProperty ("Content-Type", "application/x-www-formulaires-urlencoded");
    OutputStream out = httpConn.openOutputStream ();
    out. Write (Integer.ToString (transportType). GetBytes());
    int responseCode = httpConn.getResponseCode ();
    If (responseCode == HttpConnection.HTTP_OK) {}
    UiApplication.getUiApplication () .invokeLater (new Runnable() {}
    public void run() {}
    Dialog.Alert ("- SUCCESSFUL CONNECTION-");
    }
    });
    }
    If (httpConn! = null) httpConn.close ();
    } catch (IOException e) {}
    System.Err.println ("IOException Caught:" + e.getMessage ());
    }
    }
    }
    }

    In fact, this code works very well... but I want to improve it, and I have a few questions:

    1. I think that right now, every time I click on the 'Connect' button, I start a new thread. I would like to end this thread in the "run" method, but I don't really know how to access the variable 'ct' from there.   Counsel on how to do it?  Or maybe always use the same thread until my application is closed?

    2. in the FieldChangeListener of my "Submit" button, I want to access the value of radio box.  I did work, but I had to do my 'final' variable  What is the right way to do it?

    3 - to display a dialog box with 'Successful connection', I just wanted to write something in my main screen.  How I do that?

    I'm just a bit confused as to just what set up when you use a separate thread.

    Thanks for your advice!

    Edit: Hidden URL I connect to...

    That's what I call a good question! (now I'm wondering why the forums do not work with opera correctly, in any case, here my baldy to the answer format): 1. your thread "dies" when it's over, no need to close it. 2 Yes 3. You can use a reminder. See for example http://www.javaworld.com/javaworld/javatips/jw-javatip10.html

  • General question about the Browser element

    Will look for an alternative, I found the Browser element and now I have a few questions about that:

    As I am not yet experienced on the Interfaces of Java development, I was wondering if following senario is possible:

    Have some HTML Pages which do the job of the Interface.

    If you submit a form, the JAva Base program (the Master application) process all Information.

    If you are viewing a list, the info is from a json of the Base program output.

    As the Communication Server Client HTML, the only difference is, that all communications remains inside the app.

    Is this possible?

    I can't speak to the idea of dealing with the entry of html, but I can confirm that it is possible for an application program to create a html page and providing the BrowserField for display.

  • Questions about the terms and conditions

    Dear team of Adobe Stock,

    I am considering a subscription for an e-commerce site that I am developing. I have a few questions about the terms and conditions:

    3.5 social media use. You can view or download an unmodified version of the book on the Social media Site if (A) you include a notice of copyright in the work itself (© author name - stock.adobe.com) and (B) the terms of use governing the Social media Site do not include any provision that would grant exclusive rights or the ownership of those works or alterations to anyone. "Social Media Site" means a website or application that puts the main emphasis on facilitating social interaction between its users and allowing users to share content in such social interaction

    What I have to insert in each post on social media on behalf of the author? Generally, this information is displayed only for free images. What I have to insert this information even if I signed up for a plan?

    Thank you

    Hello

    Please see the link below for help:

    http://wwwimages.Adobe.com/content/dam/ACOM/en/legal/servicetou/Adobe-stock-additional-ter ms_20160119.pdf

  • Question about the need to connect every 30 days...

    I understand the need for CC programs to connect to license Adobe servers, every 30 days (or it's 99, since I have an annual license?) of re - check license status.  That said, I have a question about the timing of these connections the licence renewal.

    What happens if I happen to be disconnected so far here 30?

    With the help of Microsoft for example...  I need Visual Studio to reactivate my developers license every 30 days in order for me to develop applications Windows 8 'metro '.  If I happen to be disconnected so far here 30, I am unable to work on any apps 'metro' until I got online.  (And I don't see any way to tell him to reactivate at the beginning).

    What happens with Adobe CC?

    Suppose I have license, and I am online for 29 days.  Then, the 30th day, I find myself be in offline mode when I start one of the programs of CC.  Now what?  Does the 30-day clock 'reset' every now and then during this time, or is it really only try every 30 days, and I have to be online on that day?

    Hi kenbrody,

    Please see the thread: http://forums.adobe.com/thread/1190831 .

    Kind regards

    Romit Sinha

Maybe you are looking for