04 2015 档案

【转】java中byte数组与int类型的转换(两种方式)----不错
摘要:原文网址:http://blog.csdn.net/piaojun_pj/article/details/5903009 java中byte数组与int类型的转换,在网络编程中这个算法是最基本的算法,我们都知道,在socket传输中,发送、者接收的数据都是 byte数组,但是int类型是4个byte... 阅读全文

posted @ 2015-04-29 22:12 wi100sh 阅读(1494) 评论(0) 推荐(0) 编辑

【转】 Android开发之EditText属性详解
摘要:原文网址:http://blog.csdn.net/qq435757399/article/details/79478621、EditText输入的文字为密码形式的设置(1)通过.xml里设置:把该EditText设为:android:password="true"// 以”.”形式显示文本(2)在... 阅读全文

posted @ 2015-04-29 14:46 wi100sh 阅读(586) 评论(0) 推荐(0) 编辑

【转】Android:Layout_weight的深刻理解
摘要:原文网址:http://mobile.51cto.com/abased-375428.htm本文详细介绍了Android布局中Layout_weight的属性,它是用来分配属于空间的一个属性,你可以设置他的权重。AD:干货来了,不要等!WOT2015 北京站演讲PPT开放下载!最近写Demo,突然发... 阅读全文

posted @ 2015-04-29 13:50 wi100sh 阅读(141) 评论(0) 推荐(0) 编辑

【转】Android实例剖析笔记(二)--用实例讲解Andriod的开发过程,以NotesList为实例介绍Android的菜单机制
摘要:原文网址:http://kb.cnblogs.com/page/78304/简介 android提供了三种菜单类型,分别为options menu,context menu,sub menu。 options menu就是通过按home键来显示,context menu需要在view上按上2s后... 阅读全文

posted @ 2015-04-29 11:39 wi100sh 阅读(290) 评论(0) 推荐(0) 编辑

【转】Android的onCreateOptionsMenu()创建菜单Menu详解
摘要:原文网址:http://www.linuxidc.com/Linux/2012-02/55500.htmAndroid一共有三种形式的菜单: 1.选项菜单(optinosMenu) 2.上下文菜单(ContextMenu) 3.子菜单(subMenu)其中最常用的就是选项菜单(optionsMenu... 阅读全文

posted @ 2015-04-29 11:36 wi100sh 阅读(219) 评论(0) 推荐(0) 编辑

【转】Android 菜单(OptionMenu)大全 建立你自己的菜单--不错
摘要:原文网址:http://www.cnblogs.com/salam/archive/2011/04/04/2005329.html菜单是用户界面中最常见的元素之一,使用非常频繁,在Android中,菜单被分为如下三种,选项菜单(OptionsMenu)、上下文菜单(ContextMenu)和子菜单(... 阅读全文

posted @ 2015-04-29 11:02 wi100sh 阅读(197) 评论(0) 推荐(0) 编辑

【转】onPrepareOptionsMenu 和onCreateOptionsMenu 的区别
摘要:原文网址:http://blog.csdn.net/allenjy123/article/details/7467084@OverridepublicbooleanonCreateOptionsMenu(Menumenu){//TODOAuto-generatedmethodstubmenu.add... 阅读全文

posted @ 2015-04-29 10:13 wi100sh 阅读(229) 评论(0) 推荐(0) 编辑

【转】Jollen 的 Android 教學,#12: 如何建立選單 Menu
摘要:原文网址:http://www.jollen.org/blog/2009/06/jollen-android-programming-12.htmlAndroid應用程式的UI可以使用XML來定義,這個部份在前面的教學裡介紹過。要定義Android應用程式的選單,我們同樣可以使用XML來做描述,請看... 阅读全文

posted @ 2015-04-29 10:01 wi100sh 阅读(200) 评论(0) 推荐(0) 编辑

【转】通知 Toast详细用法(显示view)
摘要:原文网址:http://www.pocketdigi.com/20100904/87.html今天学习Android通知 Toast的用法,Toast在手机屏幕上向用户显示一条信息,一段时间后信息会自动消失。信息可以是简单的文本,也可以是复杂的图片及其他内容(显示一个view)。看效果图:今天演示的... 阅读全文

posted @ 2015-04-28 23:14 wi100sh 阅读(526) 评论(0) 推荐(0) 编辑

【转】Javabyte[]数组和十六进制String之间的转换Util------包含案例和代码
摘要:原文网址:http://blog.csdn.net/caijunjun1006/article/details/11740223Java中byte用二进制表示占用8位,而我们知道16进制的每个字符需要用4位二进制位来表示(23 + 22 + 21 + 20 = 15),所以我们就可以把每个byte转... 阅读全文

posted @ 2015-04-28 21:37 wi100sh 阅读(452) 评论(0) 推荐(0) 编辑

【转】android ListView详解---- 不错不错
摘要:原文网址:http://www.cnblogs.com/allin/archive/2010/05/11/1732200.html由于google doc 很多人都打不开,故更新了源码下载地址 【源码下载】----2011-01-18 在android开发中ListView是比较常用的组件,它以列... 阅读全文

