You Are Here:

Community: Developer Discussion Boards

#1 Old Question access problem - 2008-05-06, 13:22

Join Date: Dec 2007
Posts: 6
nimrot
Offline
Registered User
Hi everone!

We are currently trying to write a C++ extension for Python which uses the accelerometer that's build into the Nokia N95. The code has been tested on a Windows PC and it's working just fine. The next step was to try and port it to Symbian so that we can actually run it on our Nokia N95. Again, compiling worked just fine and py2sis produced a sis file.

However when we tried to install the file on the device we got the following error message: "Required Application acces not granted". So we did the obvious thing and sent the sis file to Nokia in order to get it signed via symbiansigned.com (we used the "open signed online" option and checked all the available capabilities). Unfortunately that didn't help very much, either. We are still getting the error message and after hours of using Google we are out of ideas.

We also wrote a little HelloWorld-Extension that doesn't use any of the extended capabilities but we still got the error (even after we got it signed from Nokia as well).

It would be really great if anyone could give us a hint on how to solve this problem since we're totally stuck.

Regards,

Tobi & Dominik
Reply With Quote

#2 Old Re: access problem - 2008-05-07, 10:27

Join Date: Feb 2008
Posts: 2,542
Location: Bhavnagar, Gujarat, India
Send a message via Yahoo to gaba88 Send a message via Skype™ to gaba88
gaba88's Avatar
gaba88
Offline
Forum Nokia Champion
hi nimrot
i am not having a great hand at the extensions but i may guess that the problem might be with compiling all the files.
have a feedback.


Gargi Das- http://gargidas.blogsot.com

Forum Nokia Python Wiki


Learn Python at http://mobapps.org/PyS60
Reply With Quote

#3 Old Re: access problem - 2008-05-07, 11:18

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by nimrot View Post
C++ extension for Python which uses the accelerometer
Not my business, but doesn't Sensor API work for you? Anyway, back to issues...

Quote:
Originally Posted by nimrot View Post
code has been tested on a Windows PC and it's working just fine.
How do you test sensor in Windows PC? Would be useful to know, so far I've written Sensor API stuff blindly!

Quote:
Originally Posted by nimrot View Post
when we tried to install the file on the device we got the following error message: "Required Application acces not granted".
Check your sis at this site:

http://www.whythefuckwontmysisfileinstall.com/

Cheers,

--jouni
Reply With Quote

#4 Old Re: access problem - 2008-05-09, 12:09

Join Date: Dec 2007
Posts: 6
nimrot
Offline
Registered User
Hello jouni and gaba88,

we don't use the Python Sensor API, because we are trying to understand how to code C++ extensions. We found some good information about using the accelerometer with C++, so we took this as a starting point.

We did not test the code using the accelerometer, but our little HelloWorld-extension, where we encountered the same error, unfortunately.

The site http://www.whythefuckwontmysisfileinstall.com/ did not help us. We uploaded our sis-file and the debugger reported only one style error, but nothing severe :-(

@gaba88: what do you mean with "compiling all the files"? Our HelloWorld-Extension seems to work on PC, so shouldn't there be all files compiled?

Thanks a lot for your help so far!

Dominik
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
The problem when creating network access point by referance example IAPSampleEx ncljh General Symbian C++ 0 2008-01-29 13:53
Java Access Point Problem viren61 Mobile Java Networking & Messaging & Security 2 2008-01-09 10:45
access point on real device problem morost Symbian Networking & Messaging 8 2007-10-25 13:25
Access point problem in N95 Superior Symbian Networking & Messaging 2 2007-06-05 08:05
Problem with Direct screen access and incoming calls janiorca General Symbian C++ 3 2004-12-21 04:53

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia