You Are Here:

Community: Developer Discussion Boards

Reply « Previous Thread | Next Thread »

#1 Old Thumbs up [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2007-08-23, 19:01

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
hello everybody ,

I know that many people would want to change the active profile
Now it is finally possible
I promise you to make it so I did
Many peoples would be very happy now

The active profile is really activated immediately
If you change from silent profile(1) to General profile(0) you hear the soft click sound of pressing keys

remarks : doesn't work with selfsigned version !!! (not enough caps !)

Code:
import xprofile

# get profile (for api completion !)
print xprofile.get_ap()

# set active profile to "General Profile" 
xprofile.set_ap(0)

# set active profile to "Silent Profile" 
xprofile.set_ap(1)

# set active profile to "Meeting" 
xprofile.set_ap(2)


# set active profile to "Offline" 
xprofile.set_ap(5)


# set active profile to your first "user profile"
xprofile.set_ap(30)


Could you test it on your device ?

tested only with the following devices :
N95
N93

Thanks
Cyke64

links :


xprofile 1.1 for 3rd unsigned (sign it before !)

edit : remove not running selfsigned version !


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Last edited by cyke64 : 2007-09-07 at 10:50. Reason: remove selfsigned version (not functionning !)
Reply With Quote

#2 Old Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2007-08-24, 23:41

Join Date: Aug 2007
Posts: 41
Location: Norway
Jan Rune Johansen
Offline
Registered User
Quote:
Originally Posted by cyke64 View Post
Many peoples would be very happy now
Hi Cyke64! You can include me to that list

You could put N80 on tested devices too. Its working great...
Reply With Quote

#3 Old Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2007-08-29, 17:02

Join Date: Jan 2007
Posts: 80
federico2929
Offline
Regular Contributor
It works great!! Thanks Cyke, its good to see extensions like this that just work!
Reply With Quote

#4 Old Problems installing xprofile onto a Nokia E70 - 2007-09-07, 01:38

Join Date: Jul 2007
Posts: 6
pablo_sg
Offline
Registered User
Hi everybody,

I am having problems installing xprofile onto a Nokia E70. I signed the file in the usual way, but when I try to install it on my phone's memory or the memory card I always get the same error; I get a message saying "Update error" on the screen. Does anyone know what the problem might be, and how to fix it? Any help would be much appreciated!

Thanks,
pablo_sg
Reply With Quote

#5 Old Re: Problems installing xprofile onto a Nokia E70 - 2007-09-07, 10:57

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Quote:
Originally Posted by pablo_sg View Post
Hi everybody,

I am having problems installing xprofile onto a Nokia E70. I signed the file in the usual way, but when I try to install it on my phone's memory or the memory card I always get the same error; I get a message saying "Update error" on the screen. Does anyone know what the problem might be, and how to fix it? Any help would be much appreciated!

Thanks,
pablo_sg
Hello Pablo ,

