Random Cordova Error on WP - Web App Development

I just finished a cross platform project for iOS, Android and WP Web Application. This WebApp works everything fine without any problem, but on WP show an annoying Error from cordova plugin.
This error happens every time a page is loaded from backbutton action (same as window.history.back() function). It only happens randomly on Windows Phone devices.
As show on attached image.
Does anyone now why does this happen only on Windows Phone? JavaScript file is defined correctly, because it just wont work when press backbutton on window.history.back() function.
Appreciate any response

Logs
Can you provide logs output? I think windows phone just not initialized window.cordova

It is hard to tell the problem without logs... Has the chance to happen from many reasons. If you can copy paste the error logs, it would be more easy to resolve the issue.

Related

What issues I have found in Crossbow

Hi there,
Playing with Crossbow for a while now and here is what problems I encountered:
==============================================================================
1. No Videocalling support.
This is a well known one by now. Hope the fix is there soon!
2.Windows Live Messenger contacts to be synced with own Outlook contacts.
Also a well known one and very annoying as well. As annoying as it is, I guess I can live with that.
3. "Suggesting words when entering text" automatically enabled after soft reset.
Also very annoying. I always disable this function just because I don't want the device to suggest words while I'm typing. Seems to be a bug.
4. Homepage cannot be set in Internet Explorer.
The option is actually there in "Options", but the entry field is disabled, so it will keep Google.com as default home page. You can still set the home page by change the corresponding key in the register, but I think it should be possible just to set it in the Internet Explorer itself.
5. Wi-Fi and Bluetooth cannot be activated/deactivated by using the "Wireless" today screen item.
Better yet: the entire "Wireless" today item isn't doing anything when you click it.
6. ClearVue PDF comes up with an error when opening a PDF document.
Sometimes it will open a file, but most of the time it won't. You can use PDF files by installing Adobe Reader 2.0, but ofcourse it just has to work with the built-in ClearVue.
7. Freeze after soft reset.
Sometimes the device just freezes when rebooting after a soft reset.
Sometimes at the "Enter pin" screen, somtimes after entering the pin code.
Soft resetting again solves the problem. Bug?
==============================================================================
That's the list.
I hope this information means some value to you who are improving Crossbow!!
4) use registry
3) no need to edit it in registry, just click yourself through settings<br>
Start / Settings / Input / Word Completition.<br><br>
And I think it is not bug, but feature. If it wouldnt be switched on, you might not know your device can do it
because you either selected us as your location or you didn't select one and us is default
yes you were right, thanks. Tried to delete that post but no luck.
2) Actually, you can prevent that the synchronization of Messenger contacts results in unwanted contacts in Outlook:
- Before you sign in to Messenger, do the following
- Open Outlook (either on your PC or on your mobile device)
- For each of the contacts you've defined both in your Outlook and in your Messenger contact lists, specify the instant-messaging (e-mail) address of the Messenger-contact in the Outlook-contact; in the field called "IM" (in Outlook Mobile) or "IM Address" (in Outlook 2007)
- If you did the previous on your PC, synchronize your Mobile device with your PC
- Then sign in to Messenger on your mobile device
Now, when you open your Contacts application, you can see which contacts are online...
fuho said:
3) no need to edit it in registry, just click yourself through settings<br>
Start / Settings / Input / Word Completition.<br><br>
And I think it is not bug, but feature. If it wouldnt be switched on, you might not know your device can do it
Click to expand...
Click to collapse
It IS a bug. I don't want this function to be enabled, so I switched it off. After a softreset it's always switched on again.
Mate your a bug! I am a systems analyst ok. A bug is something that DOES NOT WORK! Not something that doesn't work the way you like it!!
I see this trick every day. People request modifications that they want urgently by posting them as bugs.
Stop wasting midget's time. A new WM 6 ROM is important and needs to be tested and DE-BUGGED so amateurs like you can modify to your hearts content while power users like US can run a stable operating system.
I don't mean any offense but posts like yours waste our time - for example I receive these live via push email and feel compelled to review them in case there really is a BUG I need to be aware of.
My advice to you - go and buy a second hand palm & go play in the traffic...
Simon
my 2 bits:-
my 2 bits:-
1] device freezes on soft reset
2] battrey drain is much more than the AKU 3.5 romsnot
3] contrary 2 others there is a memory
4] phone doesn't remember the default SIP even if the registry is changed
5] leakcamera hardware button error on access the camera program
6] windows live doesen't connect via w-lan if gprs is active
7] wi-fi short cut on today doesnt work...
8] able 2 set mp3/wma tones for notifications/alarms
9] spb backup 1.51 doesn't work
PRO's
1] love the speed
2] graphics
3] smart-dialing
4] more ram
3rd party programs i use
spb plus 3.1
spb backup 1.51
saman's new menu for wm5
a few reg tweaks from this forum & internet
frz
simonsalo said:
Mate your a bug! I am a systems analyst ok. A bug is something that DOES NOT WORK! Not something that doesn't work the way you like it!!
Click to expand...
Click to collapse
Not that I care, but:
-Videocalling is supposed to work, and doesn't. That, by your definition, is a bug.
- Freezing on soft reset is a BUG. Freezing for any INTERNAL reason is due to something NOT WORKING
- Homepage settings, and word completion, settings not sticking after a reset are BUGS, because IT IS SUPPOSED TO DO THAT.
- The BUILT IN PDF program that freezes when you open PDF's is not a bug????
- I'll give you the wireless plugin for now because I am not sure if it is supposed to act differently.
Just because YOU CAN"T FIX IT doesn't mean it's not a bug!!! There are a lot of low-level users that read these forums and use these hacks. Issues like this are important to know to people who are contemplating changing ROM's. Have some consideration for them, and everyone else on this forum other than yourself.
I hope this is being pushed to your phone right now, and you are in the middle of something very intensive.
Like, sitting in traffic maybe
Encryption
Bug :
- Encryption Control Panel applet is useless.
I have to make registry changes to use encryption.
( By adding values to HKLM\System\StorageManager\Profiles\SDMemory)
patmannyc said:
Not that I care, but:
-Videocalling is supposed to work, and doesn't. That, by your definition, is a bug.
- Freezing on soft reset is a BUG. Freezing for any INTERNAL reason is due to something NOT WORKING
- Homepage settings, and word completion, settings not sticking after a reset are BUGS, because IT IS SUPPOSED TO DO THAT.
- The BUILT IN PDF program that freezes when you open PDF's is not a bug????
- I'll give you the wireless plugin for now because I am not sure if it is supposed to act differently.
Just because YOU CAN"T FIX IT doesn't mean it's not a bug!!! There are a lot of low-level users that read these forums and use these hacks. Issues like this are important to know to people who are contemplating changing ROM's. Have some consideration for them, and everyone else on this forum other than yourself.
I hope this is being pushed to your phone right now, and you are in the middle of something very intensive.
Like, sitting in traffic maybe
Click to expand...
Click to collapse
And thanks for your support. Much appreciated. Really!
Anyway, when I uncheck the 'suggestion words' option by choice and it returns to enabled after a softreset... is that something that does work correctly then? It's not.
simonsalo said:
My advice to you - go and buy a second hand palm & go play in the traffic...
Simon
Click to expand...
Click to collapse
My advice to you - try a different career...
Hey fuho,
deleted the post for you...
I have a slow memory leak. It starts at 24M and after 3days i only have 17~18M (no programs running, of course). After a reset, returns to 24M.
Virtual poll - OK
pinnacle chess - OK
Text Maker - OK ...but it have some small issues
Pocket Stars -OK
SK tools - Ok
JayRayMee.NL said:
And thanks for your support. Much appreciated. Really!
Anyway, when I uncheck the 'suggestion words' option by choice and it returns to enabled after a softreset... is that something that does work correctly then? It's not.
Click to expand...
Click to collapse
Well, I suggest waiting 5 minutes before soft-resetting. Changes you make to the registry need to be synced to the flash rom, which will take a little while. Happens everywhere, though. Try reading an email with direct push enabled (marking it as read) and immediately reboot. After starting mail again you'll see that that the mail you just read is marked as unread again. Same issue.
Just FYI...
JLCor said:
I have a slow memory leak. It starts at 24M and after 3days i only have 17~18M (no programs running, of course). After a reset, returns to 24M.
Virtual poll - OK
pinnacle chess - OK
Text Maker - OK ...but it have some small issues
Pocket Stars -OK
SK tools - Ok
Click to expand...
Click to collapse
You seriously left your phone on for 3days without using it?
I believe he his saying he didn't soft reset in 3 days.
yes. I simply didn't soft reset in 3 days.
JLCor said:
yes. I simply didn't soft reset in 3 days.
Click to expand...
Click to collapse
Well then 17ish meg is pretty good then. Take it that would be normal use then - not really surprised.

