WebWorks 2.0 - 2.1 BlackBerry device Simulator & Z10

Hi BlackberryDev,

Please someone knows the ***@Media queries * to target Blackberry 10 platforms i.e. Z10, Z30, and Q10

 

More Blackberry 10 Simulator 2.1 sizes are NOT ACCURATE...

I have a Z10 - camera inside the web Inspector in my Webworks 2.0 application... I check window.innerWidth and window.innerHeight ... The result I got from the Simulator is different than the device... I do not understand WHY

 

CSS my app looks good on the device, but the CSS is disabled by 40px on the Simulator...

I'm sticking with the CSS I used for the device... but the problem is that I have to create a different CSS to the Q10 and Z30... So I need a precision @ Media query that I can use to target Q10 and Z30

I don't want to use any library such as JQMobile or BBUI... I want to use pure CSS that I'm comfortable with.

Thanks in advance.

The dimensions of the display of these devices include (height x width):

  • Z10 - 1280 x 768
  • Z30 - 1280 x 720
  • Q10 - 720 x 720

Device for these pixel ratio is 2.2437500953674316, which means that the following media queries should provide what you need:






Check out this excellent article, written by my colleague Anzor, support BlackBerry 10 sizes of screen:

https://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/how-to-set-up-the-viewport-for-...

Tags: BlackBerry Developers

