intel-xdk

Reduce delay while selecting option in jquery mobile

佐手、 提交于 2019-12-12 01:03:19
问题 I have my application installed on an Android Device Samsung S4 which is built using Intel XDK . I have a select dropdown in the form having 40 options . When i tap on an option to choose, it chooses the option instantly but takes 2 seconds of delay before closing the opened options popup . I have tried the following fix but it did not work as expected. $(document).bind("mobileinit", function(){ $.mobile.buttonMarkup.hoverDelay = 0; $.mobile.selectmenu.prototype.options.nativeMenu = true; //i

Redirect to other page Intel XDK

不问归期 提交于 2019-12-11 21:03:21
问题 actually I'm developing on Intel XDK IDE, but I need redirect to other page. Thanks. Code: $(document).on("click", "#ini-sesion", function(evt) { var user = $("#user").val(); var pass = $("#pass").val(); if (user == "admin" && pass == "123"){ intel.xdk.notification.alert( user + " - " + pass, "Data", "Ok"); window.location.href = "#sales"; }else{ intel.xdk.notification.alert( "Pass & User Incorrect", "Alert!", "Ok"); } }); 回答1: This: window.location.href = "#sales"; won't work, cause href

INTEL XDK - can't increase version number for google play store to load later .apk file

99封情书 提交于 2019-12-11 21:01:18
问题 I'm using the latest version of Intel XDK to create android apps. I just uploaded an android .apk file to google play (production) and realized it was the earlier verion of the file. However, I now can't update it on the store. It continually gives me this error: Upload failed You need to use a different version code for your APK because you already have one with version code 1 But I've tried changing the app version # in the project build settings & looked at the .xdk config file, etc. So I

Intel XDK Geolocation won't find Lat/Long if location services off

久未见 提交于 2019-12-11 18:37:04
问题 I am using the Intel XDK to develop an app where i am specifically testing with android (Nexus 6P). I have added the Cordova Geolocation plugin as well as Google Location Services for Cordova and have tested with my location services switched on and it correctly gets the position for both plugins. However, when i switch off location services, nothing appears at all. Here is the code i am currently using to get the location: document.addEventListener("deviceready", onDeviceReady, false);

how do you place an admob ad with html 5 on your app

风格不统一 提交于 2019-12-11 18:25:32
问题 I am building an app with html 5 want to place a banner ad at the bottom of the screen. I have the ad code but do not know how to place it with html5. thanks this would be much appreciated. 回答1: Here is sample code that will just add an AdMob banner at the bottom, it can be opened in Intel XDK, it used AdMob Cordova plugin. https://github.com/krisrak/html5-cordova-plugin-admob 来源: https://stackoverflow.com/questions/26948134/how-do-you-place-an-admob-ad-with-html-5-on-your-app

Intel XDK, AJAX and XAMPP mySQL connection

匆匆过客 提交于 2019-12-11 11:17:51
问题 I am new to both Intel XDK and jquery mobile. I know I want to use a database in my app so have gone about making a simple page that queries my database on XAMPP. The Basic page follows: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css"> <script src="http://code.jquery.com/jquery-1.11.2.min.js"></script> <script src="http://code.jquery.com/mobile/1.4.5

IntelXDK : IOS Build Failed on admobpro plugin

夙愿已清 提交于 2019-12-11 10:25:36
问题 I m trying build IOS app through IntelXDK and i got this error when i try to run build option. My CLI version is 5.1.1 & IOS version is 8. I have attached all the required certificates & provisioning profile. Please help me Thank You duplicate symbol l017 in: mytestapp Downloads/Plugins/cordova-plugin-admobpro/GoogleMobileAds.framework/GoogleMobileAds(GADBannerAdViewDelegate.o) mytestapp Downloads/Plugins/cordova-plugin-admobpro/GoogleMobileAds.framework/GoogleMobileAds(GADRewardBasedVideoAd

intel xdk not work on android

99封情书 提交于 2019-12-11 08:08:43
问题 new in Intel-XDK .... build small app using camera and cache objects app worked at Emulator ... but when i tried test it on android mobile .. app started but i cannt use it ... buttons donnot show any effect which should do it !!! note : app on android do all effects which do not use intel.xdk what is the problem .... thanks a lot document.addEventListener ("intel.xdk.camera.picture.add",picOk); function takePic(){ intel.xdk.camera.takePicture(100,false,"jpg"); } function importpic(){ intel

launchExternal doesn't work on XDK app on Android

只谈情不闲聊 提交于 2019-12-11 07:44:13
问题 I have an application that was developed in XDK. The app links to an external web site at one point (for a PDF actually). I've tried both window.open(url,"_system") and intel.xdk.device.launchExternal(url) and both work on IOS and Android when using the Intel App Preview app. However, once the build was completed and the app was uploaded to the Play store, the external links do not work. I can't say about IOS yet because Apple hasn't finished testing the app, but on Android, it's as though

XDK - open link in browser without using Cordova

≡放荡痞女 提交于 2019-12-11 05:29:38
问题 I want you to open a link in my app via browser not in Appview. I ma making my html5 mobile app via xdk. I don't want to use cordova in my app as my app is heavy enogh and don't want to make it heavier because of just one link. I saw this : <a href="#" onclick="window.open('http://www.kidzout.com', '_system');">www.kidzout.com</a> But the problem is I must install Cordova InAppBrowser plugin for this to work. Do you have any solution without using Cordova or external plugins? Do you think is