Screen broken but need text messages!

I currently have a T-mobile dash and unfortunately the screen got cracked earlier today. The problem I am faced with is I am receiving text messages which I need to order to coordinate my graduate research at college but I am, obviously, unable to read them from the phone. Is there any application that I can download that will allow me to at least view the messages on my computer? I have been looking around for one but it seems many require you to download an application on the phone and seeing as I can make heads or tails of anything on the screen that's rather impossible at the moment. Any help is appreciated!
True connect:
True Connect is an exciting new way to control your Windows Mobile device when its plugged in! Simply drag your mouse off the side of your monitor, and it appears on your phone. Now you can click on the menus, controls and applications in an intuitive, natural way. It even works for non-touch screen devices! Of course, you can also use the PC keyboard to type, copy and paste information.
Can't see your device screen without holding it up? No problem - just use On-Screen Connect to show your device screen on your PC. It slides in when you need it, tucking neatly out of the way when you don't.
New to version 3.0 is SMS Text Messages in Microsoft Outlook. Read, send, forward and manage your text messages just like your email.
Download True Connect, and try it free for 14 days. You'll see for yourself how easy it can be to do your phone calls, text messages, applications and just about everything else on your mobile.
I personally used this to retrieve texts for a friend of mine who also broke his screen.. worked perfectly.
I couldn't figure out how to do anything other than navigate using true connect. Wait... realized you have to have outlook installed.
it seems like it's a pay version of My Mobile
The coolest version i think is mDesktop it even has an Excalibur on the site as the phone they use! You can view and copy the texts. it even has a "copy chat" with the options "plain text" and "formatted HTML"
the only other thing i think i would want to be able to do is use my computer headphones and mic to talk on the phone.
EternalSoil said:
it seems like it's a pay version of My Mobile
Click to expand...
Click to collapse
I'm not the OP but i had the same problem and a lot of ones i tried required being able to see the screen to install the cab/execute the program. this worked perfect for me since my screen was completely broken. Thanks for the link!

