00001
00002 import roslib; roslib.load_manifest('app_manager_android')
00003 import roslib.network
00004 import roslib.rosenv
00005 import pyqrnative
00006
00007 import urlparse
00008 urlp = urlparse.urlparse(roslib.rosenv.get_master_uri())
00009 address = roslib.network.get_local_address()
00010
00011 text = "http://%s:%s"%(address, urlp.port)
00012 print text
00013 pyqrnative.show_data(text)