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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Contributor
Posts: 18
Registered: ‎01-10-2013
My Device: Amstrong
My Carrier: Indosat

image doesn't show in blackberry webworks after package it...

[ Edited ]

i using riple simulator to check the program...

after it seems ok...

i try to package it and run it by using blacberry simulator (load application)...

the fact the image that i have input doesn't show.. it just show (x) in picture...

 

this is my program (index.html):

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,
initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,
user-scalable=no">

<link rel="stylesheet" type="text/css" href="styles/main.css" />


<title>Hello World</title>
</head>
<body>
<div id="header">
<img src="images/logo.png" width="60" align="middle">
</div>

<div id="wrapper">
<div class="wrapper_button">
<input type="image" name="player_button" class="player_button" src="images/player_button.png" width="156" height="60"/>
<input type="image" name="station_button" class="station_button" src="images/station_button.png" width="156" height="60"/>
<input type="image" name="connect_button" class="connect_button" src="images/connect_button.png" width="156" height="60"/>
<input type="image" name="contact_button" class="contact_button" src="images/contact_button.png" width="156" height="60"/>
<div> <!-- close wrapper_button-->

<div class="wrapper_main">
<img src="images/citylogo.png" width="310" height="310">
<div class="logo">
<img src="images/banner_ex.png" width = "310" height="152">
<img src="images/banner_ex.png" width = "310" height="152">
</div> <!-- close logo class -->
</div> <!-- close wrapper_main -->

<div class="footer">
<img src="images/song_background.png" width="442" height="60">
<input type="image" name="connect_button" class="connect_button" src="images/play_button.png" width="90" height="60"/>
<input type="image" name="contact_button" class="contact_button" src="images/stop_button.png" width="90" height="60"/>
</div> <!-- close footer -->
</div> <!-- close wrapper -->

</body>
</html>

 

 

 

this is my config.xml:

 

<?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" rim:header="WebWorks Sample">

<name>Hello World</name>
<description>This is HelloWorld.</description>
<content src="index.html"/>
<icon src="icon.png"/>

</widget>

 

 

 

 

is it anything i should set something in my config.xml? do i miss something?

really need help for QUI...

thnk you very much...

Trusted Contributor
Posts: 108
Registered: ‎02-26-2012
My Device: Playbook
My Carrier: none

Re: image doesn't show in blackberry webworks after package it...

Are you including the images with the directory?

Trusted Contributor
Posts: 108
Registered: ‎02-26-2012
My Device: Playbook
My Carrier: none

Re: image doesn't show in blackberry webworks after package it...

Also, are you using the correct build path in Ripple?

Trusted Contributor
Posts: 108
Registered: ‎02-26-2012
My Device: Playbook
My Carrier: none

Re: image doesn't show in blackberry webworks after package it...

If nothing works, try using the command line tools.

Contributor
Posts: 18
Registered: ‎01-10-2013
My Device: Amstrong
My Carrier: Indosat

Re: image doesn't show in blackberry webworks after package it...

yup... i put the right directory part... and also include it when i zip it.... 

i also try  command line to build it alread... Smiley Sad