×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    15

    Question Phython and Java program communication

    Hi Guys

    1.) Is it possible to create a Phyton program without UI, sort of like a background app/service?

    2.) Is there a way to communicate to this Phython program from a Midlet?

    Thanks for your thoughts.
    Cheers

  2. #2
    Registered User
    Join Date
    Feb 2004
    Posts
    124
    I think you can use tcp/udp sockets to connect to 127.0.0.1

    That is hardly idea solution for many things, but it is better that nothing.

  3. #3
    Regular Contributor
    Join Date
    Jul 2004
    Posts
    76

    Re: Phython and Java program communication

    Originally posted by jameelh

    1.) Is it possible to create a Phyton program without UI, sort of like a background app/service?
    e32.start_server() may be what you need. Check the API Reference PDF file for more details on it.

    Cheers!

  4. #4
    Regular Contributor
    Join Date
    Jan 2005
    Location
    Bangkok, Thailand
    Posts
    148
    I saw an example in the PDIS distribution.
    see the file.
    pdis-0.7.2/symbian/ao-socket/test-programs/test_http_server.py

    I haven't test it yet myself.
    you need to install the file "aosocket-sereis60_v20.sis" before, though.

Posting Permissions

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