- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mateus, our team is trying to get to the bottom of this too. We have had apps crash at launch after UI loads and we are trying to find the source of the problem. Another user said his app with the same issue worked on Windows 10 preview. Maybe you can try that in the meantime. I will post here as soon as I find a solution. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
The same thing is happening on my Cordova Windows Phone 8 app.
The previous version worked when I built it with the legacy option.
I have tested this on the emulator and there is no error.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you use windows phone shim ?
Read here https://github.com/MSOpenTech/winstore-jscompat
They say it is not required for Windows 10 app, but I get a working application for wp8.1/wm10/windows 8.1 universal application/Windows 10 application only after apply this shim.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Nikolay.
I just did that , but it didn't work for me. I have a strong feeling that the Cordova build for Windows is not 100% ready.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nikolay -- thanks for pointing out that shim library, we'll give it a try with some of the samples/demos we are trying to debug on Windows 8.1 Phone to see if it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The update I have is that I added the wormhole.js that was bundled with MoSync IDE and removed cordova.js
When I built the app with Intel XDK, the app got to the homepage(something that didn't happen when I removed wormhole.js) of the app before it crashed.
That's a pointer to the fact that something needs to be done on the Cordova build for Windows.
Please help !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same problem here. The app shows the splash screen and close. Any solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Andre -- please see this sticky post > https://software.intel.com/en-us/forums/intel-xdk/topic/607055
p.s. You should not be removing cordova.js as was suggested by the previous poster.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I included xdk-win8x-compat.js and remove cordova.js but it's still closing after splash screen.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It was a error in a example, now it's working. Some question: google maps work in windows phone?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Andre, we haven't heard about any issues with google map not displaying on windows phones.
You might find this useful: http://www.christianengvall.se/phonegap-and-google-maps/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a big project working in android and iphone. I tried to run on windows phone but isn't working, so I try a demo project. This demo show a google maps, is working in android but in windows phone the app opens, show the header and footer but dont show the map. I will try again tomorrow.
I used this sample http://codepen.io/ionic/pen/uzngt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Andre, I tried your sample code in Windows Phone 8.1 and my PC (Windows 8.1). Both builds crashed at launch.
Could you provide more information about the device and build you tried?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Andre, have you tried our Geolocation sample app? It uses google maps. Try that and let us know if it works for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, I had to stop the windows phone project but now I'm back.
The app with google maps opens but the maps still blank.
I did a test with the sample xdk project and app crashs.
I create a new project > samples and demos > general > geolocation demonstration and only appears "Determining Your Location", after few seconds de app closes.
In my sample de app opens, if I try to call google maps function the app closes.
I downloaded a app with google maps and when the app starts it call to permission, but in my app doesn't calling, any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I tried a diferrente thing. I call the current location only and receive the message "Unable to get location: This site dows not have permission to use the Geolocation API". Is something missing? I'm using geolocation plugin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Andre -- for Windows development, please make sure your app is configured to use CLI 5.4.1, prior build versions do not provide complete support for Windows and Windows Phone. Also, make sure you include this JS lib in the project to deal with some Win Phone issues > https://github.com/xmnboy/xdk-win8x-compat.js
On iOS and Windows devices (and now, Android 6 devices) the permission to use geolocation happens when the app is run and the app makes a call to the geolocation APIs. If you answered "no" to that permission you won't get a chance to answer "yes" unless you enable the permissions through the device's system app settings. There is a third-party plugin you can use in your app to get the user to that settings place (see https://www.npmjs.com/package/cordova.plugins.diagnostic.api-22) in order to turn a "no" into a "yes" (which can only be done by the user, an app cannot change this setting, only get the user to the settings page). Also, make sure you are using the up-to-date core Cordova plugins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I still have the same error. Using CLI 5.4.1 with xdk-win8x-compat.js in the intel xdk sample of google maps. and the app still closes when I call google.maps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try using weinre with your built Windows app, or open the app in IE10 or IE11 (IE10 if you're building for Windows 8.0 or Windows Phone 8.0, IE11 if building for Windows Phone 8.1 or Windows 8.1, and Edge if building for Windows 10).
See this video > https://software.intel.com/en-us/videos/using-the-test-tab < from this page > https://software.intel.com/en-us/xdk/docs/webinars-videos-links < for help on how to use weinre.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On IE11 I received the error " 'google' is not defined". The same project works in chrome, android, ios and xdk emulator. Any idea?
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page