Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
08-30-2012 12:09 AM
is this possible that first time application install its start with index.html , (this happen in all case) then go something example.html but i want if user open second time application its open example.html straight way.
can you please suuggestion
08-30-2012 01:12 AM
You could store a value in LocalStorage or openDatabase (like refered to in your other post) and if that value is true/false you could forward the user to the one or the other .html file?
08-30-2012 03:03 AM
That's why I suggest to store a value to LocalStorage or openDatabase when the app is launched first time and forward to eg. page1.html and if the app is launched second time and this value is present then forward eg. page2.html.
With this usecase the only thing to do on the index.html is to check for the value.
08-30-2012 03:05 AM
And, btw., since ravi1989 is asking for Android stuff also in other posts I assume he will need this feature also for Android and thats where config.xml won't work since it is a proprietary config format of RIM/BlackBerry to configure app and on other mobile OS's config.xml might not work.