Re: Android black screen again...

2023-08-12 Thread Klaus major-k via use-livecode
Hi Jacque,

you wrote:

> I'm just guessing, but memory may be too low to allow the browser widget to 
> work,

however I am not using the browser widget (does not display PDFs on Andoid!)
but the PDF widget!

> Am 11.08.2023 um 22:30 schrieb J. Landman Gay via use-livecode 
> :
> 
> On 8/11/23 3:12 AM, Klaus major-k via use-livecode wrote:
>> The problem is that this is not reproducable, it happens out of a sudden if 
>> it happens.
>> Even the hardware BACKKEY does not work in that situation, only the HOMEKEY 
>> so I can
>> at least quit the app.
> 
> That's called an ANR ("Application Not Responding"). Something in the app is 
> causing a hang. If you wait long enough, Android should put up a dialog 
> asking if you want to wait or close the app. If you choose to wait, sometimes 
> it comes back. However, the wait can be 10-20 seconds or more so people often 
> just quit before the dialog appears.

OK, if I have the time I will wait next time and see what happens.

> The problem here is figuring out what causes it. Is it always the same PDF 
> file? Or maybe it happens after opening a certain number of files, or the 
> length of a file, or the cumulative length of several files, or...? If it 
> isn't reproducible, it's very difficult to find the cause.

It happen when I start the app, at that point there is no PDF loaded, just the 
"start card"
with a couple of poly grids.

It also happened in the same "session", means no switching the device off and 
on again.
I started the device then opened my app, no problems.
Then I quit my app and started again, BOOM, black screen.

> If it happens to you at home some day, see if waiting 15 seconds or more puts 
> up that dialog. That would confirm it's an ANR.

Yes, will do, thanks for the hint!

> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android black screen again...

2023-08-11 Thread J. Landman Gay via use-livecode

On 8/11/23 3:12 AM, Klaus major-k via use-livecode wrote:

The problem is that this is not reproducable, it happens out of a sudden if it 
happens.
Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so 
I can
at least quit the app.


That's called an ANR ("Application Not Responding"). Something in the app is causing a hang. If 
you wait long enough, Android should put up a dialog asking if you want to wait or close the 
app. If you choose to wait, sometimes it comes back. However, the wait can be 10-20 seconds or 
more so people often just quit before the dialog appears.


The problem here is figuring out what causes it. Is it always the same PDF file? Or maybe it 
happens after opening a certain number of files, or the length of a file, or the cumulative 
length of several files, or...? If it isn't reproducible, it's very difficult to find the cause.


If it happens to you at home some day, see if waiting 15 seconds or more puts up that dialog. 
That would confirm it's an ANR.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android black screen again...

2023-08-11 Thread Klaus major-k via use-livecode
Hi Jacque,

> Am 10.08.2023 um 22:34 schrieb J. Landman Gay via use-livecode 
> :
> 
> I looked up the Samsung Tab A and it says it runs Android 9, upgradable to 
> 11. There are multiple RAM options. Is this the one you have? 
> 
> 
> I'm just guessing, but memory may be too low to allow the browser widget to 
> work, since it does work after a reboot and the problem only happens 
> occasionally. But Android 5 is almost 10 years old and I'd be surprised if 
> that is what your tablet is running. Have you checked for an update? You have 
> much more control of memory usage with a newer OS.

sorry, my fault, I obviously have an older version of the tablet and it does in 
fact run Android 8.1.
However it is not upgradable.

> In any case, you can keep memory usage lower if you delete or disable all 
> apps and processes you don't need. You can do that in Settings/Apps. Samsung 
> installs a lot of bloatware and if you don't use those things, turn them off 
> or remove them. You can't always uninstall these but you can disable some of 
> them. Also uninstall any extra apps you don't use. I have a newer Samsung 
> tablet and I disabled or deleted almost half the software it shipped with. 
> Many of these run in the background and use memory. Launcher widgets also run 
> constantly so remove the ones you don't need from your launch screens.

I already did that, snice I only need the device for displaying PDF leadsheets.
But if it would be a memory issue, then it would happen more often, I think.

The problem is that this is not reproducable, it happens out of a sudden if it 
happens.
Even the hardware BACKKEY does not work in that situation, only the HOMEKEY so 
I can 
at least quit the app.

> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On August 10, 2023 5:03:24 AM Klaus major-k via use-livecode 
>  wrote:
> 
>> Hi friends,
>> 
>> maybe you remember my problem, that my app
>> turns into a black screen occacionally.
>> 
>> This has happened again about four or five times since
>> I reported it here.
>> 
>> This never happens at home, only when I am at a band
>> rehearsal, but never at a gig (fingers crossed).
>> 
>> Restarting the dveice definitively cures this, thank you Panos,
>> but sometimes, especially at a gig, I do not have the time to
>> do so. :-/
>> 
>> So any further hints highly appreciated!
>> 
>> macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet.
>> I'm mainly using the PDF widget if that matters...

Best

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android black screen again...

2023-08-10 Thread J. Landman Gay via use-livecode
I looked up the Samsung Tab A and it says it runs Android 9, upgradable to 
11. There are multiple RAM options. Is this the one you have? 



I'm just guessing, but memory may be too low to allow the browser widget 
to work, since it does work after a reboot and the problem only happens 
occasionally. But Android 5 is almost 10 years old and I'd be surprised if 
that is what your tablet is running. Have you checked for an update? You 
have much more control of memory usage with a newer OS.


In any case, you can keep memory usage lower if you delete or disable all 
apps and processes you don't need. You can do that in Settings/Apps. 
Samsung installs a lot of bloatware and if you don't use those things, turn 
them off or remove them. You can't always uninstall these but you can 
disable some of them. Also uninstall any extra apps you don't use. I have a 
newer Samsung tablet and I disabled or deleted almost half the software it 
shipped with. Many of these run in the background and use memory. Launcher 
widgets also run constantly so remove the ones you don't need from your 
launch screens.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On August 10, 2023 5:03:24 AM Klaus major-k via use-livecode 
 wrote:



Hi friends,

maybe you remember my problem, that my app
turns into a black screen occacionally.

This has happened again about four or five times since
I reported it here.

This never happens at home, only when I am at a band
rehearsal, but never at a gig (fingers crossed).

Restarting the dveice definitively cures this, thank you Panos,
but sometimes, especially at a gig, I do not have the time to
do so. :-/

So any further hints highly appreciated!

macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet.
I'm mainly using the PDF widget if that matters...


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android black screen again...

2023-08-10 Thread Klaus major-k via use-livecode
Hi friends,

maybe you remember my problem, that my app
turns into a black screen occacionally.

This has happened again about four or five times since 
I reported it here.

This never happens at home, only when I am at a band 
rehearsal, but never at a gig (fingers crossed).

Restarting the dveice definitively cures this, thank you Panos,
but sometimes, especially at a gig, I do not have the time to 
do so. :-/

So any further hints highly appreciated!

macOS 12.6.8, LC 9.6.9, android 5.1 on a SAMSUNG TAB A tablet.
I'm mainly using the PDF widget if that matters...


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode