
OS/Android
文章平均质量分 72
fanbird2008
这个作者很懒,什么都没留下…
展开
-
Android多媒体开发(2)————使用Android NKD编译原版FFmpeg
Android多媒体开发(2)————使用Android NKD编译原版FFmpeghttp://blog.youkuaiyun.com/conowen/article/details/7518870 分类: Android多媒体&流媒体开发 /*****************************************************************转载 2013-01-22 16:05:01 · 4097 阅读 · 0 评论 -
Display yuv formatted video by shader
Display yuv formatted video by shaderhttp://chenshun87.blog.163.com/blog/ http://blog.youkuaiyun.com/weinyzhou/article/details/7844732 http://blog.youkuaiyun.com/weinyZhou/article/category/1183837转载 2013-01-22 15:01:32 · 1038 阅读 · 0 评论 -
android activity
Activity 的生命週期 作者: gasolin 日期: 2010-03-03 本文详细介绍了 Activity 的生命周期,非常明了。 生命週期作者在初級章節中一直努力地傳達給讀者:編寫 Android 平台的基本應用程式,跟編寫桌面應用程式的難度,兩者並沒什麼不同。甚至因為 Android 平台擁有免費、跨平台的開發工具,使得转载 2013-01-16 14:49:09 · 534 阅读 · 0 评论 -
Activity 的生命週期
Activity 的生命週期 作者: gasolin 日期: 2010-03-03 本文详细介绍了 Activity 的生命周期,非常明了。 生命週期作者在初級章節中一直努力地傳達給讀者:編寫 Android 平台的基本應用程式,跟編寫桌面應用程式的難度,兩者並沒什麼不同。甚至因為 Android 平台擁有免費、跨平台的開發工具,使得转载 2013-01-16 14:47:15 · 457 阅读 · 0 评论 -
android configuration example
02-01 11:36:57.830: W/VideoRenderView(4356): 27 configurations02-01 11:36:57.830: W/VideoRenderView(4356): Configuration 0:02-01 11:36:57.830: W/VideoRenderView(4356): EGL_BUFFER_SIZE: 1602-01原创 2013-02-01 11:40:57 · 727 阅读 · 0 评论 -
The Chromium Projects -- libyuv
http://dev.chromium.org/developers/how-tos/install-depot-tools http://dev.chromium.org/developers/how-tos/get-the-code Install depot_toolsChromium and Chromium OS use a packag转载 2013-01-17 20:58:33 · 3132 阅读 · 0 评论 -
android native c development
Android原生(Native)C开发 分类: Linux/Ubuntu2011-12-01 12:301318人阅读评论(0)收藏举报目录(?)[+]转载 Android原生NativeC开发之一 环境搭建篇转载 Android原生NativeC开发之二 framebuffer篇转载 Android原生Native转载 2013-01-18 20:54:35 · 1469 阅读 · 0 评论 -
android arm debug
ARM平台调式命令:a、将C:\NDK\android-ndk-r6b添加到windows的path环境变量中b、adb connect ip(xx.xx.xx.xx)c、adb logcat > 1.logd、cat 1.log | ndk-stack -sym $(project_loc)\obj\local\armeabi输出:D:\hisi-tools\sdk-t转载 2013-02-02 17:27:18 · 1007 阅读 · 0 评论 -
android makefile message output
$(info value of LOCAL_CFLAGS is: $(LOCAL_CFLAGS)) $(warning value of LOCAL_CFLAGSis: $(LOCAL_CFLAGS)) $(error value of LOCAL_CFLAGSis: $(LOCAL_CFLAGS))原创 2013-01-20 17:03:03 · 577 阅读 · 0 评论 -
Android多媒体开发(4)————移植Libmad到android平台
Android多媒体开发(4)————移植Libmad到android平台http://blog.youkuaiyun.com/conowen/article/details/7727145 分类: Android多媒体&流媒体开发 /**************************************************************************转载 2013-01-22 15:50:57 · 1601 阅读 · 0 评论 -
Android多媒体开发(3)————使用Android NKD编译havlenapetr-FFMpeg
Android多媒体开发(3)————使用Android NKD编译havlenapetr-FFMpeg-7c27aa2http://blog.youkuaiyun.com/conowen/article/details/7526398分类: Android多媒体&流媒体开发 /*****************************************************转载 2013-01-22 16:00:29 · 2781 阅读 · 2 评论 -
HTC HD2/T8588/Leo刷Android系统刷机教程(Recovery模式卡刷法)
http://www.52shuaji.com/thread-1659-1-1.html教程名:HTC HD2/T8588/Leo刷Android系统刷机教程(Recovery模式卡刷法) 作者:整理自网络 刷机软件:ClockMod Recovery 适用版本:不限 适用硬件:HTC HD2/T8588/Leo 操作电脑OS版本:Windows转载 2013-02-20 09:13:18 · 5707 阅读 · 0 评论 -
Android中的sp和wp指针
http://blog.youkuaiyun.com/droidphone/article/details/5799792经常会在android的framework代码中发现sp和wp这样的指针,平时看的时候都把他当成一个普通的指针封装过掉了,这几天终于忍不住了,想深入了解一下。 相关的代码:frameworks/base/include/utils/RefBa转载 2013-04-01 16:26:31 · 621 阅读 · 0 评论 -
Android JNI JNINativeMethod register
http://marakana.com/s/post/1292/jni_reference_exampleAndroid JNI JNINativeMethod register1. Andoird JNINativeMethod 定义如下:typedef struct {const char* fname;const char* sg;void* f原创 2012-11-28 16:55:42 · 3724 阅读 · 0 评论 -
adb install apkt
1. open android simulator2. install apk adb install e:\mytest.apk原创 2012-11-12 09:35:22 · 481 阅读 · 0 评论 -
eclipse java compile error
1. @overrideproject property ----> javaCompiler-->complier compliance level -->1.5 changed to1.6by default, Java 1.5 compiler is override parent class' method, by @Override statement;but 1.6 exte原创 2012-11-20 13:28:45 · 651 阅读 · 0 评论 -
YUV420P的格式以及转换为RGB565的代码(Android摄像头的输出一般为YUV420P)
static void cvt_420p_to_rgb565(int width,int height,constunsignedchar*src,unsignedshort*dst){ int line, col, linewidth; int y, u, v, yy, vr, ug, vg, ub; int r, g, b; const unsigned char转载 2012-11-28 07:07:33 · 3893 阅读 · 0 评论 -
android adb connect multiple online devices
1. 通过adb devices命令获取所有online设备的serial number。C:\Users\Administrator>adb devicesList of devices attachedemulator-5554 deviceSH0A6PL00243 device上面表示,当前有两个设备online,第一个emulator-5554是模拟器,后一个转载 2012-11-29 15:16:11 · 956 阅读 · 0 评论 -
Android start simulator manually
emulator @TestVideo15原创 2012-12-20 16:19:10 · 520 阅读 · 0 评论 -
android init.rc modify
首先来这里下载已经编译好的busybox的二进制文件。按照下述步骤操作即可:1) 将ramdisk.img复制到其他目录,改名为ramdisk.img.gz,使用gunzip解压。2) 新建一个文件夹,new_ramdisk,进入,执行: cpio -i -F ../ramdisk.img3) 修改init.rc,将/data/busybox添加到PATH的最前面,转载 2012-12-21 09:16:43 · 590 阅读 · 0 评论 -
framebuffer (1)
http://blog.youkuaiyun.com/neiloid/article/details/6998652 一、framebuffer使用基础:1. Linux是工作在保护模式下,所以用户态进程是无法象DOS那样使用显卡BIOS里提供的中断调用来实现直接写屏, Linux抽象出FrameBuffer这个设备来供用户态进程实现直接写屏。对于用户而言,framebuffer和/dev下面的其转载 2013-01-08 13:05:30 · 695 阅读 · 0 评论 -
windows cygwin android ndk compile env setup
1. install cygwin and check env gcc g++ gdb check2. install android-ndk of window version3. edit /home/someuser/.bash_profileANDROID_NDK_ROOT=/cygdrive/d/cygwin/opt/android-ndk-r8bexport原创 2012-11-15 13:54:55 · 538 阅读 · 0 评论 -
android makefile
BUILD_ROOT := `pwd`\buildLOCAL_PATH := $(call my-dir)BUILD_PATH := $(LOCAL_PATH)/$(BUILD_ROOT)include $(CLEAR_VARS)LOCAL_C_INCLUDES := $(ANDROID_NDK_ROOT)/platforms/android-14/arch-arm/usr/i原创 2012-11-20 13:03:56 · 471 阅读 · 0 评论 -
android source code download notes
download is successfully finished in light of following steps.1、install repo$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo $ chmod +x ~/bin/repo 2、rep原创 2012-11-20 15:05:25 · 2835 阅读 · 0 评论 -
adb upload so file to /system/lib
1. adb remount change /system/lib to wirtable2. adb uploadadb push e:\libffmpeg.so /system/lib原创 2012-11-26 14:08:43 · 663 阅读 · 0 评论 -
android platform env setup
1. init.rc file on early-init start ueventd on init sysclktz 0 loglevel 3 # setup the global environment export PATH /sbin:/vendor/bin:/原创 2012-11-29 16:09:39 · 1964 阅读 · 0 评论 -
android 多媒体框架
http://blog.youkuaiyun.com/conowen/article/details/7526398http://blog.youkuaiyun.com/conowen/article/details/7875080移植havlenapetr/FFMpeg 1. ffmpeg for x86 http://gitorious.org/~olvaffe/ffmpeg/ffmpe转载 2012-12-01 09:59:51 · 1270 阅读 · 0 评论 -
Android Make flow
从ndk-build命令开始解析:1,ndk-build.sh:编译总脚本 a,获取make工具,找到makefile文件; b,执行make -f makefile(or othername:build-local.mk);2,build-local.mk:启动的makefile a,检查NDK_ROOT的合法性; b,初始化环境init.m转载 2012-12-14 15:12:19 · 1201 阅读 · 0 评论 -
framebuffer (2)
http://blog.youkuaiyun.com/neiloid/article/details/6998644 如对Android原生(Natvie)C开发还任何疑问,请参阅《Android原生(Native)C开发之一:环境搭建篇》:http://blog.sina.com.cn/s/blog_4a0a39c30100auh9.html 虽然现在能通过交叉环境编译程序,并push转载 2013-01-08 13:08:25 · 430 阅读 · 0 评论 -
Android Application Info
path = getApplicationContext().getFilesDir().getAbsolutePath(); path = getApplicationContext().getPackageCodePath(); ApplicationInfo info = getApplicationContext().getApplicationInfo(); pa原创 2012-12-25 15:28:09 · 576 阅读 · 0 评论 -
android create sdcard
1. cd tools2 . mksdcard -l mysdcard 256M e:\mysdcard.img -l命令行参数表示虚拟磁盘的卷标,可以没有该参数3. emulator -avd TestVideo15 -sdcard e:\mysdcard.img4. add -sdcard e:\mysdcard.img on eclipse windows--原创 2012-11-07 15:51:42 · 486 阅读 · 0 评论 -
debian linux android ndk compile env setup
debian linux android ndk compile env setup1. install debian linux 6.0.62. edit source list file3. setup gcc g++ compile env apt-get install gcc g++ gdb automake make autoconf etc4. downl原创 2012-11-14 15:18:30 · 1105 阅读 · 0 评论 -
Android Makefile example
1. example 1# run ndk-build in parent directory of jni#jni/Android.mk#jni/include/test1.h........#jni/include/testn.h#jni/include/client/client1.h.........#jni/include/client/clientn原创 2012-12-06 18:08:00 · 584 阅读 · 0 评论 -
Android NDK static shared library
Android NDK about Library (static library , share library and 3rd party library)A:Static library文件Android.mk:LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)LOCAL_MODULE := hello-j转载 2012-12-14 14:46:52 · 6177 阅读 · 0 评论 -
Android Native C development (2) -- framebuffer
如对Android原生(Natvie)C开发还任何疑问,请参阅《Android原生(Native)C开发之一:环境搭建篇》:http://blog.sina.com.cn/s/blog_4a0a39c30100auh9.html 虽然现在能通过交叉环境编译程序,并push到Android上执行,但那只是console台程序,是不是有些单调呢?下面就要看如何通过Linux的 framebuf转载 2013-01-08 13:22:38 · 541 阅读 · 0 评论 -
Android Native C development (1) -- Env Setup
http://blog.sina.com.cn/s/blog_4a0a39c30100auh9.html Android原生(Native)C开发之一:环境搭建篇Android是基于Linux的操作系统,处理器是ARM的,所以要在Linux或Windows等x86系统上编译Android能运行的程序,你需要一个交叉编译器。在Linux下面,你可以自已编译一个交叉编译环境,转载 2013-01-08 13:15:56 · 586 阅读 · 0 评论 -
libx264 compile for android
#!/bin/bashX264_PREFIX=/usr/local/andro/x264ANDROID_INC="$ANDROID_NDK_ROOT/platforms/android-14/arch-arm/usr/include"ANDROID_ARMLIB="$ANDROID_NDK_ROOT/platforms/android-14/arch-arm/usr/l原创 2013-04-23 15:28:27 · 835 阅读 · 0 评论 -
ffmpeg compile with neon support for android
http://www.imobilebbs.com/wordpress/archives/date/2012/04http://tech.ddvip.com/2013-02/1360325570190225.html1. for example 1http://kongweile.iteye.com/blog/1153483if u wanna comp转载 2013-02-20 13:36:28 · 3317 阅读 · 0 评论 -
android ffmpeg compile error fix notes
1. following error arising in compiling ffmpeg 1.1.2 undefined reference to `ff_fft_fixed_calc_neon' it is caused by CONFIG_FFT = 0 in config.h2. fix way prior to configure enable opti原创 2013-03-05 16:42:58 · 1474 阅读 · 0 评论 -
android ndk ffmpeg development series - 01
excerpt from : https://github.com/yixia/FFmpeg-Android/blob/master/FFmpeg-Android.sh #!/bin/bash## FFmpeg-Android, a bash script to build FFmpeg for Android.## Copyright (c) 2012 Cedric Fung转载 2012-11-16 11:34:33 · 1300 阅读 · 1 评论