JavaScript*

Cordova CLI 4.1.2 Domain Whitelisting with Intel XDK for AJAX and Launching External Apps

Starting with Apache Cordova CLI 4.1.2, the security model now uses a concept called "whitelisting" to restrict the access to other domains from your app. The Cordova CLI recommendation is that by default you do not allow your app 1) to access other domains and 2) to launch the external apps via different domains. What this means is that, the AJAX calls will not work by default, and your app will not be able to launch external apps like phone, email, SMS or a browser. You have to specifically provide the appropriate settings to do so.

  • Android*
  • Apple iOS*
  • HTML5
  • HTML5
  • JavaScript*
  • Avanzado
  • Principiante
  • Intermedio
  • Unable to Apply Android application theme

    Hi,

    I am a newbie to phonegap, I am trying to change my application theme on Android to Holo. By default on few devices it is showing Holo Light but, I want my app to have constant theme across all the devices.

    I am using the below statements to change the theme. But it does not turn to be effective. Any help is greatly appreciated.

    1. <application android:theme="@style/Theme.Holo"></application>

    2. <style name="AppTheme" parent="android:Theme.Holo" />

    <application android:theme="@android:style/Theme.Holo"></application>

    Media for Mobile Release Notes and Support

    Intended Audience

    Software developers interested in a cross-platform productivity suite that enables them to quickly and easily create native apps from OS X* host for Android* targets (or) Windows* host for Android* or Windows* targets.

    Customer Support

    For technical support of Media for Mobile, including answers to questions not addressed in this product, latest online getting started help, visit the technical support forum, FAQs, and other support information, click here.

  • Desarrolladores
  • Android*
  • Apple iOS*
  • Apple OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • Android*
  • Desarrollo de juegos
  • Internet de las cosas
  • Windows*
  • C#
  • Java*
  • JavaScript*
  • Avanzado
  • Principiante
  • Intermedio
  • Intel® INDE
  • Educación
  • Procesamiento de medios
  • HTML5 播放器心得与小结

    随着 HTML5 的普及,越来越多视频网站使用 <video></video> 标签播放直播、点播内容(如下图所示)。使用 <video> 的好处,主要以下两点。

    • 可以直接在页面中播放,也就是所谓的“区域播放”,上半屏是视频播放,下半屏是其他内容,可以一边播放,一边看其他内容。
    • 某些应用如微信朋友圈的 Webview 限制外部打开视频,这样要在微信推广的话,区域播放就迫切需要了。

    尽管有以上好处,但是旧有的点解链接调用外部播放器打开视频的功能还是有其价值的,因为:

    Debug Tab

    After you configure your mobile device, you can connect a supported mobile device to your development system with a USB cable. The Debug tab provides remote on-device debugging of HTML5 code using the Google Chrome* Developer Tools (CDT) to provide full JavaScript* debugging with breakpoints and profiling.

    Suscribirse a JavaScript*