Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Archived:Low network signal strength notification in PySymbian

From Wiki
Jump to: navigation, search

Archived.pngAquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.

Article Metadata
Created: shubhendra (30 Mar 2008)
Last edited: hamishwillee (08 May 2013)

Problem Faced

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 *
import appuifw,e32,sysinfo
from graphics import *
f = 'Z:\\Nokia\\Sounds\\Digital\\Alarm.mid' # Could be changed, this is what you will hear.
while abc == 0:
s = # Alarm will play until Network is available.
def quit():
def handle_redraw(rect):
canvas=appuifw.Canvas(event_callback=None, redraw_callback=handle_redraw) = u"Signal Mode" = quit # Press "Quit" to quit application.
app_lock = e32.Ao_lock()
[[Category:Code Snippet]]
This page was last modified on 8 May 2013, at 11:58.
19 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.