ghuisintveld
Posts: 0
Joined: Fri Jun 08, 2012 11:29 am

Windows Phone Emulator white screen

Hi,

I have downloaded the Windows Phone sources (VS Project) and opened the project in Visual Studio 2010 Express for Windows Phone. I push the play button (debug) and the emulator pops up, but I only see the splash screen and after that a white page. Is something wrong with the downloaded code or am I doing something wrong?

Thanks again, Gerard

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Windows Phone Emulator white screen

Could you share your App with a href="mailto:support@tiggzi.com" rel="nofollow"support@tiggzi.com/a?

ghuisintveld
Posts: 0
Joined: Fri Jun 08, 2012 11:29 am

Windows Phone Emulator white screen

Done, name of the app is Client Online. Thanks for looking in to it.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Windows Phone Emulator white screen

Hello! Got your project. Thank you for sharing. We'll test.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Windows Phone Emulator white screen

I was able to reproduce your problem. We are trying to figure out what is the cause of it. I'll update.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Windows Phone Emulator white screen

This is a PhoneGap issue. PhoneGap supports only Android, BlackBerry WebWorks (OS 6.0 and higher), iPhone platforms when working with Storage. Please take a look here http://docs.phonegap.com/en/1.2.0/pho...

ghuisintveld
Posts: 0
Joined: Fri Jun 08, 2012 11:29 am

Windows Phone Emulator white screen

The link you post is version 1.2.0 of phonegap, but I believe in Tiggzi 1.8.1 is integrated, which should have support for localstorage on windows phone... http://docs.phonegap.com/en/1.8.1/cor...
So this shouldn't be the problem.. ?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Windows Phone Emulator white screen

Hello! Issue solved moving localStorage after Device Ready Event.
https://groups.google.com/forum/?from....
Let us know if you still have any problem

ghuisintveld
Posts: 0
Joined: Fri Jun 08, 2012 11:29 am

Windows Phone Emulator white screen

This solved the issue, thanks.

I have now however run into a similar issue. On a page of my app, I have an onClick event on a button that:

  1. Sets a localstorage variable

  2. Executes a service (userinfo.execute({});) that uses this localstorage variable as a request variable (the localstorage variabel is mapped to a request variable)

    The setting of the variabel (using setItem) works fine. The windows phone emulator however crashes when executing the function.

    The executing works fine if I don't use a data-mapped localstorage variable.

    So something seems to go wrong using a localstorage variable as a request variable.

    It all works fine on android / ios.

ghuisintveld
Posts: 0
Joined: Fri Jun 08, 2012 11:29 am

Windows Phone Emulator white screen

I have narrowed down the problem to this line in tiggzi.js:

value = $t.persistentStorage.getItem(entry.ATTR) || entry.ATTR;

After this line javascript crashes.

Return to “Issues”