Code compiled with 4.5 is strange 9530 Simulator and device

Hello

I am writing an application that supports the level of OS 4.5.  When I run the Simulator for 9530 OS 4.7, it is acting funny.  In my application at initialization, I determine the width and the height of the elements of the display and layout accordingly.  However, when I have queries Display.getWidth () and Display.getHeight () the result returned is 320 x 240!

I thought that this could be a problem with my installation of Simulator so I signed and tried on my Storm 9530 and I got the same results it.  If I compile with 4.7 that the problem goes away.

I need to stick with 4.5 well.  Anyone seen anythign like that?

Thanks in advance...

I think what you are missing, it is that these other devices have a keyboard, where the 95xx didn't. Therefore, the operating system must provide an environment where the application will be usable, and it does this by providing a virtual keyboard, which consumes the rest of the screen.

Have you tried to disable the compatibility mode? You can do this in the Options of the device (in Applications), and it can also be disabled in the JAD file for OTA download settings.

Search the forum for "compatibility mode" and you'll find many, many discussions on this feature, but also the ways of working around him.

Having said all this, my advice is to go there and have a version 4.7 for your application. If your application has any type of user interface at all, your users will be very happy with the compatibility mode on devices touch-sceen.

Tags: BlackBerry Developers

Similar Questions

  • 0 x 80070035 and 0X80004005 error codes when you try to connect to other computers and devices on the same network - unable to connect to the shared devices.

    I have a network consisting of Windows 7 laptop computers, an XP laptop and a Wireless Linksys (Cisco) WRT610 N + N with storage attached to it via its USB port.  Your PC Windows 7 has, since I can see and access to other computers and devices on storage.  Since Windows 7 PC B I can not connect (via the file manager) to A PC or NAS storage network.  Get such as 0 x 80070035 and 0X80004005 error codes when you try to connect to the IP address on the device name.  When I ping the devices of PC B I have no trouble to achieve.

    I turned off all firewalls, added the LMHOST file entries and a myriad of other tests and still cannot connect to PC B devices.  I can surf the net fine and do everything else - simply cannot connect to other devices even if these other devices can connect to me.

    I was in there for 22 years and has worked as an engineer on major networks and the network I stem - anyone got any idead. I checked all the basics such as Netbios, file sharing etc etc.

    It took a reinstall (upgrade) to get actually it works again.

  • BlackBerry 9530 Simulator and Chinese language

    Dear Forum,

    BlackBerry 9530 Simulator is installed on my computer with JDE 4.7.0.41.This JDE version shoud Chinese language support.

    However, if I add the Chinese line in the 9530.xml file, the Simulator does not Chinese in the choice of language.

    added line = net.rim.blackberry.lang.zh

    Please note that, if I add German or other languages, the Simulator offers the added languages.

    Is this a bug? Or I do something wrong?

    Thanks in advance for your help,

    Mikael Donini, Arkadin France.

    Seems that the Simulator does not support the mode symbols/input Chinese.

  • Problem with LocationListener availability and network on Storm 9530 Simulator

    Having an interesting problem. I have an application with a locationlistener which works fine on "BOLD" and curve (Simulator and device) and 9500 Simulator. Try to make it work on a Verizon 9530. It * used * to work fine, but now the question I have is this: in the Simulator (9530-Verizon 4.7.0.148 and 9530-JRE that comes with the 4.7 eclipse plugin), if the CDMA network is turned on, I only get invalid places every 15 seconds. As soon as I disable the network (by unchecking it in the simulation/network properties dialog) I can get a good location every second, as it should. If I then select the network locations stop again.

    Pulling my hair out, any ideas?

    OK, solved my problem, I had the incorrect criteria to work with the Verizon Storm discovered. Yet, very strange behavior.

  • Code not compile with java7 but compiled with java6

    Hi all

    I after class:
    public class StrangeClass < T < S, T > StrangeClass extends S extends StrangeClass < T, S > > {}

    Public Shared Sub main (String [] args) throws InstantiationException, IllegalAccessException {}
    System.out.println ("test");
    }
    }

    It is compiling with eclipse (Java 7) and java 6u33 (oracle) but do not compile with java 7u5 (oracle)

    StrangeClass.java:1: error: type argument S is not within the limits of the variable of type T
    public class StrangeClass < T < S, T > StrangeClass extends S extends StrangeClass < T, S > > {}
    ^
    where S, T are variables of type:
    S < T, S > StrangeClass declared in the StrangeClass class extends
    T extends < S, T > StrangeClass declared in the StrangeClass class
    1 error

    Don't you think it's a bug or an expected behavior?

    Because they are two different things? Java 7 is NOT just an 'upgrade' of Java 6, it's a new platform. That's why things can and will be different.

    In this case simply maybe just a bug in the compiler was plugged.

  • procedure compiled with warning.

    I need to write a stored procedure that returns the name of the table and the number of rows in each table in a schema.
    The list of tables and columns are
    Client (pk_customer_id, client_name, account_num, lname, fname, MI, Address1, city, state_province, zip_code, num_cars_owned, houseowner, marital_status, num_children_at_home)
    Product (pk_product_id, product_name, brand_code, brand_name, SRP, gross_weight_oz)
    Sales (fk_store, fk_product, fk_time, fk_customer, fk_sales_person, sales_amount)
    Sales person (pk_sales_person_id, sales_person_name)
    Salestime (pk_date, date_name, year_name, quarter_name, month_name, day_of_year, month_of_year, month_of_quarter, quarter_of_year)
    Store (pk_store_id, store_name, store_type)

    This is the procedure I wrote but it gives me the warning saying running compiled with warning
    create or replace procedure get_tables_rows
    (
    tablename_param varchar2,
    Total_rows out  number
    )
    as
    begin
    select count(*) into Total_rows
    from tablename_param
    commit;
    exception
    when others then
    select 0 into Total_rows from dual
    rollback;
    end;
    That's how I am calling the procedure
    set serveroutput on;
    declare 
    row_count number;
    begin
    get_tables_rows('Customer',row_count);
    dbms_output.put_line('row count:' || row_count);
    end;
    /
    Can someone help me with the right code?

    Published by: user11872873 on November 29, 2009 12:34

    If you want to do, the easiest option would be to use dynamic SQL statements, i.e.

    create or replace procedure get_tables_rows
    (
      tablename_param varchar2,
      Total_rows out  number
    )
    as
    begin
        EXECUTE IMMEDIATE 'select count(*) from ' || tablename_param
          INTO total_rows_out;
    end;
    

    That being said
    -J' I would be concerned about the need for this type of code in the first place. If it is not a duty, there are not many situations where it makes sense to need a procedure that can give you the number of rows in an arbitrary table.
    -If a caller request the number of rows in a table that does not exist, wouldn't you want to raise an exception instead of returning 0? It seems strange that you want to hide all exceptiions

    Justin

  • Error Code HDL with CRio RFP generation after update for LabView 2012

    Hello everyone,

    I use a CRio DP Comsoft master/slave module for my communication with a PLC system. The application worked perfectly under LabView 2011. After the update to LabView2012, I got an error message that the HDL Code generation failed. After that I've updated also the Software NI Profibus CRio in Version 1.3, but this n ' t´t solve the problem. The next step was to use the example of project code "CS_cRIO-PB_DP-MasterExample" which was delivered with the new NI CRio Profibus software. Even with this code example, the problem still exists. For detailed information on the configuration and the error message please refer to the screenshot. Any help or idea would be appreciated.

    Jürgen

    Hi Jürgen,

    I looked inside and could reproduce this error. Somehow the compiler with LV 2012 has problems with the coded 8.5.1 Subvi LV. Please use the attached VI and copy it to the following location. (\\Program Files\National Instruments\LabVIEW 2012\vi.lib\addons\Comsoft.lib\cRIO PB)

    Before do you it please close your LabVIEW.

    Then try to compile again.

    Let me know if it still does not. We are currently working on a new installer that will correct this problem.

    DirkW

  • Strange problem with HorizontalFieldManager - it does not show on real device bitmap

    I have a rather strange problem with the HorizontalFieldManager on my Blackberry 8820, which I did not on the Simulator, or done other blackberries that I tried to install my game.

    The problem is that bitmaps that I add, do not appear on the actual device, as in the images below. The code is provided below as well. No idea how to debug, or resolve is appreciated.

    Here's what I see on Simulator and some devices

    Here's what I see on the real blackberry:

    Code:

    ......

    OK, I found the solution - the problem is that there seems to be a bug where you can't put more fields button radio on a horizontal layout manager with 4.2.2.x.

    The solution is to extend the RadioButtonField field and replace the positioning method:

    RadioButtonField radioField = new RadioButtonHack ("", textureGroup, isSelected);

    SerializableAttribute public class RadioButtonHack extends RadioButtonField {}

    public RadioButtonHack() {}
    Super();
    }

    public RadioButtonHack (String label, group RadioButtonGroup,
    Boolean selected, long style) {}
    Super (label, group, selected, style);
    }

    public RadioButtonHack (String label, group RadioButtonGroup,
    Boolean selected) {}
    Super (label, selected group);
    }

    public RadioButtonHack (label As String) {}
    Super (label);
    }

    Protected Sub layout (int width, int height) {}
    int temp = this.getPreferredWidth ();
    setExtent (time, height);
    Super.Layout (time, height);
    }

    }

    resolved http://supportforums.blackberry.com/t5/Java-Development/radiobuttonGroup-related-problem-in-storm/m-...

  • JVM error 104 - compiled with 4.2 running on 5.0, 6.0

    I have a JVM error 104 during execution of the 5.0 and 6.0 applications that I have compiled under 4.2.

    4.2 code works well on all simulators, until and including 4.7

    When I compile the code under 5.0, it works fine on the Simulator 5.0 and 6.0.

    When I compile the code under 6.0, it works well on Simulator of 6.0.

    When I run the code 4.2 in the 6.0 sim, it shows "Eception exception: java.lang.Error.

    When I run the code 4.2 on a 6.0 device, it shows "Eception exception: java.lang.NullPointer Exception.

    Does anyone know how to track down the error that is in the 4.2 code, so I can run in 5.0 and 6.0?  It's really complicated because I do not think I can debug code in the Simulator 6.0 4.2?  Does anyone have good ideas?

    How resources (RRC/HR) are integrated with an application has changed in version 4.1 or 4.2.  I don't remember that from the top of my head, but you can tell by the different .java files that are automatically generated when you build a project with resources.

    Support to the 'old way' to store resources was abandoned recently (to reduce the app startup time), which explains the behavior you're seeing.

  • Python - SyntaxError: Non-UTF-8 Code starting with "\x9f".

    Hello

    I get the following error message when you start my Qt on my Playbook applications:

    File "app/python/example02", line 1
    SyntaxError: Non-UTF-8 code starting with "\x9f" in the folder app/python/example02 on line 2, but no encoding declared; See http://python.org/dev/peps/pep-0263/ for more details

    I use the bbndk - 2.1.0 - beta1 and Qt 4.8.3 of http://qt-project.org/wiki/Building-Qt4-for-Blackberry. BlackBerry Playbook version is 2.1.0.1032. Host computer is running Ojuba Linux (Fedora 16 clone with non - pae kernel), Python version 2.7.3.

    Best regards

    Okay, so now the question becomes "what the heck are you doing?" :-)

    This isn't a Python file... it is a binary native to the ELF format. Should probably be under app/native/example02 instead.

    Why Python even involved here? You try to group together a version from the Python runtime with your app? Somehow the "blackberry pythonpackager" instead of "blackberry nativepackager" did you use to generate the .bar file? Here, something is very strange...

  • Compile with java7 succeedes, but fails with java8

    When you change the executable compiler of java7 (1.7.0_80) at java8 (1.8.0_60), I get a compilation error:

    Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation failed

    D:\data\scm-workspace\ParAd\dev\ParAd\src\main\java\de\contiteves\parad\application\dialog\ParadDialog.Java:[32,12] error: cannot access HelpProvider

    at org.apache.maven.plugin.AbstractCompilerMojo.execute (AbstractCompilerMojo

    the project compiles without error using the java7 executable compiler

    The source code has not changed. the error disappears when returning to the java7 compiler executable.

    Please see the attached logs for more details.

    The problematic class
    comes from oracle-Help jar:

    helpproviderlocation.png

    How can I make my request compilable with Java8?

    The solution was to replace the help.jar from former JDev - 9.0.4.3 with JDev version - 12.2.x

    Good bye

    DPT

  • FlexUnit4 with Flex Application compiled with Flex SDK 3.0?

    The Flex application that I work on is compiled with Flex SDK 3.0.

    Now I want to unit test this application using FlexUnit4.

    I'm not able to find that flexunit4 for Flex SDK 3.0 in downloads page (http://www.flexunit.org/?page_id=14).

    So I decided to download the FlexUnit 4 source code and compile it using the Flex SDK 3.0.

    I downloaded the source code of the page of downloads (http://github.com/flexunit/flexunit/).

    I need help in the compilation of the projects. I want to know what are the configuration changes that I need to run the build.xml ant task in my local machine.

    Please help me out here.

    @crazyghost81 - http://opensource.adobe.com/wiki/display/flexunit/Get+Source+Code

  • Compilation with SQL * more

    Hello world

    I am sure it is a simple and can someone help me:

    In other projects, I've always used TOAD or similar tools to compile my PL/SQL code, but with this project I have only SQL * more then when I run 'CREATE PROCEDURE '.... "I just get the message ' Warning: function created with compilation errors.

    I'm sure that compiling information are written in a table somewhere or maybe can be displayed directly in the SQL * more window (maybe there an option or the indicator "Compile"?) and so I hope someone can point me to a good HOWTO or give me one or two keywords that I can google under?

    Thank you very much
    Alan Searle

    Use

    display errors

    or user_errors

    SQL> create or replace procedure p1 is
      2  begin
      3   null
      4  end;
      5  /
    
    Warning: Procedure created with compilation errors.
    
    SQL> show errors
    Errors for PROCEDURE P1:
    
    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    4/1      PLS-00103: Encountered the symbol "END" when expecting one of the
             following:
             ;
             The symbol ";" was substituted for "END" to continue.
    
    SQL> select text from user_errors
      2  where name = 'P1';
    
    TEXT
    --------------------------------------------------------------------------------
    PLS-00103: Encountered the symbol "END" when expecting one of the following:
    
       ;
    The symbol ";" was substituted for "END" to continue.
    
  • Cannot use the numeric keypad codes alt with usb keyboard.

    I just bought a bow of Microsoft keyboard for use with my Vista system. As I am a programmer and the keyboard is missing a number pad (which I use frequently for the entry of characters alt-code), I bought a USB keyboard separated (from Targus - model AKP10CA) mainly to enter alt character codes

    To my dismay, the alt codes don't work! I checked the keycodes that sends the keyboard with a keylogger, and they are the correct numeric keypad keys. So my question is why these don't work with my Microsoft Arc keyboard alt key, and what I can do about it?

    Thank you.

    Well, at least we have excluded the keyboard as the problem - I don't really think it was but it was worth checking out.

    I don't know (I don't use keyboard shortcuts), but have you tried turning on the number lock on your keyboard and using the numbers on the different keys on the keyboard that are used instead of a numeric keypad when you don't have available?  I don't mean the numbers at the top (I know that they do not work) but if you set the keyboard for some keys work as a numeric keypad, and then perhaps shortcuts using these buttons by activating the NunLock will work as expected.  Always turning on one off the NumLock sort of defeats, the goal to make shorter (but it can work entirely from the keyboard that was your question).

    I do not think it is possible to get this work because the keyboard and the numeric keypad USB are separate devices and do not speak to one another - can 'see' what is happening on the other device and there is therefore no way to make them work in oncert.  The system does not recognize that the two entries are supposed to actually a single action and I don't know any way to tell the system how to do if it is possible at all (even with a registry change).  I have no idea where to start comiing even upward with a workaround.  I think you just need to live with the fact that you can not use the devices together to issue commands.  Maybe you can change some of the most frequently used shortcuts involving the keypad for a different shortcut, not requiring that the keyboard - shortcuts can be re-scheduled (and if you can not re - schedule a current shortccut you ccan still create a new shortcut using only the keyboard, which performs the same function).

    I'm sorry, there is no real solution to your problem, but it's the way Vista works and we just have to live with it, the better we can.

    Good luck and best wishes!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Windows Vista Home Basic preinstalled on my Compaq laptop will not accept code provided with the computer installation.

    Windows Vista Home Basic preinstalled on my Compaq laptop will not accept code provided with the computer installation. HP can't help. Your say talking to HP and HP technicians say they are unable to help him. I'm now using valid XP. HP say that conflict with Vista. Can anyone help?

    original title: VISTA VS. XP

    Your technicians say talk to HP

    Sorry, this is not Microsoft.  This is a public forum from user to user hosted by Microsoft on its servers for the comfort of its clients, and we all here are volunteers.

    You say you use XP.  What is your question?  What do you mean 'conflicts with Vista?

    I suggest recovery discs you order from HP for your computer.  If HP is no longer the issue of stocks you can order such a third of Recovery - Disks.com.  There are several of these companies.  If you are going to use XP, you need to install XP from scratch and this means that you need XP drivers for your brand and model.  If HP has no XP drivers on your computer you must not try to use XP on it.

    Remember that Vista Starter, Home Basic, Home Premium and Ultimate out of Microsoft support on 10 April and there will be more updates, including critical security patches after that date.  Only Vista business and company will continue to receive updates.  You might consider this a good time to upgrade to Windows 7.  You must download and run the Windows Update Advisor once you restored Vista successfully.

Maybe you are looking for

  • I click the icon for Mozilla and google window opens without toll or all Mozilla icons bar and the window changes to the address www hde bar. Help!

    After you click the Mozilla icon on my desktop, a Google window opens with an icon of Google at the top where there should be an icon of Mozilla. There is no toolbar at the top, so I can't use your suggestions to solve the problem by clicking on the

  • XPS M1710 and MIDI?

    Hello world IM from difficulties in obtaining the audio application called Sonar to play any sound, most likely due to lack of midi drivers, ive installed the latest SIGMATEL STAC 92XX C-Major HD Audio drivers and theres no difference. Help, please!

  • SR520, ping response

    Hello Not very familiar with the ZBF on the SR520, can anyone please provide me with a configuration allowing the SR520 send ping reply´s. Concerning Eivind

  • My Windows 7 computer, freeze so many times.

    my system freeze several times when operation.and due force to stop system computer, also to the when starting the computer get animated browser due to Cannot use computer also some time it restarts automatically. Please help & suggest to improve thi

  • partition my drive C to 446 GB

    I'm running 8.1 now on a 500 GB hard drive and you want to partition so that I could dual boot with 10. I can click on the C: drive to shrink, but I can't do it. I have a HP Pavilion 500-016 and desktop PC with a total of two primary partitions and t