Similar Questions

  • Read the files using BlackBerry device Simulator...

    In the device Simulator if you take a photo using the camera option it shows that it is saved as a .jpg file.

    I can read such a file using the FileConnection method? This file is real?

    Or should I use a real BlackBerry device to simulate it?

    Because what I'm looking for is to read the image stored in the device and attach it to an email and send it.

    But it seems as if this file is not accessible, even if I give the path of it.

    For example:

    FileConnection fconn = (FileConnection)Connector.open("file:///SDCard/BlackBerry/picture/IMG00017.jpg");

    Can anyone give a solution for this?

    Third-party applications are not able to read the example of media (pictures, sounds, etc.) which is preinstalled on a BlackBerry handheld.  You should be able to read files created by the user or other applications.

  • Password blackBerry device bad Z10

    Hello

    I entered my password for the device but the phone call saying failed attempt and your data will be erased.

    At the 10th attempt, my smart phone BlackBerry erased and now I don't see anything on the phone, his Blanck without menu or app.

    Please what do I do? Help me!

    Hello chinwemy1,

    Welcome to the BlackBerry Support Community Forums

    I'm sorry for what happened to your BlackBerry

    If 10 times the password was typed wrong then it will be cleaned and restored to factory settings

    If you have a backup of your data you can retrieve it with BlackBerry link please

    Ice

  • BlackBerry World on 10.3.1 device Simulator

    Hi all

    I searched here and found no answer on how to test the invocation of the BlackBerry world in the last 10.3.1.xxx Device Simulator!

    can someone help me please?

    I can not even find the World of BlackBerry app in the Simulator...

    BlackBerry World is not supported or included in 10 of BlackBerry Simulator.  Applications downloaded from BlackBerry World on the Simulator will not work because they are compiled for the ARM and the Simulator uses x 86 binary.

    To test that you will need to use a real device or a test like the Perfecto Mobile service that allows remote tests on real devices.

  • How do I debug my application using BlackBerry device instead of Simulator

    Hi all

    Currently, developing an application and tests normally this application using Simulator by right-clicking the application and select Debug as blackberry Simulator, now I want to test the app using device, I plugged the unit using the USB port to my windows pc and when I click with the right button on the application and select Debug as blackberry device it does not work? How can I test my application using device someone give me idea

    1. Connect the BlackBerry device to your computer via a USB cable.
    2. Open the BlackBerry Device Manager.
    3. Install the application on the BlackBerry smartphone.
    4. In Eclipse, the menu run, click Debug Configurations.
    5. Right click on the BlackBerry smartphone, and then click New.
    6. In the name field, type a name.
    7. Click the BlackBerry device.
    8. In the BlackBerry device configuration section, do one of the following actions:
      • Select attach to everything connected to any device BlackBerry is connected.
      • Select attach to the specific device. Select a device of BlackBerry to attach it to the BlackBerry device drop-down list.
    9. Click on debug.
  • Where can I download Blackberry Q10 Simulator

    Hello

    Where can I download the 10 Q Blackberry Simulator, there is no clear link specified to download the Simulator for Q10.

    Only link that I stumbled on by download is

    http://developer.BlackBerry.com/native/downloads/bb10allsimversions/

    AnyIdea where it can be downloaded.

    Thank you

    Rakesh

    Hello

    Yes the current BlackBerry 10 10.1 device Simulator now supports the two factors of shape for the Z10 and Q10. You can download it here.

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

    Thank you

    Matt

  • Get the UUID of my Black Berry Device/Simulator

    Hello

    How it is possible to get the UUID of my Black Berry Device/Simulator using C++ code?

    Thank you.

    So, something like that? https://developer.BlackBerry.com/Cascades/reference/quuid.html#createUuid

    If this is not appropriate, please explain your use to do this, then a useful answer can be given.

  • File Manager for BlackBerry 10 simulator

    I do work with files on the Simulator and I want an easy way to view/delete the files. Is there a file manager for the Simulator 10.1?

    Yes, the native SDK BlackBerry provides a graphical user interface to copy files to and from a BlackBerry device or a simulator.  Follow these steps to copy a file.

    1. Make a run as a Debug on your application and deploy a debug version of your BlackBerry tablet.
    2. Click on the window menu.
    3. Choose the command display see her-> from others.
    4. Expand QNX.
    5. Select target file system browser , and then click OK.
    6. In the target file system browser window, expand sandboxes, and then expand the folder for your application.
    7. Select the folder that contains the file you want to copy.
    8. 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.
  • Connect a device Simulator to a BES

    Hello

    First of all, I am a newbie to everything that blackberry.  I will work on the development of mobile applications on blackberries for our society.  We currently have a BES, I try to connect to a device Simulator.

    I followed the instructions I found online here.

    And according to the instructions, I was connected, but I am still unable to navigate anywhere.  Instead, I get an error message about: unable to connect to the selected Mobile Data Service, please try again later.

    Any thoughts on what I might hurt?

    I use the simulator device for 9500 and I think our BES corp is 4.1...

    Thanks in advance.

    In the BlackBerry Smartphone Simulator, go to Options, Advanced Options, service book.  What the PDAP service books do you see there?  You should see an entry that says "Desktop [IPPP]", which is for your BlackBerry Enterprise Server.  If you see other entries of the PDAP attempt to delete in origin by choosing Delete in the menu.  If this does not help, try the following:

    1. close the Simulator.

    2. run clean.bat or manually remove the .dmp files.

    3. move net_rim_bb_sbinjector_lib.cod and net_rim_sdk_simulationSB.cod from the simulator\Java directory to another location on your hard drive outside the directory of Simulator (keep it in case you want to use the MDS - CS Simulator and/or mail server Simulator).

    4. follow the steps of the DKB article you reference above (you will need EA again).

  • Blackberry app in the world running on the Blackberry 10 Simulator

    Hello

    I would like to run blackberry apps world that I download on App world on the Simulator.

    I could do with the pre OS 10 simulators, but with the latest it doenst seem to work, no matter what Application download.

    I tried with different versions of the Simulator including 10.2.2_0X1444

    The Simulator to load correctly.

    I can browse the internet, so I know I have connectivity,

    I can go on the App World and then choose an application to download.

    The progress bar then moves as it downloads the file.

    However at this point, I'm getting the problem. Once the file is downloaded then just get the message 'Installation pending '.

    Is it possible to get an app in the blackberry world to run on the Simulator?

    answered my own question...

    Of

    https://DevNet.madewithmarmalade.com/questions/14729/test-launch-of-a-BlackBerry-bar-file-on-a-Devic...

    The reason is basically because the Simulator is x 86/intel architecture and we build for ARM (device architecture).

    We want to support the Simulator, but various other tasks (for example Windows Phone) platform support take priority for the forseable future. There are some difficulties to support the Simulator with an internal architecture on our side, graphics drivers, etc..

    Note that because the binaries, you can run in the device Simulator BB10 and aBB10 are different (if you use BlackBerry own SDK, it will compile two different binary, one for each architecture), you would not even test a real construction identical and there is always possibility of issue on the device, you do not see on the desktop.

  • SE connect Blackberry 10 Simulator and BBM works does not in the Simulator

    Hi all

    I use QNX momentics IDE for development and blackberry 10 Simulator.

    I use the simulator using VMWare workstation. A problem that occurs is that my Simulator is impossible to connect to BBM. Although the Internet is there on Simulator (checked with the browser on Simulator). As far as newspapers are concerned in the case of the blackberry simulators 9900 and 9930 counted out newspapers and event logs.

    But in this Blackberry 10 Simulator, I could not find newspapers where they are generated.

    Please tell me the location where in 10 blackberry Simulator logs are generated.

    Thank you best regards &,.

    Tushar

    for newspapers, check out this link

    http://supportforums.BlackBerry.com/T5/native-development-knowledge/debug-on-the-device-with-console...

    Please mark as solution if it helps

  • The addition of Eclipse Device Simulator

    Hi all

    To add an additional Device Simulator in simulators the list (now I see that 9000, 9550 & 9700) of the eclipse. Checked a few queries of old, but I could not find all the answers in them.

    I downloaded the simulator of a particular model and received an executable.

    Installed the same and could see in the options of software RIM (start-> Research In Motion--> simulators), but not in Eclipse

    How to add this Simulator (executable) to the list of simulators in Eclipse.

    If anyone can help in this context.

    Reach... \eclipse\plugins\net.rim.ejde.componentpackXXXXXX\components\simulator

    Open the file SimPackage - JDE.rc with any text edito

    There are two lines that describs each Simulator like thi

    SimulatorCommand8830 - JDEinstall_di\fledge.exe/app = Jvm.dll / Pocket = 8830/session for partner = 8830/app-param = DisableRegistration/app-param = JvmAlxConfigFile:8830.xml/data-port/data-port = 0x4d4e /pin = 0x2100000A 0x4d44 =
    SimulatorDirectory8830-JDE =

    SimulatorCommand9800-JDE = 6.0.0\6.0.0.141 C:\Program Files\Research in Motion\BlackBerry Smartphone simulators (9800) \fledge.exe/app = Jvm.dll / Pocket = 9800/session for partner = 9800/app-param = DisableRegistration/app-param = JvmAlxConfigFile:9800.xml/data-port/data-port = 0x4d4e /pin = 0x2100000A 0x4d44 =
    JDE SimulatorDirectory9800 = C:\Program Files\Research in Motion\BlackBerry Smartphone simulators 6.0.0\6.0.0.141 (9800)

    You can add your new Simulator, you must restart eclipse

  • Read Device Simulator jad properties programmatically

    Hello.

    I know there are ways to read properties in an RIMlet JAD file, but we face a problem when you use the Simulator devices:

    The common way to do this is more sample extract to:

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/programmatically-read-the-attributes-o...

    And it's working pretty well on the device.

    However this code snippet does not work when you use the device Simulator (we use 9000 Simulator included in JDE components). It seems that he is not capable of matching the CodeModuleGroup of the application.

    The project is compiled with API 4.6.1 and we use ant + bb - ant - tools for the generation.  Pourrait - what the problem may be because on a simulator, we do not install the app?

    So the question is: is there a trick to be able to read the file properties on the simulator device as jad?

    THX in advance,

    Why not install the application via the jad, rather than compile directly in the Simulator?

    If the MDS Simulator, start it up the Simulator you want to test with, put your jad/cod on a web site accessible and load from there.

    Just a thought.

  • How to get a ID each blackberry device

    The DeviceInfo.getDeviceId () to get a unique identifier for each blackberry device? I want to use "GPRSInfo.getIMEI ()", but in the Simulator just give me 0000.0000 etc, and I guess that everything is for the device with GPRS? I don't know if all the devices have the GPRS info?

    Thank you in advance for your help!

    Greetings

    It is unique to the device, no other device will have the same identifier.

  • Push the message undeliverable to the live Device - Simulator (Eclipse) works

    My app works great on different simulators, receive messages from my server (all on localhost). However, I can't make it work when I plug in my phone via USB. I select my phone in the list of Blackberry devices and then installs the application, starts the listener in the background and I can open the user interface. Messages are delivered to the MDS, but they then fail with the message:

    PushServlet: FAILURE - cannot map device XXXXX a host to the PDAP.

    I tried to add my device Simulator "rimpublic.property" section, but that didn't work either: I think that it comes to queue messages.

    Any advice?

    Thank you

    Karl

    I found the answer. It is the combination of two things:

    (1) I had to use 'ApplicationManager.getApplicationManager () .inStartup ()' to delay my code from running until the aircraft was ready.

    (2) I tried to debug using my direct phone with an SDM server on my laptop (localhost). I never had this work, but once I opted for the reality of the BES server, the debugger kicks and everything worked as expected.

    Karl

