BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-19-2007, 11:31 AM   #1 (permalink)
New Member
 
Join Date: Jun 2007
Model: 7390
PIN: N/A
Carrier: verizon
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default "change language" option crashes

Please Login to Remove!

All,
Do we have a work around for the crashes happening in "change language" option in 4.1 OS of blackberry, I know this issue has been fixed in the later version , but for current users in 4.1 , is there a work around ?? if yes can someone post it ?

thanks!!
Offline  
Old 07-24-2007, 06:16 AM   #2 (permalink)
New Member
 
Join Date: Jun 2006
Model: 8100
Carrier: IPlus
Posts: 13
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I guess the only fix is to eliminate it, you can do some check for OS version or device type to disable it only when needed...
Override this method in BasicEditField:

public ContextMenu getContextMenu() {
// eliminating bug in particular OS, removing "Change Language" item
ContextMenu menu = super.getContextMenu();
MenuItem items[] = new MenuItem[menu.getSize()];
MenuItem menuItem = null;
try {
for (int i = 0; i < items.length; i++) {
menu.setDefault(i);
menuItem = menu.getDefaultItem();
if (menuItem.getId() != 10089) items[i] = menuItem;
}
menu.clear();

for (int i = 0; i < items.length; i++) {
if (items[i] != null) {
menu.addItem(items[i]);
}
}

} catch (Exception e) {
System.out.println(e);
}

return menu;
}
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

FUJI CIRCUIT BOARD VM1932 X0041PA-3 3V9321184 CNC MEMORY CARD
$175.0
FUJI CIRCUIT BOARD VM1932 X0041PA-3 3V9321184 CNC MEMORY CARD   pictureTektronix TLA 715 Logic Analyzer 16MB depth memory 2 GHz 136 channel
$839.0
Tektronix TLA 715 Logic Analyzer 16MB depth memory 2 GHz 136 channel pictureFluke 502278 Block Programmer Memory Board T43360
$85.0
Fluke 502278 Block Programmer Memory Board T43360 pictureKonica Minolta Bizhub 200 250 350 MFBS board with Memory. 4551203801 Mint Cond
$39.99
Konica Minolta Bizhub 200 250 350 MFBS board with Memory. 4551203801 Mint Cond pictureMemory Module, Omron, ZEN-ME01
$39.6
Memory Module, Omron, ZEN-ME01 picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.