android 开发
文章平均质量分 53
wangxiaohong123
这个作者很懒,什么都没留下…
展开
-
android之第一话 跬步之始
1:安装ADT ADT是eclipse的插件,用于把Android开发工具整合在eclipse的UI界面中。可以从android官方网站下载,安装完成后可能需要重启eclipse。2:安装SDK SDK是Android的开发库,主要包含开发应用程序的Java AP原创 2011-09-01 23:12:11 · 386 阅读 · 0 评论 -
android 零碎知识点
一:设置全屏requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);super.onCreate(saved原创 2012-08-10 17:54:58 · 466 阅读 · 0 评论 -
android 九宫格
1:main.xml 里定义一个gridview。<GridView android:id="@+id/GridView" android:layout_width="wrap_content" android:layout_height="wrap_content" android:numColumns="3" android:horizontalSpacing=原创 2012-06-07 16:51:24 · 840 阅读 · 0 评论 -
android UI ViewFlipper
一:循环播放一组图片。animation_in.xml <translate android:fromXDelta="100%p" android:toXDelta="0" android:duration="2000" /> <alpha android:fromAlpha="0"原创 2012-08-06 11:12:00 · 527 阅读 · 0 评论 -
Animation Android ( 二)
新建工程 myFrameAnimation 在main.xml布局中添加view子类,调整一下,效果如下: android:prientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> andro转载 2012-07-17 14:35:31 · 553 阅读 · 0 评论 -
Animation Android ( 一)
动画类型Android的animation由四种类型组成XML中 alpha渐变透明度动画效果scale渐变尺寸伸缩动画效果translate画面转换位置移动动画效果rotate画面转移旋转动画效果JavaCode中 AlphaAnim转载 2012-07-17 14:32:43 · 422 阅读 · 0 评论 -
android - http
httpclient 的一般模式:1:创建一个HttpClient2:实例化新Http方法(postmethod \ getMethod)3:设置HTTP参数名称/值4:使用HttpClient执行HTTP调用5:处理HTTP响应原创 2012-07-11 14:54:36 · 365 阅读 · 0 评论 -
NFC (一)
第一天接触NFC 看了android 的官方文档。另外发现了一片比较不错的文章。原文地址(算是对官方文档的比较准备的翻译吧):http://blog.csdn.net/nicebooks/article/details/6223956http://www.cnblogs.com/doandroid/archive/2011/11/29/2267404.html转载 2012-06-11 16:23:25 · 442 阅读 · 0 评论 -
android notification
通知栏的出现需要两个类:NotificationManager 和 Notificationprivate static final int HELLO_ID = 1;private NotificationManager mNotificationManager ;private Intent notificationIntent;String ns = Context.原创 2012-05-15 16:25:30 · 463 阅读 · 0 评论 -
android JNI 的简单示例
这段时间接触到JNI的东西,网上虽然有很多写的不错的例子,还是写下自己的历程。我的环境是:XP\android开发环境。1:下载安装Cygwin.Cygwin is:a collection of tools which provide a Linux look and feel environment for Windows.a DLL (cygwin1.dll) whi原创 2012-05-28 18:08:45 · 559 阅读 · 0 评论