项目需要:实现一个定时提醒的功能 查阅资料知道,需要使用AlarmManager AlarmManager介绍: AlarmManager是Android中常用的一种系统级别的提示服务,在特定的时刻为我们广播一个指定的Intent。简单的说就是我们设定一个时间,然后在该时间到来时,AlarmMana ...
分类:
其他好文 时间:
2017-01-26 12:30:14
阅读次数:
498
Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng ...
分类:
其他好文 时间:
2017-01-26 01:07:28
阅读次数:
198
<!DOCTYPE html><html><head lang="en"> <meta charset="UTF-8"> <title></title> <style type="text/css"> *{ margin: 0; padding:0 } html,body{ height: 100% ...
分类:
Web程序 时间:
2017-01-25 07:44:17
阅读次数:
252
Just like in the command line, you can pipe a property through a filter to get a desired result. You can even chain them together! ...
分类:
Web程序 时间:
2017-01-20 20:29:28
阅读次数:
491
工厂方法模式(Factory Method): 定义:Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a cla ...
分类:
其他好文 时间:
2017-01-19 19:35:20
阅读次数:
178
网上给出了很多解决方法都为解决,现分享如下: win7 64位系统,apache24,PHP5.6.6。除了将PHP.ini中的;extension=php_curl.dll前面的";"去掉,还需要如下操作,I had to also also copy libssh2.dll into my Ap ...
You need to define a <template> to be able to use it elsewhere in your app as a TemplateRef. You can store these TemplateRefs in a Service and then ac ...
分类:
其他好文 时间:
2017-01-16 22:40:05
阅读次数:
226
适配器模式的定义 适配器模式(Adapter Pattern)的定义如下: Convert the interface of a class into another interface clients expect.Adapter lets classes work together that c ...
分类:
其他好文 时间:
2017-01-14 07:21:37
阅读次数:
194
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.分析:就是使用两个... ...
分类:
其他好文 时间:
2017-01-04 00:21:58
阅读次数:
206
Merge two sorted (ascending) linked lists and return it as a new sorted list. The new sorted list should be made by splicing together the nodes of the ...
分类:
其他好文 时间:
2017-01-03 08:11:47
阅读次数:
178