Developing countries to several BB devices

I recently finished developing an application for Torch 9800 and now I think to bring it to other BB devices, for most "BOLD" and curve with different form factors.

What are the best practices of BB application for multiple device development?

Note: My application is a simple application of XML web based service that displays events on a CalendarScreen. And my main concern is to redesign the layout of calendar for "BOLD" devices and curve.

Suite of important factors should be considered to support multiple devices and multiple operating systems:

1 user interface code follow the following directions:

a. no coordinates hard coding needs to be done. Always coordinate calculations using (x, y) relative to the width of the screen and the size of the screen. For example, when you want something to show (5, 355) on a device with screen 480 x 360, best practice would be to use: int x = horizontalMargin; y = screenHeight verticalMargin.

b. use of the pro-rating of the screenwidth & screenheight. For example, if you do not want to display something in the center of the screen, then you need to specify: x = screenWidth/2; y = screenHeight/2;

c. UI code should be loosely coupled application of basic business logic. This would help you to emmensely when you target multiple platforms

d. If there is a lot of user interface elements that get checked on the basis of the screen form factor, then using the factory pattern can help a lot. For example, you can use plant to generate specific fonts of the form factor screen, images, other resources, UI elements, etc..

2. Press several BlackkBerry versions:

a. all the version-specific code must be seggregated in specific files to the version that extends the base class containing all the features of neutral version.

b. specific files of version may be excluded/included on the basis of the major OS & minor version numbers.

To do this, build scripts using becomes indispensable when you really provide great & minor jde version numbers as input and internally, the version-specific code gets included during compilation.

With the best practices above, you can make a good application design that can easily support for multiple devices within a mobile platform portability.

Tags: BlackBerry Developers

