之前修改了Android的系统源码的framework层代码,定制ROM。通过make之后会生成三个镜像文件userdata.img、system.img、ramdisk.img三个文件。这个时候我们需要把SDK自带的模拟器中的系统替换成我们自己的。
实现步骤如下所示:
1. 由于我之前在系统的/data文件下面建了一个自己的文件夹myfile,在myfile文件夹下建了一个...
分类:
移动开发 时间:
2014-07-22 23:02:33
阅读次数:
437
#include #include #include #include #include
#define BUFF_LEN 1024using namespace std;long file_len(string file_name);void
init(string file_name){}voi...
分类:
其他好文 时间:
2014-07-22 23:00:54
阅读次数:
190
一,Linq to EF using System;using
System.Runtime.CompilerServices;using System.Linq;using System.Data; namespace
EntityframeworkSQL{ class Program { sta...
分类:
数据库 时间:
2014-07-22 23:00:53
阅读次数:
553
using System;using System.Collections.Generic;using
System.IO;using System.Linq;using System.Text;using
System.Threading.Tasks;namespace 读文件案例{ cla...
分类:
其他好文 时间:
2014-07-22 22:59:55
阅读次数:
241
原pom.xml配置文件: 4.0.0 com.my.helloworld hello-world
1.0-SNAPSHOT Maven Hello World Project junit jun...
分类:
其他好文 时间:
2014-07-22 22:59:36
阅读次数:
374
用sudo时提示"xxx is not in the sudoers file. This
incident will be
reported.其中XXX是你的用户名,也就是你的用户名没有权限使用sudo,我们只要修改一下/etc/sudoers文件就行了。
下面是修改方法:1)进入超级用户模式。也...
分类:
其他好文 时间:
2014-05-01 22:46:43
阅读次数:
465
从文本文件添加到数据库用户表的记录(有两个文件:frmMain.cs SqlHelper.cs
)//FrmMain.cs//作者:Meusing System;using System.Collections.Generic;using
System.ComponentModel;using Sy...
分类:
数据库 时间:
2014-05-01 22:45:21
阅读次数:
667
SQL还原时出现下面的错误,System.Data.SqlClient.SqlError:
尚未备份数据库 "***" 的日志尾部。如果该日志包含您不希望丢失的工作,请使用 BACKUP LOG WITH NORECOVERY 备份该日志。请使用
RESTORE 语句的 WITH REPLACE 或...
分类:
数据库 时间:
2014-05-01 22:26:24
阅读次数:
499
1: 新项目创建 1.下载最新Python,安装 2.解压引擎包
3.运行终端,切换到引擎目录(直接cd拖动文件夹到光标即可得到路径) 4.按照文档例子: $ cd cocos2d-x $ ./setup.py $
source FILE_TO_SAVE_S...
分类:
其他好文 时间:
2014-05-01 19:16:21
阅读次数:
319
~/.conkyrc# Conky, a system monitor, based on
torsmo## Any original torsmo code is licensed under the BSD license## All code
written since the fork of...
分类:
系统相关 时间:
2014-05-01 18:42:00
阅读次数:
580