intel-xdk

Intel XDK listview sort

China☆狼群 提交于 2019-12-11 04:09:58
问题 I try to make a simple application with Intel XDK and Parse.com as backend service. I made a listview like this tutorial shows. The listview, in my app, displays the newest entries at the bottom. Instead of that i want to show the list with the opposite way - the most recent entries at the top of the list. In a simple HTML5-JS file i do it with query.ascending("createdAt"); as described in documentation for JavaScript in Parse.com. How i can do it so with Intel XDK? I will appreciate every

res/drawable files in Intel XDK

别说谁变了你拦得住时间么 提交于 2019-12-10 18:10:42
问题 Is there a way in xdk to transfer files to the android/res/drawable folder? I've the following files: src/android/drawable/noti_icon.png www/src/android/drawable/noti_icon.png And I've tryed it by including the following lines in my intelxdk.config.additions.xml file <resource-file src="src/android/res/drawable/noti_icon.png" target="res/drawable/noti_icon.png"/> <resource-file src="src/android/res/drawable/noti_icon.png" target="res/drawable-hdpi/noti_icon.png"/> <resource-file src="src

$.Post doesn't work in Intel XDK

﹥>﹥吖頭↗ 提交于 2019-12-10 10:34:58
问题 I've a basic code in xdk. An app with one button and the code for that button is : $.post("http://url/test.php", {test:'1'}, function(res){ alert(res); } ); For testing purpose, I've a php code in a godaddy server. The php code is : <?php if (isset($_POST['test'])){ if ($_POST['test'] = '1') echo "AOK"; else echo "NOK1"; } else echo "NOK2"; When I run this as 'emulate' in XDK and press the button, I am getting NOK2 as my output. What is going wrong or what am I missing ? Update The same code

Offline caching with Intel app framework?

守給你的承諾、 提交于 2019-12-10 09:50:21
问题 I'm starting an uphill journey developing a small app for my wife's speech pathology practice. We want to publish an app that contains several html5 based games that promote language development. Currently I'm looking at the intel app framework and xdk to do this. We plan to start with a simple game (building words for example) then adding more games over time. My question is this, html 5 has a cache mechanism using a manifest. If I limit the games to a single page, can I store the games on a

How to alert input value

谁说胖子不能爱 提交于 2019-12-06 11:37:34
So I recently decided to try learning app development with Intel XDK, and as of now I know only little bit of HTML. I'm trying to create a basic test app that allows the user to type a message in a text box, and then click the submit button which gives an alert that displays the inputted text. This is what I have: Message: <br> <input type="text" id="message" value=""> <br> <button type="button" value="document.getElementByID(message)" onclick=alert(message)>Generate Text</button> But when I run the app it displays [object HTMLInputElement] . How can I fix this? to get an element value use var

Intel XDK can't install debug module

ⅰ亾dé卋堺 提交于 2019-12-06 10:20:02
问题 Recently I was building a Cordova app in Intel XDK. Everything worked fine, but I've decided to remove one of the plugins (for caching images locally) and I did it (it appears on the list that it is removed from project but not updated yet in debug module). After that I can't generate debug module - I receive an error: Could not generate debug module: Debug module Erorr: Request expired. Try again. Of course I've tried this couple times, restarted Intel XDK, reinstalled it with removing whole

Offline caching with Intel app framework?

落爺英雄遲暮 提交于 2019-12-05 22:05:49
I'm starting an uphill journey developing a small app for my wife's speech pathology practice. We want to publish an app that contains several html5 based games that promote language development. Currently I'm looking at the intel app framework and xdk to do this. We plan to start with a simple game (building words for example) then adding more games over time. My question is this, html 5 has a cache mechanism using a manifest. If I limit the games to a single page, can I store the games on a web server rather than forcing the user to download all of the content with the app at the time of

Create a Web Service in Intel XDK for Parse.com REST API or DreamFactory

 ̄綄美尐妖づ 提交于 2019-12-05 08:12:39
问题 Has anyone had success creating a new web service in XDK for either DreamFactory or Parse.com REST APIs? I'm able to get a response via curl from a command line for both, so it seems like it should be doable. So far I haven't been able to make either of them work. For reference, these are the curl api calls: DreamFactory (requires a session opener call first) : $ curl -X POST http://ec2-[my server].compute.amazonaws.com:80/rest/user/session -H "X-DreamFactory-Application-Name: testapp" -d '{

Intel XDK can't install debug module

北战南征 提交于 2019-12-04 17:54:48
Recently I was building a Cordova app in Intel XDK. Everything worked fine, but I've decided to remove one of the plugins (for caching images locally) and I did it (it appears on the list that it is removed from project but not updated yet in debug module). After that I can't generate debug module - I receive an error: Could not generate debug module: Debug module Erorr: Request expired. Try again. Of course I've tried this couple times, restarted Intel XDK, reinstalled it with removing whole ~/Library/Application\ Support/XDK/ folder and reinstalling App preview application on mobile phone

Create a Web Service in Intel XDK for Parse.com REST API or DreamFactory

删除回忆录丶 提交于 2019-12-03 23:06:56
Has anyone had success creating a new web service in XDK for either DreamFactory or Parse.com REST APIs? I'm able to get a response via curl from a command line for both, so it seems like it should be doable. So far I haven't been able to make either of them work. For reference, these are the curl api calls: DreamFactory (requires a session opener call first) : $ curl -X POST http://ec2-[my server].compute.amazonaws.com:80/rest/user/session -H "X-DreamFactory-Application-Name: testapp" -d '{"email": "test@example.com", "password" : "[my password]"}' (This returns a large JSON string which