Similar Questions

  • Look at a FPS in real time of the events of several IPS devices

    What is the best strategy for the display of the IPS in real-time of the events of several IPS devices now that VMS filed end of LIFE?

    There was a nice view unique of all IPS events from all IPS devices run in VMS and I was wondering where I can tell people to receive the same information on their networks. I do not see in CSM and I do not think that they will find in MARCH. Please notify and correct me if I'm wrong. Thank you!

    You can use VEI. It is an observer of events that has a dashboard in real time also. You can import several sensors inside and view the events in real time.

    Link to VEI to 5.x versions:

    http://www.Cisco.com/cgi-bin/tablebuild.pl/IPS-EV

    Link to VEI to versions 4.x:

    http://www.Cisco.com/cgi-bin/tablebuild.pl/IDs-EV

    Kind regards

    Maryse.

  • Please can someone tell if google chrome development tool that emulates different devices provide a view Specifies how the site will be viewed on different devices

    Please can someone tell if google chrome development tool that emulates different devices provide a view Specifies how the site will be viewed on different devices

    All the emulators fail at something, so it is always best to test the real devices when you can.

    That said, Chrome and Firefox are quite close. One of the things bigger than don't miss the emulators in the browser is the function of auto zoom of smaller devices. Be sure to include the viewport with an initial scale of 1.0 and you should be fine...

    Generally emulators you what a phone with auto zoom see when this tag is missing. Some phone browsers also automatically link and add styles to things like phone numbers or dates, if there is no style associated with them are coming from css to your site. Dev tools will miss that also and sometimes it's a little surprising to see a bunch of links on your page when you never coded in a first time.

    Again, it is always better to use actual devices, you intend to support, to see what will actually make your site.

  • My 6 Lightroom freeze when changing from tab to tab library developing countries

    My 6 Lightroom freeze when changing from tab to tab library developing countries

    Hello

    Please follow the Solution below

    1. Go to edit > preference > Performance > uncheck "processor chart use" If this does not solves the problem then,
    2. With Lightroom closed
    • Access

    C:\Users\YourUserName\AppData\Roaming\Adobe\Lightroom\Preferences    (Where AppData is a system folder / hidden so you may need to enter the name of the folder directly into your browser's address bar or activate hidden folders / system in the Internet Explorer view folder options.)

    • Open the file LightroomPreferences.agprefs
    • Locate the line use = True autobahn (press CTRL + F)
    • Take Autobahn use = False


    After save the file

    Restart Lightroom

    3. also refer to that link and update GPU if you use AMD map

    Adobe Photoshop Lightroom Help | Problems with graphics cards 6 CC/Lightroom Lightroom and AMD | Win

    Let us know if this helps

    Concerning

    ~ Assani

  • Consumption of CPU resources with several EtherCAT devices

    I use a cRIO 9074 as EtherCAT master and see extremely high CPU usage with only a handful of the deployed devices, nevertheless does not apparently works task from the CPU.

    Installation: I use a simple loop of 100 Hz timed synchronized with the analytical engine that prints a message to the debug console each cycle and samples once CPU usage every 100 cycles. That I added several discs (3rd party engine Copley), I see the CPU load increase as follows:

    Disks / use of the CPU

    0 / 43%

    1 / 67%

    2 / 74%

    3 / 81%

    4 / 89%

    5 / 95%

    6 / 99%

    7 / 100%

    Keeping in mind that I'm not perform a different operation, including the AOP/SDO reads/writes, I would expect much better performance. Reportedly, EtherCAT is able to communicate with dozens of devices at rates of up to 1 khz. Is this a limitation of the controller I use, or I need to run another action for the consumption of resources under control?

    Thank you

    Patrick

    I have discovered a solution to this problem.

    I used digital I/O blocks of read/write, but is not connected to the terminals of the error. When I connected to the terminals of all serial error I see a massive reduction of the CPU and can reach loop rates of > 500 Hz... He also seems to have helped that I removed the foreign software modules which lowers the consumption of resources of reference on the cRIO.

  • How do DAQmx tasks work on several DAQ devices

    I created tasks of temperature on cDAQ1 on my development PC.  I moved this DAQ system to the laboratory as well as an executable file.  I connected cDAQ2 to my development PC and none of the tasks that I created will work on this system since all channels of reference on cDAQ1.  Also the executable will not work with cDAQ2 also.  Note that cDAQ1 and cDAQ2 have the same hardware configuration.

    How to create these tasks so that they will work with system or additional identical systems in the future?

    Ok.  I see the problem.  It's because your devices have different names.  You told your tasks to make reference to a hardware device that has a specific name: "cDAQ1."  This is why your program will always search for a hardware device with this name.  Here are your options:

    1. replace the name of the device "cDAQ2" "cDAQ1" on your target computer.  You will need to do this for each computer target on which you load your executable file.

    or...

    2. After installing your DAQ card and your program to your target computer, go to your tasks in MAX and re - direct to appropriate material (cDAQ2) by selecting "Change the physical channels" for each task and designating the appropriate on cDAQ2 channels.

    Alternatively, you can use the vi to "Create jobs" instead and add a control that allows the user to select the channels of material on which runs your acquisition.

  • I could develop Java Application for Blackberry device software version 5.0 to 6.0 JDE

    Hi, expert,

    I saw this line of the ' BlackBerry Java Development Environment - 4.7.0 - fundamentals Guide'.

    It is said:

    ===============================

    With each major version of the BlackBerry Device Software and the FMV of BlackBerry, Research In Motion includes the
    corresponding Java API and version of the BlackBerry® Java® development environment. The version of the BlackBerry device
    Software determines the version of the BlackBerry® integrated development environment that you can use to develop
    applications. For example, RIM released BlackBerry Device Software version 4.0 and BlackBerry JDE version 4.0 in even
    time. BlackBerry JDE version 4.0 supports APIs that were introduced in BlackBerry Device Software version 4.0
    and BlackBerry JVM version 4.0.

    The applications that you create by using BlackBerry JDE Version 4.0 only work on BlackBerry devices
    running BlackBerry Device Software version 4.0 or later.

    =========================

    The last sentence talking about version 4.0 of JDE. I think that would mean that I could not develop a java application on JDE 6.0 for Blackberry 5.0 version of the software, even if I do not use any new API to 6.0. However, it seems to me that it is a useless limitation. Could someone throw some lights on it?

    I'm going to agree with superdirt here.

    I have the 5.0 OS update of applications work well on OS 5.0, 6.0 and 7.0 of the OS OS phones.  I try not to recompile for levels of the OS, if I can, and so far I've been perfectly safe with OS 5.0 running on the later levels of the operating system.  So you should be able to get away with just using OS 5.0.

    Not that it is important for you, but I just thought I documents some historical information about level changes.  .

    As far as I know it 2 change cod in the file format, one to the 4.0 OS and the other in OS 4.2.  Therefore, if you want to run anything in OS 6.0 or above, it must be compiled in OS 4.2 or higher.  Again, I have applications compiled to OS 4.2 running on OS 6.0, without no problem devices.

    There have been changes to the API - the result is that the code that works in OS xx does not work in OS yy where yy is after xx.  I hit a few of them and have so far managed to rework the code so that it works very well on both levels of the operating system.  In general it is things that I do wrong anyway, as the older operating systems (from memory) are not as strict on when the event Thread must be used.

    The problem with OS 4.7 compatibility is an impact and to get more of this, for devices touch screen only, I compile using OS 4.7.  If an application that uses only the functionality that was available in the OS 4.2, I compile on OS 4.2 for non touch screen phones and OS 4.7 for touchscreen phones.  And everything works fine.

    I hope this helps.

  • Several network devices: extreme as a base or bridge?

    I just bought an Airport Extreme and I have a few questions about how to put in place the best way.

    I live in a House with two routers, an Extender and now the Airport Extreme. All connected with cables except the Extender

    Can I use the same name and password for each wireless network and considering the extreme works as a bridge or use it as a Base Station, as it's been purchased Wi - Fi in the basement.

    At the moment two routers have the same name and password, the extender with own name but the same password as the routers and the extreme as a separate Base Station name and password. All four devices on different channels. It's all wrong get the highest and best speed wireless out of the extreme and all devices in general?

    See you soon

    To help, if it please provide brand & model of each of your networks, including the modem hardware. Also, what is your current configuration of the network with these devices?

    From your post, I understand that you have a total of four of them, which includes both routers, an Extender (I guess wireless) and the new Airport Extreme base station 802.11ac.

  • I have several Apple devices.  They all will require a password whenever I use one?

    If I adopt 2 verification step can I use a password for each of them (2 iMacs, 1 MacbookAir, 1 original Mini iPad, iPhone 1 5 s, 1 express airport, Airport Extreme 1) whenever I want to use one of them?

    2-step audit is an additional security measure when using your account (it is only for iOS devices and computers, not for the airport devices): frequently asked questions about check in two steps for Apple ID - Apple Support

    It requires you to verify your identity using one of your devices, or another method approved before you can:

    • Sign in to your Apple ID account page
    • Login to iCloud on a new device or iCloud.com
    • Login to iMessage, Game Center or FaceTime
    • Make an iTunes, iBooks or App Store buying a new unit
    • Get Apple on the Apple support ID

    You still have your password for purchases.

  • Several Bluetooth devices with the same name matching

    A few weeks before to get my Moto X 2014 recently, I installed a Kenwood KMM-BT312U car radio in my car and another in my truck. At the time, I was using a 2013 Moto X running CyanogenMod 12.1. Easily paired phone with the units main and all was fine. Unfortunately, my Moto X 2014 (stock) can't seem to tell the difference between the two central devices; He is well matched with one, but then will not see the other as a non-paired device. If I reactivate Bluetooth then next turn, the phone tries to connect to the second device but fails (understandable). It doesn't seem to matter which unit I first log in, the end result is the same. Central devices running the latest firmware and Kenwood, based on the name of the Bluetooth device is not editable.

    Anyone have any suggestions on how to fix this?


  • EtherCAT - OR Scan Engine could not be changed in Active mode, because one or several slave devices does not have operational status

    Hello, I use a Compact Rio 9074 with an EtherCAT NI 9144 chassis extension

    I am able to see both devices 9074 and 9144 Labview project, but when I try to deploy configuration 9074 controller tracking error is displayed:

    I tried deployment while defining the Configuration Mode and Active Mode. Also, when I check on the status of master Ethercat online its State in: pre-operational with errors. And appers this message: error-2147137769 occurred at an unidentified place

    I'm using Labview 2011 and the OR cRio has installed:

    I tried formatting cRio and reinstall NI Ethercat and scanner again

    I wonder if anyone has the same problem, I'd appreciate any help.

    Thanks in advance

    Thank you very much, DirkW worked for me immediately

  • HP w2558hc monitor has a webcam and microphone and several other devices, a usb hp dpf device its saying is not not up to the standard ATA and its says that I have to get woth 3.manufactuere on an update of the firmware

    the monitor HP w2558hc has probles in invironemnt MS7 hp pc doc when you have the web cam pluged you get 3 errors, everything goes back to the devices in the monitor and it takes the current drivers for the devices in the monitor.  MS7 microsoft must get the drviers for this device, the bits of worsk web cam report of errors with the devices when its plugged the webcam has its own cable usb cable, he dislikes this donor ms7 pilots it. We have attached to delteing the drovers for devices and you get errors in the doctor of hp, it is said that he needs a firmware updat ATA standards.  HP no has no drivers for this and ms7 even when you the old drivers and let windows find them they are incorrect.

    Windows Update has nothing to do with the upgrade of Windows. Posting here instead: http://social.answers.microsoft.com/Forums/en-US/w7hardware/threads

    ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • With the help of several sound devices in XP Pro

    How can I assign multiple applications on multiple sound devices in XP Pro?  I have a Plantronics Bluetooth headset I want my Avaya IP Softphone to use, but I want all the other sounds being carried towards the sound of the laptop system.

    Mike J

    Jerry (& Divya)

    Thanks to each of you for your comments; I was able to configure my devices according to the needs.

    You should be able to use two sound devices.  With a little trial and error, I was able to configure my applications using sound as I would like.

    First, I open sounds and Audio devices in Control Panel.  From there I click on the Hardware tab, high-lighted one of my sound devices and selected properties, selected the tab properties, on the next screen, exploded devices Audio, top-lit audio device, selected properties one last time and checked the Do not map through this box of the device.  By clicking on OK or apply will inform you that the changes will not take effect until your next restart of Windows.  OK, that box, OK the Properties tab and select the Audio tab.  On the bottom of drop for sound playback and sound recording choose the audio device for this feature.  Make sure the down - use only default devices - check box IS NOT CHECKED.  In the voice tab, do the same (no checkbox here, however).  OK on the sound and Audio Devices Properties sheet, reboot and you should be good to go.

    Kind regards

    Mike J.

    Mike J

  • Win Med play want to recognize any disc, I tried several multifunction devices

    Game Win Media will allow the tearing of the disc, but when I try to burn the error message indicates it's not recoginize drive.

    Hello
    1. did you make changes to your computer?

    2. What is the exact error message you received?
    I suggest you to follow the links and check out them.
    Your CD or DVD drive cannot read or write media
    http://support.Microsoft.com/mats/cd_dvd_drive_problems/en-us
    When you insert a CD or a DVD, Windows Vista may not recognize the disc
    http://support.Microsoft.com/kb/939052
    Your CD or DVD drive is missing or is not recognized by Windows or other programs
    http://support.Microsoft.com/kb/982116

    Change settings for burning a CD or DVD in Windows Media Player
    http://Windows.Microsoft.com/en-us/Windows-Vista/change-settings-for-burning-a-CD-or-DVD-in-Windows-Media-Player

    Burn a CD or DVD in Windows Media Player: frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD-in-Windows-Media-Player-frequently-asked-questions

  • is it acceptable to preinstall firefox on device non-gms, we have developed?

    Hi, I work for a manufacturer in Taiwan. We are developing an industrial quality Android device, and it must be run by Jan, 2015.
    I know the browser Firefox is free to download and install via the game shop, but our device will not happen of GMS, so I wonder if we could preinstall the APK Firefox last with our image of the OS? Is there a restriction or policy? Thank you in advance. -Jack

    You should work with partner team to [email protected] see also https://www.mozilla.org/en-US/foundation/licensing/

Maybe you are looking for