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
New Contributor
shabbydg
Posts: 2
Registered: ‎11-09-2012
My Device: Curve 8520

WebWorks Widget Freezes

Hi,

 

I have built a simple widget package that simply loads and displays a mobile website that is hosted on a GoDaddy server. Baiscally I want it to act like browser without looking like one. But the pages take a very long time to load on the app whereas the same site loads relatively fast on any other browser.

 

Am I doing something completely wrong or is there any tweaking or properties that I have missed out.

 

For reference I have added my config file below:

 

<?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.3">
    <name>Raj Online Sri Lanka</name>
    <description>A Business Directory for Sri Lankan Companies</description>
    <author rim:copyright="2012"
          email="info@digitalarc.lk">DigitalArc</author>
    <icon src="icon.png"/>
    <content src="http://m.rajonline.lk"/>
    <access subdomains="true" uri="*"/>
    <rim:loadingScreen backgroundColor="#FFFFFF"
          backgroundImage="loading.gif"
          onFirstLaunch="true"
          onRemotePageLoad="true">
    </rim:loadingScreen>
    <rim:cache maxCacheSizeTotal="2048" maxCacheSizeItem ="256" />
</widget>

 

Any help will be greatly appreciated.

Developer
The_Anomaly
Posts: 322
Registered: ‎08-06-2012
My Device: Dev Alpha / Playbook / Curve 9300

Re: WebWorks Widget Freezes

Have you tried using the web inspector to determine if there are any errors?

If it helped you, click like. :smileyhappy:
New Contributor
shabbydg
Posts: 2
Registered: ‎11-09-2012
My Device: Curve 8520

Re: WebWorks Widget Freezes

I am testing the App on a phone running OS 5 to make sure it works on older platforms. So how can I test it?

Retired
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: WebWorks Widget Freezes

It sounds like something is blocking the UI.  There could be some piece of JavaScript or page content that is not supported on BlackBerry 5 that is causing issues.  Unfortunately remote web inspector is not available in OS5.  That was introduced later (BlackBerry 7).  

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.