<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/Super_DC</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Super_DC]]></copyright><item><title><![CDATA[android7.1 location service]]></title><link>https://blog.csdn.net/Super_DC/article/details/64135520</link><guid>https://blog.csdn.net/Super_DC/article/details/64135520</guid><author>Super_DC</author><pubDate>Mon, 20 Mar 2017 20:46:45 +0800</pubDate><description><![CDATA[android 7.1 location service]]></description><category></category></item><item><title><![CDATA[C语言宏定义技巧——多次包含头文件内容不同]]></title><link>https://blog.csdn.net/Super_DC/article/details/39676589</link><guid>https://blog.csdn.net/Super_DC/article/details/39676589</guid><author>Super_DC</author><pubDate>Mon, 29 Sep 2014 21:21:16 +0800</pubDate><description><![CDATA[1、  头文件定义如下：
/* declears in “funcs.h” */
FUNC_1(ID_FUN1_001)
FUNC_1(ID_FUN1_002)
FUNC_2(ID_FUN2_001)
FUNC_2(ID_FUN2_002)
 
2、  多次包含头文件
#define FUNC_1(opt) opt,
#define FUNC_2(opt)
enum aaa {]]></description><category></category></item><item><title><![CDATA[C语言宏定义技巧——头文件多次包含]]></title><link>https://blog.csdn.net/Super_DC/article/details/39676539</link><guid>https://blog.csdn.net/Super_DC/article/details/39676539</guid><author>Super_DC</author><pubDate>Mon, 29 Sep 2014 21:16:34 +0800</pubDate><description><![CDATA[1、  头文件定义如下：
/* declears in “funcs.h” */
FUNC_1(ID_FUN1_001)
FUNC_1(ID_FUN1_002)
FUNC_2(ID_FUN2_001)
FUNC_2(ID_FUN2_002)
 
2、  多次包含头文件
#define FUNC_1(opt) opt,
#define FUNC_2(opt)
enum aaa {]]></description><category></category></item><item><title><![CDATA[MediaPlayer本地播放流程解析（三）]]></title><link>https://blog.csdn.net/Super_DC/article/details/39484125</link><guid>https://blog.csdn.net/Super_DC/article/details/39484125</guid><author>Super_DC</author><pubDate>Mon, 22 Sep 2014 23:49:51 +0800</pubDate><description><![CDATA[这一篇文章接着之前的prepare，讲play的流程
前面的流程省略，直接从AwesomePlayer的Play()开始讲。

status_t AwesomePlayer::play() {
    ……
    return play_l();
}

status_t AwesomePlayer::play_l() {
    ……
    if (mAudioSource != NUL]]></description><category></category></item><item><title><![CDATA[TimedEventQueue分析]]></title><link>https://blog.csdn.net/Super_DC/article/details/38731163</link><guid>https://blog.csdn.net/Super_DC/article/details/38731163</guid><author>Super_DC</author><pubDate>Thu, 21 Aug 2014 15:52:54 +0800</pubDate><description><![CDATA[AwesomePlayer里面定义了一个TimedEventQueue，通过向它发事件消息，来驱动player的运转。
