How to make a single binary a different version of the operating system

Hi BB Experts.

In my application, I used according to API according to the requirement of the application:

For version 4.5
1 CoverageInfo.COVERAGE_DIRECT API network supports
2 ContentHandler
3 resion API provider

For version 5.0
1 ConnectionFactory
2.BrowserField2

Currently, I create binaries for different version of the OS 4.5, 4.7, 5.0 (4.2.1,). And my requirement is to create a single binary, which will work on all OS and should also support all the APIs I mentioned. How can this be achieved? Any pointer in this regard will be highly appreciated.

Thanks in advance

1 prepare and sign the 4 files of "internal" cod

2 create new project (to install app) and add these four files .cod as resources

3. when the installer app is started, check the version of the OS and CodeModuleManager methods to install the appropriate internal .cod file

Tags: BlackBerry Developers

Similar Questions

  • Targeting different versions of the operating system with the same code

    Hello again,

    I'm looking to use some features of the OS 5.0 such as the transitional API.  Is there sort of having a base code that will compile in different versions of the JDE, but exclude the code blocks if the OS does not meet the requirements?

    For example, transitions on a device to OS 5.0 but not appear on device OS 4.5.

    Ideally, I'm looking for a solution that would integrate directly with Eclipse and debug without any extra steps in the two versions of the operating system.

    Try to do research on the "preprocessor directives", you can use this to do what you need.

    Basically, you wrap the code OS 5.0 in the guidelines such as:

    #ifdef VER_5
    System.out.println ("This compile for 5.0");
    #else
    System.out.println ("This compiles for no 5.0");
    #endif

    Then, enable you or disable directives in the compiler generate COD versions for each platform.

    Jason

    www.lcamobile.com

  • BlackBerry Smartphones how can I roll back to an earlier version of the operating system 7 software


    Your mobile operator can offer you technical assistance.

    In the case where they would need to reach the RIM and then they would transfer you on for extra support and waive the fee to support incident if you call RIM directly.

    Hope that answers your question.

  • Can I use Lightroom CC between two Macs with different versions of the operating system

    I have the CC for photographers. I keep my work to Dropbox LR catalog and access them from my MacBook Air laptop or my desktop iMac computer. Currently, two computers are running the same version of Mac OS. I think to upgrade the laptop for the new OS of Sierra, but because the office is older, I thought maybe not upgrade (it is near the minimum end of systems that can run Sierra). Can someone tell me if there is a conflict with the help of the LR catalog between two computers if they are not both running the same version of Mac OS. When the catalog is saved in the operating system that you are starting, it would still be compatible for use on the computer with the previous version of Mac OS? Thank you! Barbara

    If the machines use the same version of the software, then the files should be feasible in both machines.

  • setting up the server for database physical standby on a different version of the operating system error

    Hello

    We have a database of 11g (11.1.0.7) on Red Hat Enterprise Linux Server release 5.2 (Tikanga) 2.6.18 92.el5 (64-bit) of the operating system. I would like to set up a physical database standy using data guard broker on DR server that has Red Hat Enterprise Linux ES release 4 (Nahant Update 3) 2.6.9 34.dans (64-bit) of ELsmp operating system.

    Please notice is possible.

    I get the error message when I tried to configure standy by database using GC - "the Oracle home specified (/ u01/app/oracle/product/11.1.0/db_1) is not compatible with the source database." "

    Thank you

    OS & Oracle versions must match exactly between primary and standby.

  • I'm on a mac. I have 2 different versions of mac operating systems running on 2 different hard disks, because of needs of customers with software compatibility. If I update a cc adobe programs in a single operating system hard drive system, it will affect

    I'm on a mac. I have 2 different versions of mac operating systems running on 2 different hard disks, because of needs of customers with software compatibility. If I update a cc adobe programs in a single operating system hard drive system, it will affect older versions of programs cc in the other system of operating system hard drive?

    If, as you say, they are completely separate installations on separate hard disks, each with there own version of PS for example, there should be no way that they could interfere with each other! I assume you are using a form any of Boot Manager to load a specific version of Mac OS x?

    I did something similar at the start in a similar situation with client compatibility and not had a problem with either interfere with others!

    However, you share the programs somehow between different OS, so that would be another matter.

  • BlackBerry Z30 Z30 - how to return to the previous version of the operating system

    I've upgraded to version 10.3.1.1767 OS and now my company IM no longer works.  No one knows when this will be fixed to Blackberry?  If not, anyone know how I can go back to the previous version of the operating system.  I don't have to worry about losing any information or data that I'm on a company server and I do not save anything on my Blackberry.  Please help - my support is apparantely waiting for Blackberry provide that a fix for this problem and God knows how long it will take.

    Thank you

    Angélique

    Hello and welcome to the community!

    paluza wrote:

    I upgraded to OS version 10.3.1.1767

    There is no 'BONES' at this level... you're probably citing the "software version", which is something different. Reference:

    • Article ID: KB23393 How to check the model number and the version of the OS on a BlackBerry smartphone

    In addition, it is not the true latest version available... However, your carrier may not have approved which is more recent (at least two since this version, I think).

    paluza wrote:

    now my Enterprise IM no longer works.  No one knows when this will be fixed to Blackberry?

    Here, in this community from user to user, anyone know (or if they know, reveal) this forward-looking information.

    paluza wrote:

    If not, anyone know how I can go back to the previous version of the operating system.  I don't have to worry about losing any information or data that I'm on a company server and I do not save anything on my Blackberry.  Please help - my support is apparantely waiting for Blackberry provide that a fix for this problem and God knows how long it will take.

    There are other alternatives, but they depend on some things...

    If you used the "automatic" methods to perform the update, this process may well have led to a corruption that is the cause (many related things). Or the version you have installed may well have this fault (many report these).

    In any cause, the thing to do is to reload your operating system properly and see if that clears up the problem. Or, update to the really newer version and see if that clears it. The method that I recommend for your situation is autoloader... refer:

    With automatic charger, you can install any OS you can find a valid automatic charger, since regardless cases your carrier has approved or not. You can also use the ADF to return to any level of 'work' OS you want. But, honestly, I recommend you use an auto-loader to install the most recent version, then see if things clear up - if not, then use another automatic charger to retreat.

    Good luck!

  • How to read the version of the operating system

    Hello

    Anyone know how to read the version of the operating system? My program has to know if it runs on Win Xp or Win 7 to adjust the setting.

    Thank you very much!

    Weiming

    GetWinOSVersion

  • How do I upgrade to Windows 7 Pro without reinstalling the operating system?

    I have a client who is moving from a workgroup to a domain based network.  About half of the computers are Windows 7 Home edition.  I need to upgrade to Pro so I can join the domain.  I was not able to find an easy way to do it since Anytime Upgrade no longer works on Windows 7.  The only time I did, I had to by a free license key and ended up having to completely reinstall the operating system.  So, how can I switch to Win 7 Pro without reinstallation of the operating system or go to Windows 8.

    Unfortunately, your only option now would be to buy a full version or upgrade to Windows 7 professional retail license and use the product key with the Express Windows 7 Home Premium Upgrade Wizard. It is, it's expensive:

    Where can I still get Windows 7?

    Full version-

    Microsoft Windows 7 Professional

    Version upgrade-

    Microsoft Windows 7 Professional upgrade

    If the license for Windows 7 Professional, you have access to is a retail version update or complete, you can use the product key and the Express upgrade to Windows 7 Edition Home Premium to Windows 7 Professional. First of all, check that the edition of Windows 7, you are upgrading is already enabled (if it isn't, you will encounter complications and that you might start all by performing a clean installation). Click Start, type Anytime Upgrade, click on the option enter a key, enter the key of Windows 7 Professional on demand, click Next, wait while checking the key, accept the license agreement, click on upgrade, wait while the software upgrades, (it may take 10 minutes or more depending on the if updates are required) your computer restarts automatically, after the reboot, Windows 7 will notify you updating the computer, the computer will restart once more automatically and will be completed the upgrade, a window will appear notifying the upgrade was successful and your computer is ready to use, click Close, you should be upgraded to Windows 7 Professional your files, programs and settings retained.

    Windows 7 Anytime Upgrade fails:

    If your getting the following: error: Windows Anytime Upgrade failed
    This problem may occur if Windows 7 SP1 was downloaded by Windows Update, but has not yet been installed.
    See: http://support.microsoft.com/kb/2660811

    = Other reasons and possible corrections.

    Windows Anytime Upgrade fails with the error:
    "every time that the upgrade has failed. Go online to solve the problem.
    http://support.Microsoft.com/kb/2658652

    If Anytime Upgrade still does not work:

    Shut down and restart your computer.

    Make sure that the Windows updates have been installed.

    Download the hotfix that contains a tool called CheckSUR, this tool will look at the package and the maintenance of records and difficulty any data corrupted, the tool is listed under kb947821 he can be found at the following link http://support.microsoft.com/?kbid=947821

    If Anytime Upgrade still does not work, turn off the user account control:

    1. go in user accounts in Control Panel

    2 change user account control settings

    3. pull the slider to the level as low as possible

    4. restart the PC

    5. pass by the "Anytime Upgrade" as usual

    Try the following:

    1 disable any security software before attempting to upgrade

    2. make sure that your computer is updated (devices and applications)

    3. disconnect all external devices before installing.

    4. check your hard disk for errors:

    Click Start

    Type: CMD, according to the results, right-click CMD

    Click on "Run as Administrator"

    At the command prompt, type: chkdsk /f /r

    When you restart your system, your computer will be scanned for errors and will try to correct them.

    1. click on start, type msconfig in the search box and press ENTER.

    User account control permission

    If you are prompted for an administrator password or a confirmation, type the password, or click on continue.

    2. in the general tab, click Selective startup.

    3. under Selective startup, clear the check box load startup items.

    4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.

    5. click on OK.

    6. When you are prompted, click on restart.

    7. after the computer starts, check if the problem is resolved.

    Also run the Windows 7 Upgrade Advisor:

    http://www.Microsoft.com/Windows/Windows-7/Upgrade-Advisor.aspx

    Who should I contact if I have problems installing and / or activation of my product key card?

    Please contact to the: www.windows7.com/getkeysupport.

    If all above fails them, install Windows 7 Service Pack 1, and then try the Express Upgrade:

    Learn how to install Windows 7 Service Pack 1 (SP1)
    http://Windows.Microsoft.com/en-us/Windows7/learn-how-to-install-Windows-7-Service-Pack-1-SP1

    If your key is not valid and you will need to change the keys, you may need to Open regedit and remove first the ProductKey value in the following registry key:
     
    HKCU\Software\Microsoft\Windows\CurrentVersion\WindowsAnytimeUpgrade

  • How can I identify the version of the operating system preinstalled?

    Hello

    Sorry for the stupid question, how can I identify my girlfriends preinstalled the operating system?

    Hello

    Start - Control Panel of configuration-system and safety - system, where you can see installed Os version

  • How to change Windows 7 Boot Manager options to start the operating system automatically?

    I recently installed windows 7.  When boot to windows 7 my computer goes to the Boot Manager and ask me to choose the operating system.  I tried to remove the previous OS, but windows 7 does not start automatically.  What can I do?

    Hello

    To make your Windows start directly without prompting for the splash screen, follow the steps below:

    1. click on start

    2. click on Control Panel

    3. click on system and security

    4. click on System

    5. click on system settings advanced (on the left pane), and then click the Advanced tab

    6. under Startup and recovery, click settings

    7. now uncheck the box "Time to display list of operating systems" then click apply and then click Ok.

    For reference, click on the following link:

    Change the default operating system for startup (multiboot)

    http://Windows.Microsoft.com/en-us/Windows7/change-the-default-operating-system-for-startup-multiboot

  • How to transfer files bundled on my usual computer upgraded the operating system of Windows 7?

    I had a problem to upgrade my computer to Windows Vista Home Premium to Windows 7 Home Premium, so I got the help of Support technique Microsoft.  After much effort, the Tech advises that we would have to do a custom upgrade.  He said that he would save my files on the computer in a file called "Windows.old".  Now, my computer has a Windows 7 operating system, but I can't find out how to transfer my contact, folders and messages in Windows Live Mail or transfer my other files where they need to go.

    Try these threads

    Extraction of files from windows.old after upgrade windows 7

    file transfers: how to recover my files from windows.old?

    There are other threads if you search for "windows.old" on this forum - two above seemed the most useful to you.

    You can also view questions specific to Windows Live - they have a forum at the Center of Windows Live Mail - Forum solutions

  • How to identify the version of the operating system preinstalled?

    How can I tell if my laptop watching a 32-bit or 64-bit installed please?
    Ken

    Start > Control Panel > type to check the system.

  • How to uninstall? My macbook pro had to have the operating system reinstalled; now when I try to open Elements11 it tells me to uninstall

    How do we uninstall 11 items?

    My Macbook Pro got wiped and now 11 elements does not open and tells me to uninstall and reinstall.

    Hold down two fingers on the keypad, while the file is selected (highlighted).

  • AT300-101 - How to make a backup of the operating system?

    Hello

    I'm pulling out my hair! I send you my tablet from toshiba AT300-101 away tomorrow to have the battery changed but realized barely booking email repair said I need to make a backup of the operating system / replacement recovery media. After fishing trawl of the web, trying to figure out how do it, I'm still stuck. can someone help me with this please. It would be a great help.

    Thank you.
    Kate

    Hello

    There are different ways to save the date of the android device.
    You can use some 3rd party backup applications (check the Google game store for available applications), or you can use the internal Android option to save the data, application, Wifi passwords and other settings to google's servers.

    This option can be found in Apps App-> settings-> & backup restore

Maybe you are looking for