码迷,mamicode.com
首页 >  
搜索关键字:service intent must    ( 30104个结果
安卓函数(1)
startActivityForResult(Intent intent, int requestCode)onActivityResult(int requestCode, int resultCode, Intent data)setResult(int resultCode, Intent d...
分类:移动开发   时间:2014-05-15 15:48:49    阅读次数:372
android点滴之PendingIntent的使用
一概念 PendingIntent就是一个可以在满足一定条件下执行的Intent,它相比于Intent的优势在于自己携带有Context对象,这样他就不必依赖于某个activity才可以存在。 它和Intent的主要区别在于Intent的执行立刻的,而pendingIntent的执行不是立刻的。pendingIntent执行的操作实质上是参数传进来的Intent的操作,但是使用pendin...
分类:移动开发   时间:2014-05-15 07:23:21    阅读次数:308
Ambari源码分析之Resource.Type与PropertyProvider对应关系
PropertyProvider是取得监控指标的组件,下面给出Resource.Type与PropertyProvider对应关系: Resource.Type PropertyProvider Cluster GangliaReportPropertyProvider Service NagiosProperty...
分类:其他好文   时间:2014-05-15 07:22:40    阅读次数:257
android启动之zygote启动
上一博文介绍了init进程启动,在解析init.rc 的时候会把zygote加到service列表中,并最终启动,zygote启动的实际是app_process程序。zygote是init进程的子进程。在Android系统中,所有的应用程序以及系统服务,包括SystemServer都是由Zygote fork出来的,这就是为什么它叫zygote(受精卵)的原因。我们再来看一下.rc文件的描述:...
分类:移动开发   时间:2014-05-15 06:11:35    阅读次数:383
LeetCode-001 Two Sum
LeetCode-001 Two Sum Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up to the target, where index1 must be less than index2...
分类:其他好文   时间:2014-05-15 04:34:50    阅读次数:293
Intent传递简单对象与集合
我们在Intent传递传递对象,可以有三种方式,实现Serializable接口、实现Parcelable接口,使用json格式序列化与反序列化。   在此我们使用第二方式,现实Parcelable接口,实现Parcelable需要以下操作。    1.writeToParcel 方法:该方法将类的数据写入外部提供的Parcel中。    2.describeContents 方法:返回内容...
分类:其他好文   时间:2014-05-15 04:25:44    阅读次数:245
微软实战训练营(X)重点班第(1)课:SOA必备知识之ASP.NET Web Service开发实战
微软实战训练营 上海交大(A)实验班、(X)重点班 内部课程资料 链接:http://pan.baidu.com/s/1jGsTjq2 密码:0wmf...
分类:Web程序   时间:2014-05-15 03:22:20    阅读次数:394
android点滴之标准SD卡状态变化事件广播接收者的注册
目前最完整的,需要注册的动作匹配如下: IntentFilter intentFilter = new IntentFilter(Intent.ACTION_MEDIA_MOUNTED); intentFilter.addAction(Intent.ACTION_MEDIA_UNMOUNTED); intentFilter.addAction(Intent.ACT...
分类:移动开发   时间:2014-05-14 14:45:27    阅读次数:361
nopcommerce框架DependencyRegistrar一步注册接口实现类
nop中公共接口为IRepository,该接口主要在Service接口中使用,条件是要在IOC中注入所有的IRepository实现类。这里IRepository的实现类就是EfRepository,在这里IRepository和EfRepository都为泛型,所以在把EfRepositor.....
分类:其他好文   时间:2014-05-14 12:08:18    阅读次数:312
Java WebService 开发简单实例
Web Service 是一种新的web应用程序分支,他们是自包含、自描述、模块化的应用,可以发布、定位、通过web调用。Web Service可以执行从简单的请求到复杂商务处理的任何功能。一旦部署以后,其他Web Service应用程序可以发现并调用它部署的服务。 实际上,WebServi...
分类:编程语言   时间:2014-05-14 11:05:40    阅读次数:523
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!