定义在AwesomePlayer.h里面，如下：
TimedEventQueue mQueue;
TimedEventQueue中维护了一个队列，外面通过调用其提供的方法postEvent, postEventWithDelay等等来向队列添加事件，在执行完mQueue.s]]></description><category></category></item><item><title><![CDATA[MediaPlayer本地播放流程解析（二）]]></title><link>https://blog.csdn.net/Super_DC/article/details/38710957</link><guid>https://blog.csdn.net/Super_DC/article/details/38710957</guid><author>Super_DC</author><pubDate>Wed, 20 Aug 2014 19:54:43 +0800</pubDate><description><![CDATA[上一篇MediaPlayer本地播放流程解析（一）讲了MediaPlayer的setDataSource流程，本篇将接着讲MediaPlayer的prepare流程。
Prepare前面的流程一直到AwesomePlayer，和setDataSource都基本上一样，这里直接略掉。下面将从AwesomePlayer开始。
status_t AwesomePlayer::prepare() {
]]></description><category></category></item><item><title><![CDATA[MediaPlayer本地播放流程解析（一）]]></title><link>https://blog.csdn.net/Super_DC/article/details/38667661</link><guid>https://blog.csdn.net/Super_DC/article/details/38667661</guid><author>Super_DC</author><pubDate>Mon, 18 Aug 2014 22:35:38 +0800</pubDate><description><![CDATA[应用场景：
MediaPlayer mediaPlayer = new MediaPlayer();
mediaPlayer.setOnCompletionListener(new OnCompletionListener() {
	@Override
	public void onCompletion(MediaPlayer mp) {
		mediaPlayer.release();
		m]]></description><category></category></item><item><title><![CDATA[handler looper和messageQueue]]></title><link>https://blog.csdn.net/Super_DC/article/details/38541411</link><guid>https://blog.csdn.net/Super_DC/article/details/38541411</guid><author>Super_DC</author><pubDate>Wed, 13 Aug 2014 20:03:29 +0800</pubDate><description><![CDATA[一、使用方法。
Looper用来处理消息循环，在创建过程中会初始化MessageQueue。
Handler在其它线程发消息给当前线程
MessageQueue用来存放消息
 
Looper对象在哪个线程创建，Handler的handleMessage方法就在哪个线程执行
 
在创建activity时，android系统本身会为activity创建Looper。
final Han]]></description><category></category></item><item><title><![CDATA[Android--hw_get_module解析]]></title><link>https://blog.csdn.net/Super_DC/article/details/37909339</link><guid>https://blog.csdn.net/Super_DC/article/details/37909339</guid><author>Super_DC</author><pubDate>Thu, 17 Jul 2014 16:18:13 +0800</pubDate><description><![CDATA[我们知道，google为了保护硬件厂商的信息，在Android中添加了一层，也就是大名鼎鼎的HAL层。

在看HAL的编写方法的过程中，会发现整个模块貌似没有一个入口。一般说来模块都要有个入口，比

如应用程序有main函数，可以为加载器进行加载执行，dll文件有dllmain，而对于我们自己写的动态

链接库，我们可以对库中导出的任何符号进行调用。
    问题来了，Android]]></description><category></category></item><item><title><![CDATA[android binder 机制三(匿名Service)]]></title><link>https://blog.csdn.net/Super_DC/article/details/37836729</link><guid>https://blog.csdn.net/Super_DC/article/details/37836729</guid><author>Super_DC</author><pubDate>Tue, 15 Jul 2014 23:29:02 +0800</pubDate><description><![CDATA[什么是匿名Service？凡是没有到ServiceManager上注册的Service，都是匿名Service。
还是拿上一篇的例子来举例，看代码：
status_t MediaPlayer::setDataSource(int fd, int64_t offset, int64_t length)
{
    status_t err = UNKNOWN_ERROR;
    const s]]></description><category></category></item><item><title><![CDATA[android binder 机制二(client和普通server)]]></title><link>https://blog.csdn.net/Super_DC/article/details/37764947</link><guid>https://blog.csdn.net/Super_DC/article/details/37764947</guid><author>Super_DC</author><pubDate>Mon, 14 Jul 2014 17:06:19 +0800</pubDate><description><![CDATA[本文介绍android binder通信中，普通server进程如何工作，已经client和普通server之间如何通信]]></description><category></category></item><item><title><![CDATA[android binder 机制 (ServiceManager)]]></title><link>https://blog.csdn.net/Super_DC/article/details/37738123</link><guid>https://blog.csdn.net/Super_DC/article/details/37738123</guid><author>Super_DC</author><pubDate>Sun, 13 Jul 2014 13:20:25 +0800</pubDate><description><![CDATA[Binder机制作为一种IPC通信机制，在android系统中扮演了非常重要的角色，因此我也花了一些时间来研究它，按照我的理解，下面我将从4个方面来讲一下Binder，如有不对的地方，还希望大家多多指教。下面的例子都将以MediaServer来讲。
一、ServiceManager
ServiceManager在Binder系统中相当与DNS，Server会先在这里注册，然后Client会在这]]></description><category></category></item><item><title><![CDATA[JNI学习三(Local references & Global references 以及JNI内存泄露)]]></title><link>https://blog.csdn.net/Super_DC/article/details/37599389</link><guid>https://blog.csdn.net/Super_DC/article/details/37599389</guid><author>Super_DC</author><pubDate>Wed, 09 Jul 2014 15:26:52 +0800</pubDate><description><![CDATA[Local Reference 和 Global Reference
JNI支持三种类型的opaquereference：local references, global references和weak globalreferences
 
