App Crashes on the screen with high resolution.
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
App Crashes on the screen with high resolution.
Hi all,
I found my app crashes on the device with higher resolution. the app is working fine on the device with low resolution, but on device with high resolution it suddenly crashes upon I touch the object to command change its layer.
Testing devices.
1.Samsung J2 : Android 5.1.1, Resolution: 540 x 960 pixels (~234 ppi pixel density)
2.Samsung note 5 : Android 5.1.1, Resolution:1440 x 2560 pixels (~518 ppi pixel density)
Both devices have the same OS version but the screen resolutions are different.
App built with LC 6.7.8
My stack uses fullscreenmode to "exactfit" on preOpenStack. the app launches normally on both devices but it crashes on the note 5 when object change its layer(I think...)
The cause of app crash could be something else than the resolution difference. I may missing something important for mobile app development...Could anyone suggest any idea to fix this issue? It will be very thanksful if anyone could help. thanks a lot in advance!
Kindly,
Louis
I found my app crashes on the device with higher resolution. the app is working fine on the device with low resolution, but on device with high resolution it suddenly crashes upon I touch the object to command change its layer.
Testing devices.
1.Samsung J2 : Android 5.1.1, Resolution: 540 x 960 pixels (~234 ppi pixel density)
2.Samsung note 5 : Android 5.1.1, Resolution:1440 x 2560 pixels (~518 ppi pixel density)
Both devices have the same OS version but the screen resolutions are different.
App built with LC 6.7.8
My stack uses fullscreenmode to "exactfit" on preOpenStack. the app launches normally on both devices but it crashes on the note 5 when object change its layer(I think...)
The cause of app crash could be something else than the resolution difference. I may missing something important for mobile app development...Could anyone suggest any idea to fix this issue? It will be very thanksful if anyone could help. thanks a lot in advance!
Kindly,
Louis
Re: App Crashes on the screen with high resolution.
Hi Louis
In 6.7.8 they made changes to Android Hardware Acceleration.
I don't know if you are using it or not.
Does the app work ok if you turn it off?
Paul
In 6.7.8 they made changes to Android Hardware Acceleration.
I don't know if you are using it or not.
Does the app work ok if you turn it off?
Paul
Re: App Crashes on the screen with high resolution.
Hi Paul,
Do you mean to set acceleratedRendering to false?
AcceleratedRendering is set to true in the preOpenStak.
AcceleratedRendering is required because there are moving things.. If it is the cause, should I set compositorType differently?
Or build with different version of LC?
Thanks,
Louis
Do you mean to set acceleratedRendering to false?
AcceleratedRendering is set to true in the preOpenStak.
AcceleratedRendering is required because there are moving things.. If it is the cause, should I set compositorType differently?
Or build with different version of LC?
Thanks,
Louis
Re: App Crashes on the screen with high resolution.
Sorry Louis,
I thought you might be using the Native Android Browser object and had Hardware Acceleration switched on.
Try turning off AcceleratedRendering and see how it goes.
You might also try using one of the later LC 7 builds to see if that helps stop your app crashes.
Paul
I thought you might be using the Native Android Browser object and had Hardware Acceleration switched on.
Try turning off AcceleratedRendering and see how it goes.
You might also try using one of the later LC 7 builds to see if that helps stop your app crashes.
Paul
Re: App Crashes on the screen with high resolution.
Hi Paul,
I tried with the latest LC 6 and 7.used "jdk-8u73-macosx-x64.dmg"
I confirm that the app still crashes at the same place. Also the app crashes on the note 5 in which android 6.0.1 is installed.
App working flawlessly on the device with low resolution. and crashes on the device with high resolution...
Can you suspect any thing regarding this issue?
Louis
I tried with the latest LC 6 and 7.used "jdk-8u73-macosx-x64.dmg"
I confirm that the app still crashes at the same place. Also the app crashes on the note 5 in which android 6.0.1 is installed.
App working flawlessly on the device with low resolution. and crashes on the device with high resolution...
Can you suspect any thing regarding this issue?
Louis
Re: App Crashes on the screen with high resolution.
Hi Louis,
The highest resolution Android device I have is the Galaxy J5 with a resolution of 294 ppi pixel density.
So I don't see any problems on this device.
It sounds like a bug. Might be a good idea to send a bug report to Livecode.
They would probably like to know about bugs like this.
http://quality.livecode.com/query.cgi
Paul
The highest resolution Android device I have is the Galaxy J5 with a resolution of 294 ppi pixel density.
So I don't see any problems on this device.
It sounds like a bug. Might be a good idea to send a bug report to Livecode.
They would probably like to know about bugs like this.
http://quality.livecode.com/query.cgi
Paul
Re: App Crashes on the screen with high resolution.
Paul, it could be bug...I need more investigation. thanks!