Android Question apng Problem

FrankDev

Active Member
Licensed User
Longtime User
Hello

I have a apng problem.
Basically it works for me already
(elephant demo)

but these do not go for example.

Error Msg
B4X:
Error occurred on line: 306 (APNGView)
java.lang.RuntimeException: Error loading bitmap.
    at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.Initialize2(CanvasWrapper.java:539)
    at test.test1.apngview._loadbitmapfromstream(apngview.java:812)
    at test.test1.apngview._loadimage(apngview.java:992)
    at test.test1.apngview._loadframe(apngview.java:888)
    at test.test1.apngview._loadframes(apngview.java:1023)
    at test.test1.apngview._setdata(apngview.java:295)
    at test.test1.main$ResumableSub_Startbildschirm.resume(main.java:1449)
    at test.test1.main._startbildschirm(main.java:1364)
    at test.test1.main._activity_create(main.java:1271)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
    at test.test1.main.afterFirstLayout(main.java:106)
    at test.test1.main.access$000(main.java:18)
    at test.test1.main$WaitForLayout.run(main.java:84)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:201)
    at android.app.ActivityThread.main(ActivityThread.java:6810)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
** Activity (main) Resume **
 

FrankDev

Active Member
Licensed User
Longtime User
I had some made by different graphic artists on fiverr because the first one didn't work.

Unfortunately, none of the 3 different graphic artists work...

so in chrome all work
 
Upvote 0

FrankDev

Active Member
Licensed User
Longtime User
then I have to think of something else.

Gif I had tried, but the quality at the edges (transparency) is too bad
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…