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

BlackBerry® PlayBook™

Reply
New Contributor
Posts: 8
Registered: ‎10-30-2012
My Device: Bold 9700
My Carrier: Virgin

Trouble publishing my web app launcher

 

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?

 

 

 

 

Super Contributor
Posts: 367
Registered: ‎09-22-2012
My Device: Playbook 32
My Carrier: 3

Re: Trouble publishing my web app launcher

Try using google chrome with extension Playbook App Manager instead of B deploy.

 

If still a problem go to developer forum.

________
New Contributor
Posts: 8
Registered: ‎10-30-2012
My Device: Bold 9700
My Carrier: Virgin

Re: Trouble publishing my web app launcher

Same problem. I will post it in developer forum. Thanks for your input though.

Highlighted
New Developer
Posts: 38
Registered: ‎06-30-2012
My Device: LE Z10/PlayBook/Dev A/B/C/ Priv
My Carrier: AT&T

Re: Trouble publishing my web app launcher

<?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=device-dpi,user-scalable=no,initial-scale=1.0">
<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>