BB10 Viewport confusion

Hello

I am porting my apps of PB to BB10, with great confusion on the setting of display window.

1. if I use:



Portrait)"/ >

It works perfectly on the Playbook device landscape and portrait.

(Screenshot of the playbook)

But Simulator BB10, it looks bad, scales are too many not the screen width

(BB10 Simulator screenshot)

2 if I dynamically add the Javascript view window :

The Playbook device, screen is not fixed

(Screenshot of the playbook)

BB10 Simulator, the screen seems too small too

(BB10 Simulator screenshot)

3 if I remove the viewport meta tag,.

The Playbook device, screen looks OK when it starts, but it is changing too little on the orientation change

(Screenshot of the playbook)

Simulator BB10, screen seems OK at the start (screen width adjustment), I don't know how to rotate the Simulator...

I don't know if the BB10 Simulator represents exactly how the device BB10, from my understanding, method 1 above cry be good enough (attested by real Playbook device) device should auto scale to fit the width.

A method which should be the right way?

Any advice?

Thank you

sh2sg wrote:

My application was made for Playbook, has fixed the size of CSS layout (landscape: 1024 x 600), there is no meta viewport.

That's the problem. Your layout is fixed, if you used a flexible, you will be able to easy port the app, now, you will have to port the full provision of the new resolution.

Tags: BlackBerry Developers

