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
hakisukta
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...

Please use plain text.
Trusted Contributor
246droids
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?

Please use plain text.
Trusted Contributor
246droids
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?

Please use plain text.
Trusted Contributor
246droids
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.

Please use plain text.
Contributor
hakisukta
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... :smileysad:

Please use plain text.