Foreign Function Interface (FFI) Documentation for Java

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

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
dickey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Wed Apr 08, 2009 11:54 pm
Location: Shellharbour, Australia

Foreign Function Interface (FFI) Documentation for Java

Post by dickey » Fri Apr 06, 2018 5:18 am

Hello all,

I am just trying to locate within the LC eco-system some more documentation on using the FFI with Java for Android Development.

I believe the functionality is delivered in LC 9.

The resources I have found on the topic so far:

Using Infinite Livecode For Android to Create Native Controls and Wrap OS APIs:
https://livecode.com/using-infinite-liv ... ment-84139

LC9, DP6: Infinite LiveCode Preview
https://livecode.com/livecode-9-0-dp-6- ... e-preview/

Feature Exchange - Engineers Description FFI
https://downloads.livecode.com/feature- ... on-ffi.pdf

Does anyone know of more Guides?

Kind regards, Andrew

bogs
Posts: 5435
Joined: Sat Feb 25, 2017 10:45 pm

Re: Foreign Function Interface (FFI) Documentation for Java

Post by bogs » Fri Apr 06, 2018 5:57 am

Well, there is this entry in Max's excellent wiki - http://livecode.wikia.com/wiki/Foreign_bindings_to_Java
Image

dickey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Wed Apr 08, 2009 11:54 pm
Location: Shellharbour, Australia

Re: Foreign Function Interface (FFI) Documentation for Java

Post by dickey » Fri Apr 06, 2018 6:37 am

Thanks bogs,

I had read but forgot to provide a link to that great resource.

The post does a great job of explaining interaction with a sticky intent. I was hoping to find examples using a broadcast receiver and a content observer within a content resolver. That said I'm making some progress.

Kind regards, Andrew

livecodeali
Livecode Staff Member
Livecode Staff Member
Posts: 192
Joined: Thu Apr 18, 2013 2:48 pm

Re: Foreign Function Interface (FFI) Documentation for Java

Post by livecodeali » Fri Apr 06, 2018 8:12 am

There's a section in the Extending LiveCode guide now with more detail, in the IDE dictionary guides tab, and also at:
https://github.com/livecode/livecode-id ... de.md#java

Also potentially worth looking at are the java stdlib tests:
https://github.com/livecode/livecode/bl ... b/java.lcb

Feel free to ask any specific questions that you can't find answers to in the docs in the LiveCode Builder forum:
http://forums.livecode.com/viewforum.php?f=93

dickey
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 114
Joined: Wed Apr 08, 2009 11:54 pm
Location: Shellharbour, Australia

Re: Foreign Function Interface (FFI) Documentation for Java

Post by dickey » Fri Apr 06, 2018 9:23 am

Thank you Ali,

I will review the resources you have shared before asking any further questions.

Kind regards, Andrew

Post Reply

Return to “Android Deployment”