ApplicationMenuItem called with null in JDE 4.6 when you enter the phone number
When I install a custom phone app, ApplicationMenuItem and
try to enter a number on the keypad of the native Dialer, and then click the custom menu,
my custom ApplicationMenuItem is called with a null context object.
This same code + test case works well under the 4.5 JDE / 8300 emulator
and device 8320, but fails under JDE 4.6 with the BB 9000 emulator
and device
To reproduce the bug:
* Build/launch of the attached test application
* Send with previous key
* Go to the native Dialer
* Enter "123" on the keyboard of the phone
* Click on the trackball
* Choose Bug49 the context menu
* It will appear a dialog box indicating "context has the null value - is this a bug?
NOTE that if, rather than enter a number on the keypad of the phone with step 4.
a call log is selected, then it works and a non-null context object is passed.
Can I make it work? If this is a known bug, are
It no work around?
import net.rim.blackberry.api.menuitem.ApplicationMenuItem;import net.rim.blackberry.api.menuitem.ApplicationMenuItemRepository;import net.rim.device.api.ui.UiApplication;import net.rim.device.api.ui.component.Dialog;import net.rim.device.api.ui.component.LabelField;import net.rim.device.api.ui.component.RichTextField;import net.rim.device.api.ui.container.MainScreen; public class Bug49 extends UiApplication { public Bug49() { super(); Bug49Screen screen = new Bug49Screen(); pushScreen(screen); ApplicationMenuItemRepository amir = ApplicationMenuItemRepository.getInstance(); Bug49NativeMenu bug49NativeMenu = new Bug49NativeMenu(0); amir.addMenuItem(ApplicationMenuItemRepository.MENUITEM_PHONE, bug49NativeMenu ); } public static void main(String[] args) { Bug49 b49 = new Bug49(); b49.enterEventDispatcher(); } static class Bug49Screen extends MainScreen { public Bug49Screen() { super(); setTitle(new LabelField("Hello")); add(new RichTextField("Hello")); } } static class Bug49NativeMenu extends ApplicationMenuItem { public Bug49NativeMenu(int order) { super(order); } public Object run(Object context) { if (context == null) { Dialog.alert("context is null -- is this a bug?"); } else { Dialog.alert("context not null"); } return null; } public String toString() { return "Bug 49"; } }}
It is a problem in the version of BlackBerry device software 4.6.0. It has been fixed in version 4.7.0.
Tags: BlackBerry Developers
Similar Questions
-
Menu mobile with accordion panel will not open when you view the phone's browser
I'm designing a sensitive site using breakpoints to 320, 768 and 1200. I made a menu mobile with a panel of the accordion for breakpoints to 320 and 768. Everything works fine with the reactive site on the web browser, except when I open the menu mobile on my windows phone, the Panel will not open. When I press the menu to open it, the menu quickly opens and then closes immediately. I was not able to understand what it takes to keep the menu open on the Tablet and phone version. Any help would be really appreciated.
[Transferred to the specific forum - Mod]
OK first off I can confirm that the accordion on this page works on Microsoft phones (Nokia) and my iphone 3
However the site is a mess to navigate and IMO the design must be less congested to operate on a phone... tip, do not use a desktop computer to test your phone designs
with regard to the drawings and models responive. Take a look at these
-
I try to install on my new computer CS6. When I enter the serial number, it is said it is not a product calling it valid. What I am doing wrong?
This message indicates you are installing an upgrade version and she tries to confirm that you are eligible to use the upgrade. He wants proof that you have a previous version. The product that you select in this interface is the older that you upgrade, not the most recent one you try to install and activate. You must use one more as a proof that you are eligible to use the new version of upgrade.
-
I'm trying to publish my site on BusinessCatalyst, but get a pop up message and muse stops. The error message says 'SiteFile.getCRC called with no content text or binary'.
No problem before, but I made a few changes of fonts, and now I can't download. I have updated to Air and uninstalled/reinstalled Muse. Not sure that the program or where to start.
Thanks for the help!
Could you please share your with us .muse file to study? Please send it to [email protected]. If your file is larger than 20 MB, you can use something like Adobe SendNow SendThisFile or Dropbox. Don't forget to mention the link to this forum thread in your email so that we can identify the file.
-
In the course of my recent upload Lightroom 5 on my Macbook I bought recently with the serial number of the disk that I bought the year last for my Windows PC (an update of Lightroom 4) of the license. You receive an error "the serial number you entered is invalid." Why does CC not recognize this as a serial number valid?
Soyouca how did you install Photoshop Lightroom? Please uninstall the current installation by using the uninstall program located in Applications/Utilities/Adobe Installers.
Once Photoshop Lightroom is deleted please download a new copy of the installation files of Adobe - Lightroom: for Macintosh. The update contains the full installer then please download the latest version of Photoshop Lightroom 5.
You may be asked to enter your serial number for Photoshop Lightroom 4. You can find information on how to locate the serial numbers under your account to find your serial number fast - http://helpx.adobe.com/x-productkb/global/find-serial-number.html.
-
How to call from one form to another form when you press the button.
Hi all...
I have two forms "A" AND "B".
A form contains two items of text as->customer_id and total_amount
B form contains two 4 text items like-> customer_id, total_amount, paid_amount and balance.
A form has a button, pressed button this form must call form b and then the text element of form B customer_id,total_amount take values automatically from shape A customer_id ,total_amount .
PLEASE HELP ME...
I call form B from A, with success, but don't understand how to take values automatically from form A fom B...
Try the PL/SQL code that is used to trigger when-pressed next button:
Declare
pl_id ParamList;
BEGIN
pl_id: = Get_Parameter_List ('tmpdata');
IF this is Id_Null (pl_id) THEN
Destroy_Parameter_List (pl_id);
END IF;
pl_id: = Create_Parameter_List ('tmpdata');
Add_Parameter (pl_id, 'customer_id", TEXT_PARAMETER,: Customer_id");
Add_Parameter (pl_id, 'total_amount', TEXT_PARAMETER,: Total_amount);
OPEN_FORM ("B", ACTIVATE, No_Session, pl_id);
END;
-
CC with Lightroom not responding not to when you enter in the develop module
I just upgraded to windows 10 and I use Lightroom CC. almost every time I get back module develop the program stops and not stop responding to the questionnaire, and then later down. I have spent a lot of time now and it s a bit frustrating. Anyone else having the same problems? and maybe someone knows what could be wrong, or maybe it's a bug on windows 10. I used windows 7 before and it has never happened in about 5 years.
If you use CC 2015 try disabling acceleration GPU: using Adobe Photoshop Lightroom | Graphics processor (GPU) acceleration, troubleshooting & FAQ Lightroom
-
Trying to upgrade from lightroom 5 to 6. Do not have a ser # for the 5 Lightroom. My lightroom 5 came as a 'bundle' with the purchase of a camera. When you install the downloaded lightroom 6 a message appears saying: he can't find a product calling it on my computer. My question is the "grouped" lightroom 5 calls be upgraded or why I have to by the full 6 Lightroom. Paul
I THINK that the on-board version 5 is not eligible, but since I don't work for adobe, click on the link below, during the hours listed
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">===>
Don't forget to stay signed with your Adobe ID before accessing the link below
Creative cloud support (all creative cloud customer service problems)
-
Call.phoneNumber () does not return the phone number
I try to use the new method Call.phoneNumber () which was introduced in 10.3:
Even if I added the permission of read_phonecall_details according to the documentation, I'm still not received the phone number of outgoing calls placed on the device. The call to Call.phoneNumber () returns an empty string.
I use the Simulator to 10.3 (10.3.0.698) with Momentics 2.1 and placing me calls using the controller.
Someone managed to get the phone number? Any ideas on how to make this work would be appreciated.
It is a known problem in the Simulator, but works fine on a real device. The bug appeared in Issue Tracker here: Call.phoneNumber () always returns a null in the Simulator
-
While I was with my iPhone Safari, I received a crash warning iOS. I was wondering if I should call the phone number or if it is a scam. Any suggestions?
It's a scam. See below.
Phony 'technical support' / 'ransomware' popups and web pages
-
I called the phone number of microsoft on the site and they said that they did call people
I found the phone number on the Microsoft web site and called them. They said that they hear and started trying to sell it again for me. I'm confused.
Hello
What phone number and what site please.
And read this information;
Microsoft does not contact you unless YOU have made prior arrangements with them to do.
There is an article in the link I'm you provide at the end of this one
Read this Information from Microsoft:
"Avoid scams to phone for tech support.
http://www.Microsoft.com/security/online-privacy/avoid-phone-scams.aspx
Don't be fooled of unsolicited calls. Don't provide personal information.
Here are some of the organizations that cyber criminals claim to come:
Helpdesk Windows
Windows repair center
Microsoft technical support
Microsoft technical support
Windows Support Group Technical Department
Microsoft Research and Development Team (team of Microsoft R & D)
Either these so-called "Microsoft" Tech companies want to sell you a worthless software, or remote access to your computer to try to steal your credit card and bank information and also achieve an identity theft on you.
See you soon.
-
Is there a telephone number where I can call someone? The phone number in your web page is missing a number. It is listed as 1-800-426-570? A number of missing. I just paid with my credit card in line for photoshop and it does not allow me to connect to download.
You can use the link https://helpx.adobe.com/utilities/credit-card.html top of page updated following card details & inform me by message private.
It will be updated.
Or you can contact the Adobe Support via http://adobe.ly/yxj0t6
Concerning
Baudier
-
do you need to always have your iPhone with you when you wear the watch?
do you need to always have your iPhone with you when you wear the watch?
Answer brief No.. The watch can do many things with the phone. If you have the 2nit series has built in GPS so it can follow, see this.
How to use your Apple Watch without your iPhone in the vicinity - Apple Support
-
Need to disable CGI, I have two-factor authentication, but I don't have the phone number or device with me. What can I do?
For Apple ID - Apple Support two-factor authentication
If I can not connect, how I again to access my account?
If you can't sign in, reset your password, or receive verification codes, you can account recovery application to restore access to your account. Account recovery is an automatic process designed to help you back into your account as soon as possible while denying access to anyone who might be impersonating you. It may take a few days - or more - depending on the specific account information, you provide to verify your identity.
It will be your option. If you try to find an iPhone with locking Activation that you don't remember the password, you can remove the account from the iPhone with the help of Apple's Support with the receipt of the initial purchase of the iPhone as a way to prove that you are the real owner of this iPhone.
-
The # is not my # send my security code. You have the wrong number on file and I need to access my account. How do I allow you to select the correct number or can I change my profile somehow and change the phone number so that you can issue a new security code, or determine what is my existing code. I don't seem to have a number 7 digits on file anywhere.
Thank you
George Sedlack
Please contact support for Microsoft Outlook, Mozilla has no relationship with Microsoft Outlook.
Maybe you are looking for
-
How to play MP3/MP4 player with external drive?
Whenever I want to play an MP3 that is online, opens a new tab in Firefox and the MP3 plays inside Firefox. No matter what I do: I put in MP3 to play with Windows Media Player (or always ask) but Firefox ignore this parameter. Or with other mediaplay
-
Where to download Ulead Movie Factory for Portege M400 & Vista
Hi all I have upgraded from XP to Vista on my M400 and want to go Ulead Movie Factory. Download only what I see is a patch, but I have no more than the original. Anyone know where I can download the original from? Thank you Steve
-
I just got a new HP Deskjet 2540 all-in-one yesterday, ordered from amazon.de, went through the installation of software on my 2015 Macbook Pro running OSX Yosemite, deleted the band contained in 301 ink cartridges provided, placed them in the printe
-
WiFi doesn't work is not about ATT Atrix 4 G countries in certain European (and global)
Hi, I have an ATT Atrix 4g and im he unsing in Europe in Slovenia, wifi will not work in my country, however once I go to one of its neighbours such as Austria, Croatia or Italy wifi starts working. Same thing happens to a few other ATT Atrix 4 G to
-
Suddenly cannot connect to wifi
I have two wireless cards on my PC (a broadcom and an Asus but I mainly use the broadcom because he is capable of that while the other is compatible only n) and out of the blue once when I tried to go online I found that I was not logged and impossib