Android external with google play services

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark

Locked
monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Android external with google play services

Post by monte » Wed Apr 08, 2015 7:51 am

Howdy

I'm wondering if you can offer me any ideas on building an android external that depends on google play services library. Everything I've tried appears to fail miserably...
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: Android external with google play services

Post by monte » Fri Apr 10, 2015 6:12 am

So some way to include a .aar??? Lots of cool stuff in that library so I'm hoping someone can work with me on this.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

LCMark
Livecode Staff Member
Livecode Staff Member
Posts: 1206
Joined: Thu Apr 11, 2013 11:27 am

Re: Android external with google play services

Post by LCMark » Mon Apr 13, 2015 1:46 pm

@monte: I had a quick look at this and it appears to depend on being able to integrate an 'aar' archive in a build. Looking at what an 'aar' is, it is a collection of classes and optional native components which represent a library. This will likely require some patching to the Android S/B build process so it can integrate the various components into the resulting app package in the appropriate way.

monte
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 1564
Joined: Fri Jan 13, 2012 1:47 am
Contact:

Re: Android external with google play services

Post by monte » Wed Apr 15, 2015 1:29 am

Thanks @LCMark I'm not sure where to start as almost everything I can find relates to using gradle. Not sure if that can be leveraged but it's only a one liner to include using gradle. At a guess what I think we need to do is put the google play services jar in the class path when compiling the external then zip the .aar into the android directory in the external then extract it during the build and somehow include it there as you suggest.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Locked

Return to “Engine Contributors”