python S60应用程序访问
我为我的 Symbian 手机(诺基亚 5800)编写了简单的应用程序。让我们这样说:
import appuifw
appuifw.app.screen = "normal"
appuifw.app.title = u'Group 13'
colors = [u"red", u"green", u"blue", u"brown"]
index = appuifw.selection_list(colors, 1)
if index == 2:
print "blue is correct!"
elif index != None:
print "Bzz! " + colors[index] + " is not correct"
然后我用“Python for S60”(ensymble)将其转换为.sis文件。
但是当我安装它时,它要求我允许应用程序使用连接应用程序、读取用户数据、写入用户数据、使用相机等(应用程序访问)。
有什么方法可以摆脱所有这些功能,或者不让它访问它?
谢谢。
I wrote simple application for my Symbian mobile(Nokia 5800). Let's say it something like this:
import appuifw
appuifw.app.screen = "normal"
appuifw.app.title = u'Group 13'
colors = [u"red", u"green", u"blue", u"brown"]
index = appuifw.selection_list(colors, 1)
if index == 2:
print "blue is correct!"
elif index != None:
print "Bzz! " + colors[index] + " is not correct"
Then I convert it with "Python for S60"(ensymble) to make .sis file.
But when I install it, it asks me to allow application to use connectivity application, read user data, write user data, use camera and etc(Application access).
Is there any way to get rid of all of that functions, or not letting it access it?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
找到解决方案了!
在 ensymble 中,有包含功能的附加选项。
默认情况下,生成的 sis 文件具有以下功能:LocalServices、NetworkServices、ReadUserData、WriteUserData、UserEnvironment
如果应用程序需要一组不同的功能,则可以使用指定--caps 选项。
--caps=Cap1+Cap2+...
-b Cap1+Cap2+...
因此,当您创建 .sis 文件时,您可以选择哪些功能要包含
附加信息,请访问:http://www.developer.nokia.com/社区/Wiki/功能
Found the solution!
In ensymble there are Additional options which includes capabilities.
By default, the sis files are generated with the following capabilities: LocalServices, NetworkServices, ReadUserData, WriteUserData, UserEnvironment
If a different set of capabilities is needed for the application, then it can be specified using the --caps option.
--caps=Cap1+Cap2+...
-b Cap1+Cap2+...
So when you create .sis file you can chose which capabilities to include
Addition information can be found here: http://www.developer.nokia.com/Community/Wiki/Capabilities