intel-xdk

Get mic audio in android. AudioContext

…衆ロ難τιáo~ 提交于 2019-12-23 23:23:14
问题 (For some reason I can't get an answer to this problem...) Hello. I need to access android microphone. I made a tuner app in the web using this: https://github.com/cwilso/PitchDetect. Works just fine. However when I build the app to android using intelXDK and cordova plugins I can't get any mic input. I am not sure if I need to use this: https://github.com/edimuj/cordova-plugin-audioinput. Seems like the right way to get the audioContext in android. Plus it shows a warning when installing the

Android Back Button Exiting Apps Instead Of Running Its New Code

[亡魂溺海] 提交于 2019-12-23 05:33:09
问题 I am making an app for Android using HTML-JavaScript on Intel-XDK. I'm overriding the Android Back Button function and Android Menu Button using the following code. <script src="cordova.js" type="text/javascript"></script> <script type="text/javascript"> /* Android Back Button ----------------------------------------------- */ function backButtonPressed() { isPaused = true; // To Pause } document.addEventListener("backbutton", backButtonPressed, false); /* Android Menu Button ----------------

Change icon in tab bar using Framework 7 in intel xdk

巧了我就是萌 提交于 2019-12-23 01:34:23
问题 I am using tabbar in intel xdk using Framework 7. It only supports few icons and I need to use custom icons or the native icons. 回答1: You can use font-awesome or just remove <i> tag and add image from your assets. <div class="left"> <a href="#" class="link"><img src="..."></a> </div> 来源: https://stackoverflow.com/questions/35349476/change-icon-in-tab-bar-using-framework-7-in-intel-xdk

Intel XDK: Connecting your mobile app to a database

自古美人都是妖i 提交于 2019-12-22 07:02:14
问题 I am currently developing an application which if I don't have a database, the application after building will be heavy. How do I connect the application to a database, either local or remote? Thanks in advance. 回答1: You can use one of the following methods for using database: 1- Using HTML5 client side databases. HTML5 provides four different types of Storage of data on a local client's machine. They are Local Storage. Web SQL Storage. Session Storage Indexed DB It depends on your demands

rename or replace all urls in html file per javascript

偶尔善良 提交于 2019-12-13 04:34:31
问题 I have a jquerymobile web app and want to keep all existing hundreds of different external url links in the html file like <a href="http://www.example.com" target="_blank" data-rel="external">Link</a> but want to make them behave like this: <a href="javascript:intel.xdk.device.launchExternal('http://www.example.com');"> How would I do that (without search and replace) with a script? Thanks a lot for your help. 回答1: I suppose you want to add an event handler for all links, like this: $

backbutton event not working on Intel XDK Crosswalk app

末鹿安然 提交于 2019-12-13 01:33:00
问题 I put code below in my XDK project. I use onsenUI and Angular. Everything works great in the emulator but the Crosswalk app doesn't trigger this during backbutton event. Is there anything else that needs to be done? I can't find anything specific about this in the documentation. Thanks. <script src="cordova.js" type="text/javascript"></script> <script> document.addEventListener ("backbutton", onBackKeyDown, false); function onBackKeyDown () { // Handle the back button console.log("back"); /

How to install Intel XDK on ubuntu linux - install_gui.sh is missing

我的梦境 提交于 2019-12-13 01:29:54
问题 Can anyone give me any information has to how to install the current version of the intel XDK on Ubuntu Linux 14.04 LTS? The download page states that after extracting the archive I should execute install_gui.sh but that file is not included in either the 32 or 64 bit download. There is a file called install.sh but this requires arguments and I can't find any documentation as to how I should use it. Thanks 回答1: You should be able to run the install.sh without any arguments. It will bring up a

What is a difference between intel xdk, appmobi, and crosswalk?

落爺英雄遲暮 提交于 2019-12-12 07:45:21
问题 As far as I know they are all from intel, do the same thing, and yet do not mention each other at all. So can someone clear some confusion, what and how they are different. I understand they are for making mobile apps, I checked out appmobi it wasn't much better for any interactive app than phonegap. Other than that I don't know what crosswalk is (maybe it's like cooconjs but with browser in it and asmjs support?). what is intel xdk..this is the most mysterious..is it same as crosswalk? Or

Background Notification ( [https://github.com/katzer/cordova-plugin-local-notifications]) in XDK (xdk cordova build “Android” does not build)

﹥>﹥吖頭↗ 提交于 2019-12-12 04:48:47
问题 Which Background notification plugin is available for xdk? I tried to build an app with the below plugin and The build failed. Error: Plugin "myBackgroundNotification" failed to install. What's wrong with XDK cordova build? Or what's wrong with the plugin and the id? The plugin-> [https://github.com/katzer/cordova-plugin-local-notifications.git] The plugin-ID->[de.appplant.cordova.plugin.local-notification ] from this link-> [https://github.com/katzer/cordova-plugin-local-notifications]

(Intel XDK) can´t use a 'Post' form to use a PHP function

一笑奈何 提交于 2019-12-12 02:25:22
问题 I developed an HTML5 application. I want to use it on Intel XDK and all works fine with one exception, a Form with a 'POST' action to use a PHP function which saves a chosen image into a application folder. When I try to use it I get the following error: Cannot POST /http-services/emulator-webserver/ripple/userapp/x/C/Users/XXXXXXXXX/Documents/Proyectos/centerinformaticapp/www/guardarImg.php How can I make it work? Can anybody give me an example? 回答1: You have to make Use of Ajax or XHR. var