| Reply | « Previous Thread | Next Thread » |
|
hi, i m using python for s60 for doing a mobile prog. i had installed the setup but hw to do programming for mobile. i think sdk is required. i downloaded the SDK ver3 but i think supports only on windows2000 sp4 or winxp sp2, i want to install it on windows98, i dont have win2000 or winxp. pl suggest me some old ver. which can be installed on win98. i m hanged up my proj bcoz of this difficulty. Anyone pl help me out as soon as possible.........
|
|
Quote:
![]() First you can write your app with any text editor and run it with your S60 phone after installing Python on your phone ! If you want develop on emulator you can install SDK but I read the requirements and all need Win 2000 or Win XP. For installation go here pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
|
Quote:
thank u........ |
|
Hi sagars,
Quote:
To make scripts, create a text file on your computer and rename it with a .py extension. Write your program and push the file on the phone via bluetooth or usb cable in e:\python (on the phone) Start PyS60 and choose your script in the list to run it. LFD Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
where i will get the programing information for python. i want the detail of python programming language and some sample script, i mean the source code.
|
|
|
|
Some basic PyS60 stuff at http://mobilenin.com/
Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
up to my knowledge, i think we can write python script inside mobile phone itself without need of pc. ca u pl tell me how to do that.
|
|
Quote:
|
|
Quote:
|
|
hello, i want to know how to edit a program in mobile itself without using the PC. i installed python for S60 in my mobile phone n i also did prog in pc using notepad for displaying hello world, it worked. but nw tell me hw can i edit it using in mobile phone.
|
|
Hi sagars,
First of all, I would recommend you to write English properly without using any kind of abbreviations for at least the 2 following reasons:
Which phone are you using? Writing scripts from the phone will be very long if you don't have a proper keyboard. But they are of course some text editor for Symbian: http://allaboutsymbian.com/forum/showthread.php?t=51206: this one (there's a link on the page) is in Python! But the installation package seams to be for 2nd edition. So that why you need to check you phone version. Since it's a Python application, by self-signing the .sis you should be able to install and run your app on a 3rd edition device. There must be others so it's not the perfect solution, some googling would give links to other apps LFD Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
Quote:
Thanks, next time i will not use abbrevition.. i am using Nokia 6260, it is series 60 2nd edition phone, i had checked it out. i had written the program for pop-up window its working properly but i am facing one problem. it is after that after we run script and viewed the message that we had displayed the program comes out. so to check out for next option we again has to run script and then view it. it very tedious job to do. so pl. help me out. below i am sending you my script........... import appuifw L = [u"Mtech", u"Company", u"sagar"] S = [u"balagi nagar", u"kelawadi"] test = appuifw.popup_menu(L, u"Select & press OK:") new = appuifw.popup_menu(S, u"Select and press OK") #if test == 0 : # appuifw.note(u"welcome to mtech", "info") if test == 0 and new == 0 : appuifw.note(u"Mtech, corporate office", "info") if test == 0 and new == 1 : appuifw.note(u"Mtech, Factory", "info") if test == 1 and new == 0 : appuifw.note(u"Company, embedded", "info") if test == 1 and new == 1 : appuifw.note(u"Company, factory", "info") if test == 2 and new == 0 : appuifw.note(u"sagar, RnD engg", "info") if test == 2 and new == 1 : appuifw.note(u"Not available", "info") |
|
Hi Sagars,
it's perfectly normal. You are running a script, i.e the interpreter will run the commands you give to it line by line. So after the last instruction you program will exit. If you want to have a program that exit only when you want it to, it's simple. Here is an extract you can find at Mobilenin Code:
import appuifw
import e32
def exit_key_handler():
app_lock.signal() <-- 3.Signals the lock i.e means your script will terminate
round = appuifw.Text()
round.set(u'hello')
# put the application screen size to full screen
appuifw.app.screen='full' #(a full screen)
# other options:
#appuifw.app.screen='normal' #(a normal screen with title pane and softkeys)
#appuifw.app.screen='large' #(only softkeys visible)
app_lock = e32.Ao_lock() <-- 1.create an active object
appuifw.app.body = round
appuifw.app.exit_key_handler = exit_key_handler
app_lock.wait() <-- 2.wait until you signal
![]() LFD Devices: Nokia E61 3rd Edition - pys60 1.4.0 Tips and modules: http://www.lfdm.net/thesis |
|
Quote:
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Please help installing Python libraries on S60 | ericroijen | Python | 11 | 2009-07-18 11:43 |
| Python for Series 60 released on Forum Nokia! | eriksmartt | Python | 5 | 2009-07-14 18:00 |
| Use filebrowser.py to execute your python scripts. | zweiberg | Symbian Tools & SDKs | 1 | 2006-11-01 14:24 |
| Python C++ Extension with Callback crashing | diggerdeep | Python | 2 | 2005-11-10 17:33 |
| How to capture a snapshot with Python on Series 60 phones? | harrygoesnokia | General Symbian C++ | 0 | 2004-07-18 01:56 |