You Are Here:

Community: Developer Discussion Boards

#1 Old How to call symbian S60 3rd Edition Function From python s60. - 2009-04-22, 20:16

Join Date: Apr 2009
Posts: 317
SymbianTH's Avatar
SymbianTH
Offline
Regular Contributor
Hi Guys

i am newbie in python.

Definition:
-Make UI in python s60.
-Make audio/video streaming application in 3rd edition symbian S60.
-Symbian S60(3rd edition) application include only Play(...), Stop(), Rewind() and Forward() Functions.
-These all functions call from Python S60 user interface.

Question:
my problem is that how to call symbian s60 functions from python s60?
How i integrate python s60 with symbian s60 application?


one solution is if i make EXE or lib file for symbian 60 application and import in python, but how's call symbian function in python? and it is possible or not i don't know. Help me.

Please please if anybody have any idea and solution, help me. it's very urgent for me.

Thank You

Regards
SymbianTH
Reply With Quote

#2 Old Re: How to call symbian S60 3rd Edition Function From python s60. - 2009-04-22, 21:41

Join Date: Feb 2008
Posts: 743
Location: Belo Horizonte, Brazil
Send a message via Skype™ to Rafael T.
Rafael T.'s Avatar
Rafael T.
Offline
Forum Nokia Champion
You can make an extension and call it from PyS60

You can learn how to make one by reading this tutorial.




Hope it helps,

Rafael.
Reply With Quote

#3 Old Re: How to call symbian S60 3rd Edition Function From python s60. - 2009-04-23, 09:34

Join Date: Apr 2009
Posts: 317
SymbianTH's Avatar
SymbianTH
Offline
Regular Contributor
Hi

Thank you very much for this good and helpful link.

Again Thank You
symbianTH
Reply With Quote

#4 Old Re: How to call symbian S60 3rd Edition Function From python s60. - 2009-04-23, 13:13

Join Date: Apr 2009
Posts: 317
SymbianTH's Avatar
SymbianTH
Offline
Regular Contributor
Hi Rafael T.

I read whole content from given link.

Thanks but in this link symbian application call phython's function. and i need following:

E.g:
Python S60 Symbian s60
----------- ------------

MySymbian object; class MySymbian
integer val; {
val = object.GetData(...,...); public TInt MySymbian::GetData(...,...)
{
...;
...;
}
}



Means i want to call symbian function/method in python and also all symbian functions want to access in pyhton s60.

If know anything help me please.

Regards,
SymbianTH
Reply With Quote

#5 Old Smile Re: How to call symbian S60 3rd Edition Function From python s60. - 2009-04-26, 08:27

Join Date: Jul 2008
Posts: 471
Location: Pakistan
sajisoft's Avatar
sajisoft
Offline
Regular Contributor
Quote:
Originally Posted by SymbianTH View Post
Means i want to call symbian function/method in python and also all symbian functions want to access in pyhton s60.
If u want to call a symbian function , using python than u have to create native C++ extension module (.PYD's) to call a python function.For this purpose , u should have good knowledge of carbide c++ ( i.e IDE for Symbian C++).Moreover,to create ur own modules I recommend u to go through these articles :
- Python Extensions In C ++
- Python Extension MLP Paper
- Source Code of Many Pys60 Modules
The more u read and practice the more u learn...Best Ov Luck...Enjoy Pythoning

Best Regards,
SajiSoft


"The purpose of software engineering is to control complexity, not to create it."

--§ajid Ali Anjum--
http://sajisoft.wordpress.com/
Last edited by sajisoft : 2009-04-26 at 08:28. Reason: Quotation
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
Python for S60 1.9.3 released tvijayan Python 40 2009-04-03 16:00
How to update Symbian S60 3rd Edition atiqe Mobile Java Media (Graphics & Sounds) 3 2009-03-01 10:01
Symbian S60 3rd Edition, FP1 apps on S60 3rd Edition phones? logan04x General Symbian C++ 8 2009-01-07 06:11
How can i get Symbian OS v9.3 S60 3rd Edition aamitgupta Symbian Tools & SDKs 26 2008-06-24 16:48

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