×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    How to call symbian S60 3rd Edition Function From python s60.

    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

  2. #2
    Super Contributor
    Join Date
    Feb 2008
    Location
    Belo Horizonte, Brazil
    Posts
    744

    Re: How to call symbian S60 3rd Edition Function From python s60.

    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.

  3. #3
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: How to call symbian S60 3rd Edition Function From python s60.

    Hi

    Thank you very much for this good and helpful link.

    Again Thank You
    symbianTH

  4. #4
    Regular Contributor
    Join Date
    Apr 2009
    Posts
    442

    Re: How to call symbian S60 3rd Edition Function From python s60.

    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

  5. #5
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    Smile Re: How to call symbian S60 3rd Edition Function From python s60.

    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
    Last edited by sajisoft; 2009-04-26 at 07:28. Reason: Quotation

Similar Threads

  1. How can i get Symbian OS v9.3 S60 3rd Edition
    By aamitgupta in forum Symbian Tools & SDKs
    Replies: 28
    Last Post: 2012-04-06, 14:29
  2. Python for S60 1.9.3 released
    By tvijayan in forum Symbian
    Replies: 40
    Last Post: 2009-04-03, 15:00
  3. How to update Symbian S60 3rd Edition
    By atiqe in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2009-03-01, 09:01
  4. Replies: 8
    Last Post: 2009-01-07, 05:11

Posting Permissions

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