10-30-2012 12:56 PM
I have created a wesite launcher app using the following xml config 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="1.0.0.0"
id="wizenation"
xml:lang="en">
<name>WizeNation</name>
<author>Asim Siddiqui</author>
<content src="www.wizenation.com"/>
<icon src="appicon.png" />
<access uri="*" subdomains="true" />
<rim:cache disableAllCache="true" />
</widget>
I successfully published and signed the app using Ripple. Then I installed the signed .bar file on my playbook using blackberry-deploy. I see the icon on my playbook but when I click on my app's icon I get the following message
"Error: This file could not be opened. Check that you have the correct permissions and try again."
I have created the bar file twice now with new sign in keys both time. Is there something wrong with my xml code? How can I verify that my .bar file is good?
10-31-2012 03:25 PM
Try using google chrome with extension Playbook App Manager instead of B deploy.
If still a problem go to developer forum.
11-01-2012 04:32 PM
Same problem. I will post it in developer forum. Thanks for your input though.
11-19-2012 11:11 AM
<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:rim="http://www.blackberry.com/ns/widgets"
version="1.0.0.0"
id="wizenation"
xml:lang="en">
<name>WizeNation</name>
<author>Asim Siddiqui</author>
<content src="index.html"/>
<icon src="appicon.png" />
<access uri="*" subdomains="true" />
<rim:cache disableAllCache="true" />
</widget>
See where the content src="index.html" that is where your launcher is called in.
index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,target-densitydpi=devi
<title>Example</title>
<style type="text/css" media="screen">
////////// Style goes here/////////////
</style>/////// End of style
</head>
<BODY>
<iframe id="channels" src="http://exampleurl.com"></iframe>
<div //// if want to style divs with js
</div></div>
<script>
//////this is where you add js if needed////////////
</script>
</script>
</div>
</body>
</html>