×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    17

    Question ip address formatted textbox

    Dear All,
    I am developing an application on my nokia phone using pys60. I have a form and 2 text boxes for ip address and mac address. is there any separate control available for this (like masked text box in C#). or how can i prevent a-z from it eg. 192.168.1.0 - text box as number will not work for dots(.)

    Thanks in advance
    Cyan

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: ip address formatted textbox

    Hi,

    Unfortunately there is currently no way to achieve what you want with Python. The only types of text boxes that you can have are the ones described in the documentation, and an IP-friendly one isn't among them.

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    17

    switch on/off Bluetooth

    Dear All,

    is there any way to switch on/off Bluetooth from PyS60? please help me with some code

    and please help me in sending a file (eg: .txt) from mobile to a web server

    Thank you in advance

    Cyan

  4. #4
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: switch on/off Bluetooth

    Quote Originally Posted by mt.jijo View Post
    is there any way to switch on/off Bluetooth from PyS60? please help me with some code
    Not quite, as far as I know. It is possible to send and receive files, of course, but that's also the only way to turn on Bluetooth (the phone will say that Bluetooth is currently turned off and will ask if you want to turn it on). I don't think Bluetooth can be explicitly switched off in Python.

    Quote Originally Posted by mt.jijo View Post
    and please help me in sending a file (eg: .txt) from mobile to a web server
    This might help: http://mobilenin.com/pys60/ex_upload_file_to_url.htm

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

    Re: switch on/off Bluetooth

    Quote Originally Posted by bogdan.galiceanu View Post
    Not quite, as far as I know.
    Hello Bogdan i guess there is a way. Please have a look at this thread, this is basically a module for S60 3rd edition device and if you have 2nd edition device then make a search for btswitch module.


    @mt.jijo you can read this article along with the link given by bogdan to know more about web tasks in PyS60.


    Enjoy Pythoning
    Gaba88

  6. #6
    Super Contributor
    Join Date
    Oct 2007
    Location
    Deva, Romania
    Posts
    3,471

    Re: switch on/off Bluetooth

    Quote Originally Posted by gaba88 View Post
    Hello Bogdan i guess there is a way. Please have a look at this thread, this is basically a module for S60 3rd edition device and if you have 2nd edition device then make a search for btswitch module.
    Nice find. I forgot about that


    Quote Originally Posted by gaba88 View Post
    @mt.jijo you can read this article along with the link given by bogdan to know more about web tasks in PyS60.
    The code in that article is the same as in the link I provided because the author of the article (guess who that is ) copied it.
    Last edited by bogdan.galiceanu; 2009-06-19 at 15:00.

Similar Threads

  1. Local IP address (emulator/mobile phone)
    By machiel in forum Wired and Wireless interfaces (Closed)
    Replies: 1
    Last Post: 2008-05-26, 18:57
  2. Binding to Remote IP address Fails with -1
    By girish_1978 in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-08-08, 20:36
  3. Binding to Remote IP address Fails with -1
    By girish_1978 in forum Symbian
    Replies: 0
    Last Post: 2006-08-04, 20:29
  4. Gateway IP address in Nokia 6600 access point
    By yashodhan in forum General Development Questions
    Replies: 0
    Last Post: 2004-10-01, 12:22
  5. Help! Help! My IP address is changing like crazy !!
    By jwynn_in_nh in forum Mobile Java General
    Replies: 0
    Last Post: 2003-07-22, 22:10

Posting Permissions

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