Maybe you are looking for

  • Satellite Pro 300 L. Wireless only works intermittently

    I have updated all drivers wireless on the laptop. It is running Vista and all updates have been applied. Wireless continues to stop intermittently. He doent loses the connection with the access point but ping fails, where another computer attached t

  • stand alone computer activation LabVIEW code

    Hi I am trying to install LabVIEW 2010 on a stand-alone computer, I have the serial number of the product, but I was wondering how to get the 20 characters activation code?  It is currently installed in eval mode. Thank you.

  • Why my computer disconnect automatically after 1 minute?

    I just got the update service pack 2 since then my computer has automatically disconnected every minute. Yes I turned everything in power forever mode, or even in advanced setting. and my screen saver is disabled

  • HP Pavilion Dv6t 2000 CTO-two unknown device

    Hi all My laptop is HP pavilion Dv6t 2000 CTO, product no.: NQ615AV, run the Windows 7 64-bit operating system. It has two unknown device: PCI Express Root Complex Intel PM55 Express Chipset LPC Interface Controller - 3B 03 Driver status: code 28. I

  • Clean the PC files and delete files.

    I'm trying to clean up the House. I have a number of things on my hard drive that I don't know if I need it or not. They show as follows: For 2007 Office System Compatibility Pack Update of security for MS office 2007 sys: 972581 10/19/2009 KB969618