RE: Android ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Ralph DiMola via use-livecode
It should be there. It's not in the tools folder it's in the
"platform-tools" folder. Clear the logcat before you go to practice then
after you get home after a hang/crash do the logcat.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Klaus major-k via use-livecode
Sent: Thursday, September 14, 2023 1:50 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: Android ANR (App not responding | Jacque was right :-)

Hi Ralph,

> Am 14.09.2023 um 19:43 schrieb Ralph DiMola via use-livecode
:
> 
> Klaus,
> 
> You need to get it using a command prompt via USB. Connect device. 
> Open command prompt. In the android SDK platform-tools folder... Steps:
> 
> 1) Clear the log
> 2) Get you app to crash
> 3) Get a log
> 
> ADB commands below:
> 
> ADB logcat -c
> Now run your app till crash
> ADB logcat
> 
> The log can be piped to a file.
> In windows it's
> ADB logcat > somefile.txt
> The logcat will keep running so on windows a ctrl C will terminate.

OK, thank you.

But I'm using a Mac and it looks like that tool is not available here in the
SDK tools folder.
Maybe available somewhere in "Android Studio".

And my problem NEVER happened when I'm at home, only during band rehearsals
and gigs! :-D

> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net

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


RE: Android ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Ralph DiMola via use-livecode
I was thinking that if it's indeed a hang it would show how far the app
activation proceeded before the hang. Maybe that would help/confirm that
this is indeed a hang or crash.

Just a thought

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of J. Landman Gay via use-livecode
Sent: Thursday, September 14, 2023 2:04 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: RE: Android ANR (App not responding | Jacque was right :-)

He's not crashing, it's a hang. I can't remember if logcat shows those.

My guess is that it's a memory problem since he's running a very old version
of Android with not much RAM, and restarting the app may force retained apps
to release RAM. But a log can't hurt at any rate.

Klaus, remove all unnecessary widgets from your home screen(s). Also go
through all the apps in settings and disable or delete any you don't use. 
Android will not allow you to do that for required apps so if the buttons
are enabled then it's safe. Most devices come with a lot of bloatware that
runs in the background and uses memory. Widgets are especially bad at that.

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 14, 2023 12:21:15 PM Ralph DiMola via use-livecode 
 wrote:

> Get a logcat after a crash and see if Panos can glean anything useful from
> it. It helped me once identifying and getting a crash fix implemented.




___
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


RE: Android ANR (App not responding | Jacque was right :-)

2023-09-14 Thread J. Landman Gay via use-livecode

He's not crashing, it's a hang. I can't remember if logcat shows those.

My guess is that it's a memory problem since he's running a very old 
version of Android with not much RAM, and restarting the app may force 
retained apps to release RAM. But a log can't hurt at any rate.


Klaus, remove all unnecessary widgets from your home screen(s). Also go 
through all the apps in settings and disable or delete any you don't use. 
Android will not allow you to do that for required apps so if the buttons 
are enabled then it's safe. Most devices come with a lot of bloatware that 
runs in the background and uses memory. Widgets are especially bad at that.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On September 14, 2023 12:21:15 PM Ralph DiMola via use-livecode 
 wrote:



Get a logcat after a crash and see if Panos can glean anything useful from
it. It helped me once identifying and getting a crash fix implemented.





___
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 ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Klaus major-k via use-livecode
Hi Ralph,

> Am 14.09.2023 um 19:43 schrieb Ralph DiMola via use-livecode 
> :
> 
> Klaus,
> 
> You need to get it using a command prompt via USB. Connect device. Open
> command prompt. In the android SDK platform-tools folder... Steps:
> 
> 1) Clear the log
> 2) Get you app to crash
> 3) Get a log
> 
> ADB commands below:
> 
> ADB logcat -c
> Now run your app till crash
> ADB logcat
> 
> The log can be piped to a file.
> In windows it's 
> ADB logcat > somefile.txt
> The logcat will keep running so on windows a ctrl C will terminate.

OK, thank you.

But I'm using a Mac and it looks like that tool is not available here in the 
SDK tools folder.
Maybe available somewhere in "Android Studio".

