コード例 #1
0
 def on_show(self):
 	#self.views.tt.add_event(click_EventHandler(self.views.tt,self.get_options))
 	#self.views.lists.set_listitems(["semir","worku","semir","worku","semir","worku"])
     #initialize your layout views on screen_show
     self.views.logo.src = pathhelpers.get_drawable_pathname("logo.png")
     self.views.close_app.add_event(click_EventHandler(self.views.close_app,self.cls_app))
     self.views.search.add_event(click_EventHandler(self.views.search,self.search_term))
コード例 #2
0
ファイル: main.py プロジェクト: semirgoldu/ai
 def on_show(self):
     #self.views.tt.add_event(click_EventHandler(self.views.tt,self.get_options))
     #self.views.lists.set_listitems(["semir","worku","semir","worku","semir","worku"])
     #initialize your layout views on screen_show
     self.views.preview.visibility = "visible"
     self.views.logo.src = pathhelpers.get_drawable_pathname("logo.png")
     self.views.close_app.add_event(
         click_EventHandler(self.views.close_app, self.cls_app))
     #self.views.take_pic.add_event(click_EventHandler(self.views.take_pic,self.scan_pic))
     self.views.upload.add_event(
         click_EventHandler(self.views.upload, self.upload_pic))
コード例 #3
0
ファイル: main.py プロジェクト: semirgoldu/ai
    def on_show(self):
        #initialize your layout views on screen_show
        self.views.logo.src = pathhelpers.get_drawable_pathname("logo.png")

        #self.views.videoView.src="file:///sdcard/video.mp4"
        #self.views.videoView.request_focus()
        #rr= self.views.videoView
        #print FullScreenWrapper2App.get_android_instance()
        self.views.classify.add_event(
            click_EventHandler(self.views.classify, self.classify_query))
        self.views.close_app.add_event(
            click_EventHandler(self.views.close_app, self.close_out))