Theera Expert Licensed User Longtime User Jul 2, 2025 #1 My code has error. Is there way to resolved this problem. B4X: 'OCR.OCR("Yourlanguage",xui.LoadBitmap(File.DirAssets,"image.jpg"),False,True) CustomListView1.AddTextItem(OCR.OCR("tha",xui.LoadBitmap(ChooserResult.MediaDir, ChooserResult.MediaFile),False,True).As(String),"") Refer to this
My code has error. Is there way to resolved this problem. B4X: 'OCR.OCR("Yourlanguage",xui.LoadBitmap(File.DirAssets,"image.jpg"),False,True) CustomListView1.AddTextItem(OCR.OCR("tha",xui.LoadBitmap(ChooserResult.MediaDir, ChooserResult.MediaFile),False,True).As(String),"") Refer to this
Solution teddybear Jul 2, 2025 Theera said: My code has error. Is there way to resolved this problem. B4X: 'OCR.OCR("Yourlanguage",xui.LoadBitmap(File.DirAssets,"image.jpg"),False,True) CustomListView1.AddTextItem(OCR.OCR("tha",xui.LoadBitmap(ChooserResult.MediaDir, ChooserResult.MediaFile),False,True).As(String),"") Refer to this Click to expand... B4X: OCR.OCR("tha",xui.LoadBitmap(ChooserResult.MediaDir, ChooserResult.MediaFile),False,True) The method has no return value. you should add item in OCR_finished event
Theera said: My code has error. Is there way to resolved this problem. B4X: 'OCR.OCR("Yourlanguage",xui.LoadBitmap(File.DirAssets,"image.jpg"),False,True) CustomListView1.AddTextItem(OCR.OCR("tha",xui.LoadBitmap(ChooserResult.MediaDir, ChooserResult.MediaFile),False,True).As(String),"") Refer to this Click to expand... B4X: OCR.OCR("tha",xui.LoadBitmap(ChooserResult.MediaDir, ChooserResult.MediaFile),False,True) The method has no return value. you should add item in OCR_finished event
teddybear Well-Known Member Licensed User Jul 2, 2025 #2 Theera said: My code has error. Is there way to resolved this problem. B4X: 'OCR.OCR("Yourlanguage",xui.LoadBitmap(File.DirAssets,"image.jpg"),False,True) CustomListView1.AddTextItem(OCR.OCR("tha",xui.LoadBitmap(ChooserResult.MediaDir, ChooserResult.MediaFile),False,True).As(String),"") Refer to this Click to expand... B4X: OCR.OCR("tha",xui.LoadBitmap(ChooserResult.MediaDir, ChooserResult.MediaFile),False,True) The method has no return value. you should add item in OCR_finished event Upvote 0 Solution
Theera said: My code has error. Is there way to resolved this problem. B4X: 'OCR.OCR("Yourlanguage",xui.LoadBitmap(File.DirAssets,"image.jpg"),False,True) CustomListView1.AddTextItem(OCR.OCR("tha",xui.LoadBitmap(ChooserResult.MediaDir, ChooserResult.MediaFile),False,True).As(String),"") Refer to this Click to expand... B4X: OCR.OCR("tha",xui.LoadBitmap(ChooserResult.MediaDir, ChooserResult.MediaFile),False,True) The method has no return value. you should add item in OCR_finished event
Theera Expert Licensed User Longtime User Jul 2, 2025 #3 teddybear said: The method has no return value. you should add item in OCR_finished event Click to expand... Thank you,Teddybear Upvote 0
teddybear said: The method has no return value. you should add item in OCR_finished event Click to expand... Thank you,Teddybear