And my problem NEVER happened when I'm at home, only during band rehearsals and 
gigs! :-D

> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net

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 ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Ralph DiMola via use-livecode
Klaus,

You need to get it using a command prompt via USB. Connect device. Open
command prompt. In the android SDK platform-tools folder... Steps:

1) Clear the log
2) Get you app to crash
3) Get a log

ADB commands below:

ADB logcat -c
Now run your app till crash
ADB logcat


The log can be piped to a file.
In windows it's 

ADB logcat > somefile.txt

The logcat will keep running so on windows a ctrl C will terminate.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Klaus major-k via use-livecode
Sent: Thursday, September 14, 2023 1:24 PM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Re: Android ANR (App not responding | Jacque was right :-)

Hi Ralph,

> Am 14.09.2023 um 19:20 schrieb Ralph DiMola via use-livecode
:
> 
> Klaus,
> 
> Get a logcat after a crash

and where can I possibly find one on my tablet?

> and see if Panos can glean anything useful from it. It helped me once 
> identifying and getting a crash fix implemented.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On 
> Behalf Of Klaus major-k via use-livecode
> Sent: Thursday, September 14, 2023 7:01 AM
> To: How to use LiveCode
> Cc: Klaus major-k
> Subject: Android ANR (App not responding | Jacque was right :-)
> 
> Hi all,
> 
> yesterday it* happened again!
> 
> *Around one of twenty times I start my app on my Samsung tablet, I get 
> a black screen.
> 
> I started the tablet, opened my app -> OK quit the app and started 
> again -> OK quit the app and started again -> OK quit the app and 
> attached my USB footswitch started the app -> BLACK SCREEN That also 
> happens without the attached footswitch
> 
> Then I took Jacque's advice and waited a bit and after about
> 30 seconds I got the "Application not responding" alter with two options:
> -> Close app
> -> Wait
> 
> So I clicked "Quit" and could start the app anew without any problem!
> 
> I am really wondering why this happens?!
> 
> On the first card there are just two polygrids with < 10 entries each, 
> loaded "on openstack" on the fly from the folders and files in the 
> resources folder See screenshot here:
>  _1.png ?rlkey=09o2ljter5hramdhv3gm5x786=0>
> (Ordner = folders)
> NO PDF is loaded yet!
> NO resizestack message, this is just for me and my tablet.
> NO "accelerated rendering" set for the stack
> 
> Any hints very welcome, not sure if I should open a bug report, since 
> this only happens from time to time, about 1 of twenty app starts.
> 
> macOS 12.6.9, LC 9.6.10, Android 8.1, Android API 33

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


Re: Android ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Klaus major-k via use-livecode
Hi Ralph,

> Am 14.09.2023 um 19:20 schrieb Ralph DiMola via use-livecode 
> :
> 
> Klaus,
> 
> Get a logcat after a crash

and where can I possibly find one on my tablet?

> and see if Panos can glean anything useful from
> it. It helped me once identifying and getting a crash fix implemented.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
> Of Klaus major-k via use-livecode
> Sent: Thursday, September 14, 2023 7:01 AM
> To: How to use LiveCode
> Cc: Klaus major-k
> Subject: Android ANR (App not responding | Jacque was right :-)
> 
> Hi all,
> 
> yesterday it* happened again!
> 
> *Around one of twenty times I start my app on my Samsung tablet, I get a
> black screen.
> 
> I started the tablet, opened my app -> OK quit the app and started again ->
> OK quit the app and started again -> OK quit the app and attached my USB
> footswitch started the app -> BLACK SCREEN That also happens without the
> attached footswitch
> 
> Then I took Jacque's advice and waited a bit and after about
> 30 seconds I got the "Application not responding" alter with two options:
> -> Close app
> -> Wait
> 
> So I clicked "Quit" and could start the app anew without any problem!
> 
> I am really wondering why this happens?!
> 
> On the first card there are just two polygrids with < 10 entries each,
> loaded "on openstack" on the fly from the folders and files in the resources
> folder See screenshot here: 
>  ?rlkey=09o2ljter5hramdhv3gm5x786=0>
> (Ordner = folders)
> NO PDF is loaded yet!
> NO resizestack message, this is just for me and my tablet.
> NO "accelerated rendering" set for the stack
> 
> Any hints very welcome, not sure if I should open a bug report, since this
> only happens from time to time, about 1 of twenty app starts.
> 
> macOS 12.6.9, LC 9.6.10, Android 8.1, Android API 33

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 ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Ralph DiMola via use-livecode
Klaus,

