I think Quick APK downloads BASIC! source independently (Nicolas can confirm). LowMem warning doesn't terminate the BASIC! program, but Android can decide to kill BASIC! in case of low memory, warning or no warning. Anyway to avoid Low memory warnings it's enough:
Super Nicolas. I will set this specific manifest value to avoid this message. I will recompile latest Rfo-basic from github. Fortunately, Rfo basic quick apk allow user to put his own variant of basic.apk. I will test The system stability when I will use android:largeHeap=["true". It is perfect, because I will do not have to remove low memory warning from run.java or I will not have to use onLowMemory interrupt. It is amazing.
My conclusions are as follows: Low memory warning is indicator of Android operating system and RFO-BASIC inform developer about this operating system event so The developer can or should receive appropriate development measures to reduce possible extreme or high memory allocations. Ignoring this may lead to application auto kill, especially if Basic run at The background. android:largeHeap="true" situated at The <application androidmanifest.xml session do its best to enforce maximum of free memory from Dalvik. But it do not guarantee, that Android will not create low memory event so I have made The following thinks. I have set android:largeHeap="true" I have used OnLowMemory: LOWMEMORY.RESUME I have added this code as my last two lines of my program. And before I will turn my screen off, I will not put my Rfo-basic app to The background. And I will do my best to have mobile phone with 1,5 GB of free RAM if possible.
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum