BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 01-11-2010, 10:47 AM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: bold
PIN: N/A
Carrier: att
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question How to debug install/autorun part?

Please Login to Remove!

Hello, there.


My application have several entry point, one of them is autorun at the startup, and it will all startEmailRegister to add my customized button.


Code:
  public void startEmailRegister() {
        ApplicationMenuItemRepository amir = ApplicationMenuItemRepository.getInstance();
        amir.addMenuItem(ApplicationMenuItemRepository.MENUITEM_EMAIL_VIEW, new MyEmailMenuItem());
    }


It works for all the other Blackberry phone I had, bold 9000, tour, curve, I will see my menu item in the email view and works great. But it didn't work for Bold 9700 (ATT) phone I had. There is no "my menu" in the email view. And because the addmenuitem happens during the install, I cannot debugging through it.


So, Two questions:


1 Why it works for all the other phones except bold 9700?

2 Is there a way to debugging the autorun part?


I am using JDE 4.6. Thanks a lot.


Lan
Offline  
Old 01-11-2010, 10:22 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Two possibilities: first, try compiling under 5.0 (instead of 4.6) and see if this resolves the issue. We have had several issues like this in the early 5.0 releases.

Second, check application permissions. Make sure everything is "Allow".
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

2Pcs 16V 2700uF 105°C Panasonic Low Impedance Capacitor
$0.99
2Pcs 16V 2700uF 105°C Panasonic Low Impedance Capacitor pictureParmak Super Energizer 5 Low Impedance 110/120 Volt 50 Mile Range Electric...
$208.81
Parmak Super Energizer 5 Low Impedance 110/120 Volt 50 Mile Range Electric...  pictureP7300 High Impedance Oscilloscope Passive Probe 1X/10X 300MHz 143CM New
$12.99
P7300 High Impedance Oscilloscope Passive Probe 1X/10X  300MHz 143CM New pictureNew High Impedance Oscilloscope Passive Probe P7060 1X/10X Adjustable 60MHz
$8.55
New High Impedance Oscilloscope Passive Probe P7060 1X/10X Adjustable 60MHz pictureTOA ZM-104 Portable Analog Impedance Meter (O10401-1 A1)
$229.95
TOA ZM-104 Portable Analog Impedance Meter (O10401-1 A1) picture






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