coldteam Active Member Licensed User Longtime User Feb 17, 2016 #1 HI. I have a question i load image to ImageView like this: Code: Copy image_view1.Bitmap = LoadBitmap(File.DirAssets,"filename.jpg") but if i have all image files in folder like: files\mypic\ i try to use: Code: Copy image_view1.Bitmap = LoadBitmap("file:///android_asset/mypic/","filename.jpg") but its dont work with images how to load image from new folder inside files? THX
HI. I have a question i load image to ImageView like this: Code: Copy image_view1.Bitmap = LoadBitmap(File.DirAssets,"filename.jpg") but if i have all image files in folder like: files\mypic\ i try to use: Code: Copy image_view1.Bitmap = LoadBitmap("file:///android_asset/mypic/","filename.jpg") but its dont work with images how to load image from new folder inside files? THX
eurojam Well-Known Member Licensed User Longtime User Feb 17, 2016 #2 it should be Code: Copy image_view1.Bitmap = LoadBitmap(File.DirAssets,"mypic/filename.jpg") Upvote 0
coldteam Active Member Licensed User Longtime User Feb 18, 2016 #3 ty, its work, but log write this: check pic, but file loaded Attachments 2016-02-18 22-27-49 Скриншот экрана.png 2.8 KB · Views: 491 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 19, 2016 #4 You will need to ignore this warning. Add this line: #IgnoreWarnings: 17 Upvote 0