posted @ 2015-04-28 11:05 wi100sh 阅读(164) 评论(0) 推荐(0) 编辑

【转】java提高篇(二三)-----HashMap
摘要:原文网址:http://www.cnblogs.com/chenssy/p/3521565.htmlHashMap也是我们使用非常多的Collection,它是基于哈希表的 Map 接口的实现,以key-value的形式存在。在HashMap中,key-value总是会当做一个整体来处理,系统会根据... 阅读全文

posted @ 2015-04-27 23:21 wi100sh 阅读(182) 评论(0) 推荐(0) 编辑

【转】 java中HashMap详解
摘要:原文网址:http://blog.csdn.net/caihaijiang/article/details/6280251java中HashMap详解HashMap 和 HashSet 是 Java Collection Framework 的两个重要成员,其中 HashMap 是 Map 接口的常... 阅读全文

posted @ 2015-04-27 23:20 wi100sh 阅读(265) 评论(0) 推荐(0) 编辑

【转】java 容器类使用 Collection,Map,HashMap,hashTable,TreeMap,List,Vector,ArrayList的区别
摘要:原文网址:http://www.360doc.com/content/15/0427/22/1709014_466468021.shtmljava 容器类使用 Collection,Map,HashMap,hashTable,TreeMap,List,Vector,ArrayList的区别、经常会看... 阅读全文

posted @ 2015-04-27 23:18 wi100sh 阅读(388) 评论(0) 推荐(0) 编辑

【转】[Java] HashMap使用的示例
摘要:原文网址:http://kings11347.blog.163.com/blog/static/56047032201212895416436/importjava.util.HashMap;importjava.util.Iterator;importjava.util.Set;importjav... 阅读全文

posted @ 2015-04-27 23:16 wi100sh 阅读(205) 评论(0) 推荐(0) 编辑

【转】【Android】使用BaseAdapter实现复杂的ListView
摘要:原文网址:http://blog.csdn.net/jueblog/article/details/11857281使用BaseAdapter实现复杂的ListView的步骤:1. 数据你要准备好 List getData()。2. 继承ListActivity专有屏,不再需要setContentV... 阅读全文

posted @ 2015-04-27 22:48 wi100sh 阅读(250) 评论(0) 推荐(0) 编辑

【转】Java 集合系列03之 ArrayList详细介绍(源码解析)和使用示例
摘要:原文网址:http://www.cnblogs.com/skywang12345/p/3308556.html上一章,我们学习了Collection的架构。这一章开始,我们对Collection的具体实现类进行讲解;首先,讲解List,而List中ArrayList又最为常用。因此,本章我们讲解Ar... 阅读全文

posted @ 2015-04-27 22:04 wi100sh 阅读(173) 评论(0) 推荐(0) 编辑

【转】Java集合框架List,Map,Set等全面介绍
摘要:原文网址:http://android.blog.51cto.com/268543/400557Java Collections Framework是Java提供的对集合进行定义,操作,和管理的包含一组接口,类的体系结构。Java集合框架的基本接口/类层次结构:java.util.Collectio... 阅读全文

posted @ 2015-04-27 22:02 wi100sh 阅读(235) 评论(0) 推荐(0) 编辑

【转】java参数传递(超经典)
摘要:原文网址:http://blog.sina.com.cn/s/blog_4b622a8e0100c1bo.htmlJava中的参数传递机制一直以来大家都争论不休,究竟是“传值”还是“传址(传引用)”,争论的双方各执一词,互不相让。不但“菜鸟”们一头雾水,一些“老鸟”也只知道结果却说不出所以然来。我相... 阅读全文

posted @ 2015-04-27 21:01 wi100sh 阅读(295) 评论(0) 推荐(0) 编辑

bluetooth记录
摘要:1. 网址Client Characteristic Configurationhttps://developer.bluetooth.org/gatt/descriptors/Pages/DescriptorViewer.aspx?u=org.bluetooth.descriptor.gatt.c... 阅读全文

posted @ 2015-04-27 11:47 wi100sh 阅读(784) 评论(0) 推荐(0) 编辑

【转】Java 字符串常用操作(String类)
摘要:原文网址:http://www.cnblogs.com/freeabyss/archive/2013/05/15/3187057.html字符串查找String提供了两种查找字符串的方法,即indexOf与lastIndexOf方法。1、indexOf(String s) 该方法用于返回参数字符串s... 阅读全文

posted @ 2015-04-26 21:58 wi100sh 阅读(436) 评论(0) 推荐(0) 编辑

【转】Java中字符串中子串的查找共有四种方法(indexof())
摘要:原文网址:http://wfly2004.blog.163.com/blog/static/1176427201032692927349/Java中字符串中子串的查找共有四种方法,如下:1、int indexOf(String str) :返回第一次出现的指定子字符串在此字符串中的索引。2、int ... 阅读全文

posted @ 2015-04-26 21:56 wi100sh 阅读(282) 评论(0) 推荐(0) 编辑

