Traceback (most recent call last): File "launcher.py", line 43, in <module> execfile('default.py', default_namespace) File "default.py", line 12, in <module> p.set_requestors([{"type":"service","format":"application","data":"test_app"}]) File "C:/2gps_new_225556\positioning.py", line 88, in set_requestors SymbianError: [Errno -46] KErrPermissionDenied
Сама программа простая показывает координаты gps:
import appuifw, e32 import positioning as p appuifw.app.title = u'GPS send' appuifw.app.body = t=appuifw.Text() i1=270526860 #A-GPS p.select_module(i1) p.set_requestors([{"type":"service","format":"application","data":"test_app"}]) t.add(u'module_'+unicode(i1)+u'\n') t.add(unicode(i)+u'\n') a=p.position() t.add(unicode(a['position']['latitude'])+u'-'+unicode(a['position']['longitude'])+u'\n') e32.ao_sleep(20) t.add(u'end')
Конвертирую программой Pys60 App. packager
2.0.0 python