码迷,mamicode.com
首页 >  
搜索关键字:custom    ( 2797个结果
Android broadcast
发送广播并且接受,发送两个广播 Intent intent = new Intent(); intent.setAction("com.wxq.CUSTOM_INTENT"); sendBroadcast(intent); intent.setAction("com.wxq.test2"); sendBroadcast(intent); 接收方 @Override p...
分类:移动开发   时间:2014-10-28 21:52:32    阅读次数:202
【十一】注入框架RoboGuice使用:(Your First Injection into a Custom View class)
上一篇我们简单的介绍了一下RoboGuice的使用(【十】注入框架RoboGuice使用:(Your First Testcase)),今天我们来看下自定义View的注入(Custom View)。           在开始本文之前,你先要熟悉普通Java对象的注入(点击进入)。在RoboGuice 3.0版本中你同样给自定义View(Custom View)进行诸如。 class...
分类:其他好文   时间:2014-10-28 21:37:48    阅读次数:202
[原创] web_custom_request 与 Viewstate
在用loadrunner对.net编写的website进行性能测试时,经常会遇上一些hidden fields,例如,CSRFTOKEN、VIEWSTATE、EVENTVALIDATION等,而对于这些hidden field,有时候需要进行前后关联。但是最近发现一个很奇怪的现象:已经通过web.....
分类:Web程序   时间:2014-10-28 19:36:54    阅读次数:257
[Legacy Wi-Fi]如何设定WIFI Channel
如何屏蔽14信道[SOLUTION]alps\mediatek\custom\{ProjectName}\cgen\cfgdefault\CFG_WIFI_Default.hWIFI_CFG_PARAM_STRUCT stWifiCfgDefault ={0x0103, /* Own Version...
分类:其他好文   时间:2014-10-28 15:06:33    阅读次数:305
【八】注入框架RoboGuice使用:(Your First Injected Fragment)
上一篇我们简单的介绍了一下RoboGuice的使用(【七】注入框架RoboGuice使用:(Your First Custom Binding)),今天我们来看下fragment的注解    (一):简介:和Activity一样,我们也同样可以在Fragment中使用注解,你需要一下的步骤.           ①:编写一个继承与RoboFragment的Fragment;       ...
分类:其他好文   时间:2014-10-27 19:32:32    阅读次数:133
【七】注入框架RoboGuice使用:(Your First Custom Binding)
上一篇我们简单的介绍了一下RoboGuice的使用(【六】注入框架RoboGuice使用:(Singletons And ContextSingletons)),今天我们来看下自定义绑定(binding)。            (一):使用自定义绑定,我们可以绑定一个类或者一个接口到一个子类,实例或者内容提供者(provinders).          现在我们假设: publi...
分类:其他好文   时间:2014-10-27 17:36:51    阅读次数:149
在4.0以上自定义标题栏
需要设置的几句代码: private void setCustomTitle() { requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layout.main); getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.la...
分类:其他好文   时间:2014-10-27 12:48:38    阅读次数:185
HTML5中custom data-*特性与asp.net mvc 3 表单验证
在Asp.net MVC Web App中原来我们对表单有验证,需要写这个js与Jquery Validation 插件配合, 回顾一下,看下面的代码: LoginWithModel ...
分类:Web程序   时间:2014-10-23 15:47:27    阅读次数:323
Data Types
// DATA TYPES//// Built-In Types(Simple)// -Numeric// -Character// -Boolean//// Custom Types(Complex)// -Structures// -Classes// -Interfaces// -Enumer...
分类:其他好文   时间:2014-10-22 21:57:17    阅读次数:386
android中title样式问题
============问题描述============ 要在title栏里设置一个button,新建了title.xml,也在OnCreate方法里调用了requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layo...
分类:移动开发   时间:2014-10-22 01:05:18    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!