etbramble

BlackBerry WebWorks + 2.4Compact

Discussion created by etbramble on Sep 1, 2011
Hello all!

I'm attempting to use the JS API in a BlackBerry WebWorks application and having some trouble.  Using the same device I'm building the application for, I navigated to the mobile samples and was able to load most all of them successfully.

http://help.arcgis.com/EN/webapi/javascript/arcgis/mobile/index.html

The difference with a WebWorks application is that the html page is hosted locally on the device/phone and you have to give explicit permissions to the outside resources.  I'm getting a cross domain error when I try to load the remote js api resource in the WebWorks project. 

Has anyone attempted this before?  Here is the output from my permissions list, is it missing anything?


  <access uri="http://arcgisonline.com" subdomains="true" />
  <access uri="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" subdomains="true" />
  <access uri="http://arcgis.com" subdomains="true" />
  <access uri="http://serverapi.arcgisonline.com" subdomains="true" />
  <access uri="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=2.4compact" subdomains="true" />
  <access uri="http://serverapi.arcgisonline.com/jsapi/arcgis/2.4compact/css/" subdomains="true" />
  <access uri="http://serverapi.arcgisonline.com/jsapi/arcgis/2.4compact/js/esri/dijit/css/" subdomains="true" />
  <access uri="http://serverapi.arcgisonline.com/jsapi/arcgis/2.4compact/js/dojo/dojox/gfx/" subdomains="true" />
  <access uri="http://serverapi.arcgisonline.com/jsapi/arcgis/2.4compact/js/esri/nls/" subdomains="true" />
  <access uri="http://dojotoolkit.org" subdomains="true" />
  <access uri="http://googleapis.com" subdomains="true" />
  <access uri="http://server.arcgisonline.com" subdomains="true" />
  <access uri="http://esri.com" subdomains="true" />
  <access uri="http://help.arcgis.com" subdomains="true" />



Any help is much appreciated.

Outcomes