This page was last modified 18:24, 30 March 2008.
Network Search
From Forum Nokia Wiki
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 * abc=0 f = 'Z:\\Nokia\\Sounds\\Digital\\Alarm.mid' # Could be changed, this is what you will hear. while abc == 0: if(sysinfo.signal()>0): abc=1 s = Sound.open(f) s.play(KMdaRepeatForever) # Alarm will play until Network is available. def quit(): s.stop() app_lock.signal() appuifw.app.set_exit() def handle_redraw(rect): canvas.blit(img) canvas=appuifw.Canvas(event_callback=None, redraw_callback=handle_redraw) appuifw.app.body=canvas appuifw.app.title = u"Signal Mode" appuifw.app.exit_key_handler = quit # Press "Quit" to quit application. app_lock = e32.Ao_lock() app_lock.wait()
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Search | vclim | Browsing and Mark-ups | 0 | 2004-04-18 16:14 |
| Nokia Phones & JSR 82 complaint | kumarudaya | Mobile Java Networking & Messaging & Security | 5 | 2007-12-18 06:42 |
| 6630 Hard reset without using *#7370# | brianpegan | General Discussion | 16 | 2008-07-04 03:18 |
| Search | vclim | General Browsing | 0 | 2004-04-10 17:13 |
| distinguishing a MNVO. | stellion | Symbian Networking & Messaging | 2 | 2007-11-05 10:54 |
