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

agilent e8408a vxi mainframe with E8491B 89605B E2730A E1439A
$1000.0
agilent e8408a  vxi mainframe with E8491B 89605B E2730A E1439A  pictureagilent e8408a vxi mainframe with E8491B 89605B E1439A
$1000.0
agilent e8408a  vxi mainframe with E8491B 89605B   E1439A  pictureTEKTRONIX TM503 Portable Tabletop 3-Bay 500 Series Power Mainframe NO MODULES
$69.95
TEKTRONIX TM503 Portable Tabletop 3-Bay 500 Series Power Mainframe NO MODULES pictureHP 8153A Lightwave Multimeter Mainframe
$117.61
HP 8153A Lightwave Multimeter Mainframe pictureDENTX 810/9000 main frame drive chain side panel with cover
$75.0
DENTX 810/9000 main frame drive chain side panel with cover picture






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