B4J Question [Solved] Web Image Example error in B4J

Theera

Well-Known Member
Licensed User
Longtime User
refer to https://www.b4x.com/android/forum/threads/b4x-webp-images.119990/

I've studied WebP Image on B4A and B4J. B4A example is OK ,But B4J example is not OK. How do I do?
 

teddybear

Well-Known Member
Licensed User
refer to https://www.b4x.com/android/forum/threads/b4x-webp-images.119990/

I've studied WebP Image on B4A and B4J. B4A example is OK ,But B4J example is not OK. How do I do?
B4X:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
The log is a warning message.
I guess your imageview is not initialized, you'd better post a small project.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
My TestProject is attached as belows
 

Attachments

  • WebP_Image.zip
    27.3 KB · Views: 23
Upvote 0

teddybear

Well-Known Member
Licensed User
It's like I guessed. you did not do initializing imageview. you may initialize it in Designer.
zip is attached and updated
 

Attachments

  • WebP_Image.zip
    27.4 KB · Views: 26
Last edited:
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
It's like I guessed. you did not do initializing imageview. you may initialize it in Designer.
zip is attached and updated
How do I initialize it in Designer? I have checked in Designer about part of coding,there is notthing.
 
Upvote 0

teddybear

Well-Known Member
Licensed User
How do I initialize it in Designer? I have checked in Designer about part of coding,there is notthing.
Add a imageview in Designer, you can see that in the zip I posted
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
How do I initialize it in Designer? I have checked in Designer about part of coding,there is notthing.
Ok ,I have forget to copy designer from B4A to B4J. I understand it . Thank you for kind of you.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…