Subject: [技巧] 从Symbian 9设备的文件管理器运行EXE文件
admin
Administrator
Rank: 9Rank: 9Rank: 9



UID 1
Digest Posts 0
Credits 2856
Posts 52
Money 11
Reading Access 200
Registered 8-3-2007
Status Offline
Post at 26-3-2007 17:34  Profile | Blog | P.M. 
从Symbian 9设备的文件管理器运行EXE文件

Symbian 9 设备将所有的Exe文件定位与“/sys/bin”文件夹下,大多数情况下,我们不能从文件管理器来访问它。在这里有一个很好的方式来实现如何从一个S60 3rd的设备上启动exe文件。

当我们初次拿到S60 3rd设备,准备移植程序到这个平台时,我们多次发现一些问题。在PKG文件肿,会发现一些错误,exe文件被写入错误的文件夹。在之前的版本中,exe文件放在“/sys/bin“目录下,使用我们的SysExplorerEric Bustarret开发的文件管理系统),我们尝试启动那些可见的exe文件,我们惊奇的发现,它启动了,相当与在“/sys/bin”下。

因此,如果你真的需要启动exe文件:
1。拷贝“/sys/bin”下的exe文件
2。复制它到一个可见目录
3。使用SysExplorer,到该目录运行它
Top
admin
Administrator
Rank: 9Rank: 9Rank: 9



UID 1
Digest Posts 0
Credits 2856
Posts 52
Money 11
Reading Access 200
Registered 8-3-2007
Status Offline
Post at 26-3-2007 17:35  Profile | Blog | P.M. 
Running an EXE from a file explorer on Symbian 9 device

All EXE files on a Symbian 9 device shall be located in "/sys/bin", which is, in most of the case, not accessible from a File Explorer. There is however a nice side effect which would allow you to start your EXE file using a File Explorer on a S60 3rd Edition device.

We discovered this very dummy trick some times ago, when we initially received our first S60 3rd edition device, while porting one of our application to this platform. There was an error in a PKG file and our EXE has been written to the device to a wrong directory (any directory publicly accessible will do it). A previous version of the EXE was also located in /sys/bin. Using our SysExplorer, we tried to launch the publicly visible EXE file. And to our big surprise, it started its equivalent located in /sys/bin.

So, if you really need to start your own exe:
copy it in /sys/bin as usual.
duplicate it (or any other exe, only the name is meaningful) in a publicly visible directory.
using SysExplorer (not tried with other file explorer, but it does not work with the built-in one), go to the public directory and open the visible EXE file.

You should have started your /sys/bin/ Exe file.... Weird, isn’t it!

原文地址
Top
 


All times are GMT+8, the time now is 9-9-2010 20:30

CopyRight © Symbianx.cn 2007 Powered By Discuz! 5
Clear Cookies - Contact Us - Symbian OS系统[S60,UIQ]开发中文翻译论坛 - Archiver

本站原文版权归原文作者所有,本站译文版权归本站所有,如需转载请注明原文和译文出处,否则追究法律责任