| Reply | « Previous Thread | Next Thread » |
|
Hello
I want to know if it is possible to debug whatever happens in my phone. I mean I want to open apps like camera or bluetooth and then debug it so that I can see what files are running while I am doing what I'm doing... Is there such app or is it possible to make one? |
|
Hi,
I don't know what you mean by "see what files are running while I am doing what I'm doing" We have some PyS60 Debugging Techniques defined here. May be you can use one of them... BR, Croozeus |
|
Hello and thanks for your reply
I want to make some shortcuts using python. I made a shortcut to reboot my phone by running the file "starter.exe". I also made a shortcut to the themes section by running the app "psln.exe". but I don't know which .exe file is for i.e. running bluetooth or standby etc. so I am looking for an application that will tell me what is running every time I run something in my phone. I mean when I click on "active standby" and then "on" something has to be run in order to enable it.. I just want to know which app. Not only for standby but for everything I run on my phone. Is it possible? Sorry for my bad English... |
|
Well, there is a way by which you can find the .app files for all applications on the device.
Use the appswitch extension: Code:
>>>import appswitch >>>appswitch.application_list(0) Thus you can find all other files and launch them... Best Regards, Croozeus |
|
I tried following:
Code:
import appswitch a = appswitch.application_list(0) print a Code:
(u'Python', u'Standby mode', u'akncapserver', u'aknnfysrv', u'UpnpNotifAppServer') Thanks this might help me but could you please explain what it shows exactly? I will test some things with this but I would appreciate if you could help me by explaining ![]() Thank you very very much |
|
Join Date: Feb 2008
Posts: 2,543
Location: Bhavnagar, Gujarat, India
gaba88
Online
Forum Nokia Champion
|
|
Hi TakeOn
the appswitch.application_list() returns you a lists of tuples. And first tuple which you are getting is applications which are currently running in your device. Enjoy Pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Thank you gaba88 for that!
Is there a way to enable/disable active standby using python? That's what I am trying to do and the reason I want to see what files are being run is to be able to see the name of active standby so I can enable/disable it.. |
|
Join Date: Feb 2008
Posts: 2,543
Location: Bhavnagar, Gujarat, India
gaba88
Online
Forum Nokia Champion
|
||
|
Quote:
![]() ![]() Quote:
![]() ![]() Enjoy Pythoning Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Not every command causes a new executable to be run. You can see that "Standby mode" is running - that one application can have both the normal standby screen and the active version.
I don't think an API to switch between the two is available in Python. Sorcery |
| Sorcery-ltd |
| View Public Profile |
| Find all posts by Sorcery-ltd |
|
Join Date: Feb 2008
Posts: 2,543
Location: Bhavnagar, Gujarat, India
gaba88
Online
Forum Nokia Champion
|
|
hi
yes sorcery is correct. In python we can only take a application to background or foreground that also with the help of appswitch extension. Gaba88 Gargi Das- http://gargidas.blogsot.com Forum Nokia Python Wiki Learn Python at http://mobapps.org/PyS60 |
|
Hi All
It will be a really nice work if someone comes up with an extension which can handle active standby in PyThons60. Hoping and Waiting... |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| 3rd and 5th Edition application development | liuxg | Symbian | 146 | 2009-10-20 09:10 |
| HTTP headers for S60 3rd Ed. Browser | Nokia Ron | General Browsing | 16 | 2009-09-22 15:28 |
| 3rd party dual mode phone app on the S60 3rd edition SDK | ZelimirD | VoIP | 7 | 2007-11-30 15:49 |
| Problems with MIDlet icon size in application shell on S60 3rd edition devices | knorring | Mobile Java General | 7 | 2007-09-05 11:38 |