BlackBerry Forums Support Community               

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

Please Login to Remove!

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 ?

Old 07-24-2007, 07: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

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++) {
menuItem = menu.getDefaultItem();
if (menuItem.getId() != 10089) items[i] = menuItem;

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

} catch (Exception e) {

return menu;
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

Copyright 2004-2014
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.