| Reply | « Previous Thread | Next Thread » |
|
If I want To test one program that I have made with pythonS60 on my mobile what do I need??
suppose that I have Nokia70 what is the packages that I need I have found many things but I didnot no what to use thank you |
| programer_asal |
| View Public Profile |
| Find all posts by programer_asal |
|
Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
Online
Forum Nokia Champion
|
|
I assume that by Nokia70 you mean Nokia N70. If you only want to test a script you need the Python runtime and the script shell. If you want to test the application packed into a SIS file you will only need the runtime and you can follow these links for help on creating the SIS file from the script (assuming you are using S60 2nd Edition):
http://mobilenin.com/pys60/info_stan...pplication.htm http://wiki.forum.nokia.com/index.ph...edition_phones Is that what you meant?
Last edited by bogdan.galiceanu : 2009-04-23 at 14:56.
|
|
Thank you Mr.bogdan.galiceanu for the help
Yes actually that what I meant;and as you said that I want to test a script I have read about them but I didn't know how to choose the right one and according to what thank you again I will try what you put could I ask you one more question please?!Is the programming of 2nd edition mobiles same as third edition I mean should I use the same release of python or for each one is different release??? |
| programer_asal |
| View Public Profile |
| Find all posts by programer_asal |
|
Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
Online
Forum Nokia Champion
|
|
|
Quote:
Of course there is also a difference in creating SIS files between 2nd and 3rd and the fact that PyS60 1.9.0 and later doesn't work on 2nd. I recommend that you use only 1.4.5 for now and when 2.0 is released, use that on 3rd Edition. |
|
Quote:
|
| programer_asal |
| View Public Profile |
| Find all posts by programer_asal |
|
thank you very much Mr.bogdan.galiceanu for the pyS60 library reference it seems very helpful actually I was looking for something like it
|
| programer_asal |
| View Public Profile |
| Find all posts by programer_asal |
|
Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
Online
Forum Nokia Champion
|
|
I'm glad I was able to help. If you have any other questions please don't hesitate to ask
![]() |
|
Hi I faced a problem actually when I was trying to execute this code
channel =socket.bt_RFCOMM_get_available_server_channel(server) it told that this function is not imlemented and I opened the socket module and I found that it is not implemented for sure I found this def bt_rfcomm_get_available_server_channel(socket): return e32socket.bt_rfcomm_get_available_server_channel(_unwrap(socket)) what should I do I need this function soooooooooooooo much to let you know I am using PythonForS60_1_4_5_SDK_2ndEdFP2(2) python 2.5 thank you |
| programer_asal |
| View Public Profile |
| Find all posts by programer_asal |
|
Hi I faced a problem actually when I was trying to execute this code
channel =socket.bt_RFCOMM_get_available_server_channel(server) it told that this function is not imlpemented and I opened the socket module and I found that it is not implemented for sure I found this def bt_rfcomm_get_available_server_channel(socket): return e32socket.bt_rfcomm_get_available_server_channel(_unwrap(socket)) what should I do I need this function soooooooooooooo much to let you know I am using PythonForS60_1_4_5_SDK_2ndEdFP2(2) python 2.5 thank you |
| programer_asal |
| View Public Profile |
| Find all posts by programer_asal |
|
Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
Online
Forum Nokia Champion
|
||
|
Quote:
Second, the function listed in the PyS60 Library Reference is bt_rfcomm_get_available_server_channel Quote:
![]() |
|
Quote:
second about the RFCOMM I wrote it on small but I was mistaken when I write it on the fourm about the python 2.2.2 from where I can get it???and what is the relation between it and the socket module the socket module is installed when installing PythonForS60_1_4_5_SDK_2ndEdFP2(2)???right?? |
| programer_asal |
| View Public Profile |
| Find all posts by programer_asal |
|
Join Date: Oct 2007
Posts: 2,845
Location: Deva, Romania
Online
Forum Nokia Champion
|
|
|
Quote:
|
|
Quote:
SORRY FOR TAKING YOUR TIME |
| programer_asal |
| View Public Profile |
| Find all posts by programer_asal |
I downloaded python 2.2.2 but the same problem what should I do ?? although it is simple code it didn't applied import socket def Connection(): server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) print "Socket created..." channel =socket.bt_rfcomm_get_available_server_channel(server) print "Waitting" Connection() |
| programer_asal |
| View Public Profile |
| Find all posts by programer_asal |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| How to call symbian S60 3rd Edition Function From python s60. | SymbianTH | Python | 2 | 2009-04-23 09:25 |
| Python for S60 1.9.3 released | tvijayan | Python | 40 | 2009-04-03 16:00 |
| Icons in s60 | drizzt6 | Mobile Java General | 5 | 2009-03-06 10:32 |
| [announce] Mobile Python book soon in Sept 2007 ! | cyke64 | Python | 11 | 2007-10-03 20:46 |
| novice howto for mobile program development | terchris | Python | 1 | 2006-10-17 22:55 |