Professori

New tool available in beta: Vectorization Advisor

Software must be both threaded and vectorized to get the full performance benefit from today’s and tomorrow’s hardware.  Vectorization Advisor is a vectorization analysis tool that lets you identify loops that will benefit most from vectorization, identify what is blocking effective vectorization, explore the benefit of alternative data reorganizations, and increase the confidence that vectorization is safe.  

Vectorization Advisor is now available for beta test as a part of Intel® Advisor XE 2016. 

Intel® XDK Update for April 2015, and Apache* Cordova*

As you are probably aware, we did two updates in the past couple of weeks.  The March 30 update, build 1878, was a regular update to fix a number of open issues.  This one today, build 1912, is to address some regressions with that update.   Not what we had planned.  From all of us in the Intel® XDK team, our apologies for having to give you another update so quickly.  Fortunately, we do know exactly why and how the regressions happened and are correcting our development and testing processes appropriately.

So, what’s in this update?

The Intel® Parallel Studio XE 2016 Beta program is now available!

Intel Parallel Studio XE 2016 is being made available now as part of a beta test program. In this beta test, you will have early access to Intel® Parallel Studio XE 2016 products and the opportunity to provide feedback to help make our products better. Registration is easy through the pre-Beta survey site

This suite of products brings together exciting new technologies along with improvements to Intel’s existing software development tools:

Android 开发之应用程序如何完全退出

之前忘记在哪看到一篇关于“android应用程序如何完全退出”的Blog,写的不错,我想这对很多人都有用,为了文章的原创,因此我结合了自己的代码环境,把这个经验分享给大伙。

第一步:创建一个Activity管理类,用来管理所有被用户点击过而没有被finish()掉的Activity:

 

Android 开发之 Vitamio 使用

Vitamio简介

Vitamio 是一款 Android 与 iOS 平台上的全能多媒体开发框架,全面支持硬件解码与 GPU 渲染。Vitamio 凭借其简洁易用的 API 接口赢得了全球众多开发者的青睐。到目前,全球已经有超过 1800 种应用在使用 Vitamio,覆盖用户超过 2亿 。Vitamio 能够流畅播放720P甚至1080P高清MKV,FLV,MP4,MOV,TS,RMVB等常见格式的视频,还可以在 Android 与 iOS 上跨平台支持 MMS, RTSP, RTMP, HLS(m3u8) 等常见的多种视频流媒体协议,包括点播与直播。

流媒体支持

Vitamio 支持各种常见的流媒体协议,可以点播或者直播音频和视频,例如如下常见协议均能无缝支持: 
MMS、RTSP (RTP, SDP), RTMP、HTTP progressive streaming、HLS - HTTP live streaming (M3U8)

Android 开发之浅谈广播的运用

之前讲过了activity,服务service和内容提供者,四大组件就还差广播没讲,所以就顺便讲讲吧。当然,这里都是很基础的讲解,没有深入,要是深入的话光一个activity就可以讲很久。所以这里只做基础使用的讲解了。

时间紧迫,直接上代码吧。

首先,广播有两种注册方式,一种在清单文件中注册,注册后程序一运行广播就开始监听。一种在代码中注册,根据需求注册注销广播。

我们先看广播的第一种注册方式,首先定义一个广播接受者

 

Android 开发中的权限 Permission

Android应用开发中,不得不涉及到权限PERMISSION问题,我们在每一个应用的清单文件AndroidManifest.xml都要对需要用到的权限进行配置,否则就不能正常运行我们开发的APK!网上收集的关于Android uses-permission的一些起资料,很多常用的大家都知道,也有不常用的,同大家分享:

android.permission.INTERNET 

最常用的权限之一:网络权限,允许程序打开网络套接字(Allows applications to open network sockets) 

android.permission.ACCESS_WIFI_STATE 
允许程序访问Wi-Fi网络状态信息(Allows applications to access information about Wi-Fi networks) 

Iscriversi a Professori