Android Native Button

Ralph DiMola rdimola at evergreeninfo.net
Tue Apr 3 12:45:10 EDT 2018


Yes, I enumerated the font names on the device and used the "Droid Serif" font.

QCC report 21141 submitted.

 

Thanks Brian

 

Ralph DiMola

IT Director

Evergreen Information Services

rdimola at evergreeninfo.net

 

From: Brian Milby [mailto:brian at milby7.com] 
Sent: Tuesday, April 03, 2018 12:51 AM
To: How to use LiveCode
Cc: Ralph DiMola
Subject: Re: Android Native Button

 

Looking at the code for the android field, it is probably a bug. In that code the type is optional pointer and a check is done that a pointer was returned. That check is not done for the button. Are you sure the font being specified is valid?

I have not done anything android, so this is just a quick read of the LCB code.

On Mon, Apr 2, 2018 at 11:14 PM Ralph DiMola via use-livecode <use-livecode at lists.runrev.com> wrote:

I'm receiving the error below. The button does render. I can't change the textsize? Have I missed something or should I submit a QCC bug report?

Thanks

occurred on line:0
0,Value is not of correct type for assignment to variable - expected
type<type:_builtin_pointer> for
assigning to a variable tTypefacePtr in
com.livecode.widget.native.android.button.SetTypeface


Ralph DiMola
IT Director
Evergreen Information Services
rdimola at evergreeninfo.net


_______________________________________________
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