Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9203595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:30:27+00:00 2026-06-17T23:30:27+00:00

I have a phonegap app that works in android and ios but when I

  • 0

I have a phonegap app that works in android and ios but when I port it over to windows phone it is not working. It loads up on the emulator just fine, it shows the page rendered and styled great but clicking the login button on the page does nothing. I tried disabling all javascript files except the cordova file and trying an “alert()” and that did not work. How do you debug javascript errors, the debugger that runs during emulation only shows this:

GapBrowser_Navigated :: /app/www/login.html
'UI Task' (Managed): Loaded 'System.ServiceModel.Web.dll'
'UI Task' (Managed): Loaded 'System.ServiceModel.dll'
The thread '<No Name>' (0xf6200ba) has exited with code 0 (0x0).
'UI Task' (Managed): Loaded 'System.SR.dll'
A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll
The thread '<No Name>' (0xf0d00ea) has exited with code 0 (0x0).

I have no idea how to debug this (and reading posts it sounds like the info about shouldn’t even be a problem), can anyone point me in the right direction?

Thanks for your time.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:30:28+00:00Added an answer on June 17, 2026 at 11:30 pm

    Looks like it was caused by javascript using the cordova api firing before the deviceready event, it never happened in android or ios but I guess the execution times in the windows one caused race conditions. Also I used a “throw” to kill javascript after doing a window.location just so nothing else got executed and that doesn’t work on windows but does on the other two.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a phonegap app that uses jqm that works fine in android and
We've put together an app that is mostly working in phonegap. We have an
I have an app that runs fine using android phonegap 1.2 and jqm 1.0,
I am trying to port a Phonegap/Cordova app to Android. It works on earlier
I have a running JQueryMobile App that Im developing with PhoneGap for Android/IPhone, and
I created a sencha touch 2/phonegap app that works fine on android, and needed
I've been working on a PhoneGap app for IOS and Android. I'm now migrating
I'm developing a phonegap app on both iOS and android and have my www
I have a jquery mobile app that i am wrapping in Phonegap for Iphone/Android
I have a PhoneGap application that works fine but occasionally is known to have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.