HTML5

Introduzione allo sviluppo di applicazioni mobile cross-platform

Lo sapevi che si possono sviluppare applicazioni mobile cross-platform di elevata qualità utilizzando solo HTML, CSS e JavaScript ? Ok, domanda banale, molti oramai lo sanno ma tantissimi developers non ne sono ancora al corrente o, sono ancora scettici o comunque non ancora del tutto convinti riguardo l’uso di queste tecnologie in ambito mobile; proprio per quest’ultimo motivo ho deciso di scrivere una serie di blog posts ed alcuni articoli tecnici che verranno linkati man mano in calce a questo blog post per, mostrarti come con l’uso delle tue skills in ambito web e, con l’IDE Intel XDK si possano sviluppare applicazioni mobile di elevata qualità in maniera veloce ed infine estremamente efficiente.

Downloading version 1621

NOTE: The Windows version of the Intel XDK will only run on Windows 7 and Windows 8 machines. If you are installing on Windows XP it will fail! Prior versions appeared to work on Windows XP, but were never tested on XP and, in fact, had problems working reliably on Windows XP. Windows XP is NOT and never has been a supported platform! If you must use Windows XP as your development system we recommend that you create a Linux VM using VMware Player or Virtual Box and install the Linux version of the Intel XDK on that Linux VM.

XDK Feb 23, 2015 Release Announcement

We are gearing up for two of the biggest shows of the year: Game Developers Conference (GDC) in San Francisco and Mobile World Conference (MWC) in Barcelona, Spain – both the week of March 2. Come find us in the Intel® Software booths at the shows (Hall 8.1 at MWC) and stop by and get an Intel XDK sticker! (We’ll find some ways to get them to those of you not going to the shows, too.) As an added incentive :) you'll find many of the experts that you communicate with on the forum at those shows!

Html5 学习笔记四 — 播放音频和视频文件

1,  加载音频文件:

Key word :<audio src=”路径” controls=”controls”>

src是音频路径 ,controls属性用来提供播放,暂停,音量控制

下面是一个简单代码进行播放本地音频

<!DOCTYPE HTML>

<html>

<body>

<audio controls="controls">

   <source src="E:\KuGou\李圣杰 - 手放开.mp3"type="audio/mpeg">

  

</audio>

</body>

</html>

下面介绍autoplay 功能可以用于添加背景音乐,其实就是自动循环播放

<!DOCTYPE HTML>

<html>

<body>

<audio autoplay loop>

Welcome to the Intel XDK IoT Edition Forum

Welcome to the Intel XDK IoT Edition forum! You can post all of your questions here and receive assistance from engineers working on the IoT Edition.. Thank you for using our tool. Happy node.js development for your Internet of Things (IoT) projects!!

Getting Started with Intel IoT Dev Kit & Intel XDK IoT Edition https://software.intel.com/en-us/html5/documentation/getting-started-with-intel-xdk-iot-edition

Intel® XDK 九月更新:更好的实时预览及编辑,更安全的应用数据存储,以及更多的插件!

原文作者:英特尔®XDK 产品总监 Joe Wolf

首先,我想代表整个英特尔®XDK 团队感谢大家长久以来对我们工具的支持,特别是七月更新发布之后,很多开发者朋友使用了新增的 Cordova* 第三方插件功能,并且给我们提了非常多积极的反馈,这对于我们来说无疑是莫大的鼓励,也让我们更加充分的感觉到英特尔©XDK 在混合式应用(Hybrid App)开发方面、尤其是 Cordova* 插件和 Web API 集成方面为我们的开发者带来了好处。另外,我还想特别感谢许多 Scirra* Construct 2* 社区的开发者朋友,不仅是因为你们非常乐于尝试使用 XDK 导入各种插件和服务(例如广告、应用内支付),还因为你们通过 Construct 2、XDK和Crosswalk开发了许多精彩的 HTML5 游戏,恭喜你们!同时,也再次感谢所有正在或准备使用英特尔®XDK 的朋友们,你们的认可是我们前进路上最大的动力!

接下来让我们言归正传,一起看下这次九月更新带给大家的新功能:

HTML5 应用缓存配置

HTML5应用缓存可以把页面、图片、js文件、css文件等缓存到用户本地的磁盘上,可以提高用户访问速度,也可以建立离线应用。

HTML5应用缓存的配制方法如下:

1、首先要保证你的页面是HTML5的

<!DOCTYPE HTML>  

2、在服务器上创建缓存清单文件,用于列出要缓存的文件清单

 

文件的后缀名设为.appcache。

3、在服务器上配置正确的mime-type,让服务器能识别后缀名是.appcache的文件

下面以tomcat服务器为例:

打开服务器conf文件夹下的web.xml文件(注意不是项目里的web.xml文件),在如下的许多标签之后

Nodejs express、html5 实现拖拽上传

一、前言

      文件上传是一个比较常见的功能,传统的选择方式的上传比较麻烦,需要先点击上传按钮,然后再找到文件的路径,然后上传。给用户体验带来很大问题。html5开始支持拖拽上传的需要的api。nodejs也是一个最近越来越流行的技术,这也是自己第一次接触nodejs,在nodejs开发中,最常用的开发框架之一是expess,它是一个类似mvc模式的框架。结合html5、nodejs express实现了拖拽上传的功能。

二、基础知识普及

1、NodeJs基础知识

Subscribe to HTML5