今天在做Android电子词典的时候,数据库打不开,报错为:Could not open
the database in read/write mode。后来才发现犯了一个低级错误,没有设置权限。添加权限即可:希望大家不要犯这种白痴错误。
分类:
数据库 时间:
2014-05-15 17:22:42
阅读次数:
386
Sometime, we need to open a file or buffer which name began with current word in emacs.
Here I give the solution as follows.
(provide 'quick-file-jump)
(defun ab/quick-buffer-jump ()
"Quickly jum...
分类:
其他好文 时间:
2014-05-15 15:02:20
阅读次数:
373
使用open()方法打开磁盘文件时,默认的访问模式为r,表示读,不需要特意指定;要打开一个文件完成写,需要指定模式w,如data=open("sketch.txt","w"),如果该文件已经存在则会清空现有内容;要追加到一个文件,需要指定模式a,不会清空现有内容;要打开一个文件完成写和读,且不清空现...
分类:
编程语言 时间:
2014-05-15 11:30:22
阅读次数:
429
1. 呼叫虚拟设备/向虚拟设备发送短信 1. 在eclipse中点击:
Window--->Open Perspective--->DDMS,选择Emulator Control选项; 2. 在Telephony
Actions选项的Incoming number输入要模拟的呼入号码,选择Voi.....
分类:
移动开发 时间:
2014-05-15 10:58:45
阅读次数:
327
The modernization of world had led to coming of
many businesses online. Businesses have realized the importance of coming up
online. That is the main ...
分类:
其他好文 时间:
2014-05-15 10:14:55
阅读次数:
364
下面的测试来至于今天群里面一个朋友,open数据库的时候遇到了ORA-006004194错误,这个错误比较常见,并且处理方法也很简单。但是在修改参数的时候,不知道怎么去查看UNDO段的名字。下面简单的测试一把 欢迎大家加入ORACLE超级群:17115662免费解决各种ORACLE问题,以后BLO..
分类:
数据库 时间:
2014-05-15 08:27:17
阅读次数:
435
需要导入dom4j的包,以提供dom4j的支持。
package day06_parser.dom4j;
/**dom4j是一个Java的XML API,类似于jdom,用来读写XML文件的
DOM4J是dom4j.org出品的一个开源XML解析包,它的网站中这样定义:
Dom4j is an easy to use, open source library for working with ...
分类:
其他好文 时间:
2014-05-15 08:00:47
阅读次数:
215
其实关键就是window.opener,这个东西就是如何在子窗口页面中,访问父窗口页面的文档的方法,在frame中,是parent、top这类的东西,知道了这个东西,剩下想做点什么就好说了。
父窗口操作子窗口的话,就利用open的返回值就可以了。 father.htm: 我是父页面。child.ht...
分类:
其他好文 时间:
2014-05-15 07:43:22
阅读次数:
232
1 sourceinsight screen font 的默认字体是Verdana的,它是一直变宽字体。在Document style中可以将字体改为定宽的Courier
2 document
options->auto indent 去掉indent Open Brace和Indent Close Brace的效果: 继上一段,在相对缩进行里, 如果输入"{"或"}", 则自动和上一行...
分类:
其他好文 时间:
2014-05-15 04:33:36
阅读次数:
330
描述把文本读出的API,在手机上测试知识支持英文,中文库应该没有所以不支持
/*
* Copyright (C) 2009 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file exce...
分类:
移动开发 时间:
2014-05-14 21:34:49
阅读次数:
435