How to properly use the "blackberry.app.exit"/"swipemenu"?

Hello developers BB!

Can someone show me how to use this feature? I use a physical PlayBook.

I tried to use the following code:

The config.xml file have this feature:

But when touching, nothing happens.

The bbui.js is necessary?

Or I use the wrong library/code?

Also how to call an action by using the upper frame by scanning?

for example:

function something()

{

use the topswipe

blah blah blah, this is the case

}

Thanks in advance for answers!

Once more, I am so used to seeing the reference to the webworks.js file, I has not yet noticed that was missing in your sample.

You must include the library that defines the API blackberry.*.  Here's how you do that:












Tags: BlackBerry Developers

Similar Questions

  • How to properly use the OCILobWrite2?

    Hello world

    I am fairly new to Oracle and Oracle Database development. In the database, I have a few stored procedures in C/C++. Some of them have a power of varchar2. Unfortunately, it is limited to a specific length of characters. But these procedures sometimes give great performance. That's why I wanted to use a lob as output. But I unfortunately did not get output in the lob.

    This is how I want to write to the lob:
    extern "C" DLLEXPORT 
    void version(OCIExtProcContext* context, OCILobLocator **out, sb4 *ind_out){
         OCIEnv* envh;
         OCISvcCtx* svch;
         OCIError* errh;
         OCIExtProcGetEnv (context, &envh, &svch, &errh);
    
         std::string versioninfo = "104";
    
         oraub8 maxChar = 10;
         
         OCIDescriptorAlloc(envh, 
                     (dvoid **) out,
                     (ub4) OCI_DTYPE_LOB,       /* Type of Descriptor */
                     (size_t) 0, 
                     (dvoid **) 0);
    
         OCILobTrim2(svch, 
                  errh, 
                     *out,
                 (ub4)1);
              
         OCILobWrite2(/*svcctx*/svch, /*errh*/errh, /*ociloblocator*/*out,
                   /*byte_amtp*/NULL, /*char_amtp*/&maxChar, /*offset*/1,
                   /*bufp*/(void*)versioninfo.c_str(), /*buflen*/versioninfo.size(),
                      /*piece*/OCI_ONE_PIECE, /*context for callback*/NULL,
                   /*callback*/NULL, /*csid*/0, /*csfrm*/SQLCS_IMPLICIT);
         *ind_out = 0;
    }
    That's how I registered the function in the Oracle database:
    create or replace
    procedure version(versioninfo OUT clob) as
         external name "version" library myLib language c with context 
         parameters (context, versioninfo, versioninfo INDICATOR SB4);
    I call the following stored procedure:
    declare
      res clob;
      begin
      -- the following doesnt help much
      --dbms_lob.createtemporary(res,true);
      version(res);
      dbms_output.put_line(res);
    end;
    It gives me just an empty line without the desired contents of versioninfo.

    How can I use OCILobWrite2?

    Concerning

    Solved by using "OCILobCreateTemporary" before working with this CLOB.

             OCIDescriptorAlloc(envh,
                                    (dvoid **) out,
                                    (ub4) OCI_DTYPE_LOB,       /* Type of Descriptor */
                                    (size_t) 0,
                                    (dvoid **) 0);
             OCILobCreateTemporary(svch, errh, *out, 0, SQLCS_IMPLICIT, OCI_TEMP_CLOB, OCI_ATTR_NOCACHE, OCI_DURATION_CALL);
             ub4 amt = static_cast(result.size());
             OCILobTrim2(svch,
                            errh,
                            *out,
                            (ub4)amt);
    
             oraub8 amtp = static_cast(result.size());
             OCILobWrite2(/*svcctx*/svch, /*errh*/errh, /*ociloblocator*/*out,
                             /*byte_amtp*/NULL, /*char_amtp*/&amtp, /*offset*/1,
                             /*bufp*/reinterpret_cast(const_cast(result.c_str())), /*buflen*/amt,
                             /*piece*/OCI_ONE_PIECE, /*context for callback*/NULL,
                             /*callback*/NULL, /*csid*/0, /*csfrm*/SQLCS_IMPLICIT);
             *ind = 0;
    
  • How to properly use the SimpleSetProprty?

    Hi all,

    I'm trying to use a SimpleSetProperty. As I understand yu documentation are supposed to be able to add an Eleent in this well, but I still get an Exception

    [code]

    Exception in the init of Application method

    Exception in thread "main" java.lang.RuntimeException: Exception in the init of Application method

    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:398)

    to com.sun.javafx.application.LauncherImpl.access$ 000 (LauncherImpl.java:47)

    to com.sun.javafx.application.LauncherImpl$ 1.run(LauncherImpl.java:115)

    at java.lang.Thread.run(Thread.java:724)

    Caused by: java.lang.UnsupportedOperationException

    at java.util.AbstractCollection.add(AbstractCollection.java:252)

    at javafx.beans.binding.SetExpression.add(SetExpression.java:292)

    to de.cmk.jfx.Test2$ NamedPolygon.addReachable (Test2.java:235)

    at de.cmk.jfx.Test2.figureOutNeighbourhoods(Test2.java:162)

    at de.cmk.jfx.Test2.loadContentFromYaml(Test2.java:95)

    at de.cmk.jfx.Test2.init(Test2.java:40)

    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:296)

    ... 3 more

    [/ code]

    I googled for but was not able to find examples with SimpleSetProperty.

    can someone give me a sample of work so I could win a clue what I'm doing wrong?

    Thaks a lot in advance and best regards

    Malta

    Yes, these builders are a bit confusing. Note that this applies to all classes of SimpleXXXProperty:

    The idea is that, for most uses, the property will be part of an object (or bean). That is, you'll have something like:

    public class MyBean {
         private SetProperty mySet ;
         // ...
         public final SetProperty mySetProperty() {
              return mySet ;
         }
         public final ObservableSet getMySet() {
               return mySet.get();
         }
         public final void setMySet(ObservableSet mySet) {
              this.mySet.set(mySet);
         }
    }
    

    So in this case the SetProperty belongs to an object of type MyBean and the "RIGHT" property name So that the reflection to play well with this property (i.e. for the library code to correctly find the methods mySetProperty, getMySet and setMySet), it must be initialized with a reference to its "bean owner" and his name. SimpleSetProperty (Object, String) constructor is designed to do this:

    public class MyBean {
         private SetProperty mySet = new SimpleSetProperty<>(this, "mySet");
         // ...
    }
    

    In other words, the first argument to the constructor is not a reference to the wrapped set.

    If you need something like

    SetProperty setProperty2 = new SimpleSetProperty<>(this, "lala", hset);
    

    (even though I think you will spend in an ObservableSet, not just a set of, right?) if setProperty2 is considered to be a property of the current object. There are many use cases valid where the properties are used as local variables and are not part of the State of the bean. In this case, just use the SimpleSetProperty (ObservableSet) manufacturer:

    SetProperty setProperty2 = new SimpleSetProperty<>(hset);
    
  • How to properly use the force?

    I have this type

    Hello

    Your code (with a / after the second command CREATE TYPE) works very well for me.

    Whenever you have a problem, send a script of full test that anyone can run to recreate the problem.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002

    What do you mean be ' does not '?  If you get an error message, why not to show?

    How do you know that FORCE the cause of the problem?  The second CREATE TYPE statement works for you if you remove the FORCE?

  • How to properly use the fonts Web of Adobe Edge

    I am a newbie to Dreamweaver and am trying to learn to use it through the tutorials. I am stuck at part 3, try to use Web Adobe Edge fonts correctly in my web site. I can say that I followed the instructions in the tutorial correctly, but the effect of font style is not displayed on my site. I work on a Windows 7 machine and using Dreamweaver 5.5. I copied and pasted the javascript code in the correct point in the head of the index.html page that included the font family name in the CSS file and saved the whole smash. The source code of my index page looks exactly like the sample in the tutorial, and I tried see my site in my browser, but no dice. Does not display the Web dashboard font style in the web page. I think I did everything following the directions, but I guess I missed a detail. All suggestions greatly appreciated

    You must add a

    CSS:

    H1 {}

    Police-family: League Gothic, without serif.

    make-weight: bold;

    color: #639;

    font size: 250%;

    }

    A simple way to get the correct codes is to go to Adobe Edge Web fonts and select the font you want to use.

    https://edgewebfonts.Adobe.com/fonts

    NOTE: You will not see the custom web fonts displayed in Design, Live View mode, or when you preview locally unless you use a local test server.  An easier way to test is by downloading the page on your remote server.

    Hope this helps,

    Nancy O.

  • How to properly use the type tool in artificial intelligence

    I'm working on the file HAVE another person.  When I set a text box to make it larger, the text inside the text box does not expand or become tense, which is what I want.

    But then in CC AI I created my own text box and typed text in there.  When I went back to stretch the box to make larger it, the text develops and becomes veiled, which is not what I want to happen.

    Can someone tell me what I'm doing wrong with the text box?  All I'm doing is enlarge the text box without messing up the resizing of text.

    Thank you.

    There is a difference between Point text and the text in the box.

    Point text can deform when scaled, text in box will give you a larger or smaller text box.

    You can switch between them:

  • How to properly use the art Board

    Because I am new with Illustrator, I am familiar with the advice of the art.

    The client gave me a sketch and I put it together for her.  I assumed that all the things she gave me the diagram was everything I had to understand.

    The client does not include everything in the skit, and now there are many more things to add to the illustration.  The document I created this to work on was 11 x 8.5, thinking that it would be for printing.  Now, I need to move to the top of the illustration all around to adapt to all the other things she wants.

    So is it possible to create a gigantic work plan and just put the drawing around with all the extra stuff that the customer wants on it and then when it's done, just copy and paste everything in a work plan, 11 x 8.5, resizing to fit?  Or y at - it another way to do this?

    Or can I just put the whole thing on a Board of great art and when I print on paper, 11 x 8.5, it it will resize accordingly?  I obviously have to include other things she wants now, but I don't want to give the wrong answer before I understand the functioning of the commissions of art in artificial intelligence.

    Please notify.  Thank you.

    Read the manual on work plans.

    You can have up to 100 work plans into a single file. They're overlapping and enclosing one another.

    When printing you can automatically reduce, but not when you save a PDF file (which is what you usually do during the transfer of the documents to the printer).

  • How safe is using secret ios app from appstore to store important documents? Can the creater of ios app app have access to my stuff using their secret app? Thank you

    How safe is using secret ios app from appstore to store important documents? Can the creater of ios app app have access to my stuff using their secret app? Thank you

    Of "secret iOS app" are what kind you referring? You will need to provide more information for someone to respond to you.

  • HOW CAN I GET A HP LASERJET 4V IN ORDER TO PROPERLY USE THE OPERATING SYSTEM TO XP PRO AND USB USING A PARALLEL CABLE?

    HOW CAN I GET A HP LASERJET 4V IN ORDER TO PROPERLY USE THE OPERATING SYSTEM TO XP PRO AND USB USING A PARALLEL CABLE?

    The printer works at all with this cable?

    The cable has recognized and installed by Windows XP when you logged on to the computer?

    If the cable has been recognized, what steps have you taken to install the printer then (be as accurate and complete as possible)?

    You get an error message?  If so, please provide, without paraphrasing.

    This printer has already been installed on this computer?  If so, with what type of connection?

    And especially, what is the brand and model of the USB to parallel cable?  Many of them do not work.  See, for example, the comments here , which suggests that 25% of the units will simply not work.  This seems to be one of these products you should buy at a local store, rather than on the Internet, then you can continue taking it back until you get a working unit.

  • How to publish the Blackberry app in the App Store?

    Hello

    I made 1 request and I would like to publish on the blackberry app store.

    What is the procedure to follow for this?

    can anyone guide me with any solution or any useful link or any other means, which would be appreciated?

    Thank you

    Mishal

    Visit this link...

    http://NA.BlackBerry.com/eng/developers/appworld/

  • BlackBerry smartphones how Apps are real in the BlackBerry App World available?

    HY,

    How many Apps are real in the BlackBerry App World available?

    Greetings,

    Pax

    in July 2009, it has been said that AppWorld hosted 2,000 applications.

    If you consider all the applications in each category, you get an upper limit of the number of applications (since an application can belonf to several categories). Today, when I count them in the online store, I get the upper limit of 5309 including games & themes.

  • How many users can use the unique apps?

    How many users can use the unique apps?

    A... the owner

    Cloud license allows 2 activations http://www.adobe.com/legal/licenses-terms.html

    -Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0

    -Windows or Mac has no importance... 2 on the same operating system or 1 on each

    -Two activations may NOT be used at the same time (noted in the link above of the license)

  • How we would use the apps with connecting them to creative cloud and it is not not a trial.

    How we would use the apps with connecting them to creative cloud and it is not not a trial.

    Log, activation, or connection errors. CS5.5 and later, Acrobat DC

    Mylenium

  • How many cell data uses the health app?

    We have little data plans, and my wife intends to use the health app every day.  Should I use to run the cell data health application?  Another reference... If I used the maps on the watch application would use this as much data as it normally does on my iPhone?  Just try to get an idea of the amount of data from the watch uses.  Thank you.

    I have not observed the health app using cellular data at all.

    Regarding the cards on the watch, it's just an extension of maps on your phone. Cards cannot run independently on the watch. If you use maps on the watch, he uses exactly this use from your phone from your phone is running the show.

  • How can I use the signature keys in my bweb application works

    Hi all

    How can I use the signature keys in my web work BlackBerry application, I'm looking for video, guide, documentation, step-by-step flow link

    Finally how to properly test it on a Simulator before giving the cod to the words App validation team

    Thanks for your time

    Hello

    Have you seen the guides posted here?

    https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_publishing/signing_your_app_1920008_11.ht...

    What stage are you having problems with?

    Erik Oros

    BlackBerry Development Advisor

Maybe you are looking for