N70 signal&battery strength disappear
Hi every body
I craeted sis using py2sis. i was installed in N70 ,after installation , i was opened application ,application went background because i used appswitch ,but now phone menu signal indication and battery indication went disappear.......what the solution for this please any one help me
Re: N70 signal&battery strength disappear
[QUOTE=sevenhills;403701]Hi every body
I craeted sis using py2sis. i was installed in N70 ,after installation , i was opened application ,application went background because i used appswitch ,but now phone menu signal indication and battery indication went disappear.......what the solution for this please any one help me[/QUOTE]
Hi,
I would like you to post more details on the same so that we could help you,
Please let us know aht the script was like :D
Re: N70 signal&battery strength disappear
[QUOTE=sevenhills;403701]Hi every body
I craeted sis using py2sis. i was installed in N70 ,after installation , i was opened application ,application went background because i used appswitch ,but now phone menu signal indication and battery indication went disappear.......what the solution for this please any one help me[/Quote]
hi sevenhills welcome to the python dibo
the problem must be wid your code. pl make us know what was in the application and if possible show a bit of code.
plz give feedback.
thankx
Re: N70 signal&battery strength disappear
Actually application was to change mobile phone profile from general to silent at defined bluetooth region in this application i am using keycodes,aosocket lib module .But application is working nicely but batter and singnal tower indication is disappearing
Re: N70 signal&battery strength disappear
[QUOTE=sevenhills;403931]Actually application was to change mobile phone profile from general to silent at defined bluetooth region in this application i am using keycodes,aosocket lib module .But application is working nicely but batter and singnal tower indication is disappearing[/QUOTE]
hi sevenhills
the problem in ur application may be that the application is running continiously without any break.
plz provide some break in the infinite loop if u r using.
plz give a feed back.
thanx
Re: N70 signal&battery strength disappear
[QUOTE=sevenhills;403931]Actually application was to change mobile phone profile from general to silent at defined bluetooth region in this application i am using keycodes,aosocket lib module .But application is working nicely but batter and singnal tower indication is disappearing[/QUOTE]
Ah, May be its beacuse of the way you use the appswitch module
Would you mind sharing the code?
Re: N70 signal&battery strength disappear
import e32
import appuifw
import aosocketnativenew
from pdis.lib.logging import *
import httplib, urllib
from key_codes import *
import keypress
import appswitch
import sysinfo
appswitch.switch_to_fg(u"Telephone")
init_logging(FileLogger("e:\\bt_probing.txt"))
def tell(string):
if e32.is_ui_thread():
print string
e32.ao_yield()
# ----------------------------------
from aosocket.symbian.bt_device_discoverer import *
from socket import * # for obex file send
def discovered(error, devices, cb_param):
if error == 0:
a=0
for address, name in devices:
e32.ao_sleep(1)
if name == "SH-SYS-117" or name == "BTControl" or address == "00:a0:96:14:17:c0" or address == "11:11:11:11:11:11":
a=1
#silent activation
e32.ao_sleep(1)
keypress.simulate_key(EKeyPowerOff,EKeyPowerOff)
e32.ao_sleep(1)
keypress.simulate_key(EKeyDownArrow,EKeyDownArrow)
e32.ao_sleep(1)
keypress.simulate_key(EKeyDownArrow,EKeyDownArrow)
e32.ao_sleep(1)
keypress.simulate_key(EKeyDownArrow,EKeyDownArrow)
e32.ao_sleep(1)
keypress.simulate_key(EKeyLeftSoftkey,EKeyLeftSoftkey)
e32.ao_sleep(5)
if a==0:
e32.ao_sleep(1)
keypress.simulate_key(EKeyPowerOff,EKeyPowerOff)
e32.ao_sleep(1)
keypress.simulate_key(EKeyDownArrow,EKeyDownArrow)
e32.ao_sleep(1)
keypress.simulate_key(EKeyDownArrow,EKeyDownArrow)
e32.ao_sleep(1)
keypress.simulate_key(EKeyLeftSoftkey,EKeyLeftSoftkey)
e32.ao_sleep(5)
while(1):
try:
_discoverer = BtDeviceLister()
_discoverer.discover_all(discovered, None)
e32.ao_sleep(30)
except:
tell("init failure")
This my code please reply me...why signal disappearing
Re: N70 signal&battery strength disappear
[QUOTE=sevenhills;403701]Hi every body
I craeted sis using py2sis. i was installed in N70 ,after installation , i was opened application ,application went background because i used appswitch ,but now phone menu signal indication and battery indication went disappear.......what the solution for this please any one help me[/QUOTE]
It is an old pys60/symbian-bug:
Search PyS60 -> Tracker -> Bugs in SourceForge:
[url]http://sourceforge.net/tracker/index.php?func=detail&aid=1458010&group_id=154155&atid=790646[/url]
Re: N70 signal&battery strength disappear
I tried but not working.can you suggest good one.....i need urgent
[QUOTE=aaaaapo;404868]It is an old pys60/symbian-bug:
Search PyS60 -> Tracker -> Bugs in SourceForge:
[url]http://sourceforge.net/tracker/index.php?func=detail&aid=1458010&group_id=154155&atid=790646[/url][/QUOTE]
Re: N70 signal&battery strength disappear
let me know how to avoid disappear singal and battery indication.........i posted my code also.please help me......
i tried e32.ao_lock........again disappearing.....
[QUOTE=sevenhills;405207]I tried but not working.can you suggest good one.....i need urgent[/QUOTE]