本文代码以MTK平台Android 5.1为分析对象,与Google原生AOSP有些许差异,请读者知悉。
此图主要是根据Android源代码拨打电话流程来绘制,记录了电话拨打的主要过程:
参考博客:http://blog.csdn.net/yihongyuelan/article/details/45098339...
分类:
移动开发 时间:
2015-08-29 12:41:12
阅读次数:
905
在Android中adapter错误:The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not mo...
分类:
移动开发 时间:
2015-08-28 15:00:14
阅读次数:
160
1、下载64位:mongodb-win32-x86_64-enterprise-windows-64-2.6.4-signed.msi2、安装目录:将应用安装到此目录下面:C:\MongoDB\3、新建目录:C:\MongoDB\data\db 和 C:\MongoDB\data\log4、安装mo...
分类:
数据库 时间:
2015-08-26 13:41:03
阅读次数:
230
在上一篇的文章里,简单介绍了一些SpringMVC的一些简单使用方法。今天就来看看Mybatis。现在流行的Hibernate、Mybatis都是比较常见的ORM框架。什么是ORM呢,就是 Object Relational Mapping,对象关系映射,通俗点说,就是把对象映射成sql语句,在操作的时候,直接操作对象就可以了。了解过Hibernate的都知道,在做CRUD的时候,直接操作一个Mo...
分类:
编程语言 时间:
2015-08-25 12:05:28
阅读次数:
186
而 elasticsearch 可以很好的支持各种语言的全文检索,但我们暂时又不想切换到 elasticsearch 作为后端数据库。
当然,可以在 web 应用中存储数据的时候,再主动写一份到 elasticsearch,但这无疑污染了原有的业务逻辑。
在 IT 行业,只要有需求的地方,必然早已有了一堆好用或者不好用的开源轮子。
幸运地是,现在已经有了一些转换方案,可以将 mo...
分类:
数据库 时间:
2015-08-21 23:29:11
阅读次数:
315
1 #include 2 3 #define mo 10000 4 int ans[1000001]; 5 //这里高精度整数存储格式是:ans[0]存储位数,低位在前,高位在后,每一个ans[i]存储四位整数 6 7 void mul(int *,int); 8 void print_ar...
分类:
其他好文 时间:
2015-08-21 09:20:51
阅读次数:
169
EAIntroViewhttps://github.com/ealeksandrov/EAIntroViewThis is highly customizable drop-in solution for introduction views. Some features (remember, mo...
分类:
其他好文 时间:
2015-08-20 22:26:05
阅读次数:
294
一、物理备份(拷贝文件)#!/bin/sh
DATE=`date+%Y%m%d`
DEL_DATE=$(date-d‘-30days‘"+%Y%m%d")
HOST=10.10.17.27
PORT=27000
USER=admin
PASSWORD=123456
DATA_DIR="/data/mongodb/navy_db/db"
BACKUP_PATH="/data/mongodbbackup/$DATE"
date+%Y%m%d%H%M>>/data/log/mo..
分类:
数据库 时间:
2015-08-20 10:48:37
阅读次数:
130
05-图2. Saving James Bond - Easy Version (25)时间限制200 ms内存限制65536 kB代码长度限制8000 B判题程序Standard作者CHEN, YueThis time let us consider the situation in the mo...
分类:
其他好文 时间:
2015-08-19 19:23:30
阅读次数:
133
Given an array of integers, find out whether there are two distinct indicesiandjin the array such that the difference betweennums[i]andnums[j]is at mo...
分类:
其他好文 时间:
2015-08-19 07:04:29
阅读次数:
133