【转】BLE 学习记录
摘要:原文网址:http://m.blog.csdn.net/blog/chiooo/43985401BLE 学习记录ANROID BLE 开发,基于 bluetoothlegatt 分析mBluetoothAdapter = mBluetoothManager.getAdapter(); 得到 手机上蓝... 阅读全文

posted @ 2015-04-13 17:13 wi100sh 阅读(904) 评论(0) 推荐(0) 编辑

java记录
只有注册用户登录后才能阅读该文。

posted @ 2015-04-13 11:44 wi100sh 阅读(37) 评论(0) 推荐(0) 编辑

【转】Android中设置TextView的颜色setTextColor
摘要:原文网址:http://www.cnblogs.com/myphoebe/archive/2012/01/06/2314728.htmlandroid中设置TextView的颜色有方法setTextColor,这个方法被重载了,可以传入两种参数。publicvoidsetTextColor(intc... 阅读全文

posted @ 2015-04-12 22:31 wi100sh 阅读(366) 评论(0) 推荐(0) 编辑

【转】android颜色对应的xml配置值
摘要:原文网址:http://www.cnblogs.com/etgyd/archive/2011/04/02/2003778.htmlandroid颜色对应的xml配置值#FFFFFF#FFFFF0#FFFFE0#FFFF00#FFFAFA#FFFAF0#FFFACD#FFF8DC#FFF5EE#FFF... 阅读全文

posted @ 2015-04-12 22:29 wi100sh 阅读(269) 评论(0) 推荐(0) 编辑

【转】color颜色十六进制编码大全
摘要:原文网址:http://blog.csdn.net/coder_pig/article/details/18262105最近刚开始学web,发现好的颜色搭配可以让自己的网页更加美观,中午不想做事,就无聊滴花了两个小时测试了所有颜色的编码,总结如下新手没有什么吊炸天的技术,仅仅是一份辅助的文档,有兴趣... 阅读全文

posted @ 2015-04-12 22:27 wi100sh 阅读(7370) 评论(0) 推荐(0) 编辑

【转】Usage of sendBroadcast()
摘要:原文网址:http://stackoverflow.com/questions/4883079/usage-of-sendbroadcastsendBroadcast() - Should it be called inside Activity? I am trying to call sendB... 阅读全文

posted @ 2015-04-12 17:22 wi100sh 阅读(484) 评论(0) 推荐(0) 编辑

【转】Android4.3 蓝牙BLE初步
摘要:原文网址:http://www.cnblogs.com/savagemorgan/p/3722657.html一、关键概念:Generic Attribute Profile (GATT)通过BLE连接,读写属性类小数据的Profile通用规范。现在所有的BLE应用Profile都是基于GATT的。... 阅读全文

posted @ 2015-04-11 10:09 wi100sh 阅读(209) 评论(0) 推荐(0) 编辑

【转】android中重复连接ble设备导致的连接后直接返回STATE_DISCONNECTED的解决办法---不错不错,重新连接需要花费很长的时间
摘要:原文网址:http://bbs.eeworld.com.cn/thread-438571-1-1.html/* * 通过使用if(gatt==null)来判断gatt是否被创建过,如果创建过就使用gatt.connect();重新建立连接。 * 但是在这种情况... 阅读全文

posted @ 2015-04-11 09:58 wi100sh 阅读(1867) 评论(0) 推荐(0) 编辑

【转】推荐--《Android深入浅出》----不错
摘要:原文网址:http://www.cnblogs.com/plokmju/p/Android_Book.html承香墨影推荐--《Android深入浅出》基本信息书名:Android深入浅出作者:张旸 著页数:661出版社:机械工业出版社; 第1版 (2014年4月17日)语种:简体中文ASIN:B0... 阅读全文

posted @ 2015-04-01 23:03 wi100sh 阅读(1910) 评论(0) 推荐(0) 编辑

【转】google chrome如何设置主页
摘要:原文网址:http://jingyan.baidu.com/article/8275fc86bf916c46a13cf666.htmlgoogle chrome是一款拥有众多优秀插件的浏览器,是我们最喜欢的浏览器之一,下面我们来看看chrome浏览器如何设置百度、hao123、2345、360导航等... 阅读全文

posted @ 2015-04-01 22:35 wi100sh 阅读(457) 评论(0) 推荐(0) 编辑

【转】Chrome保存mhtml网页文件的方法 – 无需任何插件,完美!
摘要:原文网址:http://www.ihacksoft.com/chrome-save-mht.html在 Chrome 地址栏中键入“chrome://flags”,回车,这是一个 Chrome 的功能配置页面,项目比较多,我们通过 Ctrl+F 来搜索“mhtml”,找到“将网页另存为 MHTML”... 阅读全文

posted @ 2015-04-01 22:30 wi100sh 阅读(1069) 评论(0) 推荐(0) 编辑

【转】Android--广播BroadcastReceiver
摘要:原文网址:http://www.cnblogs.com/plokmju/p/android_broadcastreceiver.html前言 Android四大组件,Activity、Service、ContentProvider、BroadcastReceiver,除了BroadcastRece... 阅读全文

posted @ 2015-04-01 21:56 wi100sh 阅读(224) 评论(0) 推荐(0) 编辑

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示