11-26-2011 03:15 PM
I am new to BlackBerry/Mobile Dev so I am sorry if this is a simple question. I decided to attempt tp make a "Web Icon" following the BlackBerry guide here: http://supportforums.blackberry.com/t5/Web-and-Web
I am attempting to change it over so it uses my Blog URL but all I get in the simulator is time out errors. Here is my config.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<description>The IGL-Security Blog</description>
<access subdomains="true" uri="http://blogspot.com"/>
<access subdomains="true" uri="http://google.com"/>
Maybe it's just my internet speed that is too slow for it to load up? I am still pretty new at this so once again sorry if this is a simple problem.
11-26-2011 04:55 PM
11-28-2011 03:36 PM
Nope that did not work, I have got a tweet from @BlackBerryDev to a guide how to make config.xml files I feel like I have gotten closer but it still is not working. Here is the new config file:
<?xml version="1.0" encoding="utf-8"?>
<widget xmlns=" http://www.w3.org/ns/widgets"
<author href="http://igl-security.blogspot.com" rim:copyright="Copyright 2010-2011 IGL-Security Blog">My Corp</author>
<rim:navigation mode="focus" />
<name> IGL-Security Blog </name>
Connect directly to the IGL-Security blog right from your smartphone
<rim:transitionEffect type="zoomIn" />
<icon src="icon.png" rim:hover="true"/>
<rim:cache maxCacheSizeTotal="2048" maxCacheSizeItem ="256" />
<content src="index.html" >
<rim:background src="listener.html" runOnStartup="true" />
<access uri="http://igl-security.blogspot.com" subdomains="true">
<feature id="blackberry.pim.memo" required="true" version="1.0.0"/>
Copyright (c) 2011 IGL-Security Blog.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, INSULT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
If I leave the <feature id="blackberry.pim.memo" required="true" version="1.0.0"/> I get an error saying the feature can not be found when I attempt to compile the app. If I remove that the app loads but with the URI set as "igl-security.blogspot.com" I still get timeout errors. Looking at my blog I load the blog from a few different URLs including "Blogger.com, Blogspot.com,Google.com, and igl-security.blogspot.com" but when I try to add more allowed URL sources I get improper xml formatting when I attempt to compile.
11-29-2011 10:08 AM
You should be able to have an unlimited amount of <access> elements in your config, so I'm surprised to hear it gives an XML format error.
To test whether the problem is with the access element you can use <access uri="*" subdomains="true"> but I generally reccomend locking down your domains for security reasons before release.
Lastly to enable memo API access to the remote site you will need to both feature IDs
<feature id="blackberry.pim.Memo" /> --You were missing the capital M
<feature id="blackberry.find" /
11-29-2011 05:06 PM
Ok I am trying it but now I am having issues with this portion of the code I got from the BlackBerry example:
<access uri="*" subdomains="true">
When I attempt to compile it I get a "No <feature> tags are allowed for this <access> element. Also allowing all the urls still got me a "Time out error" is their a way I can provide a .cod file to someone to run on their emulator to see if they get a timeout error? I am starting to wonder if that is due to my slow internet speef (it's considered high speed but it can be slow at times)
11-30-2011 08:48 AM
Are you testing exclusively on the simulator? Are you running the MDS Simulator as well (this is necessary to get an internet connection on the sim)?
11-30-2011 10:58 AM
I am testing this directly on the BlackBerry Simulator. I have personallly not been launching an MDS simulator. I was getting a normal connection on the device (I could check facebook, twitter, browse web) so I thought I had a connection. I can go download a MDS simulator if needed.
12-06-2011 02:13 PM
I got the MDS simulator and it's now running on my machine. Now the problem is the product loads but I just get a white screen with an arrow. None of the content from my blog loads up. Any ideas?
01-03-2012 03:46 PM
Can you please confirm that you are using the latest vesrion of the 2.2.0 WebWorks SDK available here:
I copied the config.xml sample here:
And modified only the <content> src attribute to point at:
I then packaged and loaded the application onto a real, physical device and it loaded just fine. I also tested on a simulator without issue. Can you also confirm the model and full OS version of your simulator?
BlackBerry Development Advisor