Ai2Offline 4.2 bug!

When OtherScreenClose not work.

screen1

design
image

screen2

screen3

aia file: test.aia (5.1 KB)

when close other screen not return any value.

please fix it.

1 Like

it you problem, my all work

Companion or APK?
And show also the blocks on Screen2.

Companion, apk error. May use Tinydb or extension

With APK:
grafik

grafik

Is aia2ofline?

Yes AI2Offline download | SourceForge.net

but my apk not work.
aia file: test.aia (5.1 KB)

APK on Android 11:

grafik

But you are correct, there is no "result" (with AI2Offline, for whatever reason).
@Ramiro

yes otherscreenname or result not return but work in ai2 offline companion.

grafik

Try something like this:

I no need to close screen1.

Are you reading it carefully??

  • When your app start as Screen1, there is one active screen and no unused screens.
  • When your app switches to Screen2 without closing the screen, Screen2 is the active screen and Screen1 is the inactive screen.
  • If you close the screen at this moment, Screen2 is closed. The active screen will then be passed to the previous active screen, which is Screen1.

This is what beginners usually do, but it uses a lot of cache and memory. Doing this a lot of times might cause your app to crash. So, Anke came up with this idea that is much more efficient, which closes inactive screens.

1 Like

(post deleted by AyProductions)

i know, this is a test apk, i use my real apk but not work in onether screen.

@Bibek_Barman why aren't you reading properly?

Hello Bibek

Put your issue to the developer of Ai2Offline, not here.

1 Like