Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

BlackBerry WebWorks Contributions

Reply
Contributor
ckcoleman
Posts: 15
Registered: ‎08-21-2011
My Carrier: o2

BB Web App Keeps Crashing

[ Edited ]

I have built a web app (basic HTML) based on this site 

 

I get an internal error when blackberry devices use it when following links.  On the simulator I do not get the error.

 

The link to the app is here

 

I wondered if someone would be able to check it and give some advice about it? It is rather frustrating.

 

The config.xml file:

 

<?xml version="1.0" encoding="utf-8"?>
<widget xmlns=" http://www.w3.org/ns/widgets"
        xmlns:rim="http://www.blackberry.com/ns/widgets"
        version="2.0">

  <name>Conyers App</name>

  <description>
   The School App for BlackBerry provides access to all web services for School
  </description>
  <author>
  Chris
  </author>

  <rim:loadingScreen backgroundImage="icons/splash.jpg"
                     foregroundImage="icons/tophead.jpg"
                     onLocalPageLoad="true"/>

  <icon src="icons/applogo.jpg"/>

  <content src="index.html"/>

  <feature id="blackberry.ui.dialog" required="true" version="1.0.0"/>
  <feature id="blackberry.app.event" required = "true" version="1.0.0"/>
    <feature id="blackberry.invoke" required = "true"
             version="1.0.0"/>
<feature id="blackberry.app" required="true" version="1.0.0.0"/>
  <feature id="blackberry.identity" required="true" version="1.0.0.0"/>
  <feature id="blackberry.invoke.BrowserArguments" required="true" version="1.0.0.0"/>
  <feature id="blackberry.invoke" required="true" version="1.0.0.0"/>
    <feature id="blackberry.app" required="true" version="1.0.0.0"/>
  <access subdomains="true" uri="*"/>
  

</widget>

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 839
Registered: ‎04-12-2010
My Carrier: Bell

Re: BB Web App Keeps Crashing

Hello ckcoleman,

 

Could you please elaborate a little more as to the internal error you are seeing? I was able to successfully install the application from the link you provided.

 

Once installed, I attempted to run the application on my device but the application refused to launch with the pop-up message: Error starting [application]: Module '[application]' attempts to access a secure API.

 

This would indicate that some required signatures are missing from your application. More information on this error, along with the resolution, can be found here:

http://supportforums.blackberry.com/t5/Testing-and-Deployment/BlackBerry-Applications-and-code-signi...

 

Can you please confirm if this is the error you are seeing?

 

Erik Oros

BlackBerry Development Advisor

Please note that I will be unavailable between May 19th and June 4th. Sincere apologies for any delays during this time. I will do my best to follow-up as soon as I am able.

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Contributor
ckcoleman
Posts: 15
Registered: ‎08-21-2011
My Carrier: o2

Re: BB Web App Keeps Crashing

Hi,


Thanks for your reply. I get the trying to access a secure API error when I test it.

 

Trouble is, I have signed my app as followed and still getting this issue?

Please use plain text.
BlackBerry Development Advisor
oros
Posts: 839
Registered: ‎04-12-2010
My Carrier: Bell

Re: BB Web App Keeps Crashing

Hello ckcoleman,

 

I've a suspicion that there will still be some signatures which have not been applied. Perhaps an RCC which has not been registered yet. In the same folder that your .COD file is generated in should also be a .CSL and .CSO file; these indicate the required and optional signatures your application is expecting respectively.

 

Can you please launch your SignatureTool.jar (i.e. double-click the .JAR) and when prompted, navigate to your .COD file (in the same folder as the .CSO and .CSL files.) From there, can you please inspect the dialog to ensure that all required signers have been applied?

 

If you would like me to inspect these files (.COD, .CSL, and .CSO) feel free to email into devsupport@rim.com with the files attached.

 

Erik Oros

BlackBerry Development Advisor

Please note that I will be unavailable between May 19th and June 4th. Sincere apologies for any delays during this time. I will do my best to follow-up as soon as I am able.

Erik Oros
BlackBerry Development Advisor
@WaterlooErik
Please use plain text.
Contributor
ckcoleman
Posts: 15
Registered: ‎08-21-2011
My Carrier: o2

Re: BB Web App Keeps Crashing

Hmm, I have a CSL and CSO file in the Standard Install. I am linking to the JAD file in the Over the Air Install - but there arent any CSL /CSO files in there.

 

I will email the app in a zip.

 

Thanks for your help.

 

Please use plain text.