You Are Here:

Community: Developer Discussion Boards

#1 Old Question Phython and Java program communication - 2005-01-13, 17:55

Join Date: Jul 2003
Posts: 12
jameelh
Offline
Registered User
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
Reply With Quote

#2 Old 2005-01-14, 12:13

Join Date: Feb 2004
Posts: 119
jkekoni
Offline
Regular Contributor
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.
Reply With Quote

#3 Old Re: Phython and Java program communication - 2005-01-27, 15:45

Join Date: Jul 2004
Posts: 76
eriksmartt
Offline
Regular Contributor
Quote:
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!
Reply With Quote

#4 Old 2005-01-27, 19:05

Join Date: Jan 2005
Posts: 148
Location: Bangkok, Thailand
Send a message via MSN to korakotc
korakotc's Avatar
korakotc
Offline
Regular Contributor
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.
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

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