Java*

Die Developer Week 2015 - RealSense, IoT und noch viel mehr

Nächste Woche ist es soweit und einer der größten Entwicklerkonferenzen wird wieder eröffnet: Die Developer Week 2015. Ganz gleich ob man C/C++, Java, C#, JavaScript oder Objective-C Entwickler ist, für jede Welt wird ein volles Programm geboten.

Intel(r) CCF 3.0.13 Release

March 20th, 2015

Intel® CCF 3.0.13

This release of Intel® Common Connectivity Framework SDK version 3.0 provides support for developing applications on Intel® CCF Version 3.0, and it includes the framework, tools, documentation and sample applications for creating applications on Windows*, Android*, and iOS*.

  • Разработчики
  • Android*
  • Apple iOS*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • .NET*
  • C#
  • C/C++
  • Java*
  • Продвинутый
  • Общая инфраструктура подключений Intel®
  • Лицензионное соглашение: 

    Android 开发之浅谈广播的运用

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

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

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

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

     

    Intel® INDE 2015 Released

    Hello,

    Today, October 15th, Intel has released a major update to the Intel® Integrated Native Developer Experience (Intel® INDE). For more information about this release, please see this article.

    Download and purchasing options can be found on the Intel INDE Home Page. You can obtain the Starter Edition of the product as free download, or download a trail version the Ultimate Edition.

    Intel INDE Beta program has ended

    As of today, October 15th, in parallel with the official release of Intel® INDE 2015, the Intel INDE Beta program has ended. The Beta version of the product will no longer be supported, so please do not post questions about the Beta version.

    If you had installed the Beta version of the product, please upgrade to Intel INDE 2015. Download and purchasing options can be found on the Intel INDE Home Page. You can obtain the Starter Edition of the product as free download, or download a trail version the Ultimate Edition.

    Welcome to the Dev Story/*HACK THE CODE*/ Sticky Thread

    Working on modifications, mini-challenges or new levels?

    Got a question or comment about the app?

    You’re in the right place.

    Post your questions (and answers) right here and we’ll help you as best we can.

    To create Dev Story/*HACK THE CODE*/ we used the Intel XDK and Crosswalk with a couple of open-source javascript libraries.

    Panda.js – HTML5 Game Engine
    Pixi.js – 2D webGL renderer with canvas fallback

    Android 开发之监听发出的短信

    运行效果图:

    预备知识:

           为了监听指定的ContentProvider的数据的改变,需要通过ContentResolver向指定Uri注册CotentObserver监听器。ContentResolver提供了如下方法来注册监听器:

      publicfinal void registerContentObserver(Uriuri, boolean notifyForDescendents, ContentObserver observer)

    Internal Intel users of INDE: Read Me!

    Hello,

    If you are an internal Intel employee trying to use INDE, your username is "MAD\<my-idsid>", and your password is your normal corporate login password. This will be required both when you initially download INDE, and when you attempt to download or install products. If you have any other password issues, please contact the Intel support team, as the INDE team cannot reset your password or provide any additional information about your account and password.

    spring3+hibernate4 service 中多线程事务异常及解决

    初次使用spring3结合hibernate4做项目,迅速配置完成,测试,一切正常。

    然而,当我在service层中另外开启一个线程,线程中的方法需要进行数据库操作,这个时候,悲催的抛出了异常:-org.hibernate.HibernateException: No Session found for current thread

    当然,hibernate4的session是和当前线程绑定的,多线程中用sessionFactory.getCurrentSession()获取当前session自然不存在,不存在又不会自动创建,所以抛出了异常,无可厚非。

    于是就想着怎么解决这个问题。

    遍翻google、baidu,大部分都说如何如何配置,设置事务的传播属性propagation="REQUIRED",开启opensessioninview filter等等,无一对此问题有何解释(当然或许是我没翻到,有知道的麻烦告知)

    在http://sishuok.com/forum/blogPost/list/2625.html#7523上看到相关配置,我就想作者这个项目该多线程运行正常吧,果断下载源码,修改测试,oh。。。跟我的错一模一样!

    Подписаться на Java*