- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I want to ask possibly weird question and I haven't found matching thread (unless I missed it or used wrong word).
Problem is that when I make something - emulator display what I expect it to display. But if I push it into test server and check via iPad (actual live one) - both CSS file and JS file don't work at all. I haven't be able to determine WHY it works in emulator and not in test. I've tried restarting Intel XDK program, restart app on iPad, and even made a duplicate of same program I made, and stripped some stuff out that COULD have caused app to bug out but no luck. I don't get it.
Any help would be awesome. Thank you for your time.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The emulator does not truly simulate the mobile device environment, it's more of an approximation of a generic device. I would suggest trying the Debug tab to see if you can figure out what's going on. Also, have you tried it on Android? Does it have the same problem?
If you can give more details about exactly what you're doing I might be able to help more. Ideally a small example that I could use to reproduce the problem would be helpful.
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do not have access to droid device at the moment. Just iPhone and iPad which yield similar result. I might have made a mistake somewhere in my code that impairs the css and js files from being properly used. It worked before until I added, tested via using emulator thinking it won't change in test environment.
I'm not sure how to provide samples though. I just know that css/js worked fine before and now it does not work. I'm backtracking through my codes... and stripping it down to see if I can specify location of my mistakes... or something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, I would recommend isolating the problem, if you can do that, I might be able to help.
Dale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Silly question: is there specific way for me to include a link/script from within HTML using XDK Intel? It doesn't appear at all in testing (on my iPad or iPhone) or do any functions. But both are called from in emulator. I also noticed this working in emulator:
link rel="stylesheet" type="text/css" href="../www/cs/style.css"
script type="text/javascript" src="../www/js/app.js" /script
But if I enter href/src like "style.css" and "app.js" it doesn't work in emulator?
Edit: saw my mistakes
Edit 2: I tried debugging but I never understood it before. I don't understand the purpose of provisioning and P12 files. Can you explain a little?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Provisioning profiles and p12 are only used for building and IPA for installing on a device. You must have an apple developer account to be able to build and test on device. If you are not familiar with these, use google and it will help you understand the process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I googled a bit on it. I have heard of it before but I didn't have the opportunity to explore into it. I recall that you have to be paid member to create an app using provisioning file but I am not trying to build apps yet. I just want to practice. So does that mean I can't really use debug feature unless I paid for provisioning file/p12 file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is correct. You must be a paid Apple Developer member. Apple charges you $99/year, which goes 100% to them, not us.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see... What a disappointing news. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry, we dont make the rules for iOS builds, Apple does :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No need to apologize! I appreciate the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Cooper - at WWDC last month Apple announced that individuals no longer need to pay the $99 for testing (as long as you are at least 13 years old). It looks like that is the case . . . go to the following link and scroll to Benefits and Resources - Test on Device is there, listed in the free column.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! I will look into it. :)

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