![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Andriod
leonpengweicn
这个作者很懒,什么都没留下…
展开
-
Android学习笔记之AndroidManifest.xml文件解析
http://www.cnblogs.com/pilang/archive/2011/04/20/2022932.html一、关于AndroidManifest.xmlAndroidManifest.xml 是每个android程序中必须的文件。它位于整个项目的根目录,描述了package中暴露的组件(activities, services, 等等),他们各自的实现类,各种能转载 2013-06-21 18:09:32 · 653 阅读 · 0 评论 -
fatal error: android/native_window.h: No such file or directory
[armeabi-v7a] Compile++ thumb: xstream4j /Users/kentchen/Documents/Projects/vpcamera/VPCam/jni/VideoRenderer.cpp:10:63: fatal error: android/native_window.h: No such file or directoryhe原创 2014-08-08 10:10:10 · 4018 阅读 · 1 评论 -
Android学习笔记——NDK中C++标准库、STL的配置;Include其他头文件
http://cherishlc.iteye.com/blog/1758643以下所有是基于Eclipse的,使用命令行的绕道。 1、STL的使用,以stlport为例 官方的说法是只需要在Application.mk文件中添加如下一行即可 Application.mk代码 APP_STL := stlport_static转载 2014-09-09 11:35:46 · 1150 阅读 · 0 评论 -
ActionBarActivity: cannot be resolved to a type
Check if you have a android-support-v4.jar file in YOUR project's lib folder, it should be removed!In the tutorial, when you have followed the instructions of Adding libraries WITHOUT resource转载 2014-09-09 10:44:28 · 3413 阅读 · 0 评论 -
dlopen failed: could not load library 的问题
在调用android动态库的时候一直报 dlopen failed的错误。static {try{System.loadLibrary("ffmpeg");System.loadLibrary("rtspstreamer");}catch(UnsatisfiedLinkError e) {System.out.println("Could not loa原创 2014-09-09 17:10:09 · 6978 阅读 · 0 评论 -
How to remove native support from an Android Project in eclipse because eclipse is showing errors in
http://stackoverflow.com/questions/11504258/how-to-remove-native-support-from-an-android-project-in-eclipse-because-eclipseThe only way I could find to reliably removed the C nature from the转载 2014-08-13 12:09:40 · 1323 阅读 · 0 评论 -
android ndk not support pthread_cancel
http://blog.csdn.net/typename/article/details/7794958转载请注明: http://blog.csdn.net/typename/article/details/7794958下面是google关于这个问题的说法:Try changing your code so that your threads d转载 2014-08-15 12:14:21 · 790 阅读 · 0 评论 -
Android与JNI(二)
http://www.cnblogs.com/eddy-he/archive/2012/08/09/2629974.htmlAndroid与JNI(二) 软件版本: ubuntu10.04 java version "1.6.0_30-ea" eclipse android-ndk-r5b目录: 1. 简介 2. JN转载 2014-08-15 16:47:07 · 583 阅读 · 0 评论 -
Android与JNI(一)
http://www.cnblogs.com/eddy-he/archive/2012/08/08/2628676.htmlAndroid与JNI(一) 软件版本: ubuntu10.04 java version "1.6.0_30-ea" eclipse android-ndk-r5b目录: 1. JNI 开发的基本步骤 2. 创转载 2014-08-15 16:40:15 · 569 阅读 · 0 评论 -
Android JNI入门第三篇——jni头文件分析
http://blog.csdn.net/xyz_lmn/article/details/6959545一、 首先写了java文件:[java] view plaincopyprint?public class HeaderFile { private native void doVoid();转载 2014-08-18 17:08:30 · 574 阅读 · 0 评论 -
使用opensl 的BufferQueueAudioPlayer对wav文件的播放
http://www.cnblogs.com/wainiwann/archive/2013/05/07/3064992.html创建音频引擎之后,读取wav文件到内存,然后使用BufferQueueAudioPlayer进行播放。这里在读取wav文件的时候需要对wav文件的前44个类似头信息进行解析,然后在进行播放的时候,在创建BufferQueueAudioPlayer的时候转载 2014-08-18 14:50:42 · 989 阅读 · 0 评论 -
使用Eclipse调试Android Native Application
http://blog.linguofeng.com/archive/2013/04/18/eclipse-android-ndk-debug.html转载 2014-09-24 15:01:21 · 1288 阅读 · 0 评论 -
Using the NDK plugin
http://tools.android.com/recent/usingthendkpluginADT 20 includes an NDK plugin that provides support for building and debugging NDK projects in Eclipse. This document describes how to install and转载 2014-08-06 15:22:40 · 563 阅读 · 0 评论 -
Windows下,Eclipse的Android NDK(r8e) 配置
http://blog.csdn.net/smart_qiang/article/details/12750345http://blog.csdn.net/gaojinshan/article/details/9464195一、关于NDKAndroid NDK全称:Native Development Kit,即本地开发包。 1、NDK是一系列工具的集合转载 2014-08-06 15:24:24 · 734 阅读 · 0 评论 -
Android Activity和Intent机制学习笔记
http://www.cnblogs.com/feisky/archive/2010/01/16/1649081.htmlActivityAndroid中,Activity是所有程序的根本,所有程序的流程都运行在Activity之中,Activity具有自己的生命周期(见http://www.cnblogs.com/feisky/archive/2010/01/01/16374转载 2013-09-11 14:55:31 · 550 阅读 · 0 评论 -
startActivityForResult用法详解
http://www.cnblogs.com/linjiqin/archive/2011/06/03/2071956.html一、如果想在Activity中得到新打开Activity 关闭后返回的数据,需要使用系统提供的startActivityForResult(Intent intent, int requestCode)方法打开新的Activity,新的Activity 关闭后会转载 2013-09-11 14:56:12 · 534 阅读 · 0 评论 -
安卓截图
adb shell /system/bin/screencap -p /sdcard/screenshot.pngadb pull /sdcard/screenshot.png screenshot.png原创 2013-09-23 11:28:15 · 860 阅读 · 0 评论 -
Android fill_parent、wrap_content和match_parent的区别
http://blog.sina.com.cn/s/blog_4ca9ceef0100zwc9.html三个属性都用来适应视图的水平或垂直大小,一个以视图的内容或尺寸为基础的布局比精确地指定视图范围更加方便。1)fill_parent设置一个构件的布局为fill_parent将强制性地使构件扩展,以填充布局单元内尽可能多的空间。这跟Windows控件的doc转载 2014-05-21 10:52:22 · 482 阅读 · 0 评论 -
Android:ListView之ViewHolder
前言 在开发Android应用过程中经常要与列表展示打交道,比如Listview。在使用过程中如果不能正确的进行细节处理那么对性能还是有很大的损耗的。 Listview展示内容是通过一个Adapter来进行内容绑定的。如下所示: 1 class Adapter implements ListAdapter{ 2 3 @Overr转载 2014-05-21 11:51:14 · 505 阅读 · 0 评论 -
Android复杂自定义Listview实现
http://www.cnblogs.com/starwolf/p/3735404.html在Android中实现Listview对新人来说比较难以理解,本人看了若干文章后觉得可以使用以下思路来让新人更好理解(同时也做好记录,免得自己以后忘记)。可参考博客:http://cinderella7.blog.51cto.com/7607653/1281696 (这里用MV转载 2014-05-21 10:21:33 · 520 阅读 · 0 评论 -
用NDK编译Live555 - 亲测有效
http://wendal.net/2014/04/29.html针对 live555 2014.03.25和 live 2014.04.23 也就是当前最新咯.准备工作下载源码 http://www.live555.com/liveMedia/public/ 该地址经常被X,请问候非圆校长解压到一个空文件夹, 并将目录名从live改成jni建一个文件,转载 2014-05-30 10:23:59 · 1981 阅读 · 0 评论 -
Type Unknown error: java.lang.NullPointerException
安卓项目出现[2014-07-24 11:47:04 - example1] Unknown error: java.lang.NullPointerException需要把相关的项目也打开才可以原创 2014-07-24 11:49:05 · 661 阅读 · 0 评论 -
Android五大布局对象---FrameLayout,LinearLayout ,AbsoluteLayout,RelativeLayout,TableLayout.
http://blog.csdn.net/android_tutor/article/details/4779097大家好,我们这一节讲一下Android对用五大布局对象,它们分别是FrameLayout(框架布局:不知道是不是这么翻译的),LinearLayout (线性布局),AbsoluteLayout(绝对布局),RelativeLayout(相对布局),TableLa转载 2014-07-24 11:14:11 · 538 阅读 · 0 评论 -
解决Android SDK Manager下载太慢问题
http://blog.csdn.net/exlsunshine/article/details/22208857解决Android SDK Manager下载太慢问题1、打开android sdk manager2、打开tool->options,如图所示3、将Proxy Settings 里的HTTP Proxy Server和HTTP Pr转载 2014-07-28 17:40:29 · 705 阅读 · 0 评论 -
JNI的某些数组和字符串类型转换
http://provista.iteye.com/blog/839703jbytearray转c++byte数组 C代码 jbyte * arrayBody = env->GetByteArrayElements(data,0); jsize theArrayLengthJ = env->GetArrayLength(data); B转载 2014-08-06 13:16:11 · 551 阅读 · 0 评论 -
android Git使用gitignore建立项目过滤规则
http://my.oschina.net/u/244918/blog/389341?p={{page}}在项目目录下创建 .gitignore 文件,里面的内容如下,可以根据自己的需要新增或者删除过来规则# Local per-repo rules can be added to the .git/info/exclude file in your转载 2015-08-21 23:14:59 · 665 阅读 · 0 评论