Get a logcat after a crash and see if Panos can glean anything useful from
it. It helped me once identifying and getting a crash fix implemented.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net

-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Klaus major-k via use-livecode
Sent: Thursday, September 14, 2023 7:01 AM
To: How to use LiveCode
Cc: Klaus major-k
Subject: Android ANR (App not responding | Jacque was right :-)

Hi all,

yesterday it* happened again!

*Around one of twenty times I start my app on my Samsung tablet, I get a
black screen.

I started the tablet, opened my app -> OK quit the app and started again ->
OK quit the app and started again -> OK quit the app and attached my USB
footswitch started the app -> BLACK SCREEN That also happens without the
attached footswitch

Then I took Jacque's advice and waited a bit and after about
30 seconds I got the "Application not responding" alter with two options:
-> Close app
-> Wait

So I clicked "Quit" and could start the app anew without any problem!

I am really wondering why this happens?!

On the first card there are just two polygrids with < 10 entries each,
loaded "on openstack" on the fly from the folders and files in the resources
folder See screenshot here: 

(Ordner = folders)
NO PDF is loaded yet!
NO resizestack message, this is just for me and my tablet.
NO "accelerated rendering" set for the stack

Any hints very welcome, not sure if I should open a bug report, since this
only happens from time to time, about 1 of twenty app starts.

macOS 12.6.9, LC 9.6.10, Android 8.1, Android API 33



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 ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Klaus major-k via use-livecode
Hi all,

yesterday it* happened again!

*Around one of twenty times I start my app on my Samsung tablet, 
I get a black screen.

I started the tablet, opened my app -> OK
quit the app and started again -> OK
quit the app and started again -> OK
quit the app and attached my USB footswitch
started the app -> BLACK SCREEN
That also happens without the attached footswitch

Then I took Jacque's advice and waited a bit and after about 
30 seconds I got the "Application not responding" alter with 
two options:
-> Close app
-> Wait

So I clicked "Quit" and could start the app anew without any problem!

I am really wondering why this happens?!

On the first card there are just two polygrids with < 10 entries each,
loaded "on openstack" on the fly from the folders and files in the resources 
folder
See screenshot here: 

(Ordner = folders)
NO PDF is loaded yet!
NO resizestack message, this is just for me and my tablet.
NO "accelerated rendering" set for the stack

Any hints very welcome, not sure if I should open a bug report, since this
only happens from time to time, about 1 of twenty app starts.

macOS 12.6.9, LC 9.6.10, Android 8.1, Android API 33



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


Android ANR (App not responding | Jacque was right :-)

2023-09-14 Thread Klaus major-k via use-livecode
Hi all,

yesterday it* happened again!

*Around one of twenty times I start my app on my Samsung tablet, 
I get a black screen.

I started the tablet, opened my app -> OK
quit the app and started again -> OK
quit the app and started again -> OK
quit the app and attached my USB footswitch
started the app -> BLACK SCREEN
That also happens without the attached footswitch

Then I took Jacque's advice and waited a bit and after about 
30 seconds I got the "Application not responding" alter with 
two options:
-> Close app
-> Wait

So I clicked "Quit" and could start the app anew without any problem!

I am really wondering why this happens?!

On the first card there are just two polygrids with < 10 entries each,
loaded "on openstack" on the fly from the folders and files in the resources 
folder
See screenshot here: 

(Ordner = folders)
NO PDF is loaded yet!
NO resizestack message, this is just for me and my tablet.
NO "accelerated rendering" set for the stack

Any hints very welcome, not sure if I should open a bug report, since this
only happens from time to time, about 1 of twenty app starts.

macOS 12.6.9, LC 9.6.10, Android 8.1, Android API 33



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