Page 1 of 1

Android native Controls

Posted: Fri Jun 30, 2017 7:14 am
by UKMC
Good morning,

has anyone already made other widgets for Android native Controls than the Android Button provided with LC 9 DP7 ?
Reading the article https://livecode.com/using-infinite-liv ... p-os-apis/, it seems to be not so hard for an expert to create the widgets shown there, but for a complete LCB-novice it is a big hurdle...

I would be very grateful to get your response (and perhaps some widgets ;-))

Best regards


Ulrich

Re: Android native Controls

Posted: Mon Jul 03, 2017 7:04 pm
by PaulDaMacMan
I was gonna give it a shot with the on/off toggle, but I'm on vacation now! It doesn't seem very difficult. What I'm much more interested in is wrapping APIs that use callbacks from Android system services. They provided an example for background audio. I want to wrap a call to the media-scanner for the Android media DB. I'll certainly post it if/when I get it done.

Re: Android native Controls

Posted: Mon Oct 02, 2017 7:13 pm
by cwkalish
HI.
Did you ever find a way to call the media scanner from within live code? I'd like to do that too...

Thanks.

Re: Android native Controls

Posted: Thu Oct 05, 2017 11:10 pm
by PaulDaMacMan
cwkalish wrote:
Mon Oct 02, 2017 7:13 pm
HI.
Did you ever find a way to call the media scanner from within live code? I'd like to do that too...

Thanks.
Sorry no, not yet anyway, I kind of got away from coding for awhile on holiday and then I was too busy with my day job. Starting to get that itch again now, I'll let you know if I get anywhere with that.