Question about scaling for orientation landscape

I noticed when you use the Simulator BB10, my app is scaling according to the reported resolution of 768 x 1280 instead of 1280 x 768. For this purpose the application is updated to be the incorrect scale. If the application is configured to start in landscape mode, the device should not report as such resolution (1280 x 768)?

Is it possible to understand dynamically? or just assume if horizontal is reported to be smaller than the verticle, just trade accordingly?

Hope you get what I mean, I probably not explains it very well

Just because you specify landscape, the device will probably be in the corresponding mode. Default mode BB10's portrait and on Tablet, landscape.

It is best to look just at the stage width and height to determine the current orientation and restore as needed. You can listen for orientation changes as well.

If you run only in the landscape, then you will need to flip how your draw based on if app is landscape-aligned or not aligned it to landscape.

You may be able to simply rotate your landscape drawable on a change of direction.

Tags: BlackBerry Developers

Similar Questions

  • Question about support for LabVIEW DLLS and Unicode

    Hello

    I have a question about LabVIEW and DLL functions calls.

    I use a DLL (sorry, I can't share it) that was written in C. It was written to support Unicode and non-Unicode function calls.

    The Unicode function is valid, then FunctionNameW is called if FunctionNameA is called.

    I am building a few VI to access the library. I have the regular functions of FunctionNameA work.

    My question is, does LabVIEW support versions of function FunctionNameW Unicode, and if so is it necessary Although LabVIEW is already working with the standard function call?

    Am I being redundant or what should I build in Unicode support?

    The first time I tried to test the Unicode functions, I had an error, and I guess this is a system setting.

    Thank you for your time in advance.

    DB_IQ wrote:

    I don't think I have TO implement the Unicode, but I want if I can.

    For what I do, I think almost it is not serious. But I wanted to know if it could be used.

    The short answer is "Yes, you can do it."  However, it may open a new Pandora's box.  If you're not careful, problems and complications that can still spread to other projects that are not using Unicode!  It is better not to summon this monster unless there is absolutely no other way to do the job.

  • Question about encryption for a VPN established between two of our sites

    We have two routers Cisco 2951, one at our main location and one at a branch.  An engineer for a local company came and worked all the parameters, including the VPN between the two men.

    For an upcoming exam, the firm wanted to know what kind of security/encryption has been implemented between the two routers.  The engineer is no longer available, so I've went over our configuration files for each of the routers and will have questions about what to tell them (I'll be the first to admit that some of this stuff is over my head).

    I enclose the portions of the configs with "crypto" information he put in place.  If you see something wrong, or need something extra, let me know.

    Thanks in advance!

    That's what you use:

    Phase 1: 3DES, SHA1, PSK, Group2 DH (1024 bits), life time 86400 s

    Phase2: 3DES, SHA1

    Which is today considered legacy crypto, but probably nothing to worry. The crypto-config has always considered that there is "room for improvement"...

  • question about size for android devices

    Hello, I created an app for the ipad and I want the same app for android, my question is about the size.

    What zize I must set in indesign to create the application for android devices? or can I use the same (size of the ipad) and the app will be resised for all devices?

    Thank you

    If you are using 1024 x 768 and PDF that should work for almost any device of Tablet.

    You can visit this page for compatibility with non - iOS feature devices: http://helpx.adobe.com/digital-publishing-suite/help/supported-feature-list.html

  • A Question about catalyst for a fool to programming

    I don't know anything about programming and I don't want to. I am a photographer and videographer. Programming is not my thing. That being said, I have messed around catalyst and I love how it is easy to make nice looking pages interactive and such.

    Now for the question. Can I use just the catalyst (as in any other software is necessary) to build a website for my company or I need, say, Dreamweaver too?

    So, can I build a Web site using only Flash Catalyst.

    Thanks in advance.

    How Adobe Flash Catalyst advertising, is that you don't need to know programming. I still run across problems where the only way to go into the code and change it. So, my impression is that simple Web sites can be designed using Flash Catalyst or it can be used for more complex interfaces quickly prototype which then need to be filled in the code section.

    Yes, you can design an entire website with Flash Catalyst. That's what I intend to do (with some codes html in addition to him) with my Web site. You initially design in Photoshop or Illustrator.

    I hope this helps.

  • Questions about memory for Mac beginning of 2008

    Someone at - he used the Adamante memory in all their machines?  Available on Amazon 16 GB(2x8) 249 more 5.61 hii - 255,000 Macsales has their image on sale now for $279, usually $299

    Upgrade of RAM Apple Adamanta 16 GB (2x8GB) for Apple Mac Pro early 2008 (8 cores) 2.8 GHz CPU MA970LL/A DDR2 800 MHz PC2-6400 ECC Fully Buffered 2Rx4 CL6 1.8V FBDIMM

    by Adamanta memory

    Adamanta has a lot of memory on their site, but I think they mainly sell through Amazon

    Question # 2

    I'm looking at the specs on my early 2008 and noticed that the motherboard has 8 slots for memory-what is it for and why they are not met?

    Better buy RAM by Crucial > http://www.crucial.com/usa/en/memory-info?cm_re=top-nav-_-flyout-memory-_-us-mem ory

    I highly recommend them for the RAM.

  • Question about batteries for laptops and a station (HP Elitebook 840)

    Hello

    I have a question for plagging the laptop to the docking station and battery, basically my main concern is not to connect to the laptop to run a/c, while it is fully charged and I'm always load only up to 100% and then when it reaches the minmum load then I connect it comes back to a/c, so my question here

    So do you think that that plug the laptop into the docking station will not decrease the duration of battery life because it will always be in charge mode?

    Thank you.

    After this announcement, I made a simple google image search with different keywords before 'docking and battery' and I found the following thread that answers my question

    Docking station ruin the battery?

    http://h30434.www3.HP.com/T5/notebook-hardware/is-docking-station-ruining-the-battery/TD-p/3249345

    Thank you rcspencer

    Thank you.

  • Question about RAM for eMachines 633ids

    Hello

    Just bought an eMachines 633ids work today. The PC is old and it came with 64 MB of SDRAM. I have an eMachines broken T1742 with 128 MB of RAM. I was wondering if I could put the T1742 broken in the new 633ids RAM. It will work and is it safe? I don't know if RAM of the broken T1742 is good because the motherboard is shot. Do I just buy new RAM for the 633? If so I wouldn't mind putting money into it because it is in perfect condition. I paid $15 for it.

    Thank you.

    Don

    They wont even fit (see shears) the good news is the ram for 633ids (128 MB which is max) when you can find it (google it) is about $20

  • Question about fiber for 2911 modulus

    Hello

    I am kinda new in the world of fiber and would welcome some guidance on how to proceed on some confusion I have.

    We have an access provider that is given to the connection in single-mode fiber (LX) to 10 Mbps with a ST connector. We have a 2911 on site and I did some research on the modules and found the GLC - FE - 100LX module. So my question is this would not negotiate or I would be able to set the speed to 10 MB? IM assuming that this module is a connector LC so just need a cable to LC single mode fiber ST?

    Thank you for your help.

    I would check with the ISP if they actually give you a strangled 10 MB 100Mb connection.  An optical interface 10Mb is not very common these days.  100 MB transceivers not to negotiate at 10 Mb/s.

  • Question about license for upgrade of stand-alone LR6, mine says creative cloud

    I bought the upgraded version of stand-alone LR 6 about a month ago, I had to call and talk to the sales agent to know how. She was very nice and helpful, and I explained that I had tried the CC subscription in January and after 2 weeks decided that it was not for me and it canceled and got a refund of my money. She said no problem and that I could simply upgrade with a stand-alone version and I was not present on the CC subscription plan insofar as she could say. She took my credit card information and sent me the link to download.

    Now that I got a month I noticed by looking at the info system only under Version of Lightroom: CC2015.0.1 (1018573) it is said license: CC. That doesn't seem fair. I thought he'd say perpetual or something like that.

    I have also noticed that if I click on manage my account and it takes me to the connection, and then the page counts, he told the Plans and products, plan of creative photography of Cloud (one year).


    I'm starting to wonder if they still think I'm a CC map.

    Serialize Lightroom trial to activate like Lightroom 6 CC

  • Question about classes for the workshop held for OCP

    Im working on my OCP to complete in a few months. Quick question on the workshop class. Is there a test at the end of the week?
    Also how most people pay for these classes? They are quite steep and my company does not pay for this kind of thing for me. IM paying totally of my own pocket. Also why is the class in line of the same amount as the lead instructor class? His im not like in a room at some construction that Oracle has rent to use or something.

    If you ask if the certification test is offered at the end of the course, the answer is no. The certification test is on demand separately. Actually, in the past, some groups have asked for reviews delivered the last day of the formation of a class given internal by Oracle to their installation and the results have been disastrous. Candidates need time to assimilate the information, to work with the tools and continue their studies. You will schedule your exam at www.pearsonvue.com/oracle. Good luck with that!

    Kind regards
    Brandye Barrington
    Certification Forum Moderator

  • Question about Support for creative cloud

    I think I have about 20 days left of the original support provided with my subscription to creative cloud. How to use this support? I do not think that I talked to support others in the product help questions yet. I also need to know what kind of support I should buy after that is exhausted. I am a designer who started to build websites with Muse. I also try to understand the Business Catalyst accommodation. "Thank you", in advance!

    You should post your questions in the forum Business Catalyst here http://forums.adobe.com/community/business_catalyst. They will be able to help you.

  • Questions about properties for the framework document creator

    Please tell me how to set value of creative properties document

    I tried the below coding

    PDOCConfig newConfig = PDDocGetOCConfig (newDoc);

    AsText(g) creatorText = PDOCConfigGetName (newConfig);

    creatorText = ASTextFromScriptText ("Value Creator", kASRomanScript);

    PDOCConfigSetCreator (newConfig, creatorText);

    ASTextDestroy (creatorText);

    Creation of the API is perfectly, but the performance of the tool of his display error in Acrobat that I attached the screenshotted for your reference

    screenshot.PNG

    Please help me on this

    Kind regards

    Hervé

    I you have posted this link before, but I think that nobody here has the time to download your code and debug for you - for free. I can only speak for myself, but I generally for it. If you want to (free) help make our jobs easier to come up with a question says: what you're doing, how you're doing, and what is happening.

    Karl Heinz Kremer

    KHKonsulting.com

  • Questions about CURSOR FOR... LOOP

    Good evening

    In reading the posts here, I came across a number of cases where it was clear that there is no special affection for the cursor for loops.

    I googled... found around articles naming some minor inconveniences, but nothing which would justify the aversion towards them, I noticed here.

    My questions are:

    1. why the cursor for loops so undesirable?
    2. What are alternative fuels?

    Thank you for helping,

    John.

    Published by: 440bx - 11 GR 2 on August 12, 2010 21:23 - plural on the issue and remove superfluous in the subject.

    Hey John,

    http://asktom.Oracle.com/pls/asktom/f?p=100:11:0:P11_QUESTION_ID:760210800346068768

    Has some good points on the subject.

    Cursor loops are not "bad" per say, but they go against the philosophy of treatment in bulk (unless you do things like increase your cursor with BULK COLLECT and FORALL, that would go to point 2 in your question).

    Basically, when you see a large number of cursor loops you get something like someone writing their own LOOPS IMBRIQUEES join inside pl/sql

    for x in
    (
       select * from table1
    )
    loop
       for y in
       (
          select * from table2 where table2.column1 = x.column1
       )
       loop
    ....
    

    While you could just write a single SQL

       for x in
       (
          select x.columns, y.columns
          from table1 x, table2 y
          where x.column1 = y.column1
       )
       loop
          ....
    

    The former removes a lot of options for optimization of Oracle queries can / could do since he doesn't see s a SQL both. You hit repeatedly table2 (probably via a sweep of index which means that you will get a single block IO as opposed to IO multiples of block that can be done for FULL TABLE SCAN) and remove any chance of Oracle doing the treatment 'fantasy' through things like the HASH JOINS (if the optimizer has determined the request was a good fit for one) etc...

    In general, tie you the hands of the Oracles by dictating treatment rather than run through a whole considerable options to determine the best paths to the data you need.

    You can find much better on the site, AskTom explanations, I hope that this is a decent Preview so :)

    In Oracle 10 and better, Oracle will actually convert an implicit cursor (as I used above) in bulk, with a size of default array of 100 elements (you can measure this easily with a TKPROF and a simple implicit cursor). But that still won't help you much if you write your own nested loops join like I faked it above.

    Published by: Tubby on August 12, 2010 18:51

    Added a little more... too much to say on the subject, and not enough time :)

  • Question about warranty for Satellite L300D 242

    Hi, I bought my book of neckermann.de last year and I have saled by tariffs, the last of them was October 15, 2010, was counting my monitor Hat an accident and I didn t see nothing, I want to know if Toshiba can repair with the guarantee and the number of days to take if I send to support or TechHi ,

    I bought my book of neckermann.de last year and I have saled by rates the last of them was October 15, 2010, unfortunately my monitor Hat an accident and I didn t see nothing, I want to know if Toshiba can only repair with warranty and how many days take if I send to support or technical Service because I need my laptop for my work.

    And if you know how do I be fortunately. Thank you.
    NIC Service, because I need my work pattées neetbook. And if you know how do I be fortunately. Thank you.

    Hello

    You have registered your laptop on the Toshiba registration page > http://eu.computers.toshiba-europe.com/innovation/generic/services_warranty_reg_map_eu/

    Anyway, if you need repair contact Toshiba service provider in Germany.
    How to do this you can find on the Toshiba support under http://eu.computers.toshiba-europe.com page > support & downloads > find an ASP.

Maybe you are looking for

  • Permissions on Android phone

    Hi all. Does anyone know why last update of Skype need to access/perimission to write and read to com.sec.android.provider.badge on my android phone? Don't know what it is, but have yet to see anything near similar with my other apps. Thank you.

  • HP simple pass no longer works with chrome or internet explore

    Suddenly, I can use is no longer Simple past to open a session on a BOA online account.  When I slide my finger, a message indicates that simple pass launches the address but nothing happens and the website does not open. Provided simple pass with my

  • Computer won't read DVD / CD

    I put forward to CD/DVD a few minutes... nothing...I go to work, and then on the drive itself...I double click on the drive to open the CD/DVD inside the computer and it ejects the disc saying that I need to insert the disc... What is happening and w

  • file stuck in my Outbox in windows mail

    I have a file stuck in my Outbox in windows mail, it will not send but when I go to click on it, the error message appears and says E-mail windows is not responding how can I get rid of it

  • Pavilion DV6-6c060el fan too often turn

    the fan in my laptop sometimes turns even if there is little activity.  He has less than a year of life. There may be a problem? Thanks for the attention, Tom