You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old [standbyapp replacement ;)] - 2008-12-10, 12:49

Join Date: Sep 2006
Posts: 148
w00k
Offline
Regular Contributor
hello dear pythoners.
i wrote: http://symbian-freak.com/sfmods/wook/imgz/1.png
it is my replacement for active standby, and i am planing to release it as soon as i debugg this issue.
im running python 1.4.4 on n81 with all-tcb-drm caps, and i got error when i import this module.
iv even0add caps to python scriptshell same as they are added to _keycapture.pyd and i still have error.

is there any way to fix this?
what caps i need?
lot of c++ apps use this sort of apps and dont need that much capabilities...

best regards and thank you

wook

edit: url fixed
Last edited by w00k : 2008-12-25 at 15:04.
Reply With Quote

#2 Old Re: [keycapture problems][info required] - 2008-12-10, 14:26

Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Hi,

I get a "404 Not Found" when I click the link you provided. So if possible, please describe the exact error you're getting.
Anyway, keycapture requires the SwEvent capability. Have you added that?
Reply With Quote

#3 Old Re: [keycapture problems][info required] - 2008-12-10, 14:59

Join Date: Sep 2006
Posts: 148
w00k
Offline
Regular Contributor
i get:
Code:
>>> import keycapture
Traceback (most recent call last):
  File "<console>", line 1, in ?
  File "c:\resource\site.py", line 97, in platsec_import
    return _original_import(name, globals, locals, fromlist)
  File "c:\resource\keycapture.py", line 19, in ?
    import _keycapture
  File "c:\resource\site.py", line 114, in platsec_import
    raise ImportError("Permission denied (error -46). Possible cause: Check that %s.pyd is compiled to have at least the same capabilities as this Python interpreter process."%name)
ImportError: Permission denied (error -46). Possible cause: Check that _keycapture.pyd is compiled to have at least the same capabilities as this Python interpreter process.
python script shell have same caps as _keycapture.pyd
and it return same error.

bogdan, thanx for reply, and SwEvent included too
Reply With Quote

#4 Old Re: [keycapture problems][info required] - 2008-12-10, 20:23

Join Date: Sep 2006
Posts: 148
w00k
Offline
Regular Contributor
seems like it wasnt up to keycapture.
when i added devcert caps to pykeylock it start working.
solved i think
Reply With Quote

#5 Old Re: [keycapture problems][info required] - 2008-12-11, 08:51

Join Date: Mar 2003
Posts: 937
Location: Espoo, Finland
JOM's Avatar
JOM
Offline
Forum Nokia Champion
Quote:
Originally Posted by w00k View Post
http://symbian-freak.com/sfmods/wook/imgz/1.png
it is my replacement for active standby, and i am planing to release it as soon as i debugg this issue.
Busy screen
Looking forward to see your Setting page(s)

Cheers,

--jouni
Reply With Quote

#6 Old Re: [keycapture problems][info required] - 2008-12-24, 16:09

Join Date: Sep 2006
Posts: 148
w00k
Offline
Regular Contributor
standbyapp by wook
http://www.symbian-freak.com/sfmods/...tandbymain.png
http://www.symbian-freak.com/sfmods/...tandbyinfo.png
http://www.symbian-freak.com/sfmods/...andbystart.png
new scshots.
as soon as i check if sis file is ok it will be released at sf.
best regards and merry Christmas to everybody

best regards
wook
Reply With Quote

#7 Old Re: [keycapture problems][info required] - 2009-01-06, 21:07

Join Date: Nov 2005
Posts: 8
rudnik_lior
Offline
Registered User
That new thing looks cool!
However I am writing about keycapture problems.
On N95, I seem to have a problem when I create multile capturers, 1 without forward and the rest with. It seems that even though most keys are with forward=1, the keys are not being forwarded! Needless to say I had to remove battery as ALL keys were not responding well
I am using the 1.4.5 version (maybe 1.9.0 will be better??)

Any info will be welcome
Reply With Quote

#8 Old Re: [keycapture problems][info required] - 2009-01-06, 21:10

Join Date: Nov 2005
Posts: 8
rudnik_lior
Offline
Registered User
By the way WooK, maybe you can help me out with hacking the OS to allow me to play sound even though a call is incoming or outgoing? Is it possible? I opened a new thread for this, appreciate if you spend 5 min on the subject
Reply With Quote

#9 Old Re: [keycapture problems][info required] - 2009-01-06, 21:19

Join Date: Sep 2006
Posts: 148
w00k
Offline
Regular Contributor
oh, where did u use and what keys did u use?
keycapture isnt very good handled, as far as i know, but that is mainly coz of c++ apps.
why do u use mulitple capturers?
and u must use 'capturer.stop()' to be able to normaly use keys.
it isnt possible to play audio during call in pys60, dont know much about it, but it is not possible atm.
best regards
Reply With Quote

#10 Old Re: [keycapture problems][info required] - 2009-01-06, 21:21

Join Date: May 2007
Posts: 2,739
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by w00k View Post
oh, where did u use and what keys did u use?
keycapture isnt very good handled, as far as i know, but that is mainly coz of c++ apps.
why do u use mulitple capturers?
and u must use 'capturer.stop()' to be able to normaly use keys.
it isnt possible to play audio during call in pys60, dont know much about it, but it is not possible atm.
best regards
It is possible to play audio during calls but it is played to the uplink.
Reply With Quote

#11 Old Re: [keycapture problems][info required] - 2009-01-06, 21:56

Join Date: Sep 2006
Posts: 148
w00k
Offline
Regular Contributor
Quote:
Originally Posted by croozeus View Post
It is possible to play audio during calls but it is played to the uplink.
post me that code:P and, btw, check this:
http://symbian-freak.com/sfmods/wook/fman/fman.png
http://symbian-freak.com/sfmods/wook/fman/fman1.png
Reply With Quote

#12 Old Re: [keycapture problems][info required] - 2009-01-07, 17:15

Join Date: Nov 2005
Posts: 8
rudnik_lior
Offline
Registered User
Lots of python apps there wOOk
Reply With Quote

#13 Old Re: [keycapture problems][info required] - 2009-01-07, 18:42

Join Date: Sep 2006
Posts: 148
w00k
Offline
Regular Contributor
what? In images? That is library
Reply With Quote

#14 Old Re: [keycapture problems][info required] - 2009-01-08, 11:07

Join Date: Nov 2005
Posts: 8
rudnik_lior
Offline
Registered User
Nice library then
I was wondering then, would it be possible to use audio during call from C++?
And is it only possible during active call? Is there a trick maybe if I start the audio when the call is still connecting - maybe that will get it to play both sides??
Any info would be appreciated.
Reply With Quote

#15 Old Re: [keycapture problems][info required] - 2009-01-08, 13:47

Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
bogdan.galiceanu's Avatar
bogdan.galiceanu
Offline
Forum Nokia Champion
Quote:
Originally Posted by rudnik_lior View Post
Nice library then
I was wondering then, would it be possible to use audio during call from C++?
And is it only possible during active call? Is there a trick maybe if I start the audio when the call is still connecting - maybe that will get it to play both sides??
Any info would be appreciated.
You should ask this on the Symbian C++ forum, after you've searched it to see if this has already been discussed.
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
[Attention Required] Using Default MIDP for Nokia 6310i javianguy Mobile Java Tools & SDKs 0 2002-11-04 13:16

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