×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Jan 2009
    Posts
    33

    Would like to know if the following things can be done in Python for S60

    Hi,
    I would like to know if the following things can be done in Python for S60 2nd edition FP3.

    1.Retrieve the IMSI, IMEI and Cell ID
    2.Lock the phone(Locking the key pad probably)
    3.Send MMS/SMS
    4.Using Camera to capture images and save them.
    5.Listening for incoming SMSes and handling them.
    6.GUI development and Event Handling.

    Basically, I would like to put all of the above into a single application. I have achieved most of the above in Symbian C++, but due to time constraints(just got 10 more days), I am not sure if I could complete the application and hence looking at Python.

    Suggestions are welcome.

    Thanks.

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Would like to know if the following things can be done in Python for S60

    Quote Originally Posted by soontobeared View Post
    Hi,
    I would like to know if the following things can be done in Python for S60 2nd edition FP3.

    1.Retrieve the IMSI, IMEI and Cell ID
    2.Lock the phone(Locking the key pad probably)
    3.Send MMS/SMS
    4.Using Camera to capture images and save them.
    5.Listening for incoming SMSes and handling them.
    6.GUI development and Event Handling.

    Basically, I would like to put all of the above into a single application. I have achieved most of the above in Symbian C++, but due to time constraints(just got 10 more days), I am not sure if I could complete the application and hence looking at Python.

    Suggestions are welcome.

    Thanks.
    hello soontobeard

    yes you can do all of the things in PyS60. And the most important thing is you can achieve all these with your required time limit.

    I advice you to look at the forum nokia wiki and you will get everything there.

    Enjoy Pythoning
    Gaba88

  3. #3
    Registered User
    Join Date
    Jan 2009
    Posts
    33

    Re: Would like to know if the following things can be done in Python for S60

    Hello gaba,
    Thanks for the reply. I have found some code snippets and I am currently working on integrating them. However, I would also like to know if the following things are possible too.

    1. Starting the applicaiton at boot up.
    2. Running the application in the background.

    Thanks&Regards.

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

    Re: Would like to know if the following things can be done in Python for S60

    Quote Originally Posted by soontobeared View Post
    Hello gaba,
    Thanks for the reply. I have found some code snippets and I am currently working on integrating them. However, I would also like to know if the following things are possible too.

    1. Starting the applicaiton at boot up.
    2. Running the application in the background.

    Thanks&Regards.
    To start the application at boot up you use autostart option from py2sis command of Ensymble. But, there are some requirements to use it:

    From Ensymble's README file:

    --autostart
    -g

    Flag to control automatic startup of the application. On S60 3rd Edition
    phones, an application can register itself to be automatically started
    when the phone is turned on.

    Note: Self-signed applications and applications with UID in the
    unprotected range cannot register to be automatically started (see
    options "--uid" and "--cert" above).
    About running the application in background, you can use appswitch extension (3rd edition only).

    The code to send the application to background is:

    Code:
    import appswitch
    
    appswitch.switch_to_bg("Your app name")
    Hope it helps,

    Rafael.
    Last edited by Rafael T.; 2009-03-04 at 03:32.

  5. #5
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: Would like to know if the following things can be done in Python for S60

    Quote Originally Posted by soontobeared View Post
    Hello gaba,
    Thanks for the reply. I have found some code snippets and I am currently working on integrating them. However, I would also like to know if the following things are possible too.

    1. Starting the applicaiton at boot up.
    2. Running the application in the background.

    Thanks&Regards.
    hello soontobeared

    you can know bit more about appswitch module from this tutorial.

    Enjoy Pythoning
    Gaba88

Similar Threads

  1. Please help installing Python libraries on S60
    By ericroijen in forum Symbian
    Replies: 11
    Last Post: 2009-07-18, 10:43
  2. Python for S60 1.9.2 released
    By tvijayan in forum Symbian
    Replies: 26
    Last Post: 2009-03-11, 09:28
  3. Python for S60 1.9.1 released
    By tvijayan in forum Symbian
    Replies: 30
    Last Post: 2009-02-26, 06:16
  4. Replies: 10
    Last Post: 2009-02-16, 12:03
  5. Python for S60 1.9.0 released
    By tvijayan in forum Symbian
    Replies: 48
    Last Post: 2009-01-27, 15:39

Posting Permissions

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