BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 02-25-2011, 10:35 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 9550
PIN: N/A
Carrier: development
Posts: 18
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default DeviceAnywhere and BlackBerry

Please Login to Remove!

Please help!
I trying to install my application on the BlackBerry device through DeviceAnywhere.
So what i'm doing.
Choose .cod, .jad, .jar load them and send sms. Get sms with link to my application on the device. Click .jad link. Click "download". And there is an error.
First i get "download failed" and then Error 907 Invalid COD.
Am i doing something wrong?
Offline  
Old 02-25-2011, 02:28 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 Re: DeviceAnywhere and BlackBerry

check your JAD file and see if it references filoes like myapp-1.cod, myapp-2.cod, etc.

If so, you need to rename the COD file to the ZIP extension, and extract all of the cod files. These must be deployed, instead of the aggragate COD file.
Offline  
Old 02-28-2011, 05:34 AM   #3 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 9550
PIN: N/A
Carrier: development
Posts: 18
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: DeviceAnywhere and BlackBerry

I did, what you said. Unzip main .cod file - get 5 .cod files, upload all of them to DeviceAnywhere, but still got the same error.

Here is my .jad file(i have references to all my .cod files "RIM-COD-URL") :

Manifest-Version: 1.0
MIDlet-Version: 1.0.4.4
MIDlet-Jar-Size: 266962
RIM-COD-URL-4: BBSmsMonitor-4.cod
RIM-COD-SHA1-4: 86 9e 8a c4 94 f8 9b ea 56 82 88 62 23 d6 86 0e aa fc b4 5a
RIM-COD-URL-3: BBSmsMonitor-3.cod
RIM-COD-SHA1-3: 22 89 8e d4 4f 03 9f 9c de a5 a0 2c 1a e9 52 cd dd 81 ba 92
RIM-COD-URL-2: BBSmsMonitor-2.cod
MicroEdition-Configuration: CLDC-1.1
MIDlet-Jar-URL: BBSmsMonitor.jar
RIM-COD-Module-Dependencies: net_rim_cldc,net_rim_locationapi,net_rim_bbapi_bro wser,net_rim_bbapi_phone
RIM-COD-SHA1-2: 9a 5f dd 2e 25 5b de 33 ce 8e 8d ee 8f cb 3a 25 e5 eb 6b b5
RIM-COD-URL-1: BBSmsMonitor-1.cod
RIM-COD-Size-4: 63760
RIM-COD-SHA1-1: eb 8a 3a de 08 c3 15 ee b2 c8 c8 8b ed bf d5 51 25 dd 73 0c
RIM-COD-Size-3: 38520
RIM-COD-Size-2: 53596
RIM-MIDlet-Flags-1: 33
RIM-COD-Size-1: 58040
RIM-COD-Module-Name: BBSmsMonitor
MIDlet-Name: BBSmsMonitor
RIM-COD-Size: 42848
RIM-COD-Creation-Time: 1298652931
MIDlet-1: SmsMonitor,img/icon.png,Starter
RIM-COD-URL: BBSmsMonitor.cod
MIDlet-Description: SMS monitoring
RIM-COD-SHA1: 3f e5 87 18 c9 85 d1 3e 44 03 bc 9c df e9 91 f8 9e 6b 11 b2
MicroEdition-Profile: MIDP-2.0
MIDlet-Vendor: BBSmsVendor


I alos tyied to use
"RIM-COD-URL: BBSmsMonitor.cod,BBSmsMonitor-1.cod,BBSmsMonitor-2.cod,BBSmsMonitor-3.cod,BBSmsMonitor-4.cod"
instead of
"RIM-COD-URL: BBSmsMonitor.cod"
but it doesn't help.
Offline  
Old 02-28-2011, 08:36 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 9550
PIN: N/A
Carrier: development
Posts: 18
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: DeviceAnywhere and BlackBerry

I use the RuntimeStore API(it required signature key), but a i didn't sign my application, so can i get this error in case a haven't sign my application or trouble with something else?
I understand, that i need to get signature key anyway, but just trying to understand, what causes the error...
Offline  
Old 02-28-2011, 08:55 AM   #5 (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 Re: DeviceAnywhere and BlackBerry

If you use any restricted API's, you need the keys. However, this causes "module attempts to access secure API", not a 907 error.

It might be that you are compiling under the wrong JDE level for the target OS level. Your compiler level must be <= the OS level of the target device.

Have you attempted to get support from DeviceAnywhere?
Offline  
The Following User Says Thank You to Dougsg38p For This Useful Post:
Deduwka (02-28-2011)
Old 02-28-2011, 11:43 AM   #6 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 9550
PIN: N/A
Carrier: development
Posts: 18
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: DeviceAnywhere and BlackBerry

Quote:
Originally Posted by Dougsg38p View Post
If you use any restricted API's, you need the keys. However, this causes "module attempts to access secure API", not a 907 error.
I think the same way

Quote:
Originally Posted by Dougsg38p View Post
It might be that you are compiling under the wrong JDE level for the target OS level. Your compiler level must be <= the OS level of the target device.
i'm developing under BlackBerry JRE 5.0.0 and tried to install application on
9800 device - it should support it, as i understand.

Quote:
Originally Posted by Dougsg38p View Post
Have you attempted to get support from DeviceAnywhere?
Wrote them a letter and waiting for some feedback ...

Thanks, anyway.
Offline  
Old 02-28-2011, 01:18 PM   #7 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 9550
PIN: N/A
Carrier: development
Posts: 18
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: DeviceAnywhere and BlackBerry

Can you tell me one more thing.
If application works fine on the simulator, but don't install on real device, can it be, that the problem inside classes code?
Offline  
Old 03-02-2011, 04:03 AM   #8 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 9550
PIN: N/A
Carrier: development
Posts: 18
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: DeviceAnywhere and BlackBerry

I have signed my application, packaged it with no problem, retried all, what i have tried with unsigned application, but still got the same error.
I try almost everything and can't imagine what i'am doing wrong!
Is there some "features" which I do not know?
Offline  
Old 03-02-2011, 05:34 AM   #9 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2011
Model: 9550
PIN: N/A
Carrier: development
Posts: 18
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: DeviceAnywhere and BlackBerry

Holy Jesus I did it!
I don't know why, but it didn't install through the browser, so what i did:
- rename .jad file into xxxxx.cod;
- upload to memmory card all files;
- rename xxxxx.cod back to .jad;
- execute it and installation was successful;
Offline  
Old 03-31-2011, 07:45 AM   #10 (permalink)
New Member
 
Join Date: Mar 2011
Model: 9780
PIN: N/A
Carrier: Bharti-Airtel
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: DeviceAnywhere and BlackBerry

Hi
I hv signed , packaged and installed my application
with no problem on BB 9780 but its giving me
"module attempts to access secure API" error the device
what could be the problem for this??
Offline  
Old 03-31-2011, 08:25 AM   #11 (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 Re: DeviceAnywhere and BlackBerry

The application needs to be signed to access secure API's.

BlackBerry - Java Code Signing Keys
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





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