- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm deveolping with Intel XDK an HTML5, CSS3, jQuery crossplatform app for Android, Windows Phone and iOS.
First of all I develope it in Android and after some minor problems now is working fine, but when I start to test it in a Lumia 720 with WP8.1 I found same unexpected problems.
I add "fontawesome" to the app because "appFramework" has so few icons. In Android I can see the icons from "fontawesome" witout a problem, in "emulate" tab, in test and in the app after build it. But in WP I can see them in the "emulate" tab (that emulate a Lumia 920), but when I download the app from Windows Store and run it in my phone I can't see the "fontawesome" icons.
Is there any method that I can use to load "fontawesome" icons? or I have to use images instead?
The second problem than I found is that the "window.open" doesn't work. For example, with this code:
$("a#formucontact").click(function() { alert('1'); var ref = window.open(formContacto, "_self", "location=no"); });
I can't open the url passed in "formContacto" and even the alert doesn't work.
Is there any problem with AppFramework and Windows Phone devices?
Thanks in advice.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi again!
I'm making some test with Intel XDK 1912, AppFramework and WP8.1 and I found this issue:
$(document).ready(function() { $.ui.launch(); var ref = window.open("http://www.intel.com", "_self", "location=no"); $("#intel").click(function() { var ref = window.open("http://www.intel.com", "_self", "location=no"); }); });
If I run this code in the "emulate" tab of Intel XDK both "window.open" work fine.
If I run this code, in the Intel AppPreview at my Lumia 720, the first "window.open" works fine and my app show the Intel webpage, but the second "window.open" never works. I put an "alert" in the click function and it works fine, so the click event rules ok, but the "window.open" still doesn't work.
What I don't undestand is why this code rules fine in the "emulate" tab but when I send it to the cloud or build it and install it in my phone it doesn't work. I've got this js calls:
<script type="text/javascript" charset="utf-8" src="appframework/appframework.ui.min.js"></script> <!-- phantom library, needed for XDK "legacy" container api calls --> <script src="intelxdk.js"></script> <!-- phantom library, needed for Cordova api calls --> <script src="cordova.js"></script> <!-- phantom library, needed for XDK "legacy" container CORS --> <script src="xhr.js"></script>
Does anybody have any ideas about how can I go ahead? Any thoughts?

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page