Similar Questions

  • Confused about BB10 and BES PUsh

    Hello world

    Today, our application side server is an HTTP Post to a preconfigured URL of BES and is capable of pushing an icon for a BB5, device 6 or 7 without any problems. The application server-side is not Java based and simply use an HTTP Post to make the push. Everything is fine and our clients are happy :-)

    Now eagerly BB10, it seems that things have become much more complex.  Here's my understanding:

    1 BES and MDS will not apply to BB10 devices since these devices will use the new service COMICS. This service will have an interface of type MDS, so we can do a big boost to the unit in question?

    1a. If not, how can we push the BB10 device?

    1. b do we not have to write some kind of server Java or can we continue to use simple HTTP Post, as we do today with BB5, 6 and 7?

    Remember, I'm only interseted in the BES (business devices) and not BIS sceanrio.

    Alon

    Saw this and am a student.

    Am also following information here

    http://supportforums.BlackBerry.com/T5/Cascades-development/BB10-client-can-t-get-BES10-push/m-p/239...

    Will let you know how me.

  • Porting my apps Playbook to BB10

    Hello... I want to update my Playbook applications to devices next BB10... but I'm confused about the resolution of the screen of the devices... I have the alpha of dev which has a large touchscreen display, but also a bold 9900 which has 2.8 inch screen... So please help me...

    Thank you

    Happy coding

    This article is to give you all the answers you need:
    http://devBlog.BlackBerry.com/2012/08/BlackBerry-10-screen-resolutions/

  • < img > image not cached in app BB10 Webworks

    Hello

    Is there some configuration setting, that I need to use to get Webworks (on BB10) to cache images served from a server?

    I have a BB10 Webworks app that dynamically adds and remove the DOM html.  Images referenced in items loading as expected, but if the item is removed from the DOM, and later added again, Webworks reloads the image file from the server, rather than using a cached version.  (I can watch what is happening in the Web Inspector).

    If I run the code in a browser, Chrome on Windows, it behaves correctly, by using the cached copy of the image when the new item is added to the Dom.

    The frequency from the server HTTP headers are:

    Cache-Control, must-revalidate
    Content-length: 1730
    Content-Type: image / jpeg
    Date: Mon, 21 October, 2013 21:18:34 GMT
    ETag:c4863b363e4536f8d854d721092cf528
    Expires on: Wednesday November 20, 2013 21:18:34 + 0000
    Last modified: Monday February 4, 2013 17:20:13 + 0000
    MicrosoftOfficeWebServer:5.0_Pub
    Server: Microsoft-IIS/6.0
    X-Powered-ByHP/5.2.13, ASP.NET

    So, with response codes above, Chrome set cache the image as expected, while the BB10 Webworks reload from the server each time (no caching).

    I'm running on a version of the software Blackberry Z10, model number STL100-3, 10.1.0.4181, and the app is created using Blackberry 10 Webworks SDK 1.0.4.11.

    What Miss me?

    Thank you

    Terry

    My apologies for the confusion.  The purpose of qnx is only available in a native extension running inside the app - not directly from JavaScript running in your application.

    Here is an example of an extension that uses the qnx object:

    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10/PreventSleep

    Specific location where it is used:

    https://github.com/BlackBerry/WebWorks-community-APIs/BLOB/master/BB10/PreventSleep/ext/community.PR...

    What is your comfort level write / using native extensions?  You will need to create your own, to interact with this API.

  • Configuration system for BB10 signature error

    I use the latest version of the SDK WebWorks BB10 (1.0.0.15) and am trying to set up my system (Mac OS X) for the tokens signature and debug. I have previously setup my system for BB OS 5 + signature successfully. I have not previously configured my system for the signature of the PlayBook. When I try to launch the blackberry signer of the command line, I get an error that there is no such thing as author.p12 which is confusing because I thought blackberry-signatory was supposed to create:

    $. / blackberry-signatory register csjpin - mypin - storepass mypass pathtoRDK.csj pathtoPBDT.csj
    Enter the password for the key file:
    Error: Loading the keystore: / users/myuser/library/research in Motion/author.p12 (no such file or directory)

    By specifying the verbose flag produces no additional information.  Anyone know what is happening?

    The documentation has a "s ' register", not "register"?

    Find it me easier to use our graphical tool: http://supportforums.blackberry.com/t5/Testing-and-Deployment/BlackBerry-Tablet-OS-Graphical-Aid/ta-...

  • BB10 - App appears enlarged

    I am converting an application WebWorks's PlayBook to BB10, and when I load on my Alpha device, everything seems very zoom-in. Ripple it seems in good condition.

    I tried

       
    

    and

    var meta = document.createElement("meta");
    meta.setAttribute('name','viewport');
    meta.setAttribute('content','initial-scale='+ (1/window.devicePixelRatio) + ',user-scalable=no');
    document.getElementsByTagName('head')[0].appendChild(meta);
    

    but in both cases, I get the below screenshot (taken the device with remote web Inspector running to display the dimensions of the image)

    Inspector Web shows pictures of a resolution of 175 x 254, however during the measurement in the screenshot it is closed to 395 x 575.

    So much worse... had to remove the HTML meta and then the JavaScript set one worked.

  • BB10 NDK error undefined reference to 'init_JSON_config '.

    Hi all

    I'm trying to integrate json parser in my native project BB10. The codes are derived from here

    https://github.com/BlackBerry/JSON_parser/

    I copied the file JSON_parser.h and JSON_parser.c in the source directory. In the HelloCascadesApp.cpp, I have included the header file.

    Now, when you compile the project, I get error like

    no reference to 'init_JSON_config '.

    This is the output of the compiler

    **** Build of configuration Simulator-Debug for project another ****
    
    make Simulator-Debug
    d:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/qmake -spec unsupported/blackberry-armv7le-g++ -o arm/Makefile another.pro CONFIG+=device
    d:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/qmake -spec unsupported/blackberry-x86-g++ -o x86/Makefile another.pro CONFIG+=simulator
    make -C ./translations -f Makefile update release
    make[1]: Entering directory `C:/ndk-10.0.4-workspace/another/translations'
    d:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/lupdate another.pro
    Updating 'another_en_GB.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    Updating 'another_fr.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    Updating 'another_it.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    Updating 'another_de.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    Updating 'another_es.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    Updating 'another.ts'...
        Found 0 source text(s) (0 new and 0 already existing)
    d:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/lrelease another.pro
    Could not find qmake configuration directoryCould not read qmake configuration file D:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/qmake.confUsing OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/debug_and_release.prf(1): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(4): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(36): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(197): 'qtAddLibrary' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/qt.prf(213): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/moc.prf(3): 'qtPrepareTool' is not a recognized test functionD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/moc.prf(12): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/moc.prf(97): Using OS scope before setting MAKEFILE_GENERATORD:/bbndk-10.0.4-beta/target/qnx6/usr/share/qt4/mkspecs/features/uic.prf(108): Using OS scope before setting MAKEFILE_GENERATORThe directory name is invalid.
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another_en_GB.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another_fr.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another_it.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another_de.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another_es.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    Updating 'C:/ndk-10.0.4-workspace/another/translations/another.qm'...
        Generated 0 translation(s) (0 finished and 0 unfinished)
    make[1]: Leaving directory `C:/ndk-10.0.4-workspace/another/translations'
    make -C ./x86 -f Makefile debug
    make[1]: Entering directory `C:/ndk-10.0.4-workspace/another/x86'
    make -f Makefile.Debug
    make[2]: Entering directory `C:/ndk-10.0.4-workspace/another/x86'
    qcc -Vgcc_ntox86 -lang-c++ -Wl,-rpath-link,d:/bbndk-10.0.4-beta/target/qnx6/x86/lib -Wl,-rpath-link,d:/bbndk-10.0.4-beta/target/qnx6/x86/usr/lib -o o-g/another o-g/.obj/hellocascades.o o-g/.obj/HelloCascadesApp.o o-g/.obj/moc_HelloCascadesApp.o  -lcurl  -Ld:/bbndk-10.0.4-beta/target/qnx6/x86/lib -Ld:/bbndk-10.0.4-beta/target/qnx6/x86/usr/lib -Ld:/bbndk-10.0.4-beta/target/qnx6/x86/usr/lib/qt4/lib -LD:/bbndk-10.0.4-beta/target/qnx6/x86/usr/lib/qt4/lib -lm -lbps -lbb -lQtCascades -lQtDeclarative -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtXml -lQtGui -lQtNetwork -lQtCore
    Could not find qmake configuration directoryCould not find qmake configuration fileUsing OS scope before setting MAKEFILE_GENERATORo-g/.obj/HelloCascadesApp.o: In function `parse_JSON':
    C:\ndk-10.0.4-workspace\another\x86/../src/HelloCascadesApp.cpp:216: undefined reference to `init_JSON_config' C:\ndk-10.0.4-workspace\another\x86/../src/HelloCascadesApp.cpp:224: undefined reference to `new_JSON_parser'
    cc: d:/bbndk-10.0.4-beta/host/win32/x86/usr/bin/ntox86-ld caught signal 1
    make[2]: *** [o-g/another] Error 1
    make[2]: Leaving directory `C:/ndk-10.0.4-workspace/another/x86'
    make[1]: Leaving directory `C:/ndk-10.0.4-workspace/another/x86'
    make[1]: *** [debug] Error 2
    make: *** [Simulator-Debug] Error 2
    
    **** Build Finished ****
    

    I used this parser json beginning of NDK 2.0 BB with no problems.

    Can someone help me?

    concerning

    by default, the c files are ignored, add, change your {appname} .pro

    and add the singel file:

    SOURCES += ../src/*.cpp ../src/JSON_parser.c
    

    or all the *.c files:

    SOURCES += ../src/*.cpp ../src/*.c
    
  • Which version of the AIR SDK to use for BB10

    Hello

    I recently moved my dev to a new Mac environment, so I had to reinstall everything, I installed the BB 3.0 sdk and robbed the air sdk 3, 4, I can compile an application, I've migrated any signature and debug tokens (which is good, cards app are OK), but whenever I try to launch my AIR on the BB10 application It opens and closes immediately before anything, even a simple HelloWorld fails.

    Is it because I compiled against sdk 3.4 AIR?

    Sites of dev clearly indicates "Adobe AIR SDK 2.6 or later", which miss me so much?

    Thank you!

    Currently, we currently support only AIR version 3.1. As Tim mentioned here we will update 3.3 or 3.4 in the future.

    I'll test this, but your application should be supported if you have the latest version of the SDK installed and the target AIR 3.1.

    I'll make sure that dispel us any confusion in our documentation and SDK Installer software.

    Kind regards

    Dustin

  • BB10 Beta4 ActionBar questions

    There seems to be a lot of problems with the ActionBar BB10 AIR SDK 4 beta. I then test the code to create a simple ActionBar:

    package
    {
    import flash.display.DisplayObjectContainer;
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.events.Event;
    import qnx.fuse.ui.actionbar.ActionBar;
    import qnx.fuse.ui.actionbar.ActionPlacement;
    import qnx.fuse.ui.core.Action;
    import qnx.fuse.ui.core.TabAction;
    
    [SWF(backgroundColor="#777777", frameRate="60")]
    public class ActionBarTest extends Sprite
    {
    
      private var actionBar:ActionBar;
      private var actionBarOverflow:Sprite;
    
      public function ActionBarTest()
      {
        super();    // set up stage
        stage.align = StageAlign.TOP_LEFT;
        stage.scaleMode = StageScaleMode.NO_SCALE;
        stage.addEventListener( Event.RESIZE,   function(e:Event):void { actionBar.y = stage.stageHeight-actionBar.height; });
    
        // set up overflow
        actionBarOverflow = new Sprite();
        addChild(actionBarOverflow);
    
        // set up actionbar
        actionBar = new ActionBar();
        actionBar.backButton = null;        
    
        if(true) // test: turn tabOverflowParent on/off
          actionBar.tabOverflowParent = actionBarOverflow;
    
        if(false) { // test: switch between actions and tabs
          actionBar.showTabsFirstOnBar(false);
          actionBar.reserveActionSpace(true);
          actionBar.backButton = null;
          actionBar.addAction(new Action("A1", "star.png", null, ActionPlacement.ON_BAR));
          actionBar.addAction(new Action("A2", "star.png", null, ActionPlacement.ON_BAR));
          actionBar.addAction(new Action("A3", "star.png", null, ActionPlacement.ON_BAR));
          actionBar.addAction(new Action("A4", "star.png", null, ActionPlacement.ON_BAR));
          actionBar.addAction(new Action("A5", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A6", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A7", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A8", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A9", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A10", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A11", "star.png", null, ActionPlacement.IN_OVERFLOW));
          actionBar.addAction(new Action("A12", "star.png", null, ActionPlacement.IN_OVERFLOW));
        } else {
          actionBar.showTabsFirstOnBar(true);
          actionBar.reserveActionSpace(false);
          actionBar.addAction(new TabAction("T1", "star.png"));
          actionBar.addAction(new TabAction("T2", "star.png"));
          actionBar.addAction(new TabAction("T3", "star.png"));
          actionBar.addAction(new TabAction("T4", "star.png"));
          actionBar.addAction(new TabAction("T5", "star.png"));
          actionBar.addAction(new TabAction("T6", "star.png"));
          actionBar.addAction(new TabAction("T7", "star.png"));
          actionBar.addAction(new TabAction("T8", "star.png"));
          actionBar.addAction(new TabAction("T9", "star.png"));
          actionBar.addAction(new TabAction("T10", "star.png"));
          actionBar.addAction(new TabAction("T11", "star.png"));
          actionBar.addAction(new TabAction("T12", "star.png"));    }
    
        addChild(actionBar);      
    
      } // constructor
    } // class
    } // package
    

    He has a couple of if(true/false) conditions to test different scenarios.

    With actions A1... A12:

    • "Back" button is always reserved, even if there is no back button
    • Only 3 actions are displayed, even if there is room for a 4th
    • Order of measures on ActionBar is incorrect: A4 A1 A2
    • Menu of overflow of action appears in the "extended" form, and not with some icons like waterfalls/Webworks
    • Menu of overflow of action is never displayed on the desktop AIR
    • Action tags do not appear in the peripheral action of 720 x 720 bar

    Tabbed T1... T12:

    • When the tab overflow is displayed again, the before selected tabs have blue border
    • The tab in ActionBar buttons are grayed out sometimes out (but still selectable)
    • If actionBar.tabOverflowParent is defined, menu overflow is never hidden on the selection of the item or by tapping elsewhere
    • If actionBar.tabOverflowParent is not set, the tab overflow is not displayed on the desktop AIR
    • Menu of infinity tab is badly calibrated, making it the last tab inaccessible if overflow is behind actionbar and there are several tabs will fit on the screen
    • Tabs do not appear in the peripheral action of 720 x 720 bar

    Hey Jon,

    Here are the answers to your questions below, or in some cases as to why explanations sometimes. John, with an 'h', has responded and is correct on some of them, but thought I would confirm them as well.

    With actions A1... A12:

    "Back" button is always reserved, even if there is no back button

    [JD] - it is correct based on the directives of UX

    Only 3 actions are displayed, even if there is room for a 4th
    [JD] - ActionBar won't show up to 3 shares.

    Order of measures on ActionBar is incorrect: A4 A1 A2
    [JD] - need to double check the rules on this one.

     

    Menu of overflow of action appears in the "extended" form, and not with some icons like waterfalls/Webworks
    [JD] - menu overflow of Action appears always expanded. I think you are confused with the context Menu, which looks like, but has different behavior.
    You can see that it is the same thing as waterfalls if you add a contact, then select this contact. 3 points in the actionbar button shows the overflow from the action.
    If you long press the contact in the list, you will see the context menu, which is different.

     

    Menu of overflow of action is never displayed on the desktop AIR
    [JD] - in this case is because we have no way of knowing how deep should show the menu to. So we use NativeWindows to display the menu at the top of your application window. Because NativeWindows is not supported on any other mobile AIR platform in addition to BlackBerry, Flash Builder will not be displayed on the desktop. FDT allows you to show on the desktop if you add the following to your app descriptor, extendedDesktop mobileDevice extendedMobileDevice.

     

    Action tags do not appear in the peripheral action of 720 x 720 bar
    [JD] - what is expected. This is the same behavior when you use the ActionBar in landscape on the device of 768 x 1280 as well. It's making the content more room.

    Tabbed T1... T12:

    When the tab overflow is displayed again, the before selected tabs have blue border
    [JD] - corrected in the final version of the sdk.

     

    The tab in ActionBar buttons are grayed out sometimes out (but still selectable)
    [JD] - in this example, it looks like a bug, but it is in fact correct. When the tab overflow menu is fully developed, actions are disabled. In most cases they are not visible because the action bar hosted on the right. Here things look like it is in a weird State, but if implemented properly things work as expected.

     

    If actionBar.tabOverflowParent is defined, menu overflow is never hidden on the selection of the item or by tapping elsewhere
    [JD] - it is because it is expected that you cover the tabOverflowParent with your content. This property is here so that you can control the depth of the menu. Based on the UX guidelines menu should be under your content and the content comes alive to the right to reveal.

    If actionBar.tabOverflowParent is not set, the tab overflow is not displayed on the desktop AIR
    [JD] - we use NativeWindow in this case. Same as above.

    Menu of infinity tab is badly calibrated, making it the last tab inaccessible if overflow is behind actionbar and there are several tabs will fit on the screen
    [JD] - when the overflow tab menu is visible the actionbar should animate the road indicating the correct size of the menu tab overflow.

    Tabs do not appear in the peripheral action of 720 x 720 bar
    [JD] - same as Actions

    Here is a sample of update based on your which helps to show how you really want to set up.

    package
    {
        import qnx.fuse.ui.actionbar.ActionBar;
        import qnx.fuse.ui.actionbar.ActionPlacement;
        import qnx.fuse.ui.core.Action;
        import qnx.fuse.ui.core.TabAction;
        import qnx.fuse.ui.events.DragEvent;
    
        import flash.display.Bitmap;
        import flash.display.BitmapData;
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
    
        [SWF(backgroundColor="#777777", frameRate="60", width=768, height=1280)]
        public class actionbarsample extends Sprite
        {
            private var actionBar:ActionBar;
            private var actionBarOverflow:Sprite;
            private var __slideX:Number = 0;
            private var content:Sprite = new Sprite();
    
            public function actionbarsample()
            {
                super();
    
                // set up stage
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
                stage.addEventListener( Event.RESIZE, function( e:Event ):void
                {
                    actionBar.y = stage.stageHeight - actionBar.height;
                } );
    
                // set up overflow
                actionBarOverflow = new Sprite();
                addChild( actionBarOverflow );
    
                content.addChild( new Bitmap( new BitmapData( stage.stageWidth, stage.stageHeight, false, 0xFFFFFFFF ) ) );
    
                addChild( content );
    
                // set up actionbar
                actionBar = new ActionBar();
                actionBar.backButton = null;
    
                actionBar.addEventListener( DragEvent.DRAG_MOVE, onDragMove );
    
                if (true) // test: turn tabOverflowParent on/off
                    actionBar.tabOverflowParent = actionBarOverflow;
    
                if (true)
                {
                    // test: switch between actions and tabs
                    actionBar.showTabsFirstOnBar( false );
                    actionBar.reserveActionSpace( true );
                    actionBar.backButton = null;
                    actionBar.addAction( new Action( "A1", "star.png", null, ActionPlacement.ON_BAR ) );
                    actionBar.addAction( new Action( "A2", "star.png", null, ActionPlacement.ON_BAR ) );
                    actionBar.addAction( new Action( "A3", "star.png", null, ActionPlacement.ON_BAR ) );
                    actionBar.addAction( new Action( "A4", "star.png", null, ActionPlacement.ON_BAR ) );
                    actionBar.addAction( new Action( "A5", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A6", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A7", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A8", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A9", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A10", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A11", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                    actionBar.addAction( new Action( "A12", "star.png", null, ActionPlacement.IN_OVERFLOW ) );
                }
                else
                {
                    actionBar.showTabsFirstOnBar( true );
                    actionBar.reserveActionSpace( false );
                    actionBar.addAction( new TabAction( "T1", "star.png" ) );
                    actionBar.addAction( new TabAction( "T2", "star.png" ) );
                    actionBar.addAction( new TabAction( "T3", "star.png" ) );
                    actionBar.addAction( new TabAction( "T4", "star.png" ) );
                    actionBar.addAction( new TabAction( "T5", "star.png" ) );
                    actionBar.addAction( new TabAction( "T6", "star.png" ) );
                    actionBar.addAction( new TabAction( "T7", "star.png" ) );
                    actionBar.addAction( new TabAction( "T8", "star.png" ) );
                    actionBar.addAction( new TabAction( "T9", "star.png" ) );
                    actionBar.addAction( new TabAction( "T10", "star.png" ) );
                    actionBar.addAction( new TabAction( "T11", "star.png" ) );
                    actionBar.addAction( new TabAction( "T12", "star.png" ) );
                }
    
                content.addChild( actionBar );
            }
    
            private function onDragMove( event:DragEvent ):void
            {
                __slideX += event.deltaX;
                content.x = Math.round( __slideX + stage.stageWidth );
            }
            // constructor
        }
        // class
    } // package
    
  • Problem signing key with Chrome Ripple when installing on my Alpha BB10 device

    The signing keys created since Blackberry 10 native SDK Eclipse plugin can also be used to sign applications Webworks HTML 5 under construction of Goggle Chrome Ripple Extension?

    My directory "C:\Users\dev\AppData\Local\Research In Motion" seems to have the files: author.p12, barsigner.csk... etc. But when trying to install on my 'device BB10 Dev Alpha', the server of the ripple is spewing what follows:

    Build completed, now deploy
    ...

    Info: Send request: install and launch
    Info: Action: install and launch

    ...

    actual_id:
    actual_version:
    result::failure 881 missing signatures

    Problem I think was that I had no "Enable Remote Web Inspector" checked and maybe even used the wrong PIN number (confused 0 o) and 8B.

  • BlackBerry 10 Confusion with the OS versions

    Good evening

    where can I find which version number is the latest version of the BB OS? I couldn't find the number on the BB site, but found one in the English Wikipedia: 10.3.2.2789.

    My phone (Q10) says he has the version of the 10.3.2.2474 software and the operating system version 10.3.2.2639, and it is said that this version is the latest version.

    How comes that this number is different so the wikipedia article and where can I find the correct version in the BB Web site?

    Thanks for any information.

    Q.

    Hello

    Yes, it is a matter of confusion. But do not understand that it is not strictly BBs responsibility to clear up the confusion. Indeed, BB control only a tiny part of the OS release cycle to end users. BB releases OS packages they approve in the world at the same time... but he returned to service businesses and other entities to control final to decide if/when a BONE should be released to their set of end users. Therefore, it is very likely for two holders of the exact model same device to have two different answers to the question of 'the latest OS', for this answer depends on each entity having approved control and pulled him out of their set of users.

    Complicating things is the difference between the OS and the version of the software. Reference:

    Depending on who you work and what is the context, you may need to understand both of them and be sure that you talk about appropriate things so that understanding can arise between the parties to the communication. Version of the software is, basically, a conglomerate of BONES, Radio and other versions in the package... However, I don't know, how they derive the values of version of the software. I find that in most cases, it is wise to always use two values in discussions (e.g., "OS10.3.2.2639/SR10.3.2.2474").

    QUADRATUR wrote:

    How comes that this number is different so the wikipedia article

    Wikipedia is a database of users of the information... If nobody contributed updates, then they do not reflect.

    QUADRATUR wrote:

    where can I find the correct version in the Web of BB site?

    You do not have... I have never found that a BB OS/SR easily visible Web page free. There are utilities that can be obtained and executed on BB servers to discover the information, but they are technical, time-consuming and a lot of time to properly interpret the results. I have, however, recently created a list of all the values of BB10 OS/SR, going back... some time to refer:

    Once again, however, it is only what BB has published the world... He said nothing that any specific control entity (for example, companies) may or may not have approved for their set of users. Via the official/automatic methods, you will only be offered which your control entity approved. Using unofficial methods to get anything other than that.

    Good luck!

  • How to disable the zoom injQueryMobile-BB10-theme app?

    Hi I have a problem with the fact that the user can zoom in and out in my theme of bb jquerymobile [1].

    How can I disable this?

    I tried this:

    
    

    but then the action bar and the header smaller and all GET the design are not good.

    [1] https://github.com/blackberry/jQueryMobile-BB10-Theme

    Simply add the script to this knowledge base article to your index file header and it should ban the user to zoom in without changing the size of your app: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/How-to-set-up-the-viewport-for-a...

    @Orchard: from what I've heard on this forum, this problem should be solved/less annoying with the next version of the SDK.

  • Menu of the app (Swipe in the Menu drop-down) in Webworks for BB10.

    Hello

    I tried to build an app menu (the menu that appears at the top when you drag down on the screen BB10) for my applications Webworks.

    However, I wasn't able to find anything that satisfied my need here https://github.com/blackberry/bbUI.js/wiki

    In samples for BB10, I found this message under Swipe Menu here https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/swipemenu

    'This example is not really applicable for BB10. The menu blow follows different guidelines that this and most of the applications must use the context menu instead. »

    However, the interface instructions user of BB said that for generic application-level functionality, you must place in the menu of the Application. (Here https://developer.blackberry.com/devzone/files/design/bb10/UI_Guidelines_BlackBerry_10.pdfof Page 47)

    So now I'm a bit confused. Is there a Webworks method to create a Menu of Application for BB10? (I found documentation of older versions). Is there something I'm missing?

    Thanks in advance.

    Prashanth

    Gotcha - I see where the confusion is so

    menu screen in bbUI.js = menu of the application.

    It's a swipedown menu where you can place the lesser measures. It has a slightly different feature on Playbook and a completely different feature BBOS but from your point of view, it will do what you owe for BB10

    It is set on a base by screen at this moment (discussed changes that, but nothing has yet been decided) but follows the BB10 UI/UX guidelines for the application menu. He now has the ability to the elements of the upper left and right so that you can get your help and settings menus to the appropriate locations.

    Let me know if you need other help for this.

    BCR.

  • BlackBerry 10 BB10 actually supported Cisco AnyConnect VPN?

    I am confused when I click Cisco AnyConnect VPN gateway Type list, and then turned to BlackBerry World looking for Cisco AnyConnect. But he has not named any application. BB10 really takes it? or it is my mistake to miss. Help, please... Thank you.

    Hello

    Maybe you can check it out here:
    http://supportforums.BlackBerry.com/T5/BlackBerry-10-OS-device-software/Cisco-AnyConnect-VPN/m-p/303...

  • How to call my app of the BBM (webworks bb10)

    Hi all

    I am writing a game I'd like to as BBM to work with connectivity. All I need is that when the user of the application sends an invitation to another contact on BBM, the contact receives a message saying "you have been invited to join a game of... #appname" Please click on this message to accept.

    Once the user clicks on the message she calls my application passing two variables (which can be strings of plain text).

    I looked at all the samples and got more confused that I don't know what format data must be sent to bbm in so that he can allow the by clicking the message to invoke the app I guess it must be some kind of custom mime type, but I'm tired of trying to figure

    I use webworks for bb10.

    Help, please.

    The file must be saved in the browser workflow too.  Currently no way around this.

Maybe you are looking for