Apps immediate quit after start.

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
terryho
Posts: 126
Joined: Mon Nov 05, 2012 2:53 pm

Apps immediate quit after start.

Post by terryho » Thu Nov 19, 2015 3:29 pm

Hi All,

I face problem on deploy Android apk file in the Android real device. I make a standalone file(apk) of the attach sample stack and install in the android device, then it will run and immediate exit the apps and return to android desktop. But if I change those chinese character in the stack, Then the standalone file will not have this proboem. The following device I had test, which face the same problem :

Brand name Model Android os version Lc version
Xiaomi 4i 5.0.2 LC 6.7.7 or above
Xiaomi Redmi Note 2 5.0.2 LC 6.7.7 or above
Asus zenfone 2 4.1.1 LC 7.1.1 rc3

I think the problem is happen on some brand name of device.

Please help me to test the attach LC sample stack and make a standalone file, install in your device and advice the result. please provide the following information :

Device brand name :
Device model :
Android version :
Your Live code version :
Your development platform : Mac OSx version/ Win 8/ Win 10 or other
Android SDK version :
Can run with Chinese character : Yes/No
Only run without Chinese character : Yes/No

Regards

Terry Ho
Attachments
lc7Test.livecode.zip
(1.83 KiB) Downloaded 251 times

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Apps immediate quit after start.

Post by capellan » Sat Nov 21, 2015 6:25 am

Hi Terry,

Device brand name : Polaroid
Device model : PMID800
Android version : 4.0.3
Your Live code version : LC Community 7.1
Your development platform : Ubuntu Linux
Android SDK version : API Level 8/10/16
Can run with Chinese character : Yes, I can view Chinese Chars in the text field
Only run without Chinese character : No, compiled app launches and quits fine too

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Apps immediate quit after start.

Post by jacque » Sat Nov 21, 2015 5:39 pm

It could be a font problem. The devices that crash may not have the right fonts installed. Does the stack specify a particular font?
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Apps immediate quit after start.

Post by FourthWorld » Sat Nov 21, 2015 6:17 pm

jacque wrote:It could be a font problem. The devices that crash may not have the right fonts installed.
Do you know if a bug report has been filed against that?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Apps immediate quit after start.

Post by capellan » Sat Nov 21, 2015 6:53 pm

By the way, Terry,
Could you post a screenshot of your stack?
LC7Test_UbuntuLinux.png
In this way, we could verify if
chinese characters displayed
in our computers are the same
that you wrote in your stack.

Alejandro

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Apps immediate quit after start.

Post by capellan » Sat Nov 21, 2015 8:54 pm

Hi Jacque,
jacque wrote:It could be a font problem. The devices that crash may not have the right fonts installed. Does the stack specify a particular font?
Using an Hexadecimal Editor, the only font name found
in the stack is Helvetica Neue,unicode.

Content of text field is <p>&#20013;&#22830;&#25991;</p>

Alejandro

terryho
Posts: 126
Joined: Mon Nov 05, 2012 2:53 pm

Re: Apps immediate quit after start.

Post by terryho » Sun Nov 22, 2015 1:33 am

Hi all,

I had file this bug, and confirmed.

I notice that it is happen for device, which using Android 5.0 or above.
In theory for device which using android under 5.0 will not have this problem.

Thanks your help.

Regards

Terry Ho

Post Reply