intel-xdk

Intel XDK : Parse.com integration “Unauthorized”

我的梦境 提交于 2020-01-24 21:45:16
问题 I am very new to Intel XDK and i try to make a very simple app like this in that video tutorial: Using Services Datafeed in App Designer. But instead of the specific service from Rotten Tomatoes i want to integrate a database i have in Parse.com. For that i followed this video tutorial: "Integrating a New Service" "[https]://software.intel.com/en-us/html5/videos/integrating-a-new-service", and at the end the response was: "Unauthorized" . Then i found only this answer which comes from Intel's

building app in intel xdk: do you need to build for cordova to use cordova apis

浪子不回头ぞ 提交于 2020-01-24 05:22:07
问题 I have just learned of intel xdk and i am going over how it works and what are steps to produce apps.. However, i am stuck at some place in understanding it. Can you clarify some stuff for me. From what i understand: Intel XDK by default provides apis that extend cordova apis. And therefore cordova apis are included in the intel xdk and if someone wants to use them they just include a script tag with src set as 'cordova.js'. So my question if i am using cordova api instead of intel xdk apis..

The output of intel XDK (.apk) is too large ! (android)

别等时光非礼了梦想. 提交于 2020-01-23 07:15:14
问题 i wanna build a web base android application with intel XDK! i tried but the output apk file is too large, My files are totaly 2.4MB but the output is 15.6Mb ! What should I do ? 回答1: As @HoseinBL indicates, 15.6MB is not that large for a typical APK. Which Android build are you using? There are actually three available in the current XDK build system. If you're using the one labeled just "Android" the comments above from @Brad Hill and @Tangocoder apply. If you need to use the Canvas API

how to display json data in my listview in intel xdk

荒凉一梦 提交于 2020-01-16 07:41:10
问题 i am developing hybrid application by using intel xdk and jquerymobile framework for UI. i am trying to get json data from url and display it into listview. i already got json data from url but i don't know how to display those data in listview This is my json data { "nl_wu":[ { "id":"42", "year":"2015", "month":"jan", "title":"newsletter", "file":"http://school.com/sample.pdf" }, { "id":"39", "year":"2015", "month":"jan", "title":"imagetest", "file":"http://school.com/sampleimage.jpg" } ] }

SpeechSynthesisUtterance not working in an HTML5 app built for Android

梦想与她 提交于 2020-01-16 01:08:22
问题 So i am trying to build an HTML5 app with the Intel xdk.Now when i build the code below as a HTML5 app for Android and deploy it to my Android device, i cannot hear the sound when the function below is executed. function speak(){ var foo = new SpeechSynthesisUtterance("Speech"); foo.voice = voices.filter(function(voice) { return voice.name == 'Agnes'; })[0]; foo.volume = 0.5; // 0 to 1 foo.rate = 0.7; // 0.1 to 10 foo.pitch = 0.8; //0 to 2 //foo.lang = 'en-GB'; window.speechSynthesis.speak

Intel-XDK + jsPDF

一笑奈何 提交于 2020-01-07 05:06:08
问题 I'm trying to export an table from my app to an pdf file! This working normal in emulator, but I can't save the file when the app is installed in my Moto G, I'm using the code bellow: var pdf = new jsPDF('p', 'pt', 'a4'); var source = $('#tabelagastos')[0]; pdf.fromHTML(source, 15, 15, {'width': 170}, function (dispose) { var arquivo = prompt("File name"); pdf.save(arquivo +'.pdf'); }); Maybe I need to do some kind of configuration to enable this function... I heard that I need to use the

how to send email in iphone/ android using intel xdk?

别来无恙 提交于 2020-01-06 04:23:26
问题 I have imported EmailComposer Cordova plugin in my project. Now i am trying to call window.plugin.EmailComposer.open({ to: ['max.mustermann@appplant.de'], cc: ['erika.mustermann@appplant.de'], bcc: ['john.doe@appplant.com', 'jane.doe@appplant.com'], subject: 'Hello World!', body: '<h3>TEST</h3><h2>TEST</h2><h1>TEST</h1>', isHtml: true }); method to send email with attachments. But i am getting following error Cannot read property 'EmailComposer' of undefined I don't know why this error coming

basic javascript alert not working in Intel XDK code editor

冷暖自知 提交于 2020-01-03 07:31:13
问题 I'm starting fresh with a new blank Intel project and I haven't even started coding yet. I'm just setting up my file tree and making sure the html and javascript pages are connected via the right anchors and script paths. My first .js file won't work though. I've included a screen shot of test code and the errors. I know the syntax is correct because it works when I put it in <script> tags in the index.html file. I'm getting "document not defined" and "alert not defined" errors or the js page

basic javascript alert not working in Intel XDK code editor

我的梦境 提交于 2020-01-03 07:31:02
问题 I'm starting fresh with a new blank Intel project and I haven't even started coding yet. I'm just setting up my file tree and making sure the html and javascript pages are connected via the right anchors and script paths. My first .js file won't work though. I've included a screen shot of test code and the errors. I know the syntax is correct because it works when I put it in <script> tags in the index.html file. I'm getting "document not defined" and "alert not defined" errors or the js page

cordova/phonegap : cannot connect to socket.io

这一生的挚爱 提交于 2020-01-03 04:57:10
问题 My application works fine on browser. When I compile it with intelXDL / phonegap : AJAX calls works fine, but not socket.io connections. (sockets use port 1445) I have "status: cancelled" so it looks like permissions problem I tried to add ALL possible combinations for whitelist (I use CLI 4.1.2) http://www.example.com/* http://www.example.com:1445/* http://*:1445/* http://* * The first rule makes AJAX call possible. The other rules do not allow to connect to socket.io on port 1445 Any idea ?