界面: Activitypackage
com.example.serviceTest;import android.app.Activity;import
android.content.ComponentName;import android.content...
分类:
移动开发 时间:
2014-05-18 19:12:31
阅读次数:
377
通过本文你将了解:什么是AzureService Management REST
API如何获取微软Azure 订阅号如何获取Azure管理证书如何调用Azure Service ManagementREST
API什么是AzureService Management REST APIAzure S...
绑定服务:
用于间接调用服务里面的方法。如果调用者Activity被销毁了,服务也跟着销毁了,服务也会跟着销毁。开启服务:
不可以调用服务里面的方法。如果调用者的Activity退出了,服务还会长期在后台运行生命周期 ①单独调用 startService() - onCreate,
stopS...
分类:
移动开发 时间:
2014-05-18 18:56:02
阅读次数:
326
Notification的用法 --- 状态栏通知
发送一个状态栏通知必须的两个类:
1. NotificationManager --- 状态栏通知的管理类,负责发通知,清除通知等
NotificationManager : 是一个系统Service,必须通过 context.getSystemService(NOTIFICATION_SERVICE...
分类:
移动开发 时间:
2014-05-18 09:13:46
阅读次数:
471
安装STS报错
1、具体报错如下
Failure to transfer org.codehaus.plexus:plexus-archiver:jar:1.2 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted...
分类:
其他好文 时间:
2014-05-18 07:41:32
阅读次数:
230
本文参考《Android系统源代码情景分析》,作者罗升阳
一、测试代码:
~/Android/external/binder/server
----FregServer.cpp
~/Android/external/binder/common
----IFregService.cpp...
分类:
移动开发 时间:
2014-05-18 06:08:05
阅读次数:
494
本文参考《Android系统源代码情景分析》,作者罗升阳
一、测试代码:
~/Android/external/binder/server
----FregServer.cpp
~/Android/external/binder/common
----IFregService.cpp
...
分类:
移动开发 时间:
2014-05-18 02:54:20
阅读次数:
552
@Component :标注一个普通的Spring Bean类。@Controller:
标注一个控制器组件类。@Service:标注一个业务逻辑组件类。@Repository:标注一个DAO组件类。首先要使用注解需要配置Spring自动扫描的包
将ScheduleDaoImp类注入在Spring....
分类:
编程语言 时间:
2014-05-18 02:24:39
阅读次数:
367
安装完Linux
Mint后,发现系统中竟没有中文输入法,语言支持之后自动更新过程中有些安装包下载失败。可以采取下面的方法安装上中文输入法。1. 安装iBus:sudo
add-apt-repository ppa:shawn-p-huang/ppasudo apt-get updatesudo a...
分类:
系统相关 时间:
2014-05-17 23:12:51
阅读次数:
441