Local reference 只在本线程的nativemethod中有效，native method返回到Java层时将自动释放。一般是JNI自动创建]]></description><category></category></item><item><title><![CDATA[JNI学习二(数据类型)]]></title><link>https://blog.csdn.net/Super_DC/article/details/37591495</link><guid>https://blog.csdn.net/Super_DC/article/details/37591495</guid><author>Super_DC</author><pubDate>Wed, 09 Jul 2014 08:42:56 +0800</pubDate><description><![CDATA[JNI之数据类型
JNI层基本数据类型：
         jboolean, jbyte, jchar, jshort, jint,jlong, jfloat, jdouble
 
JNIEXPORTjstring JNICALL
Java_Prompt_getLine(JNIEnv*env, jobject this, jstring prompt);
其中：
JNIEnv 为J]]></description><category></category></item><item><title><![CDATA[JNI学习一(入门篇)]]></title><link>https://blog.csdn.net/Super_DC/article/details/37566891</link><guid>https://blog.csdn.net/Super_DC/article/details/37566891</guid><author>Super_DC</author><pubDate>Tue, 08 Jul 2014 16:27:27 +0800</pubDate><description><![CDATA[JNI之特性
JNI特性：
1、  native code 底层操作，更加高效
2、  打破了java的平台无关性，可移植性需要自己解决
3、  Java面向对象语言的封装性被破坏了，Java类中任何方法和属性对JNI都是可见的，包括private
4、  从java环境到native code的上下文切换耗时、低效
5、  JNI编程，操作不当，可能引起内存泄露
 
JNI之qu]]></description><category></category></item><item><title><![CDATA[android keydown touch事件传递]]></title><link>https://blog.csdn.net/Super_DC/article/details/36680365</link><guid>https://blog.csdn.net/Super_DC/article/details/36680365</guid><author>Super_DC</author><pubDate>Thu, 03 Jul 2014 18:11:45 +0800</pubDate><description><![CDATA[1、  onKeyDown事件
 
Android系统最先触发按键上绑定的事件监听器，然后才触发该组件提供的事件回调方法，最后传播到该组件所在的Activity
 
public class MyButton extends Button {
           publicMyButton(Context context, AttributeSet set) {
         ]]></description><category></category></item><item><title><![CDATA[mysql-5.6.19-win32 安装配置]]></title><link>https://blog.csdn.net/Super_DC/article/details/34101667</link><guid>https://blog.csdn.net/Super_DC/article/details/34101667</guid><author>Super_DC</author><pubDate>Tue, 24 Jun 2014 14:44:38 +0800</pubDate><description><![CDATA[1、下载地址：
2、配置：]]></description><category></category></item><item><title><![CDATA[android onTouch()与onTouchEvent()的区别]]></title><link>https://blog.csdn.net/Super_DC/article/details/33731867</link><guid>https://blog.csdn.net/Super_DC/article/details/33731867</guid><author>Super_DC</author><pubDate>Mon, 23 Jun 2014 14:46:00 +0800</pubDate><description><![CDATA[1.onTouch方法：
onTouch方法是View的 OnTouchListener借口中定义的方法。
当一个View绑定了OnTouchLister后，当有touch事件触发时，就会调用onTouch方法。
（当把手放到View上后，onTouch方法被一遍一遍地被调用）


2.onTouchEvent方法：
onTouchEvent方法是override 的Activity]]></description><category></category></item><item><title><![CDATA[undefined reference to 'dlopen']]></title><link>https://blog.csdn.net/Super_DC/article/details/26674825</link><guid>https://blog.csdn.net/Super_DC/article/details/26674825</guid><author>Super_DC</author><pubDate>Fri, 23 May 2014 10:09:38 +0800</pubDate><description><![CDATA[LOCAL_SHARED_LIBRARIES += \
libdl

LOCAL_LDLIBS += \
-lpthread \
-ldl \]]></description><category></category></item><item><title><![CDATA[宏函数及其用法]]></title><link>https://blog.csdn.net/Super_DC/article/details/26672713</link><guid>https://blog.csdn.net/Super_DC/article/details/26672713</guid><author>Super_DC</author><pubDate>Fri, 23 May 2014 09:45:42 +0800</pubDate><description><![CDATA[1、在一个预处理器宏中的参数前面使用一个#，预处理器会把这个参数转换为一个字符数组，如：
#define P(A) printf(“%s : %d”, #A,(A))
Int a=1,b=2;
P(a+b);
则会输出：a+b : 3


2、 “##”是一种分割连接方式，它的作用是先分割，然后进行强制连接。例如：
#define A1(name, type)  type name]]></description><category></category></item></channel></rss>