Android Question APNG

Guenter Becker

Active Member
Licensed User
Hi,
I like to use the APNG Lib from Erel as part of a custom view.
The APNG Object is initialized in the Base Initialize SUB.
The APNG Object is added to the View Base by code.

If I go to load the Data (apng Bitmap) into the Object ( as code line of Create SUB) it leads to the Error Object not initialized.
It seems that the Objects initialization is not done. Also using a sleep(0) does not work.

Is anyone able to tell me how to initialize the APNG Object as Part of a custom view.

Whish you a happy christmas.
 

Guenter Becker

Active Member
Licensed User
How do you add it by code ?
You need to add it by loading a layout file, with just the APNGView in it.
I know this but in my case i do not like to use a layout. If it is not possible to use it added by code then I will delete this lib an d try to go an other way.
 
Upvote 0

DarkoT

Active Member
Licensed User
Hi,
I like to use the APNG Lib from Erel as part of a custom view.
The APNG Object is initialized in the Base Initialize SUB.
The APNG Object is added to the View Base by code.

If I go to load the Data (apng Bitmap) into the Object ( as code line of Create SUB) it leads to the Error Object not initialized.
It seems that the Objects initialization is not done. Also using a sleep(0) does not work.

Is anyone able to tell me how to initialize the APNG Object as Part of a custom view.

Whish you a happy christmas.
My suggestion is to use B4xImageView and load a GIF file. There are 1001 online tools that can convert/combine JPG into GIF...
 
Upvote 0
Top