The display is automatically set in the Simulator?

Suddenly, I started to experience a problem of automatic scaling with debugging on the Simulator PlayBook of Flash Builder 4.

a clean install of Simulator image did not help.

It is a picture of 2 components of QNX LabelButton attached.  the coordinate of the top key is (supposed to be) x: 20, y: 20 and it goes without saying that the buttons are huge.

any ideas?

I got weirdness like that when I did different things, even leaving aside the height and width of the [SWF] metadata tag arguments before my main class, letting the SWF tag entirely and mucking around with stage.scaleMode inappropriately.

Any luck you did something like that?

Tags: BlackBerry Developers

Similar Questions

  • Found that this problem was due to windows being disabled "Wireless Zero Configuration" service. Found this automatic setting and then by installing the software corrected the problem.

    How to get through this process of changing windows 'Wireless Zero Configuration' service is disabled.  Found this automatic setting and then by installing the software corrected the problem.

    Hi Joseph,.

    1 are you always face the question or the issue are already fixed?

    2 Windows operating system you are using?

    If you still experience the problem, you can follow this link completely and check if the problem persists.

    In the Windows wireless network connection problems

    You can also read the following article and check.

    How can I disable wireless configuration and enable Windows XP Wireless Auto Configuration services

  • Set the simulator mode at startup landscape

    Hi all

    I need to develop an application that works only in landscape mode. When I try to open the app in the simulator by default, it opens in portrrait mode, when simulate it by using the tiltberry and then change of scenery is good, as it rearranges.

    I just want to use my application in landscape mode only. I tried with setAllowableDirections but no help. any other ideas?

    Hey have u tried this

    UiEngineInstance ui = Ui.getUiEngineInstance();
    ui.setAcceptableDirections(Display.DIRECTION_LANDSCAPE);
    

    If you run this until you press any screen in the battery, it should do the trick.

  • Use Loader() to display the image in the Simulator?

    Hi all

    This is a very specific question: it seems that the Flex Hero Loader() class does not work when loading an image file in the Simulator.

    When to use flash.display.Loader to load and display an image file,

    It works fine when run on emulator Burrito, but nothing appears when running PlayBook Simulator (the image file is accessible on the Simulator: I can see his name and size)

    Anyone know if something is wrong with the Simulator and Loader()?

    Thank you.

    Same problem with the Image of QNX,

    the problem is on the URL, which should include "file://".

    as described in your solution here:

    http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/view-image-from-applicationStorag...

    Thank you.

  • How can I get the keyboard to display in the simulator of Dev Alpha?

    Hello

    I use the Dev Alpha Simulator to test my apps of Cascades, and I need to type text in the fields in my application. I can just click and type the keyboard of my Mac, but capitalization does not work. So, how can I get the BlackBerry keyboard to display on the simulator - so that it looks like a real device?

    Thank you.

    Hello
    You can click on the lower right corner, and the keyboard will be visible.

    Kind regards

    Sommily

  • Retrieve and display a result set using the dynamic sql?

    Hi all

    How would display a result set in Oracle using the dynamic SQL? Reason being, the table where I'd retrieve and display the result set is a GLOBAL TEMP TABLE created in a stored procedure. If I try to use the loop as usual, the compiler complains that the table does not exist. This makes sense because the compiler does not recognize the table because it is created dynamically. Here is an example:

    create or replace PROCEDURE maketemptab IS
    sql_stmt VARCHAR2 (500);
    OutputString VARCHAR2 (50);

    BEGIN
    -create temporary table
    sql_stmt: = ' CREATE of TABLE TEMPORARY GLOBAL globtemptab (id NUMBER, col1 VARCHAR2 (50))';
    EXECUTE IMMEDIATE sql_stmt;
    dbms_output.put_line ('... created table ');

    -Insert a row into the temporary table
    sql_stmt: = "INSERT INTO globtemptab values (1, 'some data of a test')';"
    EXECUTE IMMEDIATE sql_stmt;
    dbms_output.put_line ('... inserted row ');

    -Insert a row into the temporary table
    sql_stmt: = ' INSERT INTO globtemptab values (2, "some more test data");
    EXECUTE IMMEDIATE sql_stmt;
    dbms_output.put_line ('... inserted row ');

    -Select the row on temporary table
    sql_stmt: = 'SELECT col1 FROM globtemptab WHERE id = 1';
    EXECUTE IMMEDIATE sql_stmt INTO outputstring;
    dbms_output.put_line ('... selected line: ' | outputstring);

    -drop temporary table
    sql_stmt: = 'DROP TABLE globtemptab;
    EXECUTE IMMEDIATE sql_stmt;
    dbms_output.put_line ('... moved table ');

    -display the result set
    for tabdata loop (select col1 from globtemptab)
    dbms_output.put_line ('... test of recovered data are' | tabdata.col1)
    end loop;
    end;


    In short, how to rewrite the SQL below the comment "to display the result set" using the dynamic sql?

    Thank you
    Amedeo.

    Hello

    Try this:

    CREATE OR REPLACE PROCEDURE maketemptab IS
       sql_stmt     VARCHAR2(500);
       outputstring VARCHAR2(50);
       v_cursor     SYS_REFCURSOR;
       v_col1       VARCHAR2(30);
    BEGIN
       -- create temp table
       sql_stmt := 'CREATE GLOBAL TEMPORARY TABLE globtemptab(id NUMBER, col1 VARCHAR2(50))';
       EXECUTE IMMEDIATE sql_stmt;
       dbms_output.put_line('...table created');
    
       -- insert row into temp table
       sql_stmt := 'INSERT INTO globtemptab values (1, ''some test data'')';
       EXECUTE IMMEDIATE sql_stmt;
       dbms_output.put_line('...row inserted');
    
       -- insert row into temp table
       sql_stmt := 'INSERT INTO globtemptab values (2, ''some more test data'')';
       EXECUTE IMMEDIATE sql_stmt;
       dbms_output.put_line('...row inserted');
    
       -- select row from temp table
       sql_stmt := 'SELECT col1 FROM globtemptab WHERE id=1';
       EXECUTE IMMEDIATE sql_stmt
          INTO outputstring;
       dbms_output.put_line('...row selected: ' || outputstring);
    
       OPEN v_cursor FOR 'SELECT col1 FROM globtemptab';
    
       LOOP
          FETCH v_cursor
             INTO v_col1;
          EXIT WHEN v_cursor%NOTFOUND;
          dbms_output.put_line('...test data retrieved is' || v_col1);
       END LOOP;
       CLOSE v_cursor;
    
       -- drop temp table
       sql_stmt := 'DROP TABLE globtemptab';
       EXECUTE IMMEDIATE sql_stmt;
       dbms_output.put_line('...table dropped');
    END;
    /
    

    Kind regards

  • How to set the simulated on material values simulated?

    I simulate the material using the Software NI MAX.
    I would like to access the material simulated using the interface in ANSI C.
    But I want to get the values.

    How it is possible to adjust the simulated values?

    You can not. The only value of simulation is the wave sinusoidal, as explained in the help.

  • Is it possible to access the files shared in the Simulator?

    My Playbook application creates a few files in the shared files folder. When running my app in the Simulator, is it possible to (read) access these files from Windows?

    Thank you

    First, configure the PlayBook Simulator as a target.

    1. Click on the file-> New-> other...
    2. Expand the BlackBerry Tablet OS.
    3. Select BlackBerry Tablet OS target, and then click Next.
    4. Enter the IP address of the Simulator (or use automatic detection).  Leave the password blank and complete the wizard.

    Once you have the PlayBook Simulator configured as target, use the following steps to access the folders.

    1. Click on the window menu.
    2. Choose the command display see her-> from others.
    3. Expand QNX.
    4. Select target file system browser , and then click OK.
    5. In the target file system browser navigated to the folder that contains the file that you want to copy.
    6. Right-click on the file you want to copy, and choose copy to.  You can also drag and drop files to and from this window.
  • image in SVG shows it on the Simulator, but not on the device

    Hi all

    I put theelement in an SVG file with an image that I pick up store or the SD card. I can see the image set on the Simulator, but am not able to see it on the device.

    Here is the code snippet I definition of the element in the image:

    SVGElement "newelement" = (SVGElement) _document.createElementNS (SVG_NAMESPACE_URI, "image");
    newElement.setTraitNS (XLINK_NAMESPACE_URI, "href", dittos);
    newElement.setFloatTrait ("x", 0);
    newElement.setFloatTrait ("y", 0);
    newElement.setFloatTrait ("width", Display.getWidth ());
    newElement.setFloatTrait ("height", Display.getHeight ());
    _svg. AppendChild (newelement);
    Invalidate();

    Thanks in advance.

    ~ Shri

    It was with the size of the Image. Too big a picture and the device wont set it to SVG canvas.

    If the scale down the image and set the image if you want to set asin SVG.

  • Impossible to get anything it either appears in the Simulator

    Hello

    Despite the great "getting started" documentation and webcasts, can't do the Simulator to work...

    I can ping, and I don't get any errors when I chose a configuration of Flash Builder series - it generates the .bar file well and gives me the following output:

    Using icon: C:\Documents and Settings\aperryman\My Documents\_UI\PlayBook Tutorial\FB_PlayBookTest\bin-debug\BB_icon_72.pngThe bar manifest file is valid.Package created: C:\Documents and Settings\aperryman\My Documents\_UI\PlayBook Tutorial\FB_PlayBookTest/PlayBookTest.barAction: Install and LaunchFile size: 145772Installing com.amp.PlayBookTest.testLlBsYXlCb29rVGVzdCAgICA...actual_dname::com.amp.PlayBookTest.testLlBsYXlCb29rVGVzdCAgICAactual_id::testLlBsYXlCb29rVGVzdCAgICAactual_version::result::
    

    But it stops there and nothing is displayed in the Simulator.

    When I do a Debug launch, it's the same thing, except that I finally get a time-out error because it cannot connect to the debugger - probably not surprising.

    When I package and deploy via the command line, I get even a promising "done" at the end:

    C:\Documents and Settings\apman\My Documents\PlayBook Tutorial\FB_PlayBookTest\bin-debug>blackberry-airpackager -package PlayBookTest.bar -installApp -launchApp PlayBookTest-app.xml PlayBookTest.swf BB_icon_72.png -device 192.168.223.128Using icon: C:\Documents and Settings\apman\My Documents\PlayBook Tutorial\FB_PlayBookTest\bin-debug\BB_icon_72.pngThe bar manifest file is valid.Package created: PlayBookTest.barAction: InstallFile size: 145776Installing ...actual_dname::actual_id::actual_version::result::[-launchApp, -package, PlayBookTest.bar, -device, 192.168.223.128]Action: LaunchLaunching com.amp.PlayBookTest.bXAuUGxheUJvb2tUZXN0ICAgICA...done
    

    but nothing in the Simulator.

    The app is just the sample helloWorld application and works very well when I compile it as desktop AIR application.

    I'm on Windows XP and I don't have the admin rights.

    Does anyone have an idea what else could be wrong?

    Thank you very much

    Anna

    Finally got it works!

    Apparently not that if anyone else had the same problem, but just in case, here is what does the job:

    I just made a deployment command line with the flag set - devMode (without it I got the same results with Flash Builder or blackberry-airpackager, i.e. no error, but nothing appearing in the Simulator):

    >blackberry-deploy -installApp -devMode -device 192.168.223.128 -package PlaybookTest.bar
    

    And the strange thing is: now that it's installed, I'm able to run my FlashBuilder debug configuration and it installs and launches new construction without problems!

    Anyway, thanks again to all who have tried to help - I learned a few things along the way...

    Anna

  • Two logos app installation to the Simulator

    I have a problem nagging, so that I can not find a cause. When I install my application on the simulator it displays the app twice, logo next to each other. The logo is mentioned once in blackberry - tablet.xml and nowhere else.

      convertLogo.png
    

    This could be the cause. Anyone know how I can fix this problem?

    (I should mention that when I power down the sim card and restart it there are often four or more icons each of them for an application.) They all work)

    Thank you!

    When I tried to set up FlashDevelop he did this. I used to install on the Simulator FruitBat. The first time I installed a simulator application there are two icons and when I installed it again it add a. When I tried to uninstall the single icon would leave. I never figure out what was causing it. I had to delete the virtual machine simulator and create a new one to get rid of all the icons. This isn't happen again since I when the use of Flash Builder.

  • LabelButton blurred embedded fonts in the Simulator and the rendering of the fonts of the differences

    Hey people, party

    I have problems with the fonts embedded in LabelButton not made cleary by operating in the Simulator. They are crunchy when added stand alone. The button is on whole pixels and I double checked that the text in the button field is also on a set of pixels.

    Autonomous mode:

    Simulator:

    My code:

    public class GenericLabelButton extends LabelButton
        {
            protected var labelStr:String;
    
            public function GenericLabelButton(labelStr:String)
            {
                this.labelStr=labelStr;
    
                super();
            }
    
            override protected function init():void
            {
                var format:TextFormat=new TextFormat();
                format.font="font_helveticaNeue";
                format.size=16;
                format.color=0x000000;
                format.align=TextFormatAlign.CENTER;
    
                super.init();
    
                setTextFormatForState(format, SkinStates.DISABLED);
                setTextFormatForState(format, SkinStates.UP);
                setTextFormatForState(format, SkinStates.DOWN);
                setTextFormatForState(format, SkinStates.SELECTED);
                setTextFormatForState(format, SkinStates.DISABLED_SELECTED);
                label_txt.embedFonts=true;
                label=labelStr;
                label_txt.x=Math.round(label_txt.x);
                label_txt.y=Math.round(label_txt.y);
            }
        }
    

    Everyone knows this? Is font_helveticaNeue a bad font to use for the development of the PlayBook? Should I use the native font instead?

    I would also add that I use the police elsewhere in my application as a plain text field and it makes fine/crisp in the Simulator.

    I could use the native components wholesale, but I tell myself that I should at least try to use my own fonts.

    And while on the subject of the native LabelButton...

    Why text makes it differently in the Simulator this autonomous? The bg of the LabelButton doesn't resize correctly when I use the Simulator. Should I have the fonts installed on the host computer?

    Autonomous mode:

    In the Simulator:

    Would appreciate any input in this...

    Thank you

    SMJOHN

    Whoops - just realized I wrote this for you questions about LabelButton, and TextInput in which case you will need to use the textfield label_txt as you have already done (this is the default TextField fom flash.text).

    Embedded fonts will make in the TextInput QNX on the Simulator, as they do with TextInput fl.controls Flash; 100 times greater than the vector shapes.

    To make them look good, you need to change some properties of the TextInput textField.

    You can adjust the sharpness and thickness to your taste. The gridFitType property can also help alone. I have not tested it without the custom of the AA, however settings.

    _textInput.textField.antiAliasType = AntiAliasType.ADVANCED;
    _textInput.textField.sharpness = 1;
    _textInput.textField.thickness = 25;
    _textInput.textField.gridFitType = GridFitType.PIXEL;
    

    I have attached a before and after the screenshot of the Simulator. Unlike my screenshot, make sure the size of your type TextInput and/or its TextField correctly do not cut the Downhillers. Myriad Pro is displayed.

    TextField reference for anyone who comes across this thread and he needs: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.html

  • Default device in the Simulator

    Hi guys

    Is it possible to set the default device Simulator? I always want to turn into one of those more peripheral NOT. All except 6 + and 6 s +.
    It is annoying when it does not fit in my MBP 15 ".

    Thank you

    You can try to reset the Simulator, but I think it's just the default value for the last type of device used.

  • How to landscape on the Simulator?

    I can't understand how the Simulator go from portrait to landscape (guess BB have that option, honesty allows me to say that I do not have a BB device). I set myself for orientation in the controller application of "up to", which actually turn to the landscape position, but nothing changes on the virtual screen, not to mention the resolution switching.

    I use the version of Simulator 10.2.1.1925 on VMware Workstation 10 BB10. What I'm testing, is just the web browser. The site I'm doing works very well in the landscape on iOS and Android, so I'm sure that's not what is the cause of not working. But I still want to test my website on BB in landscape

    Anyone know how?

    Either works for me including just by clicking at the bottom right, as stated in the documentation, but what works for you.

    http://developer.BlackBerry.com/DevZone/develop/Simulator/simulator_gestures.html

  • Cannot debug/run app in the Simulator from IDE update

    I did the error has earlier to upgrade my momentics IDE to 2.1, and since I'm unable to successfully launch my app to the market or debugging in a simulator. The application loaded on the Simulator and I can run from the home screen by pressing on it, but while the splash screen is displayed, the application stops immediately when launched from the IDE. There is no error message displayed in the console, the application stops just immediately after the splash screen is displayed.

    I tried with five simulators which worked very well all the way from 1.0.x to 10.3.x. I am lucky to have an old copy of the 10.1.0 IDE still on my system and I can run and debug my app very well using this one, but I would really be able to use the IDE to 2.1 again. It worked fine on the 2.0 IDE too, these problems just started to happen after the 2.1 IDE update.

    Has anyone else seen this, and if so, have you found a solution?

    OK, never mind. I accidentally upgraded my old working version of the IDE too all by improving the SDK (I forgot that it updates too the IDE) and panicked because then it would be not too run or debug from the IDE. I solved it but by uninstalling the TWO versions of the IDE, then put it back up from scratch. After the clean install, everything is fine and I can run and debug fine with 2.1 IDE.

    I guess it's something messed up with the upgrade process. A fixed.

Maybe you are looking for

  • iPod to iTunes PC sync

    How can I synchronize content (copy) an iPod to a new iTunes library on a PC for Windows 10? Any synchronization how - I've seen show how to sync iTunes to an iPod. I want to go the other way - sync (copy) content from iPod to a new iTunes library on

  • My old Apple ID is popping up (and it wont let me change it). Help?

    Then try to restore my new phone of my backup, I can sign with my only current, but one will ask then connect after I choose which backup use. Because the old ID is no longer exists (but is still connected to my account somehow?) I can't 'reset passw

  • Satellite 2450-101 after the 60 GB HARD drive upgrade, made only to see 30 GB

    Hello world I'm new to this forum. I own a 2450-101, a little old man, real it´s, but still a very nice PC. Harman-Kardon louspeakers make it very useful for music. I would switch the HD, so I installed a new 60 GB (the maximum taken in charge, I sai

  • How to save a photo book spread page in pdf format?

    When you create a book with pages of propagation, saving the page as pdf does not create two pages rather it creates one.

  • Accidental warranty

    You want to know the stripes to be accidentally warranty repair?and there is a line of dust on the screen? What to do? fact is not replaced. ! my laptop is in warrenty. !