一个定时开启和关闭 Airplane Mode 的App~~
Attachedis an application to put the iPhone intoairplane mode on a user definednightly schedule. The software has beentested for several months and itis ready for a wider audience.
附件里面是一个可以让用户自定义晚间开启airplane mode的软件。他已经被测试了几个月,现在是时候让更多的人测试一下了。
Thecomponents are a daemon invoked by launchd, a launchd plist and aGUIpreferences application (screen shot below) to permit the usertoenable/disable the daemon, as well as configure the enable anddisableairplane mode times. Note that the enable / disable event alwaysoccurson the hour.
其组成部分为,一个被launchd调用的后台守护程序,一个 launch plist 和一个用户界面使得用户可以开启/关闭后台守护程序,而且可以设定开启/关闭的时间。注意一点,开启/关闭只能设定在整点。
The version attached only supports iPhone version 1.1.3 or 1.1.4.
这个版本只适用于1.1.3 和 1.1.4。
To install the software unzip the attached zip and upload the files to the iPhone with the following locations,
安装顺序如下,解压附件,上传里面的文件到ip指定的位置。
AirplaneMode -> /sbin
com.mode.plist -> /Library/LaunchDaemons
AutoMode.app -> /Applications
com.mode.tz.plist -> /Library/LaunchDaemons
Oncethe code is copied up to the iPhone, restartSpringBoard to get thepreferences application to show up. Fire up thepreferences app, set theenable / disable times, select enable andpress save.
一旦完成安装,重启springboard使得软件出现在桌面,然后就可以设定时间和启用软件了。
Inlimited alpha testing to date only one issue came up. If you findthatthe enable setting does not save, check that AirplaneMode hasexecutepermission. If the preferences application refuses to execute,mostlikely execute permission was lost in uploading the app to thephone.
有一个小问题出现在有限的测试阶段,如果你的设置不能被保存,那么重新设定软件的权限。如果软件不能运行,很可能权限在上传的时候丢失了。
我已经安装,没什么问题,最好上传以后 在terminal里面重新设置软件权限775.废话少说,上图,附件伺候~~

纯属转贴,绝非原创~~

更新一次~下过的重新下载~~更新了timezone的问题~当系统更细timezone, 软件也会随着更新~~
更新 1:
chmod +x /Applications/Automode.app/Automode
cd /sbin (选择目录,winscp不用敲命令也就是点击进入该目录)
chmod -R 755 /sbin/AieplaneMode (更改属性0755,winscp不用敲命令也就是点鼠标右键属性里找)
chown -R mobile /sbin/AirplaneMode
更新 2:
等了20分钟,等到整点~~
,功能完全正常,整点变Airplane Mode,大家放心使用~哈哈~

====================================================================================================
更新 2006提供的pxl文件下载~~各取所需啊~~

附件是死活传不上去了~~需要的去第六页的56楼~2006回复的帖子里下载吧~~

====================================================================================================
(11/04)更新~~~
看大家好像问题多多,再更新一次~~1.4版,比下面那个pxl的要新一点。
好像大多的问题都是1.1.4版的,不过我还没升~~所以也没法试,一般来说,保存不了,或是运行不了都是权限的问题~~一定要是755~
给大家一个scp的命令,会用的试试。。。
scp AirplaneMode root@ipaddr:/sbin
scp com.mode.plist root@ipaddr:/Library/LaunchDaemons
scp com.mode.tz.plist root@ipaddr:/Library/LaunchDaemons
scp -r AutoMode.app root@ipaddr:/Applications
[
本帖最后由 flamestar 于 2008-4-11 18:25 编辑 ]