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
Posts: 31
Registered: ‎12-05-2011
My Device: No
My Carrier: No

Webwork Application doesn't show on Balckebrry simulator with OS 5.0?

Hi,

I'm using webwork app to develop my blackberry APP. It's working properly on Balckberry smartphone simulator 9800 with OS 6.   But I need it to be compatible with OS5 for a small number of users who'll be using older devices. As far as I'm aware, WebWorks should work on OS5, however I have created pkg (myapp.cod) and added on simulator 9700 with OS 5 but cannot load widget on this simulator . the widget doesn't show on the OS5 simulator (it works fine on the OS6 simulator).

Could somebody tell me the reason behind this issue?

 

Thanks in advance.

Faster Fene

Developer
Posts: 435
Registered: ‎09-20-2011
My Device: Z10 LE, Playbook, DevAlpha C, 9900, 9380
My Carrier: Vodafone

Re: Webwork Application doesn't show on Balckebrry simulator with OS 5.0?

Give some information about your app. What you trying exactly.

Contributor
Posts: 31
Registered: ‎12-05-2011
My Device: No
My Carrier: No

Re: Webwork Application doesn't show on Balckebrry simulator with OS 5.0?

Hi ,

I got one sample from below url. It's working properly on simulator 9800 for OS 6.

https://bdsc.webapps.blackberry.com/html5/documentation/ww_getting_started/creating_an_app_1885567_1...

But when I tried this on simulator 9700(OS 5) or other simulator using OS 5 then It is not showing sample 'Hello world' widget on screen.

I think webwork also support OS 5 .

index.html code

<!DOCTYPE html>
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta name="viewport" content="width=device-width,height=device-height,user-scalable=no,initial-scale=1.0" />
   <title> Hello World </title>
</head>
<body>
   <p>Hello World</p>
</body>
</html>

 

config.xml Code

 

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

   <name>Hello World</name>
   <description>This is a sample application.</description>
   <content src="index.html"/>

</widget>

 

Thanks,

Faster Fene

 

 

Regular Contributor
Posts: 81
Registered: ‎03-09-2012
My Device: PlayBook & Bold 9780
My Carrier: n/a

Re: Webwork Application doesn't show on Balckebrry simulator with OS 5.0?

I have a simular situation. Compiled a .cod of my HTML5 app with recent WebWorks SDK 2.3.1.5, and wondered what OS versions it would actually run on. Could not find that documented anywhere Smiley Sad

 

Tested it on the 9800 v6.0.0 sim, and it basically worked.

Tested it on the 9700 v5.0.0 sim, and could initially not find the app installed. After some searching in the simulator itself, I found my app which I added with menu "File - Load Java Program" under "Downloads" (folder icon inbetween Games and Setup) instead of Applications where you would expect it. Maybe that happened to you too.

 

Anyway, is there a list somewhere of what WebWorks SDK versions are compatible with what OS versions? Is it nowadays still possible for instance to develop a WebWorks app which can be used on OS 4.5 devices such as the 8300 Curve model?

https://bdsc.webapps.blackberry.com/html5/download/previousversions goes back to v2.0 of the SDK, but I'm clueless about what the minimum target OS version of that exactly is.

Highlighted
Developer
Posts: 142
Registered: ‎07-27-2011
My Device: Red Z10, 32GB PlayBook, Numerous Android/WP8/FirefoxOS/Other devices
My Carrier: T-Mobile

Re: Webwork Application doesn't show on Balckebrry simulator with OS 5.0?

I had the same problem!

What I did to remedy this is I made a webworks app that launches index.html in a public folder in my dropbox - that way I can drop the app framework into the dropbox folder, and it will load using the app I made to launch it specifically (hope that makes sense!). It should work just as well to do it using a server url as dropbox (better maybe). It's not as fast as having all the files in the app (have to load all the resources from the web) but it works better than compiling over and over because the simulator doesn't work.

 

If anyone wants I can give more detailed instructions with pictures and **bleep**.

-----------------------------------------------------------------------------------------