I think that update error comes from a previous install of the old activeprofile module
xprofile uses by error a file by the same name : ecenrep.py in ressource folder ! So it's not possible to overwrite this file with xprofile install ...
Now I fixed the problem (change the filename ecenrep.py to exprofile.py in xprofile module

xprofile 1.1 3rd unsigned (NEW !)

Give me feedback please
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Reply With Quote

#6 Old Re: Problems installing xprofile onto a Nokia E70 - 2007-09-08, 20:50

Join Date: Apr 2007
Posts: 27
dokkis
Offline
Registered User
In symbian 2nd edition is not possible switch profile?!? Or is it possible?! If yes.. how class i use to switch profile? thanx bye
Reply With Quote

#7 Old Smile Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2007-09-10, 18:09

Join Date: Sep 2007
Posts: 1
dipak_jotaneeya
Offline
Registered User
I am using Nokia 7610 phone which is 2nd edition .Is active profile compatible with nokia 7610? Otherwise is there any sis for 2nd edition for xprofile?
Reply With Quote

#8 Old Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2007-09-10, 18:37

Join Date: Feb 2005
Posts: 1,353
Location: Belgium (Europe)
cyke64's Avatar
cyke64
Offline
Super Contributor
Hello ,

@Dokkis and dipak: Sorry xprofile is using an only 3RD API
Yes it should be possible to switch profile for 2nd but it's not public API and until now I don't succeed to changing profile with 2nd
I have already tried but it crashed my device because it change register value but device didn't "see" the change of profile !

For 3rd you could also use the cenrep module for setting ang getting info on profile !

BR
Cyke64


pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 !

pys60 extension modules on http://cyke64.googlepages.com/
Last edited by cyke64 : 2007-09-10 at 18:51. Reason: add cenrep link
Reply With Quote

#9 Old Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2007-09-12, 07:41

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Hello Cyke64

I m still waiting for this avaiblity of function on 2nd edition...

-Pankaj Nathani
Reply With Quote

#10 Old Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2008-03-06, 05:35

Join Date: Nov 2007
Posts: 8
lekha_kasturi
Offline
Registered User
Hi

i hv signed xprofile.sis using new open signed online signing option
at Symbiansigned.com
and i hv installed on my phone.
it has installed properly and im able to get my active profile using
x.profile.get_ap()

but when im trying change my active profile to silent using
x.profile.set_ap(1)

its giving following error message

SymbianError: [Errno -46] KErrPermissionDenied

watz the problem again? where i went wrong.

please help me if u know the cause...
Reply With Quote

#11 Old Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2008-03-06, 11:51

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by lekha_kasturi View Post
Hi

i hv signed xprofile.sis using new open signed online signing option
at Symbiansigned.com
and i hv installed on my phone.
it has installed properly and im able to get my active profile using
x.profile.get_ap()

but when im trying change my active profile to silent using
x.profile.set_ap(1)

its giving following error message

SymbianError: [Errno -46] KErrPermissionDenied

watz the problem again? where i went wrong.

please help me if u know the cause...
Hi Lekha,

This is because you need a signed Python scriptshell when using a (signed) xprofile module.

PS: Not replying to your mail as I have answered you here.

Best Regards
Croozeus
Reply With Quote

#12 Old Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2008-03-06, 17:31

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
Quote:
Originally Posted by dipak_jotaneeya View Post
I am using Nokia 7610 phone which is 2nd edition .Is active profile compatible with nokia 7610? Otherwise is there any sis for 2nd edition for xprofile?
hi dipak, cyke and croozeus:

it is really possible to change the profile in 2nd edition but there is no module for that.
i m working on that since 15 days. the profile will not change automatically in a 2nd edition phone but the profile menu will be open and the phone will vibrate which will make u remind to change the profile. how is it?
please feedback me and give me good suggestions.

best regards
gaba88
Reply With Quote

#13 Old Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2008-03-07, 05:31

Join Date: Nov 2007
Posts: 8
lekha_kasturi
Offline
Registered User
thanks Pankaj

but Python script shell which i hv installed is signed only...
signing is mandatory for 3rd edition phones..right?

i hv downloaded PythonScriptShell_1_4_2_3rdEd.SIS this script from below site
http://sourceforge.net/project/showf...kage_id=171153

plz tell me is it correct scriptshell which i downloaded?
Reply With Quote

#14 Old Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2008-03-07, 07:07

Join Date: May 2007
Posts: 2,738
Location: 21.46 N 72.11 E
croozeus's Avatar
croozeus
Offline
Forum Nokia Champion
Quote:
Originally Posted by lekha_kasturi View Post
thanks Pankaj

but Python script shell which i hv installed is signed only...
signing is mandatory for 3rd edition phones..right?

i hv downloaded PythonScriptShell_1_4_2_3rdEd.SIS this script from below site
http://sourceforge.net/project/showf...kage_id=171153

plz tell me is it correct scriptshell which i downloaded?
Yes Lekha, the PythonScriptShell you have downloaded is correct.

But signing is not mandatory for 3rd edition devices
If you want to use more capabilities than that offered by an unsigned PythonScriptShell then only you need to sign the PythonScriptShell.

Here you want to use xprofile so your scriptshell has to be signed....

Best Regards
Croozeus
Reply With Quote

#15 Old Re: [annnounce] xprofile 1.0 for 3rd (set the active profile !) - 2008-03-07, 10:34

Join Date: Nov 2007
Posts: 8
lekha_kasturi
Offline
Registered User
1)if that is correct ..why im getting that problem?
u want me to resign Python Scriptshell ..can i do it using free online opensinged option at symbainsigned.com

2)at FN it is written that signing is mandatory for 3rd edition..here is the link for ur ref.

http://www.forum.nokia.com/main/tech...sting_faq.html
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
Testing an Active Object? (With attached code from two attempts) nawkboy General Symbian C++ 2 2007-10-05 21:40
Carbide.j 1.0 and J2ME/Personal Profile ovjo12 Mobile Java Tools & SDKs 4 2006-02-16 17:10
How to access an active profile? Steve_Johnson General Symbian C++ 2 2005-09-16 11:37
set Text size with MIDP 1.0 artemg Mobile Java General 1 2004-01-15 21:13
How to set Profile expire time Andreas_Froland PC Suite API and PC Connectivity SDK 1 2003-04-01 15:58

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