Problem when app start vía short url (Cannot load styles, preferences and javascript)
I'm having trouble launching an app using the short url method. The thing is when the first page is loaded, it doesn't load the css styles, and cannot read the preferences (described in config.xml), and javascript behaviour is unpredictable. The only way to get things work is to reload the page. So far, this was, acceptable... but, when with times we end with a big problem here.
Because of this, we haven't been able to validate our app with
Nokia QA, that is required to publish the app in Ovi Store.
So i am looking foward to solve this. But i found that this is happening in every app around i found around the web (including the app like "New Webs app proyect" that comes which the IDE for development (Nokia Web Developer Environment 1.2.0).
So i guess this is a problem of the platform.. but again i don't know.
¿Is there another expriencing this type of problem?. ¿Any work around?
I hope someone can help me.
Grettins and thanks for advance.
P.D: We are working with "X3-00" and "3710 FOLD" devices.
Re: Problem when app start vía short url (Cannot load styles, preferences and javascr
hi,
i had the same problem, try using the "upload series 40 web app" option, it gives you a full url like this:
[url]http://dev-cloud1.browser.ovi.com/dev-wam.browser.ovi.com/wam/v1_0/clients/39162c53c546fa6f39a4e3fddd383e1/webapps/72fea6865715ce2d7675d347ffa539c/?name=News%20on%20the%20Go&type=webapp[/url]
you can just use this part
dev-wam.browser.ovi.com/wam/v1_0/clients/39162c53c546fa6f39a4e3fddd383e1/webapps/72fea6865715ce2d7675d347ffa539c/?name=News%20on%20the%20Go&type=webapp
hope it works for you
Re: Problem when app start vía short url (Cannot load styles, preferences and javascr
Hi,
Please make sure that you are using 1.0.2.26 version of Browser when testing.
Preferences not working with short URL is a known issue. As a workaround you can use method proposed by jcospina.
[url]http://www.developer.nokia.com/Community/Wiki/Series_40_web_apps_-_known_issues#Preference_values_do_not_work_correctly_when_deploying_apps_via_short_URL[/url]
Br,
Ilkka
Re: Problem when app start vía short url (Cannot load styles, preferences and javascr
As always, thanks Isalento!.
I will give it a try!.