`
xiaokelong123
  • 浏览: 7927 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
一:什么是NDK? NDK 提供了一系列的工具,帮助开发者快速开发C(或C++)的动态库,并能自动将so 和java 应用一起打包成apk。这些工具对开发者的帮助是巨大的。 NDK 集成了交叉编译器,并提供了相应的mk 文件隔离CPU、平台、ABI ...
1. 首先先要获取你的debug keystore位置: 打开Eclipse--->Windows--->Preferences--->Android--->Build 查看默认的debug keystore位置,我的是C:\Documents and Settings\MYNAME \.android\debug.keystore 2. 在cmd中执行: keytool -list -keystore ~/.android/debug.keystore 或者是: keytool -list -alias androiddebugkey -keystore &q ...
其实就是普通的文件操作,不过还是有些地方需要注意。比如: 1.加入sdcard操作权限; 2.确认sdcard的存在; 3.不能直接在非sdcard的根目录创建文件,而是需要先创建目录,再创建文件; 实例: (1)在AndroidManifest.xml添加sdcard操作权限    1: <!-- sdcard权限 -->   2: <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>(2)变量声 ...
http://yangguangfu.iteye.com/blog/753388 1.android.permission.ACCESS_CHECKIN_PROPERTIES   2.允许读写访问”properties”表在checkin数据库中,改值可以修改上传( Allows read/write access to the “properties” table in the checkin database, to change values that get uploaded)   3.  4.android.permission.ACCESS_COARSE_LOCATIO ...
import android.app.Activity;    import android.graphics.Bitmap;    import android.graphics.BitmapFactory;    import android.graphics.Matrix;    import android.graphics.drawable.BitmapDrawable;    import android.os.Bundle;    import android.view.ViewGroup.LayoutParams;    import android.widget. ...
在实际开发种LayoutInflater这个类还是非常有用的,它的作用类似于 findViewById(), 不同点是LayoutInflater是用来找layout下xml布局文件,并且实例化!而findViewById()是找具体xml下的具体 widget控件(如:Button,TextView等)。 LayoutInflater inflater = LayoutInflater.from(this); //Obtains the LayoutInflater from the given context. //  LayoutInflater inflater = (LayoutIn ...
30 七/10Android开发之ListView 适配器(Adapter)优化 作者: ideasandroid 分类: android基础, android高级编程[本文严禁转载] 来源:www.ideasandroid.com 原文: http://www.ideasandroid.com/archives/295 ListView的Adapter的作用如下图所示: Adapter的作用就是ListView界面与数据之间的桥梁,当列表里的每一项显示到页面时,都会调用Adapter的getView方法返回一个View。想过没有? 在我们的列表有1000000项时会是什么样的?是不是会 ...
Global site tag (gtag.js) - Google Analytics