Dealing with different BlackBerry

I have a funny situation. I found that there are several BlackBerry (Curve, Storm...). Each BlackBerry have their own resolution. If I load a software version of curve in the storm, it will show keyboard and a blue border.

After that, I decided to use a screen 320 x 240 to be my main screen. This screen should be displayed in all popular BlackBerry.

But now my Simulator is Storm 9530, screen size is 360 x 480. I use this.setHorizontalQuantization (320) and this.setVerticalQuantization (240) in my class on the main screen. It should show the blue border and the keyboard, but it's not!

So I would like to ask how do I fix the screen size and display the blue border and the keyboard in the Simulator?

Hello

Why do you want to create blue at the border any special requirement, you can create this border by substituting painting of the Senior Manager and then draws fillrect() with blue color and then draw another fillrect() with white color.

Tags: BlackBerry Developers

Similar Questions

  • regexp: how to deal with different date formats?

    the date comes as varchar2 with '-'and':' as separators for day part and part time respectively. but it may come with different formats such as

    1993-05-17
    1993-05-17 13:04:23
    1993-05-17 13:04
    1993-05-17 13:4
    1993-05-17 13:04
    1993-05-17 13:4:2
    1993-5-17-13:4:2
    1993-5-7-13:4:2

    and so on. date of final format should be ' YYYY-MM-DD HH24-SS'. is it possible to have an intelligent way to deal with different formats of date with separators above and convert the final using regexp format, so that it is compact and universal as possible with assumptions/examples above?

    Thank you

    As others have said, the smartest way is to keep your input in a format method and store your data in a date column.
    But is a simple way to deal with this mess, without regexp,

    with test as (
    select '1993-05-17' d from dual
    union all select '1993-05-17 13:04:23' from dual
    union all select '1993-05-17 13:04' from dual
    union all select '1993-05-17 13:4' from dual
    union all select '1993-05-17 13:4:2' from dual
    union all select '1993-5-17 13:4:2' from dual
    union all select '1993-5-7 13:4:2' from dual
    union all select '1993-05-17 1:4 PM' from dual
    )
    select d
         , to_date( translate( d, 'xampAMP', 'x' )
                  , 'yyyy-mm-dd hh24:mi:ss'
                  )
         + case when instr( upper( d ), 'P' ) > 0 then 0.5 else 0 end cd
    from test
    
  • Why it takes so long for the BlackBerry vendor to deal with accounts?

    Why it takes so long for the BlackBerry vendor to deal with accounts?

    I put in my request 3 days ago, and it has not yet been verified.

    Hello

    Could you please PM me your name of the seller? Do you get the email that asks you to send the document ID/commercial? If this isn't the case, please try to chcek your spam folder.

    Kind regards

    Satya

  • Error blackBerry software - synchronization failed, impossible to deal with organizing data

    I had a Q10 Blackberry last week.  I downloaded and installed the PC of Blackberry link 1.2.2.13 version.  Two-way sync USB worked fine.  Now, all of a sudden, I get the error message "synchronization failed, impossible to deal with organizing data."   I tried to reset the synchronization options, but not joy.  Also tried to uninstall and reinstall the software Link 1.2.2.13, once again no joy.  Any suggestions?

    UPDATE: I spent 4 hours on the phone and the remote session with the help of Blackberry last night.  After doing some troubleshooting to isolate the problem, determined that something on the device caused the problem of Outlook synchronization. One thing I've learned, it's that it can take a long time to synchronize and even though the progress of the screen may appear frozen, let it go until the end - sometimes it took 20-25 minutes, but eventually completed. Here's the process we went through - I would recommend appellant help BB and work with them to make sure you have not accidentally delete Outlook contacts and calendar of important information of your PC or BB device!.

    (1) we tried an uninstall/reinstall the PC Link BB software and that did not fix the problem.

    (2) to isolate the problem of synchronization.  We first did a synchronization of 2 channels 'contacts' and 'calendar' and who was a failure.  Then did a synchronization of only 2 channels 'contacts' and managed.  Then did a synchronization of only 2-way 'calendar' and that was a failure - so the problem was linked to calendar data and something on the device has been the cause of the problem or corrupted.

    (3) link BB allowing us to make a backup complete unit.

    4) then decided to do a 'Wipe security' on the device of BB Q10 to erase all the data and settings and return to a clean boot device configuration.  I was nervous about it - make double sure that Outlook all contacts and calendar data on the device and the PC are completely backed up in case something bad happens.  Nothing serious happened, but I was gald, we made the backup!

    (5) has the 'Security Wipe' feature (on the device, the settings > Security and privacy > wipe security) and phone rebooted without problems (takes a while to do).

    (6) then used link BB to do a sync test 1 channel 'contacts and calendar' from PC to device.  It worked without problem.

    (7) we then used BB link do a "restore" full backup of device, as we did in step 3 above.  It takes a while to make and was a success.

    (8) once the restoration of the aircraft was complete, BB link configured to perform a synchronization of 2 channels of the two 'contacts' and 'calendar '.  Does the synchronization and was a success.  Did a test by adding the new entry of the calendar on PC and did another 2-way sync - all worked very well.  Seems that the problem has been corrected, but will follow in the coming days.

    Lessons learned:

    (1) If you have a lot of Outlook contacts and calendar entries, the synchronization may take a long time.  Be patient and let it run - even if it seems stuck, etc!

    (2) save all Outlook data on the device and the PC to make sure that you have a backup something bad happened during troubleshooting.  We had not something bad happens, but I was gald we made a backup anyway.

    (2) call BB help - support person, I worked with was fabulous, even if it took some time to work through a patch.

     

  • Dealing with the size of the stage and the different orientations

    I am clearly dense, but I'm looking for examples of how others deal with the need to have apps that funciton in mode landscape or portrait.

    My first effort simply uses a scene from 600 x 600 with automatically guide the true value. It seems to work OK. The app draws, in the center of the screen of the Playbook (Simulator), regardless of the way the screen is oriented. Waste certain properties of the screen, but for my purposes, it doesn't really matter.

    To try to make it easier to deal with some questions I had try to implement new, I tried to make a step in 1024 x 600 with my stuff centered in space. Works very well in the landscape, but when in portrait mode, the app has been reduced to 1024 to the 600 dimension tree. I turned on Noscale for the scene, and now the app is drawn with the scene at the upper left corner then the app is cut on the right side of the screen. Is there a way to make the center of the scene?

    For my next one, I'll probably need to have two settings screen which are used based on direction - guidance on which is easier to deal with?

    I just wanted to mention that I removed the rotation and repositioning of the scene in the event onOrientationChange because I'm sure it was bad and can't remember why I had done this.

    Also, I recommend the mobile controls around on stage resize because when changing the orientation event is called, stage.stageWidth and stage.stageHeight properties have not yet been updated.

    The only uses for the orientation change event that come to mind anime the passage of an orientation towards another and the reorientation of handling maually when you autoOrients set to false.

  • Import ASCII dates with different format

    Hello

    I need to import data from a CSV of ASCII.

    The problem is the date format in this particular data file (.csv)

    The date format for day< 10="" and="" month="" from="" jan="" to="" sep="">

    AAAA/_M/_Dthe character '_' is a simple space, not an underscore literally

    The format of the date days > = 10 and Jan to Sep month is:

    _M/JJ/AAAA

    The format of the date days > = 10 and months of Oct to dec is:

    YYYY/MM/DD

    The date format for day< 10="" and="" months="" from="" oct="" to="" dec="">

    YYYY/MM/_D

    Possible solution:

    I already create a routine that recognizes the date in the title and one of the 4 (.stp) filter uses for data processing. These are the works.

    Next problem:

    The days are separated into 2 files, a file from 09:00 to 21:00 one day and the other from 21:00 to 09:00 on the following day. It's the way I've lost data when the day changes from 9th to the 10th of each month and the month change of Sept Oct and Dec to Jan.

    I just need to delete the blankspace unconfortable before the changes of dates 2-digit, but I do not know how to deal with the before CSV imported to tiara (10.2).

    My other idea is to recognize this file and any double (once with each please) but I need to exactly position the import is not the problem with the data of novalue. (Until know I got complicated for a simple mistake of blankspace).

    I hope that you have ideas...

    Thanks in advance...

    I don't know if I understand that measures are not clear. Here's what I think you want to do:

    (1) load data from different files in DIAdem

    To do this, you must use "DataFileLoad("E:\Customer_Requests\caracasnet\log(111231).csv","caracasnet_log","Load") call.

    You call DataFileLoad for each of the files.

    (2) you want to concatenate the groups.
    This should be no different than what you've done up to now

    (3) you want to store the data in a file (TDM).
    To do this, you must call DataFileSave (...)

    Let me know if you have any other questions...

  • Deployment of a program to clients with different hardware

    Hi all

    I have a general problem with the customers with different hardware. I would appreciate any advice on the subject.

    For example, I have two clients with two different cameras. I wrote a module-oriented camera the camera parent object and children Camera1 and camera2, so that the same logic works for both cameras. I want to deploy the program to clients, but so he could work for two clients, I need to install the drivers of the two cameras at two customers. Is there a way to keep the object oriented and modular code without installing all the drivers of material possible to all customers?

    In the case of two cameras, this isn't a big deal, but my program is more complicated than that and it will interface with dozens of spectrometers, cameras and scanners. I don't want to install each client drivers for all configurations possible. Is there a way to get around this?

    Thank you

    Danielle

    Another alternative would be to use a plugin architecture for your specific items to the customer. Create a Setup program for your application and a camera specific driver for the plugin. Each plugin will be specific to a type of camera-specific and includes the appropriate drivers. Of course this requires your customers to use 2 installers but only the appropriate drivers will be installed. You might be able to pack as a single installer that runs the camera installation after the installation of the application program. Your actual installer would all compatible drivers, but the user will be prompted for which device they use.

  • The scanned Pages of ADF not readable-pulls sheets with different speeds &amp; streaks page...?

    I have a HP Officejet Pro 8500 has more who struggled to properly perform the analyses of the ADF.  It seems that is happening WITH PDF FILES.  The ADF will get out the paper at different speeds, creating the effect below.  When it goes faster (you can hear it speed up), you get the lines; When he finds the right speed, you get what is digitization of bottom-good copy.  It seems to work correctly in photo mode, etc. - ONLY WITH PDFS.  Sometimes, it can properly analyze dozens of pages (and did very well in the past), and now he has started to do this.

    I cleaned the rollers, but appear not to be the problem if it happens only with PDFs.  I cleaned the glass of 1 inch Strip, but would not be the problem either if the bottom of the page (or top or wherever it happens to go faster) has NO scratches on it).  I have looked at post after post and cannot understand it.  What could be wrong! ???

    BTW, I have a Windows 7 64 bit computer that I use with it.

    Thanks for any help!

    I'm glad to hear your good news, and I appreciate the update.  This could be valuable information for someone else.

    I'll give you a link which deals with topics of the ADF.  Click here  This will show you all the ADF areas that need to be cleaned.  A wet coffee filter is a good tool for the cleaning of the rollers.  Alcohol friction broken residue sliding in this situation, but for a regular cleaning, I would recommend distilled, filtered or bottled water.  Nice day!

  • use different JADs to deploy a COD with different properties

    I've never had different JADs to work for the Web site deployment.

    This is the problem, I use getAppProperty MIDLET to get a property.

    I create a file myMidlet.COD with myMidlet.jad which has a property of the HOST.

    I have ten different JADs with different HOST property on a Web site for

    a myMidlet.COD that will be deployed. The midelt deploys nicely on the Blackberry

    but the HOST is the same as that used to build cod. They gave me a code snippet and

    added some debug statements to see what this thing of Module

    public class mybbProperty {}
    CodeModuleGroup [] allGroups;
    CodeModuleGroup myGroup = null;
    String moduleName;
    Boolean flag = true;

    public void mybbProperty() {}
    }

    public void init() {}
    versForm.debugtext += '\n init';

    AllGroups [CodeModuleGroup] is CodeModuleGroupManager.loadAll ();.
    versForm.debugtext += "\ngroup;
    moduleName = ApplicationDescriptor.currentApplicationDescriptor () .getModuleName ();
    versForm.debugtext mode += "\n" + moduleName;   Note ModuleName is correct and is "myMidlet".

    for (int i = 0; i)< allgroups.length;="" i++)="">
    versForm.debugtext += "\n"+allGroups[i].getFriendlyName ();

    If (allGroups [i] .getFriendlyName () .equals ("myMidlet")) {}
    versForm.debugtext += "\n"+allGroups[i].getFriendlyName ();
    versForm.debugtext += "' \n * found"; "
    for (Enumeration e = allGroups [i] .getModules ();)
    e.hasMoreElements () {}
    versForm.debugtext += "\n *"+ e.nextElement (); "
    }
    myGroup = allGroups [i];
    break;
    }
    for (Enumeration e = allGroups [i] .getModules ();)
    e.hasMoreElements () {}
    versForm.debugtext += "\n *"+ e.nextElement (); "
    //            }

    If (allGroups [i] .containsModule (moduleName)) {}
    myGroup = allGroups [i];
    break;
    }
    }
    versForm.debugtext += "\n end";

    }

    public String getAppProperty (String name) {}
    If (flag)
    init();
    flag = false;
    versForm.debugtext += "\n getAppProp"+ name;
    If (MyGroup is nothing)
    Returns a null value.
    Return myGroup.getProperty (name);
    }
    }

    I use the function mybbProperty.getAppProperty ("AppMyHost");

    I noticed that the getFriendlyName() is the name of my Application, so I use it and

    print information. Did I get this

    mybbProperty mybb = new mybbProperty();

    String s = mybb.getAppProperty ("AppMyHOST");

    myMidlet

    * Found

    * myMidlet-3

    * myMidlet-2

    * myMidlet-1

    of course, which returns null. So how do JAD another properties which was used to deploy the

    App for Blackberry. In Nokia its pretty simple use MIDlet getAppProperty() you need a jad and jar for

    deploy it.

    In any case, I don't know which module to get. The JAD I used to deploy the cod was called green.jad

    so I have no idea why myMidlet is important. I wouldn't see green.jad somewhere?

    Anyway, I would appreciate any code that does this correctly.

    Please see this thread on this issue.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=10&query.ID=5227#...

  • How update you an application installed with the Blackberry Storm update .cod files?

    Hello

    I was sent to some application software for my Blackberry Storm 9500. I managed to install the basic software using the BB Desktop Manager normal software, however, there are four files as sitting there, that look they are there to install, update the software - records are different on different BlackBerry names "4.2.1", "4.3", "4.5" and "4.6" - my knowledge limited, I think that this refers to operating systems...

    I guess I would need to install the file 4.6 .cod file, however, I just can't handle it all. The Director of the office, I can only try to update o/s handset, but I can't actually update individual applications that I see!

    Can someone tell how to do this, because he's completely beat me? Be nice... I'm new!

    the alx file is only a link to the file of the Cod. DM load the alx file, search for information on the cod and load the cod on the device.
    In cod, it has compiled software.

    Installation of OTA is similar. The jad file contains settings and links to the cod file.

    The javaloader.exe (comes with the JDE) you can install cod files directly.

    There is also an activeX plugin (which uses javaloader) to load the cod files on a device.

  • Dealing with problem FileConnection class

    Hello guys I am experiencing problem dealing with FileConnection class. My app uses the class "javax.microedition.io.file.FileConnection". And when to start the application, the problem occurs that

    "Error starting ApplicationName class 'javax.microedition.io.file.Fileconnection' not found."

    My device name: BlackBerry8703e

    OS version: 4.1.0 profile / Verizon Wireless BlackBerry

    Do you know this problem? How can I solve it?

    TNX'

    FileConnection is supported to 4.2.0.

  • BlackBerry Smartphones - for the first time with a Blackberry help!


    BlackBerry Desktop Software is the new name for BlackBerry Desktop Manager. The reason why the photos to the different internet search is because they show the old version (Desktop Manager) and you use the new version (Desktop Software).
    If you encounter problems connecting to BlackBerry services, it is probably because you don't have a good data plan BlackBerry (BIS) on your account. A generic will work with all phones, but not with your BlackBerry. If you have BIS on your account, then your phone works on different frequencies used by your carrier.

    I hope that helps you.

  • Traveling with BBM blackBerry smartphones

    I live in Toronto, and I got a lot of data with Rogers. I am currently in Florida, and I have problems sending messages BBM contacts. My mobile network is supported by AT & T-Rogers. I get emails, just not BBM messages. Is there something I need to achieve to the top/turn on my phone? I'm also going to Europe in the summer, so if there is something different, I have to do to allow me to use bbm in Europe, that the information is useful as well.

    Thank you!

    renee1128 wrote:

    When I compose a message of pine in this way, it does not work... but when I send a message through the BBM application, it is the clock bit next to the name of the recipient... and that's what I'm trying to rectify.

    OK, well, then your international data include the PIN messaging, which would include BBMessenger as well.

    If a user attempts to send you a BBMessage, you can receive?

    I know late yesterday, I saw a few users are the United States, complaining about some BBM delays. I don't know if they are affected now.

    You can always try a reboot simple:

    With the BlackBerry powereddevice, remove the battery for a minute and then reinsert the battery to restart. A reboot in this way is prescirbed for most the gltiches and operating system errors, and you will lose any data on the device doing so.

    Often, in this way a reboot will restore all network connections.

  • Issues with BBM blackBerry Smartphones 2

    Hi, first I have a Bold 9700 and my contract covers everything (internet/email/bbm, etc.). (Edit: and I am on Orange, to the United Kingdom, if it makes a difference.)

    But whenever I've been on BBM it has not looked like all the manuals of the user here say it should - I don't see the display picture of anyone, and I can't add my own. When I looked at the online books and tried to follow the instructions, the layout / interface was different textbooks suggest it should - and I tried a number of different versions of more textbooks, is not that I am looking at the wrong version.

    However, I did check and noticed that I was on a version 4 something BBM. I had the link to update sent to my phone and updated. However, now the BBM icon has disappeared from my home page and I can't find anywhere to get back. I had been able to always get him well "switch application", but I restarted my phone and now I can not even find BBM through the application of switch option either.

    I noticed something here on the RIM, I guess that's the issue, but I don't know why it would be. I did not add anything like that to my phone, but as I say, the complete package of my service provider, so I could not see any reason why I wouldn't be able to upgrade my BBM on my device.

    Any help to recover the icon would be massively appreciated (while I want the display pic problem to work, I'm more interested in being able to get on BBM himself first!)

    Thanks in advance for any help, greatly appreciated!

    I would say this: use your BlackBerry Messenger feature to back up your contacts, you have now, and also, do a full backup using the Desktop Manager.

    Then go into Options > Advanced > Applications and scroll the Messenger app and do not click it, just highlight it. Click Menu > delete and remove the application.

    Now, do a restart: with the BlackBerry device powered on, remove the battery a few seconds and then reinsert the battery to restart.

    Finally, use your BlackBerry browser to go to http://blackberry.com/blackberrymessenger and download/install again the Messenger application.

    After installation and reboot if necessary, check your instant messaging, or downloads of the application folder.

    You can restore your contacts from the application of v.5 BBM or from Office Manager > Backup/Restore > advanced.

  • Dell warranty and dealing with people who do NOT SPEAK ENGLISH

    I can assure everyone that I WAS a loyal user of dell for MANY years... I use the past tense as I did with DELL... My DELL perferred account will be in default because I will give DELL NEVER a PENNY of my money...

    My monitor is toast. Called dell it was under warranty. They promised to send a new monitor. I got a monitor refurbished which was different from MY monitor. My speaker wire does not match the plug on the monitor... Still called DELL... had the privilege of trying to talk with someone who doesn't even speak good English. He said it would be "CHECK IN IT"

    3 days later, DELL called me. Even someone who doesn't speak English well. He said he "checked in" and they sent me the correct monitor. I try to tell him that the monitor is NOT the right model, as the Speaker Wire plugs are different. He tells me it is the same model. Funny because one, they sent looks NOTHING like the one I got

    He told me that he "CHECK IN" ask him what you most need to check on? Did you check for 3 days and came to the conclusion that I had the correct model. Your DELL person, HUNG UP ON me... I'M DONE WITH DELL...

    EVERYONE > PLEASE BE CAREFUL DEALING WITH DELL > NOT A HONEST BUSINESS > YOU LOST A GOOD CUSTOMER OF DELL

    OH by the way... My TV Vizzio bought Dell... TOTAL WASTE... ANOTHER BIG PURCHASE FROM DELL... $ 1200 FOR A PLASMA SCREEN THAT DOES NOT WORK... CAN ' T BE REPAIRED AND IS A WHOLE 2 YEARS OLD...» PLACE YOUR HAND ON YOUR BUTT DELL > I DO NOT PAY FOR GARBAGE!

Maybe you are looking for