09-06-2012 03:26 AM
The question is, is it working for you or are you getting errors in Web Inspector or running into other issues?
09-06-2012 03:33 AM - edited 09-06-2012 03:36 AM
If I run through the ripple emulator, and always looked blank page into sections : error: function ()
alert('Your Connection Is Trouble')
Once you look at my code, is there something wrong with my code writing?
09-06-2012 03:54 AM
Debugging all your files would be a little bit of tooo much. I tried a little sample only with the code of your MySampleApp.html in the menu.html and also called the "dataOnTheFly_initialLoad" in the ondomready when the id is "menu" for a small testing here.
For now, first question is: did you add the access property to the config.xml like shown below?
<access uri="http://bertho.web.id" subdomains="true" />
Next step, I tried to call the Service-URL you provided and it is running into a "timeout" in Ripple emulator and also directly in the browser.
To work on app issues the service call should be working well first.
09-06-2012 04:00 AM - edited 09-06-2012 04:01 AM
<?xml version="1.0" encoding="utf-8"?> <widget xmlns:rim="http://www.blackberry.com/ns/widgets" id="bbUISamples" version="22.214.171.124" rim:header="RIM-Widget:rim/widget" xmlns="http://www.w3.org/ns/widgets"> <rim:navigation mode="focus" /> <name>21 | XXI</name> <description>Aplikasi untuk membaca jadwal film yang sedang dan akan tayang di 21 dan XXI</description> <author rim:copyright="Joris Corp" email="email@example.com" href="http://www.bertho.web.id/">Bertho Joris</author> <icon src="images\icon.png" /> <icon src="images\icon.png" rim:hover="true" /> <rim:loadingScreen backgroundImage="images\background.png" foregroundImage="images\hippo.png" onFirstLaunch="true"> <rim:transitionEffect type="fadeIn" /> </rim:loadingScreen> <content src="index.html" /> <access subdomains="true" uri="http://www.bertho.web.id/"></access> <feature id="blackberry.push" /> <feature id="blackberry.message.sms" /> <feature id="blackberry.ui.menu" /> <feature id="blackberry.ui.dialog"/> <feature id="blackberry.identity" /> <feature id="blackberry.system.event" /> <feature id="blackberry.app" /> <feature id="blackberry.app.event"/> </widget>
09-06-2012 04:06 AM
As far as I know the <access> property is self closing so your usage
<access subdomains="true" uri="http://www.bertho.web.id/"></access>
<access subdomains="true" uri="http://www.bertho.web.id" />
But this must not be the problem at all. For me I wasn't able to get any data from your Service-URL due to timeout, so request "fails" and the alert is shown.
09-06-2012 09:01 AM
I get a timeout for the URL (in browser directly or in sample app) and the alert in sample app, so I can not really test it.
09-06-2012 02:09 PM
I do not know. Where is your URL/Server located. I'm in Germany and can not ping the URL/IP, always get a timeout.
09-06-2012 04:09 PM
It's really hard to debug your hosted code and try and figure out exactly what you are doing and where things are going wrong. Have you tried using web inspector to find out which line of your code is causing the exception and what the call stack looks like?