Android*

Desktop gets shifted horizontally on Intel BayTrail, ASUS Transformer Pad TF103

Dear all,

while testing my app on the Atom Z3745, the screen suddenly got rotated right by a few hundred pixels. The pixels shifted out on the right side were displayed on the left side, but one pixel line lower.

This screen rotation problem was not related to my app, it persisted on the Android desktop after exiting my app.

The solution was to press the on/off button twice, then the desktop was OK again.

Since this shift could be an issue in the graphics driver, I'm reporting it here.

The problem appeared randomly twice this evening.

Regards,

OpenGL/ES texture format GL_BGRA broken in Intel BayTrail Android Driver

Dear all,

I tested my app on Android 4.4 with Intel(R) HD Graphics for BayTrail , OpenGL ES-CM 1.1, and unfortunately no textures were shown at all.

I now tracked down the problem: Even though the Intel BayTrail driver reports to support the extension GL_EXT_texture_format_BGRA8888, using glTexImage2D with format GL_BGRA seems to create a mess, so that no more textures are displayed at all. All is fine if GL_RGBA is used instead.

Test system was an Asus Transformer Pad TF103C.

WebRTCScreenSharing Application

Introduction

WebRTC is a free, open project that enables web browsers with Real-Time Communications (RTC) capabilities via simple JavaScript* APIs. The WebRTC components have been optimized to best serve this purpose. WebRTC has now implemented open standards for real-time, plugin-free video, audio, and data communication and is currently only supported on Google Chrome*, Mozilla Firefox*, and Opera* browsers. For now, screen capturing is not supported on Firefox and Opera.

  • Android*
  • Android*
  • WebRTC
  • Screen sharing app
  • Chrome Browser
  • Android 生命周期详解

    首先我们先创建一个Android项目,将Activity重写以下方法:安卓生命周期的方法包括onCreate()(创建)、onStart()(开始)、onRestart()(重新开始)、onResume()(重绘)
    onPause()(暂停)、onStop()(停止)和onDestroy()(销毁)。Android的生命周期其实就是Activity的生命周期,而Activity的生命周期就在于这七个方法之间的调用。

    首先我们来看看重写的七个方法:

    package com.jzlg.activitydome;

    Android listview addHeaderView 和 addFooterView 详解

    addHeaderView()方法:主要是向listView的头部添加布局
    addFooterView()方法:主要是向listView的底部添加布局

    需要注意的是添加布局的时候应该添加从父容器开始添加,而不能直接添加父容器中的子控件。例如:从一个xml布局文件中添加一个button控件,
    只能将整个布局xml文件添加进去。而不能单单只添加button控件。

    当添加头部和底部布局还有另外一个重载方法就是addHeaderView(headView, null, false) 和addFooterView(footerView, null, false)方法,
    这个方法与上面的方法区别在于:当给listView设置点击事件的时候,可以控制添加的布局是否可出发点击事件。区别是前一个方法可以控制header是否可
     以被selected,如果不想被selected则将第三个参数设置成false;

    Subscribe to Android*