BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 08-02-2010, 11:31 AM   #1
op1984
New Member
 
Join Date: Aug 2008
Model: curve
PIN: N/A
Carrier: tmobile
Posts: 7
Question BB Ant Tools and Code Signing

Please Login to Remove!

I've followed the directions on "How to - Protect persistent objects from access by unauthorized applications" in rims knowledge base and it all works when I build my .cod with Eclipse and the Blackberry developer tools for eclipse.
I'm not allowed to post links to the doc

In my code I have the following as documented at the url above
Code:
int moduleHandle = ApplicationDescriptor.currentApplicationDescriptor().getModuleHandle();
CodeSigningKey codeSigningKey = CodeSigningKey.get( moduleHandle, "MDW" );
When i run my eclipse builds i get a valid codeSigningKey but when i run the bb ant builds the codeSigningKey is NULL.

Has anyone ran into this problem ?
As far as i can tell eclipse and RAPC are doing some magic when they see the .key file in my src directory.

thanks for any help
Offline  
Closed Thread



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Cutler Hammer Eaton D100A Programmable Controller W/ EE PROM Memory Cartridge picture

Cutler Hammer Eaton D100A Programmable Controller W/ EE PROM Memory Cartridge

$219.99



Bunn Ultra-2 Main Control Board FACTORY NEW 44039.1000 38710.1000  - 013 picture

Bunn Ultra-2 Main Control Board FACTORY NEW 44039.1000 38710.1000 - 013

$180.00



WiFi Audio Voice Recorder Audio Alerts Check Audio Real-Time 32GB USA Shipper picture

WiFi Audio Voice Recorder Audio Alerts Check Audio Real-Time 32GB USA Shipper

$129.00



1PC New ABB ACS880-MU-ZCU-12/14 ZMU-02 Inverter Memory Card 1year waranty picture

1PC New ABB ACS880-MU-ZCU-12/14 ZMU-02 Inverter Memory Card 1year waranty

$84.46



New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC picture

New Sealed AB 2080-MEMBAK-RTC Memory Backup, Data Log, Recipe ,High Accuracy RTC

$281.95



NEW Original Allen Bradley 2080-MEMBAK-RTC Memory Module With RTC Plug-In picture

NEW Original Allen Bradley 2080-MEMBAK-RTC Memory Module With RTC Plug-In

$284.00







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