Identify the orientation of the device

How we can identify the direction of the blackberry device. (landscape or Potrait)

Hello

Take a look at the net.rim.device.api.system.Display, getOrientation method class.

Kind regards

Jochen

Tags: BlackBerry Developers

Similar Questions

  • How to identify the hardware CAN connected to the PC

    Hello

    Is it possible to identify the devices CAN to your PC via the USB port, I am able to see the name of material CAN logged in the Device Manager list. Even I want to read using LabVIEW.

    Regars

    Visuman

    Use of the vi in the zip file.

    And the "Devcon.exe" will show you the list of devices.

    With this list, you can sort the channel search on the EIB devices.

  • Means erasing a device as "logout" of the device identifier associated with this device Apple?

    Means erasing a device as "logout" of the device identifier associated with this device Apple?

    If an individual has forgotten to "disconnect", a device before removing the device, is that Apple ID automatically disconnected from the unit, or is it necessary to reconfigure the device with the existing Apple ID just so you can disconnect this Apple ID between the device and then erase the device?

    I found an article of Apple who deducts that wipe a device also signs the Apple ID, but article does precisely this.

    Thank you

    John

    WeaverJK wrote:

    Means erasing a device as "logout" of the device identifier associated with this device Apple?

    If an individual has forgotten to "disconnect", a device before removing the device, is that Apple ID automatically disconnected from the unit, or is it necessary to reconfigure the device with the existing Apple ID just so you can disconnect this Apple ID between the device and then erase the device?

    I found an article of Apple who deducts that wipe a device also signs the Apple ID, but article does precisely this.

    Thank you

    John

    What to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

  • Definition of the orientation of the device

    Hello

    How do you define the orientation of the device in PlayBook?

    If I try it is the only direction I can use (landscape left, all others interrupt the program):

    CCDirector::sharedDirector()->setDeviceOrientation(kCCDeviceOrientationLandscapeLeft);
    

    You can set in the descriptor bar if you only set a direction for your application.

      true
      landscape
    

    See you soon,.

    Jon

  • Get a USB device is to identify the virtual XP mode on Windows 7

    I tried to get a device from logitech, G25 steering wheel, to be identified in virtual XP mode running windows 7. However the device does not appear on the screen of the top USB devices tab or in my computer. The unit works perfectly on windows 7. But I need it to be run under XP for a project. any help? Thank you very much

    Hi WorkingRightNow,

    As the device is not detected in virtual XP mode, I suggest you write the topic in TechNet forum to improve assistance: http://social.technet.microsoft.com/Forums/en-us/w7itprovirt/threads

    Thank you, and in what concerns:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Use the liquid engine tempting and jQuery to identify the Orientation Web site

    Hello

    I have a site that I'm at the point where I need the page layout to change when someone moves from the landscape to the portrait mode on a device table.  I used jQuery to target the device when it is oriented however I have problems with loading the html code and code Liquid via jQuery on the page as my layout is constantly breaking.

    Would appreciate some advice on how to go further.

    I added the link to the web page with the error below and the actual html, jQuery and fluid code as well.

    http://www.mnialive.com/beta/index3.html

    {% assign euFeaturedVar = 314828 %}

    {% euStoriesVar assign = 104043 %}

    < div id = 'EU-section' class = ' article section row 1 ">

    < / div >

    < script >

    .about $(window) ("orientationchange", function (event) {}

    If (event.orientation == 'landscape') {}

    $("div#eu-section.article-sections.row.1").html (")

    < div id = 'EU-section' class = ' article section row 1 ">

    < div class = "col-lg-12 title" >

    View of landscape Europe < h2 > < / h2 >

    < / div >

    {% If globals.visitor.deviceClass is "desktop" or globals.visitor.deviceClass == 'compressed' %}}

    {module_webapps id = render "14585" = "collection" collection = filter "euFeatured1" = "latestClassified" itemId = "{{euFeaturedVar}}" resultsPerPage '2' = sortType = 'Date' template =""}

    {% for euFeatured1 in Articles limit: 1 %}}

    {% If euFeatured1.counter == 1 %}

    < div class = "col-md-6 col-lg-4" >

    < div class = "lead 12-xs-col col-sm-12 col-lg-12 euStories-{{euFeatured1.counter}}" >

    < a href = "{{euFeatured1.url}}" >

    < img src = "{{euFeatured1.Images}}? "Action = thumbnail & width = 428 & height = 243 & Format = png & algorithm = fi ll_proportional" alt = "{{this.items [0].}}" ["Legend of the image]

    ']}} "class ="img-reagent">

    < h3 > {{euFeatured1.name}} < h3 "/" >

    < /a >

    < / div >

    {% endif %}

    {% endfor %}

    {% Comment %} <!-1 story featured EU-> {% endcomment %}}

    {module_webapps id = render "14585" = "collection" collection = filter "euStories1" = "latestClassified" itemId = "{{euStoriesVar}}" resultsPerPage '5' = sortType = 'Date' template =""}

    {% for euStories1 in items %}

    {% If euStories1.counter == 2 or euStories1.counter is 3 or euStories1.counter == 4 %}

    < div class = "col-md-12 col-lg-12 euStories-{{euStories1.counter}}" >

    < div class = "col-xs-3 col-sm-3 col-md-2 col-lg-3 pd7" >

    < img src = "{{euStories1.Images}}? Action = thumbnail & width = 81 & height = 81 & Format = png & algorithm = proportional fill_"alt =" {{this.items [0].}} " "{{[" Caption of the image ""]}}. class = 'img-sensitive' >

    < / div >

    < div class = "col-xs-9 9-sm-col col-md-10 col-lg-9 pdr0" >

    < a href = "{{euStories1.url}}" >

    < p > {{euStories1.name | truncate: 125}} < /p >

    < /a >

    < / div >

    < / div >

    {% If euStories1.counter is 4 %}

    < / div >

    {% endif %}

    {% endif %}

    {% endfor %}

    {% Comment %} <!-1 story EU section-> {% endcomment %}}

     

    {module_webapps id = render "14585" = "collection" collection = filter "euFeatured2" = "latestClassified" itemId = "{{euFeaturedVar}}" resultsPerPage '2' = sortType = 'Date' template =""}

    {% for euFeatured2 in Articles limit: 2 offset: 1 %}}

    {% If euFeatured2.counter == 2 %}

    < div class = "xs hidden hidden-sm col-md-6 col-lg-4" >

    < div class = "lead" col-lg-12 euStories-{{euFeatured2.counter}} >

    < a href = "{{euFeatured2.url}}" >

    < img src = "{{euFeatured2.Images}}? "Action = thumbnail & width = 428 & height = 243 & Format = png & algorithm = fi ll_proportional" alt = "{{this.items [0].}}" {{["Class of image Caption"]}} ' = "img-reagent" >

    < h3 > {{euFeatured2.name}} < / h3 >

    < /a >

    < / div >

    {% endif %}

    {% endfor %}

    {% Comment %} <!-2nd story EU star-> {% endcomment %}}

    {module_webapps id = render "14585" = "collection" collection = filter "euStories2" = "latestClassified" itemId = "{{euStoriesVar}}" resultsPerPage '9' = sortType = 'Date' template =""}

    {% for euStories2 in items %}

    {% If euStories2.counter is 6 or euStories2.counter is 7 or euStories2.counter == 8 %}

    < div class = "col-md-12 col-lg-12 euStories-{{euStories2.counter}}" >

    < div class = "col-xs-3 col-sm-3 col-md-2 col-lg-3 pd7" >

    < img src = "{{euStories2.Images}}? Action = thumbnail & width = 81 & height = 81 & Format = png & algorithm = proportional fill_"alt =" {{this.items [0].}} " "{{[" Caption of the image ""]}}. class = 'img-sensitive' >

    < / div >

    < div class = "col-xs-9 9-sm-col col-md-10 col-lg-9 pdr0" >

    < a href = "{{euStories2.url}}" >

    < p > {{euStories2.name | truncate: 125}} < /p >

    < /a >

    < / div >

    < / div >

    {% If euStories2.counter is 8 %}

    < / div >

    {% endif %}

    {% endif %}

    {% endfor %}

    {% Comment %} <!-2nd story EU section-> {% endcomment %}}

    {% endif %}

    {% If globals.visitor.deviceClass is 'Office' %}

    < div class = "col-lg-4 hidden-xs of hidden-sm-md hidden" >

    < div class = "section-banners" >

    {module_adrotator adRotatorId = '7557'}

    < / div >

    < / div >

    {% endif %}

    < div class = "stories of other collar-xs-12 col-sm-12 pd30" >

    < p > < a href = "#" > more < span class = "glyphicon glyphicon-play-circle" aria-hidden = "true" > < / span > < /a >

    < /p >

    < / div >

    < / div >

    ");

    };

    });

    You can also manually force this event to fire.

    $(window) .orientationchange ();

    < /script >

    Thanks in advance.

    It's really a bit OTT.

    First, you must use media questions:

    INTERFACE design: Application CSS based on the Orientation of the screen

    There are a few bits, you'll need to do:

    The application of media guidance - QuirksBlog

    And if you need javascript on orientation change - change of orientation Detect mobile device with jQuery | PJ McCormick

    Liquid is server side, javascript client-side that you can not set liquid with javascript.

  • Determine the orientation of a device

    Hi, I've seen tutorials on the internet where people use navigator.landscapeOrientation inside a resize handler, check the orientation of a device. Who does more then, how can I check the direction now?

    I need this work as soon as a view is created, for example from the creationComplete Manager. It should also work for iOS devices and iPad. Thanks for your help.

    Ignore this, the use of FlexGlobals.topLevelApplication.aspectRatio to find the guidance works very well.

  • BlackBerry software after security wipe, BlackBerry link does not identify my backup file as valid for the device

    I had trouble with my Z10, then I backed up with BlackBerry link (which seemed to work creating a file close to 1 gigabyte) then I did a cleanup of security: when I rebooted, I went through the installer until the end, then the element 'Restore' has been enabled from the context menu of the device.

    When I click on 'Restore' after few seconds the bed message "no backup is available for this device.

    Is there a function "no, really, RESTORE THIS FILE ' emergency can I call it? I don't want to have to redownload all my apps and reconfigure the whole device.

    Thanks a lot for the quick reply... I did some additional checking and I confess that sometimes Windows file permissions are strange and mysterious to me... for some reason, Windows Home Server share where I write my backups to was ' write only ' BlackBerry-link point-of-view... when I searched and had difficulties, just pick it up and copy the file, I added my user login to the official list of the users 'Total control' on this file. , and then BlackBerry link found the file very well... now is restoration.

    Sorry for the false alarm, but maybe this will help someone else in the future :-)

  • How to identify the model of the device programmatically?

    Hello

    is it possible that I can recognize a model programmatically? I know that there is DeviceInfo class and for example something like ProductID - but it's different for each model.

    I'm looking for something that will allow me to recognize him as a model of the device is for example 8800 or 8300.

    can I do it somehow?

    DeviceInfo.getDeviceName ();

  • Rename the mac for a list of the devices apple ID?

    After getting a new MBP 15"I have now two devices listed under my identifier Apple as 'Cynthia MacBookPro 15"... »

    If I wanted to continue to use the other oldest, I wish I could tell them apart. How can I rename them? I thought naming drives was sufficient, but these names do not appear (these are the names that a be assigned in the pane sharing preferences).

    Remove the device that you want to rename your Apple ID account. Go to system-> sharing Preferences and change the name as desired, then re - register this device with its new name.

  • Library ITunes-how to identify the original track

    I've searched the forums looking for an answer to this and it seems to be the same issue that dates back to 2007, so I guess the first question would be why Apple has not done something, rather than causing me problems whenever they release an update iOS

    OK - rant over! Now, I know there's the possibility of using the "remove duplicates" in the menu, but I had this problem for a while, and when I tried to remove the titles before, I got a warning message telling me that I was going to delete the original - so, how do I find which of the indicated path is the original?

    Now, I have six or seven copies of each track and suspect that this happened since a previous update changed my settings and deleted something that stopped the tracks are copied back to the devices in iTunes.

    Has anyone found a way to identify the original track so that I can remove all duplicates?

    Thank you very much.

    You can find this thread (and the links in the responses) interesting:

    I downloaed The vaccine and now I have each track duplicated on my library. How can I get rid of duplicate songs?

  • Envy 15 t-j100 Select Edition: the device is not connected to the computer. Please insert the authentication device.

    Hello

    So I'm working on a LT desire that has been upgraded from Windows 8.1 to 10 recently and it is this message on the login screen "the device is not connected to the computer. Insert the authentication device. We can't identify what it means or what needs to be done to clear the screen. The user States that the fingerprints of impression of BIO sensor doesn't seem to work either. I looked in the Device Manager, and I see a Synaptics PS sensors (WBF) listed here and is properly installed. I even updated the driver of sensor ep on the support site of the desire, and we still see on the login screen.

    Y at - it no information or help to clear this message?

    We also note that the number on the keypad lock seems to be disabled during startup of windows 10 upwards. Before on windows 8.1 has been activated. Is there any setting to 10 to keep the active number lock.

    The user says if 10 can be made to work well, then we can go back to 7 or 8.

    Please notify.

    Thank you for your time.

    Seems to have been resolved in re - install the software HP Simple pass then go and reconfigure the settings. Message no longer appears on 10. User LT installed with 7 however. Best decision.

  • Tecra M11 - 17V - identify the serial port on the docking station

    I have a laptop Toshiba Tecra M11 - 17V, which I often use with the docking station that accompanies it.
    There is a DB9 serial port at the back of the docking station, but I don't know what COM Port.

    I use Windows 7.

    In the device, COM9 Manager - COM22 are identified as Port BT (bluetooth). Com7 - COM8 are RIM Virtual Serial Port v2, COM17 is Prolific USB-to-Serial Comm Port and COM18 is USB-Serial CH340.

    I thought that COM17 or COM18 were the most likely candidates, but have not been able to get to answer using one of them.

    I connect a Psion 5 (Comms app) to him and have developed ports and the Psion 8bits, 19200 baud, no parity, 1 stop bit.

    Hello

    > There is a serial port DB9 on the back of the docking station, but I don't know what COM Port, it is

    I think you have misunderstood something wrong
    COM ports in Device Manager are virtual com ports
    There is no link between a serial port and a virtual com port.

    I have a question: what docking station you have exactly?

    I had an express port replicator and this device required an additional serial port driver installation.

  • Storage of the device management

    I use the new iMac and iPhone but iPhone has limited storage.

    I optimized iCloud store pictures for iPhone, deleted apps, reduces the storage of messages etc. to make room on the iPhone.

    I decided to take advantage of this new and export pictures to a folder on my iMac or iCloud drive so that they are not synchronized with the iPhone.

    I just want to know if anyone can give me any tips or advice on something to look out for or another solution that I lost many of my pictures over the years, combining albums and the migration to different devices.

    If you have lost pictures in the past which would seem to indicate that you have had a backup. If this is the case and you have not yet, the best advice I could give you would be to (at least) to buy a drive external hard usb and use it to implement a backup plan. iCloud iCloud photo library are mainly oriented synchronization between devices and are not an adequate solution or a replacement for backup for a Mac.

  • can watch it identify the user?

    Hey,.

    I'm curious to know if the Apple Watch is able to identify the user who wears.

    I try to explain what I mean

    Scenario would be: I bought and use the watch, everything is set up and works great. Then for example my sister puts the watch.

    The device includes is not carry me over (e.g. a sensor or whatever it is)?

    I hope that you understand what my question is

    Good day

    Sarah

    Hi Sarah

    Your watch can be protected by a password, you should keep private.

    You may want to try these settings:

    -On your iPhone, in the application of Eve, go to: My Watch (low left tab) > General > wrist Detection - this turns on.

    -On your iPhone, in the application of Eve, go to: Watch My > Passcode > Passcode turn on (choose a password Simple or more complex).

    -If you wish: also on the password settings screen, select Unlock with iPhone.

    Your watch will be defined when it was placed on your wrist - or someone else.

    After putting on it, it will only be then unlock if you unlock your watch manually (by entering the access code) or unlock your iPhone. Then, it will remain unlocked until you remove it from your wrist, when that it locks automatically.

    If someone else puts your watch on, they will not be able to unlock or use it unless they also know the access code (or, if you have enabled the unlock iPhone option with code, you are in the Bluetooth range and unlock your iPhone).

Maybe you are looking for