Android app black screen?

Mark Smith marksmithhfx at gmail.com
Tue Jul 25 08:41:13 EDT 2023


Hi Panos,

I do set accelerated rendering to true in a preopencard handler on the “main”, “first”, “home” card (whatever you want to call it). It’s in the section of code that defines the properties of the data grid. Do you think this possibly could cause a problem?

> On 25 Jul 2023, at 1:16 pm, panagiotis m via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Hello Klaus,
> 
> Nope, I just asked because I had seen some similar issues when setting this
> property on preopenstack.
> 
> Well, if the same app worked as expected before, then it may be just a
> random glitch, which would have been fixed with a restart of the device
> (i.e no need to delete and reinstall the app).
> 
> Cheers,
> Panos
> 
> On Tue, 25 Jul 2023, 15:11 Klaus major-k via use-livecode, <
> use-livecode at lists.runrev.com> wrote:
> 
>> Hi Panos,
>> 
>>> Am 25.07.2023 um 14:06 schrieb panagiotis m via use-livecode <
>> use-livecode at lists.runrev.com>:
>>> 
>>> Hello Klaus,
>>> 
>>> Are you setting the acceleratedRendering to true on startup?
>> 
>> no, should I? 8-)
>> However this came out of a sudden after using my (same) app many times
>> before...
>> 
>>> Kind regards,
>>> Panos
>>> 
>>> On Tue, 25 Jul 2023, 12:15 Mark Smith via use-livecode, <
>>> use-livecode at lists.runrev.com> wrote:
>>> 
>>>> Hi Klaus,
>>>> 
>>>> I’ve had similar things happen on iOS, perhaps more recently in the past
>>>> year than previously. Sometimes when I open the app (I’m not sure at
>> these
>>>> times if the app is just suspended or is actually reopening) I’ll get a
>>>> black screen. If I tap on it 90% of the time it goes away and reveals
>> the
>>>> appropriate screen image. Very rarely the single or multiple taps
>> solution
>>>> does not work I’ve had to shut the app down (remove from memory) and
>> then
>>>> restart it again. This always fixes the problem (if the tapping
>> doesn’t).
>>>> It’s had me wondering where in the process it “hangs” since tapping the
>>>> screen suggests it is still “alive" but just stuck somewhere and not
>>>> displaying the appropriate screen image. On iOS I believe when you
>> suspend
>>>> an app (put it into the background) it just “maintains” the current
>> screen
>>>> image and re-presents that when you reopen. Up to now I’ve not spend any
>>>> time trying to debug this. It would be nice to be able to trace the
>> problem
>>>> back to its origins and institute a remedy. Please let me know if you
>> come
>>>> up with any suggestions.
>>>> 
>>>> Best,
>>>> Mark
>>>> 
>>>> 
>>>>> On 24 Jul 2023, at 8:04 pm, Klaus major-k via use-livecode <
>>>> use-livecode at lists.runrev.com> wrote:
>>>>> 
>>>>> Hi all,
>>>>> 
>>>>> today I used my Android app at home, no problems.
>>>>> Then I went to our band rehearsal, started the app and
>>>>> only got a black screen!?
>>>>> 
>>>>> Everything else on the device worked without problems.
>>>>> De- and re-installing the app fixed it.
>>>>> 
>>>>> Has someone also experienced something like this?
>>>>> 
>>>>> Samsung tablet TAB A, Android 5.1, LC 9.6.9.
>> 
>> Best
>> 
>> Klaus
>> 
>> --
>> Klaus Major
>> https://www.major-k.de
>> https://www.major-k.de/bass
>> klaus at major-k.de
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at 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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list