Cannot figure out what the problem is here:
B4X:
Private Sub SelectPicture As ResumableSub
LogSub("SelectPicture")
'Dim img As ImageView ' now up there in the Class_Globals -- no difference
img.Initialize("")
cc.Initialize("PhotoChoo")
cc.Show("image/*","The Title...
Hi, I have an App where the user subscribes to a service of his choice , and according to the service chosen a .png file is downloaded and used as an icon to represent the service he is subscribed to . Everything works fine and I have multiple logs that check that the download was executed...
I looked through the posts (for example SQL Tutorial) and even find only statements pointing to transfer a bitmap file into a byte array (Dim Buffer() As Byte = File.ReadBytes(File.DirAssets, "smiley.gif")). But this is not I am looking for.
1st I need an b4x/b4a example how to transfer layout...
When I use LoadBitmapResize on the attached bitmap it just hangs
B4X:
NewTitleBitmap.TitleBitmap = LoadBitmapResize(Path, FolderFile, 40dip, 40dip, True)
If I just Open the bitmap with Paint.Net and SAVE it the size changes from 345kb to 1.2meg but then LoadBitmapResize...
When I use LoadBitmapResize on the attached bitmap it just hangs
B4X:
NewTitleBitmap.TitleBitmap = LoadBitmapResize(Path, FolderFile, 40dip, 40dip, True)
If I just Open the bitmap with Paint.Net and SAVE it the size changes from 345kb to 1.2meg but then LoadBitmapResize...
hi, its more a b4x question then a b4j question. i just post it here because the code i write is in b4j because its much simpler but i need it for b4i.
anyway, i want to return a bitmap from 2 bitmaps drawn one of each other. what would be the best way to do it? (as much b4x as possible)
i do...