Android native Controls

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

Post Reply
UKMC
Posts: 50
Joined: Sun Jan 08, 2017 12:01 pm

Android native Controls

Post by UKMC » Fri Jun 30, 2017 7:14 am

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

PaulDaMacMan
Posts: 616
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Android native Controls

Post by PaulDaMacMan » Mon Jul 03, 2017 7:04 pm

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.
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

cwkalish
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 78
Joined: Thu Sep 30, 2010 2:24 am

Re: Android native Controls

Post by cwkalish » 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.

PaulDaMacMan
Posts: 616
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: Android native Controls

Post by PaulDaMacMan » Thu Oct 05, 2017 11:10 pm

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.
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

Post Reply

Return to “LiveCode Builder”