现在开发中的功能需要直接跳转到拨号、联系人、短信界面等等,查找了很多资料,自己整理了一下。 首先,我们先看拨号界面,代码如下: Intent intent =new Intent(); intent.setAction("android.int...
分类:
移动开发 时间:
2015-05-26 14:01:14
阅读次数:
225
修改方式很简单。。。其实这些文件都有,只需要在配置文件内添加上就可以了。
添加方式:
找到openwrt交叉编译环境,然后
cd staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/pkginfo/
对libc.provides进行修改,在最后添加这两个文件名称,如下:...
分类:
编程语言 时间:
2015-05-25 18:51:20
阅读次数:
2016
Openwrt /lib/functions/procd.sh脚本是在/sbin/procd进程启动后,将会对hotplug实现进行监听,当有hotplug的event时,将会使用hotplug.json,执行/etc/hotplug.d/下与event对应的脚本文件[root@PandoraBox:/lib/functions]#cat /lib/functions/procd.sh
# pro...
分类:
其他好文 时间:
2015-05-25 18:41:28
阅读次数:
2238
http://blog.163.com/l1_jun/blog/static/14386388201441344612/http://blog.chinaunix.net/uid-25073805-id-2984335.htmlhttp://jingyan.baidu.com/article/948...
分类:
其他好文 时间:
2015-05-24 17:03:12
阅读次数:
152
$Id$23OpenWRT specific README4=======================56So, you want to run wifidog on one of linksys's WRT wireless routers!78OpenWRT is the embedded ...
分类:
其他好文 时间:
2015-05-24 12:46:54
阅读次数:
203
nodogsplash是附加于openwrt的WIFI热点认证程序,工作在路由器下的局域网内,接管路由器上多个热点的认证服务。nodogsplash是修改的wifidog,不需要服务器,配置简单,轻巧方便。openwrt的路由器只有一个,测试中打开nodogsplash会耽误其他人上网。所以单独开启...
分类:
其他好文 时间:
2015-05-22 23:56:52
阅读次数:
194
一、IP拨号器
activity_main.xml文件:
只有一个输入ip的文本框和一个保存按钮,
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_wi...
分类:
移动开发 时间:
2015-05-22 22:40:40
阅读次数:
193
Openwrt中的sysupgrade脚本提供了固件升级的快捷方式,该脚本位于: /sbin/sysupgrade
脚本内容: #!/bin/sh
. /lib/functions.sh
. /lib/functions/system.sh# initialize defaults
RAMFS_COPY_BIN="" # extra programs for temporary ra...
分类:
其他好文 时间:
2015-05-22 13:36:34
阅读次数:
584
Openwrt启动脚本的运行分为两个阶段,
preinit完成系统的初始化,
rcS依次启动了各个应用程序模块。执行/etc/preinit脚本之后boot_hook_init preinit_essential
boot_hook_init preinit_main
boot_hook_init failsafe
boot_hook_init initramfs
boot_hook_init...
分类:
其他好文 时间:
2015-05-22 11:33:21
阅读次数:
777
opkg updateopkg install ddns-scripts luci-app-ddns用上面的命令下载ddns脚本,编辑配置文件vi /etc/config/ddns配置如下config service "myddns" ...
分类:
系统相关 时间:
2015-05-22 07:07:24
阅读次数:
498