Microsoft ActiveSync Unresolved Item

Hey guys ...
Everytime I connect and do my sync at the bottem in the Files folder above the Media section ... it says there is an Unresolved problem.
I am not certain what the problem is but when I click on that folder I get a list of things in another window.
I do not know what the unresolved problem is.
Is there a way I can find out ?
My TP2 is working just fine but would like to know what it is.
Thanks !!
Tarkus_elp said:
Hey guys ...
Everytime I connect and do my sync at the bottem in the Files folder above the Media section ... it says there is an Unresolved problem.
I am not certain what the problem is but when I click on that folder I get a list of things in another window.
I do not know what the unresolved problem is.
Is there a way I can find out ?
My TP2 is working just fine but would like to know what it is.
Thanks !!
Click to expand...
Click to collapse
There's a number of possible causes, here's a list that might help you pinpoint the cause (*note-this list is from an older post elswhere online about issues with older versions of winmo and activesync, but most of what it says still holds true):
"What Causes Unresolved Items
Unresolved Items are caused by a variety of different problems with the synchronization process. Here is a list of possible causes of unresolved items :
-One of the most common issues are that the files are open by another application on the desktop or the Pocket PC. I recommend closing all applications to avoid having the files open. In the Calendar, Contacts and Tasks as well as Email, a common problem could be a corrupted PST (mailbox) file. Using the program Scanpst.exe will allow you to identify any problems with your PST file and fix them.
-Another possible issue with Email is that ActiveSync attempts to convert all attachments and synchronize them. So if an attachment such as a .DAT file is not supported, the Resolve Items will be displayed.
-Also, if you place ink notes into your Calendar or Contacts, you cannot synchronize the notes to the desktop. The desktop does not support the ink format that the Pocket PC uses.
-Another source of unresolved items is a problem with converting Word or Excel files including as attachments to Inbox. You cannot convert or sync files with a password. Further if your documents are more complex than the converter can handle, your pc may hang.
-Another possible cause of unresolved items occurs when a user modifies a contact, calendar item or task on BOTH the PC and the Pocket PC. This is because ActiveSync identifies changes made on either the Pocket PC or the PC and synchronizes the WHOLE record. So it either replaces the record from the Pocket PC to the PC or vice versa. In these instances, you need to decide which version is correct. You can adjust this behavior in ActiveSync to indicate whether the item remains unresolved or is overwritten by the PC record or the Pocket PC record in ActiveSync (on the PC) - Tools - Options - Rules.
-Another source is when users are inviting users to appointments which do not exist on the PC (normally their home PC) they are synchronizing. In this case you need to either add the users to the Pocket PC and sync it with their PC or delete the invited attendees for the appointment. You cannot just add the user to your PC because the Pocket PC is looking for that specific contact that existed previously"
(original credit to Chris DeHerrera @ pocketpcfaq.com)
Thanks !!
will take a look.
My TP2 is running fine .. just that everytime I sync it would come up with that unresolved item.
One thing I did which seems to make my phone run really well as in speed ect... is I disabled the TF3D. Put on a new theme and I really love the phone now.
Being new I am not sure what the actual term is called .. but the drop down on the top right hand corner of the phone ( I take it as being like a sys resource percentage ) .. it used to be around 70% to 75% nd really ran SLOW. Now after the changes I did to the phone it will be at 55% to 65% and runs really fast.
Thanks so much !!!!
Tarkus_elp said:
Thanks !!
will take a look.
My TP2 is running fine .. just that everytime I sync it would come up with that unresolved item.
One thing I did which seems to make my phone run really well as in speed ect... is I disabled the TF3D. Put on a new theme and I really love the phone now.
Being new I am not sure what the actual term is called .. but the drop down on the top right hand corner of the phone ( I take it as being like a sys resource percentage ) .. it used to be around 70% to 75% nd really ran SLOW. Now after the changes I did to the phone it will be at 55% to 65% and runs really fast.
Thanks so much !!!!
Click to expand...
Click to collapse
Glad to help!
The percentage you're looking at is a direct representation of how much RAM is being used at that time...the memory that your programs run in when they're active, just like on your home PC. That is generally used as the indicator for how bogged down your phone is or isn't at the moment, as you've noticed.
In the TP2, you can get the base level of that usage down even more by applying the two cabs I've attached below (just have to run them once, they apply some registry tweaks that disable some unnessary resource drains found in the stock ROM)

Zune and Marketplace crash/not loading

seeing problem with lunching WP7 zune or marketplace, reboot seems to fix the problem but this is not optimal soution.
MS is aware of it Zune/Market place carsh
let's see how long it will take to them to provide the fix.
anyone has problem buying apps in marketplace on WP7, when (and if), it lunches.
I can't even access zune right now from my computer. Both the program and the website are failing to log me in. Cont. loop.
I have noticed the same bug, and listed it in the list of bugs here: http://forum.xda-developers.com/showthread.php?t=836373
The only solution I've found is to reboot my device. Not good

Cortana and Windows Search keep switching between eachother

Hi. Not sure if this is a known issue or there are any workarounds for it:
I've set Cortana and my Lumia 950 on English (UK) (language, region etc) yet whenever I open Cortana it keeps glitching between the "Cortana" interface and the Windows Search interface.
Queries work, all of them but, a split second after Cortana shows the result, Windows Search kicks-in over Cortana. Its like there's some sort of web redirect that keeps going on behind the scenes.
Are there any workarounds for this? A registry change or maybe there's a broken Microsoft url that I need to redirect in a hosts file?
Microsoft abandoned cortana. Search on web, you l see.

Categories

Resources