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.

inside custom component

Web and WebWorks Development

Reply
Contributor
anandr37
Posts: 19
Registered: ‎03-11-2012
My Device: Pearl 3G
My Carrier: Vodafone
Accepted Solution

App not working : Error This file could not be opened. Check that you have the correct permissions and try again.

Hi,

 

I am getting an error when i deploy my application on the Playbook simulator.

"Error This file could not be opened. Check that you have the correct permissions and try again."

 

Here is my config.xml

<?xml version="1.0" encoding="utf-8"?>
<widget xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.7.0" rim:header="RIM-Widget:rim/widget" xmlns="http://www.w3.org/ns/widgets">
<feature id="blackberry.ui.dialog" required="true" version="1.0.0"/>
  <rim:navigation mode="focus" />
  <name>testapp1</name>
  <description>An example of a simple test app</description>
  <author rim:copyright="2012">someone</author>
  <rim:orientation mode="landscape"/>
  <rim:permissions>
  <rim:permit>access_shared</rim:permit>
  </rim:permissions>
  <content src="index.html" />
</widget>

 

Below is my file structure in the testapp1

3 folders

images

CSS

js

 

1 file 

index.html with the code

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html>
	<head>
		<meta name="viewport" content="initial-scale=1.0,user-scalable=no" />
	</head>
	<body>
		<div x-ww-type="screen">
			<div style="margin:15px;font-size:13pt;color:Gray;">
				<p align="center">Simple Test Application</p>
			</div>
			
		</div>
	</body>
</html>

 

any help would be greatly appreciated.

 

 

Please use plain text.
Administrator
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: App not working : Error This file could not be opened. Check that you have the correct permissions and try again.

Is the application correctly signed?  

 

Just to confirm - you see this error from the blackberry-deploy command line prompt, or from the Tablet OS when you try to open the application?

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Developer
barlowdot1
Posts: 35
Registered: ‎02-06-2011
My Device: bold 9900
My Carrier: Vodacom

Re: App not working : Error This file could not be opened. Check that you have the correct permissions and try again.

Im getting the same error on BlackBerry Dev Alpha. With the Webworkds SDK that bar file is created without any errors. I then deplay the file to BlackBerry Dev Alpha, but when I start the application I get. "Error, This file could not be opened. Check that you have the correct permissions and try again"

 

I have check the app permissions and under setting-->security --->application permission and all permissions are set the "allow"

 

Any assistance will be appreciated

Please use plain text.