上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 164 下一页
摘要: 当用户有没有接到的电话的时候,Android顶部状态栏里就会出现一个小图标。提示用户有没有处理的快讯,当拖动状态栏时,可以查看这些快讯。Android给我们提供了NotificationManager来管理这个状态栏。可以很轻松的完成。 如果要添加一个Notification,可以按照以下几个步骤1:获取NotificationManager:NotificationManager m_NotificationManager=(NotificationManager)this.getSystemService(NOTIFICATION_SERVICE);2:定义一个Notification:. 阅读全文
posted @ 2013-06-10 16:22 火腿骑士 阅读(698) 评论(0) 推荐(0)
摘要: http://grepcode.com/search/?start=0&query=com+android+gallery3d+common+Utils.java&entity=project 阅读全文
posted @ 2013-06-10 15:58 火腿骑士 阅读(156) 评论(0) 推荐(0)
摘要: package xiaosi.GalleryFlow;import android.app.Activity;import android.os.Bundle;public class GalleryFlowActivity extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Intege... 阅读全文
posted @ 2013-06-10 15:55 火腿骑士 阅读(335) 评论(0) 推荐(0)
摘要: 方法一:(java习惯,在android不推荐使用)刚刚开始接触android线程编程的时候,习惯好像java一样,试图用下面的代码解决问题new Thread( new Runnable() { public void run() { myView.invalidate(); } }).start();复制代码可以实现功能,刷新UI界面。但是这样是不行的,因为它违背了单线程模型:Android UI操作并不是线程安全的并且这些操作必须在UI线程中执行。方法二:(Thread+Handler)查阅了文档和apidemo后,发觉常用的方法是利用Handler来实现UI线程的更新... 阅读全文
posted @ 2013-06-10 15:52 火腿骑士 阅读(187) 评论(0) 推荐(0)
摘要: Android ComboBox由于Android 系统的Spinner 控件无法满足项目的要求,所以自己重写了一个ComboBox控件 效果图如下: 该控件主要实现方式为Button 从写 + PopupWindow ListView 组合 Demo 地址:http://download.csdn.net/download/sun6255028/4360562...2012-06-08 11:47阅读(583)评论(0)Android中控件的层次结构android.view.View 类(视图类)呈现了最基本的UI构造块。一个视图占据屏幕上的一个方形区域,并且负责绘制和事件处理。View 是 阅读全文
posted @ 2013-06-10 15:49 火腿骑士 阅读(215) 评论(0) 推荐(0)
摘要: Axure RP 6.5 中文版下载地址裸奔 Axure资源下载 03-30 54308 8axure 6.5 正式版已经出来了,大大改善了用户体验以及修复了很多6.0上的bug。而且还增加了很多新功能哦。今天用着感觉非常的好,期待汉化!axure 6.5 正式版下载地址:官方下载:http://www.axure.com/downloadWindows版:http://axure.cachefly.net/AxureRP-Pro-Setup.exeMAC版:http://axure.cachefly.net/AxureRP-Pro-Setup.dmgAxure6.5汉化语言包下载地址:htt 阅读全文
posted @ 2013-06-09 16:20 火腿骑士 阅读(393) 评论(0) 推荐(0)
摘要: http://tieba.baidu.com/p/1104405733jQuery获取Select选择的Text和 Value(转) jQuery获取Select选择的Text和Value:语法解释:1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发2. var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text3. var checkVa 阅读全文
posted @ 2013-06-06 19:41 火腿骑士 阅读(205) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/mainroadlee/tag/Android/http://blog.csdn.net/lvron/article/details/7098771 阅读全文
posted @ 2013-06-05 23:46 火腿骑士 阅读(93) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/android_tutor/article/category/952010 阅读全文
posted @ 2013-06-05 23:06 火腿骑士 阅读(115) 评论(0) 推荐(0)
摘要: https://developers.google.com/maps/documentation/javascript/examples/polyline-simple?hl=zh-cnhttps://developers.google.com/maps/documentation/javascript/overlays?hl=zh-cn#PolylineArrayshttp://ubilabs.github.io/google.maps.polyline.edit/examples/advanced.htmlhttp://www.cnblogs.com/hanbin/archive/2011 阅读全文
posted @ 2013-06-05 21:18 火腿骑士 阅读(368) 评论(0) 推荐(0)
上一页 1 ··· 86 87 88 89 90 91 92 93 94 ··· 164 下一页