| Reply | « Previous Thread | Next Thread » |
|
Hi all,
I'm trying to create a simple Python application. So, I visited http://www.mobilepythonbook.com/ and took a little example code: Code:
import appuifw
data = appuifw.query("Type something:", "")
appuifw.note("You typped: "+ str(data), "info")
py2sisng.py --presdk20 --uid=0x01000000 firstApp.py.py ~/first.sis And so, I sent first.sys to my phone using bluetooth and it's installed correctly. But, when I try to run it I got "Network error". Am I doing something wrong????? Thanks. Neto Marin |
|
Well, I'm not sure if this is the cause of your problems but since 6681 is a 2nd ed. FP2 phone, you shouldn't be using the --presdk20 switch. The switch says pre-SDK-2.0 which means you have to use it for 1st ed. builds only.
|
|
Join Date: Feb 2008
Posts: 2,546
Location: Bhavnagar, Gujarat, India
gaba88
Offline
Forum Nokia Champion
|
|
hi netomarin
why dont you use py2sis which is working good for 2nd edition phones. hope that will help you Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
And if you are begineer then just send .py scripts to your phone via bluetooth it will be received as SMS and then using PyS60 interpreter just run those scripts.
IDEAS is all they need but still they think only Genius can give them that. |
| shubhendra |
| View Public Profile |
| Find all posts by shubhendra |
|
On - to mine a code
Code:
appuifw.query("Type something:", "")
Code:
import appuifw
data = appuifw.query("Type something:", "text")
appuifw.note("You typped: "+ str(data)
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| DndTimedOut (-5120) on S60 2nd Fp3 | Joney.Zhang | Symbian Networking & Messaging | 11 | 2009-03-10 17:35 |
| Python for S60 1.4.2 released | tvijayan | Python | 22 | 2008-04-15 20:20 |
| Setting the remote mailbox in use in S60 2nd | kthui | Symbian Networking & Messaging | 1 | 2007-02-15 18:13 |
| What is going on with Vibration on S60? | amd_rikus | Mobile Java General | 3 | 2006-06-16 01:29 |
| Stand-alone Python app not launched correctly from other native app | bercobeute | Python | 2 | 2005-03-04 15:30 |