Archived:Low network signal strength notification in PySymbian
m (Move to correct Category:Location)
m (Hamishwillee - Fix categories)
|Line 1:||Line 1:|
Revision as of 07:52, 30 November 2011
Many a times it happens that while you are traveling you need to call someone, but no network signals are available or what we call "No Network Services Available". What generally happens is that there might be a small distance in between where Network was available or some signals are there, so that you can make a call but as you might not notice that while traveling you have to wait for long time until there is Network available for prolonged time like while passing through a city.
Solution by Shubhendra Singh
Just use this code, it will trigger alarm as soon as you get even faint signals,
from audio import *
from graphics import *
f = 'Z:\\Nokia\\Sounds\\Digital\\Alarm.mid' # Could be changed, this is what you will hear.
while abc == 0:
s = Sound.open(f)
s.play(KMdaRepeatForever) # Alarm will play until Network is available.
appuifw.app.title = u"Signal Mode"
appuifw.app.exit_key_handler = quit # Press "Quit" to quit application.
app_lock = e32.Ao_lock()