public void setOrientationHint (int degrees)Added in API level 9Sets the orientation hint for output video playback.[设置方向提示在视频播放时] This method should be called before prepare(). This method will not trigger the source video frame to rotate during video recording, but to add a composi...【阅读全文】
StatusBarHeightUtil.javapackage com.vibexie.jianai.Utils;import android.content.Context;import android.view.View;/** * 利用反射机制获取状态栏高度的工具类 * Created by v...【阅读全文】
http://www.linuxidc.com/Linux/2012-07/65001p2.htm相信敏锐的程序猿们都发现了:start on runlevel [2345];stop on runlevel [!2345] 没错,配置文件就是通过这个来设置服务何时启动,何时终止的。 实际上并不仅仅在系统启动初期,在系统运转的任何时期都可以通过发送事件来启动或终止服务。这便是Up...【阅读全文】