10-30-2012 09:13 AM
I am checking My Application in 9800.
When I installed it, it works fine for the 1st time. When I close the app and reopen it, it didn't move to home screen.
Only the splashScreen is showing after that it closes automatically.
In my simulator it is working fine with out any problem but when I test in device the above problem is occurring.
Please help me, I got stock in the above problem and I have to solve ASAP....
Thanks & Regards,
10-30-2012 12:33 PM
What does your app do the second time you open it?
ie: first time creates a database maybe where the user enters a profile or settings... then second time opening uses that info <- just a scenario I thought of.
Does your app do anything like that?
What JS framework are you using if any?
11-01-2012 02:25 AM
once I install my app in the device, for the first time it's work properly but when I close the app and reopen it. It shows only the splash screen and closed automatically. I didn't find the reason for which it is happening. It's working fine in Simulator for every time.
I am not using any database and I am using jQueryMobile framework.
11-01-2012 10:39 AM
hello. Can you please try enabling debug mode for the application and see what web inspector might be saying? When you package your app with bbwp, please specify the -d option on the command line. When the application runs it should show a dialog with the web inspector information that you can connect to.
11-01-2012 07:22 PM - edited 11-01-2012 07:29 PM
what keypad button do you press ?or how are you closing the app?
are you programatically closing it? id="btnExitApp" onclick="exitApp()"
Jqm on OS 6 and OS 7 will tend to hang in limbo even though you think its closed.
it works best closing app with js code that can be found in the Blackberry webworks examples/KitchenSink
11-02-2012 07:42 PM
I have a similar problem and i'm very desparate right now to get this working. My index.html file is on a remote server and the app quits unexpectedly whenever the index page finishes loading. i white listed the domain and it doesnt seem to help.
11-02-2012 08:16 PM - edited 11-02-2012 08:22 PM
<?xml version="1.0" encoding="utf-8"?>
<author href="http://www.me.com/" rim:copyright="Copyright 2012 ME">ME</author>
<rim:navigation mode="focus" />
<name>Webworks App</name> <description> Some app... </description>
<rim:loadingScreen foregroundImage="images/banner.png" onLocalPageLoad="true">
<rim:transitionEffect type="zoomIn" />
<icon src="icons/icons-1.png" rim:hover="true"/>
<content src="http://www.mydomain.com/index.html" > </content>
<access uri=http://www.mydomain.com subdomains="true">
< feature id="blackberry.system.event" required="true" version="184.108.40.206"/>
<feature id="blackberry.app" required="true" version="220.127.116.11"/>
<feature id="blackberry.app.event" required="true" version="18.104.22.168"/>
<feature id="blackberry.ui.dialog" required="true" version="22.214.171.124"/>
<feature id="blackberry.utils" required="true" version="126.96.36.199"/>
<feature id="blackberry.invoke" required="true" version="188.8.131.52"/>
<feature id="blackberry.invoke.BrowserArguments" required="true" version="184.108.40.206"/>
<feature id="blackberry.identity" required="true" version="220.127.116.11"/>
<feature id="blackberry.io.dir" required="true" version="18.104.22.168"/>
<rim:cache disableAllCache="true" />
As soon as my index.html located on mydomain.com onload event fires, the app quits.
11-02-2012 08:38 PM - edited 11-02-2012 08:56 PM
did you lose the quotation marks around "http://mydomain.com" when you pasted?
and content screen normally is <content src="index.html" /> remove the trailing </content>
like this for uri <access uri="http://www.mydomain.com" subdomains="true" />
remove the trailing </access>
remove the dead href="http://www.me.com/" from the author tag - dead links cause problems
11-02-2012 10:09 PM
Yes quotes were lost during the post, i removed the trailing slashes and made the correction to the author link as suggested. the app still quits after the index has loaded.