Ya .,,,it's possible using pyhton..
You can change anything with the change in Cell-id.
Suppose cell-id changes , you can change the song or profile or something else according to your requirement..
See the below code in python :
Code:
import location
import appuifw
import e32
import audio
class LocationInformerApp:
def __init__(self):
self.lock=e32.Ao_lock()
self.exitflag = 0
self.old_exit_key_handler=appuifw.app.exit_key_handler
self.old_app_body=appuifw.app.body
appuifw.app.exit_key_handler=self.set_exit
def set_exit(self):
appuifw.app.body = self.old_app_body
self.exitflag=1
def run(self):
print u'*** Location Log ***'
prevLoc = u''
while not self.exitflag:
if prevLoc <> location.gsm_location():
print location.gsm_location()
filename = "e:\\Sounds\\Digital\\test.MP3"
S=audio.Sound.open(filename) # play the sound file
S.play()
prevLoc = location.gsm_location()
e32.ao_sleep(0.1)
appuifw.app.screen='normal'
lapp=LocationInformerApp()
lapp.run()
Best regards,