def app(self):
appuifw.app.title=ru(title)
appuifw.app.exit_key_handler=self.exit
self.i=1
self.console=Console.Console(True)
self.text=self.console.text
appuifw.app.body=self.console.text
self.text.color=255,0,0
self.text.font= "title",20
self.write("%s by %s"%(title,self.developer))
self.text.color=0,0,0
self.text.font= "title",18
if not len(socket.access_points()):
self.write("No Access Point is defined.Please add new APN.App will exit")
e32.ao_sleep(2)
os.abort()
else:
pass
self.write("Access Point: %s"%self.ap_list[self.apid_list.index(self.sets.APN)])
self.write("Find IP:%s"%self.insta(self.sets.IPHUNT))
self.write("Run Simple Server: %s"%self.yesno[self.sets.RUNSS])
appuifw.app.menu=[(ru("Start"),self.start),(ru("Settings"),self.settings),(ru("About"),self.about),(ru("Exit"),self.exit)]
评论列表
文章目录