Example of ActionBar don't no how to find

When I run this example:

https://developer.BlackBerry.com/air/APIs/QNX/fuse/UI/ActionBar/ActionBar.html#includeExamplesSummar...

on my DAC, the actionbar gets made well above the bottom of the screen.  It goes the same for my Z10.

If I add traces to print both the stage.stageWidth, stage.stageHeight, I get something like 500 x 375 for two devices, but Display.display.getDisplayWidth (0) and Display.display.getDisplayHeight (0) give the dimensions of the correct screen for both devices.  The value I set for actionBar.height is not right (or 101 for the DAC).

Must be something obvious that I'm missing, but I am tired and at a loss why this simple API example seems to be bad right out of the box.  Any help appreciated.

Gaah.  I had just stuck in the example verbatim in a State of fatigue and I forgot to put in the alignment of the scene and the scaling init code:

           stage.align = StageAlign.TOP_LEFT;
            stage.scaleMode = StageScaleMode.NO_SCALE;

BTW, dimensions 500 x 375 step are default amxmlc, that's why I got incorrect values:

http://Cote.CC/blog/stagestagewidth-returning-incorrect-values-let-me-help

Tags: BlackBerry Developers

Similar Questions

  • Pavilion dv7t-7000: what fan to get? don't know how to find if I have discrete or UMA (dv7t-7000) graphics subsystems

    replaced fan needs, do not know if I have discrete graphics card or UMA, options include from the maintenance manual:

    Intended only for computers models graphics subsystems with memory UMA 603690-001

    Only for the only with computer models equipped graphics ATI Mobility Radeon HD 5470 subsystems with discrete memory 604787-001

    Intended only for computers models graphics ATI Mobility Radeon HD 5650 subsystems with discrete memory 603691-001

    I'm not sure which one of these three options I and don't know how to find out. Device Manager displays Intel HD Graphics 4000 and NVIDIA GeForce GT 630 M

    Hello

    Manual: http://h10032.www1.hp.com/ctg/Manual/c03221579

    Go through the Page 26, 76-81 you need part number HP 682061-001 for Fan/heat sink Assembly in models with Intel processor with video memory discrete.

    Online shops selling:
    HP part store-
    http://PartSurfer.HP.com/?search=682061-001#

    http://www.Amazon.co.UK/sparepart-HP-thermal-module-682061-001/DP/B008L33ET2

    http://www.Amazon.com/Hewlett-Packard-682061-001-CPU-cooler/DP/B00MF23SZK

    Used:
    http://www.eBay.com/ITM/HP-Pavilion-DV6-7000-dv7-7000-CPU-cooling-fan-with-heatsink-682061-001-/181107377385

    Fan only:
    http://www.Newegg.ca/product/product.aspx?item=9SIA64T2710612

    Maybe you'll get from online vendors, sales of fan only. Contact the seller to confirm the specifications of the part, part number, authenticity guaranteed as appropriate.

    Concerning

    Visruth

  • don't know how to find out the server for my email information.

    I had to reinstall Windows Vista (my computer was a mess), and now I don't know how to get information on the mail server

    I don't know how to find out the server information I need

    to set up my email again.

    Also, my pictures 'lost' since I have done this?

    Hello

    Contact your ISP (Internet Service Provider); They provide your broadband / dial connection.

    Ask them to:

    1. your username with them

    2. your password with them.

    3 incoming mail POP3 server.

    4. the outgoing mail SMTP server

    All the settings that you need to come from them, not Microsoft; and they are usually happy to help you set up your e-mail program.

    You can use this guide to set up Windows Mail, too:

    http://Windows.Microsoft.com/en-us/Windows-Vista/Windows-mail-setting-up-an-account-from-start-to-finish

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    A relocation normally wipes the hard clean everything, as part of the resettlement process.

    Two things you can try:

    1. find a windows.old folder (depends how you reinstalled Vista)

    "How to restore your personal files after performing an installation of Windows Vista or Windows 7"

    http://support.Microsoft.com/kb/932912

    2. This program has had good results in data recovery in circumstances similar to yours.

    http://www.Piriform.com/Recuva

    See you soon.

  • Hello, my bare of tools a missing person is left and not of I don't know how to find I is still in the tool to crop my picture thanks.

    Hello, my bare of tools a missing person is left and not of I don't know how to find I is still in the tool to crop my image.

    Go to the window menu and choose Tools.

  • How can I find my serial number and the Redemption Code? Troubleshooting keeps taking me to a page to enter my redemption code, but I don't know how to find my redemption code?

    Troubleshooting keeps taking me to a page to enter my redemption code, but I don't know how to find my redemption code?  I need to activate my membership as soon as possible.

    Help, please!

    Use your redemption code to obtain a serial number.

    Using redemption code

    https://redeem.licenses.Adobe.com/getserial

  • HELP PLEASE! I lost about 400 GB of MP4 (film and audio book) using Chkdsk files. He repaired broken sectors/files regardless, but it changed the extentions. How can I find new extensions? they are there, but I don't know how to find them.

    I have Vista Home Premium. I have a huge media collection for my ipod. I save all my video files and files on an external hard drive (my book 500 GB) audiobook while they clutter up my internal drive and so I can store them where my internal drive has failed somehow... Well I got the opposite happens. I started to get my video files would not open in their records. I ran Chkdsk utility to "fix" the files. When the program has finished running he had a Msg: something has changed the names of files and everything I was supposed to go to the files and the rear switch (as far as I can remember... I don't wear SPECIAL attention for the MSG that I thought it was normal and the program would take me to the files when it was done... ERROR. All desktop shortcuts no longer find files directly by going to my computer, then by looking at the HD I cannot find the files.  I used the program REcuva file hippo and it restores the few files that have been deleted out of the dirve and allowed to see some of the video files and audio books (but no tag info remained on the recovered files. I had to so I would like to know what they rename them). Other than these few files... less than 20 I t help either. Records that they are still there, but it asks me to open files with a program from a list of choices and not of the program draw files. (the choice to choose this high program open this type of file is also blacked out). Also when I run the cursor over the records of the size of the files do not match wat I know should be in the files. But if I just look at the my computer screen and run the cursor over the icon of the letter itself it show that there is 435 + GB hard disk info and 50 + GB of space left on it.
    A few questions:
    1. is it possible to see all the possible msg that the command chkdsk can generate so I can find that he gave me when he fixed my files?
    2 - How can I find these files if I don't know the extensions I'm looking for? they were for quicktime mp4 files, but I don't know now.
    3 - If the drive to my drive internal and try to list the backup files is located on the drive where I'd start trying to open the files?
    4 do I just need to cut my losses and reformat the hard disk, crying over 2 years, he took me to build the library and start over again >? (at least I kept some of my files from itunes library since itune on DVD about 1.5 years ago (about 300 GB of data there))
    And by the way the reader is set up to the FAT 32 format, that I did not know until this all happened.

    Go to start / Control Panel / folder Options / View and uncheck Hide extensions for known file types.  You should also check the box to see the system and hidden files while you're there.  This should show you the extensions of all files if that is the problem.  You can then rename the files for extensions are associated with a program that will open and read the files (you may need to experiment first with some programs to find one that works and an extension that works if they have been changed).  I don't know any way to do this for all files at once - they will have to be renamed individually (yes - I realize counts the number of files involved, but I know of no program in Vista or even a 3rd party program that will change the extensions for a group of files at a time - you can check for yourself on www.tucows.com and www.download.com).

    Desktop Shortcuts no longer work because either the file type of the source file has changed and the shortcut does not open the file, or because the file has been moved and the shortcut can not find the path.  You should be able to check the path by finding files (whatever they are now called) and see if they are in the same directories in path as they were before this happened.  I think it's because the source file works more correctly because of the extension (or corruption).

    Recuva to recover lost or deleted files - not the files that are on the system (and you won't not solve your problem by deleting them and then use Recuva to recover because it sounds like the problem is with the extensions and Recuva is not going to be able to correct it (it is not part of his program)).

    There's no list of ALL possible messages that might be generated by chkdsk I know.  Here is an article on the chkdsk command works in XP and some messages it generates - but far from everything and nothing look like the one you receive (and it works essentially the same under Vista): http://www.isd518.net/District/TechDir/Help/Chkdsk.htm.

    The backup on your internal hard disk drive will not solve the problem - just move it.  The 'damage' to the files are already done a backup now will not solve anything.  The fact that the drive is set up in format FAT32 is not the question (and probably not the question in the first place is) and change to NTFS now is not going to solve the problem (although you can do that after all this has been resolved).

    I won't tell you to cut your losses - this is a pretty drastic step and there may still be other options (although I don't know myself).  You can take the reader to a recovery expert data (NOT Geek Squad or one of these other major centres to store) which may be able to recover some, most, or all files.  It will be expensive and only you can decide if it's worth the cost.  These people usually the game fee and do not offer a guarantee of recovery - even if they don't recover anything you always pay.  The decision is yours.

    If none of this works, transfer your question in images and videos Forum at: http://social.answers.microsoft.com/Forums/en-US/vistapictures/threads where people who specialize in issues related to the video may be able to help with your problem, since it's video files.

    I hope this helps.

    Good luck! Lorien - a - MCSE/MCSA/network + / A +.

  • The following error has been made a while ago, but don't know how to find out if a solution has been found?

    Microsoft VBScript runtime error '800a01a8' object required /include/SiteSecurity.asp

    This is for the next Web security. It's the only one that shows this error and I have a dozen of bookmarks. I contacted the company and they have any problems to an end and my link is: http://www.nextwebsecurity.com/Contact.asp.

    I tried to use the Opera browser and am still getting the same error.

    Can it be fixed and why it doesn't work no more (stopped working in early December, 2012) and I used to volunteer for this site.

    What is the error, and what you do to get the error? I need more details

  • I have a PS3 which is connected by a cable ethernet for my laptop, but how to make the laptop recognize the PS3, I don't know how to find?

    PlayStation 3

    lingsguest,
    Thanks for posting on the Microsoft answers Forum.  According to the website of Sony PS3 "file transfers directly between a networked PC and PS3 system are not possible.' http://PlayStation.custhelp.com/cgi-bin/PlayStation.cfg/php/enduser/std_adp.php?p_faqid=1521&p_sid=GK6c1LJj
    If your PC does not see the PS3 it could appear as an unknown device and you would not be able to access.

    I think that this is a security feature of the PS3 to help prevent being hacked.  Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to find and activate hardware acceleration.

    I have a HP Pavilion dv7 and recently received a message from HP for an update.

    The message says that I have to make sure that hardware acceleration is turned on.

    I don't know how to find out if it is on OR how to turn it on.

    Any help would be appreciated.

    Thank you.

    Larry

    Hello

    Please watch a short video:

    https://www.YouTube.com/watch?v=8U-um6nfcKU

    Very similar to Windows 8.

    Kind regards.

  • How to find parts for my wifi code

    How to find parts for my wifi code? I bought an external usb wifi. I don't know how to find the area code for it.i have these options in its settings.

    Hello

    Please let us know which external USB Wifi are you referring to?

    I suggest you to contact the manufacturer or look at the manual for assistance on the issue.

    Let us know if you need help on the issue. We will be happy to help you.

     
  • How to find the e-mail address for my HP 6700? Printer shows E-Print connected.

    I am using the Forum to get a new code to the printer and the printer shows homepage that's on, but now I don't know how to find the e-mail address for my computer.

    Hello

    In the front of the printer, go to configuration. Locate and enter the Web Services. Aprove any step to activate the service... leave the system a few minutes to complete your registration, a page will be printed automatically with the code printer and directions to select the email address of hpeprint.com.

    Kind regards.

  • How to find the properties of the extension using PowerShell

    So I found the Majesty of the new viproperty, but I wonder how a person to find all the properties of the extension (note: I am not sure if the 'extension property' is the correct definition or the end of what I'm looking for).

    Here is an example of what I am trying to accomplish in this cmdlet bit that I created a new viproperty that retrieves the host name OS comments:

    New-VIProperty-name OSFullName - ObjectType VirtualMachine - ValueFromExtensionProperty "Guest.hostName" - Force

    Using this example, I want to determine is how to find all the values of the extension property.  In other words, how would fetch "guest.hostname" without copying LucD?

    Laughing out loud!

    Seriously, objects that sit behind the property, ExtensionData, or once returned by Get - view, are in fact objects of vSphere.

    On the other hand, the objects returned by the PowerCLI cmdlets are sometimes called .net objects.

    For example, the cmdlets Get-VM returns a .net VirtualMachine object.

    This object contains a number of properties selected by the Dev PowerCLI team, based on the properties that they think you might need more.

    In this VirtualMachine .net oppose, there is a property called ExtensionData, which is a copy of a VirtualMachine vSphere object read-only.

    These objects of vSphere are described in the vSphere QAnywhere.

    The same vSphere objects are also returned when you

    Get - VM | Get-View

    or

    Notice-EEG - ViewType VirtualMachine

    The difference with the .net objects, is that these objects vSphere contains all the properties and methods available.

    On your question, in the API reference, you go to the VirtualMachine object.

    Here, you click on the property of comments, and there you have it, the GuestInfo object that contains the host name property.

    Now, unfortunately, there is no book "How to find stuff in the API Reference" on the market, except perhaps for Steve Jin VMware VI and vSphere SDK: management of VMware Infrastructure and vSphere.

    Although based on Java, it shows what is available.

    In addition, start browsing the API reference from time to time and especially other people to see what 'hidden' properties look code, they come with API reference.

    BTW, is there a collection of definitions of New-VIProperty available for you to start.

  • Beginner: how to find patches that are needed?

    I have an Oracle DB or a number of (previously installed by a person) from 10.1 to 11.1.

    I would like to patch some of them if necessary, but I don't know how to find patches are needed?

    TNX

    Hello

    The following methods will help to know what are the patches installed at your HOME of ORACLE

    (1) lsinv-bugs_fixed opatch

    This option will give the description of the patches installed as below, but the opatch version should be greater than
    10.2.0.4.5 for version 10.2 ORACLE_HOMEs

    $ lsinv-bugs_fixed opatch

    8576156 8833280 kills Feb 09 16:54:18 MST 2010 PSU 10.2.0.4.3 DATABASE (INCLUDES CPUJUL2009)
    8833280 8833280 kills Feb 09 16:54:18 MST 2010 PSU 10.2.0.4.4 DATABASE (INCLUDES CPUOCT2009)

    (2) select substr(action_time,1,30) action_time,
    substr(ID,1,10) id,
    substr action (action, 1, 10),
    version of substr (version, 1, 8),
    substr(BUNDLE_SERIES,1,6) bundle,
    substr (Comments, 1, 20) comments
    history of registry of $;

    This option works when installing the posts were made for this patch

    Thank you
    Krishna

  • I don't know how to add additional devices to my list of "trusted devices" in my Apple account.  When I opened my account on Apple using my apple id, I see only my iphone6 listed as a "trusted device";  There is a button to edit, for example. Delete the d

    I don't know how to add additional devices to my list of "trusted devices" in my Apple account.  When I opened my account on Apple using my apple id, I see only my iphone6 listed as a "trusted device";  There is a button to edit, for example. deleting devices, but I can't, or I do not understand how to add my other devices to my approved devices - but is anyone know how to add my Mac and iPad to this list?

    Download a purchase on a device should associate this device with your Apple ID take a look at this.

    View and delete devices in iTunes - Apple Support

  • After purchasing the cloud creative and used for 2 months (for example), so I don't use it for 3 months. How is it? I don't have to pay the tariff for each month, or is it possible to only pay when I use it again? To resume: if I use it for 5 months a

    After purchasing the cloud creative and used for 2 months (for example), so I don't use it for 3 months. How is it? I don't have to pay the tariff for each month, or is it possible to only pay when I use it again? To resume: if I use it for 5 months a year, I have to pay for only those 5 or 12 months?

    No, if you have a subscription according to the type of subscription, you will have to pay each month or year until that you cancel.

    If you think you would use the apps for only three months, then you will not need three months, then our month to month plan would be best for you because it can be cancelled at any time it does not come with an annual contract for more information see the link below

    Adobe - General conditions of subscription

    Kind regards

    Bani

Maybe you are looking for