Skip to main content


Showing posts from July, 2018

Twilio Video Adobe Native Extension - Build your extension - Part 3

By now, you will be having your interface and android library. If you missed how to build interface, look here. If you missed android library building, check our here.

Now let us integrate both code to have our extension.

Create extension directory Create a directory named extension which will hold both wrapper and android libraries and will generate the extension.
Create a sub directory named android.

Copy wrapper library Copy our wrapper library TwilioVideo.swc to extension directory. Also copy library.swf to android folder.

Copy android library Next copy android library(jar type file found in build/classes/artifacts/{artifact name} of your android project) to android directory.

Copy android resource files Our extension need JNI files used by Twilio video to be added as a resource. So download your approriate twilio video version aar file from

Now unzip the downloaded aar file and create a directory named libs inside android dir…

Twilio Video Adobe Native Extension - Building Android Library - Part 2

Now, We have build the interface for our extension. If you missed that part, please take a look here. Follow below steps to build android library.

Create android project Open Android Studio and create an android project. Please give a package name(Here I am using same as wrapper package name) and give the same minimum sdk Twilio video will support. Don't create activity now because we will be creating later.

Add Adobe extension library Now copy FlashRuntimeExtensions.jar file from lib/android directory in Flex SDK directory to app/libs directory in your android project.

Later, you need to add this jar library to your project. Go to File->Project Structure, Under Modules section, select app. Here you can see your project settings.

Under dependency tab, add a new jar dependency and select the jar file we have copied. When you add the jar file, you can see our jar file added in app gradle file.

Add Twilio video Now add latest twilio video(currently available version is 2.1.0). Yo…

Twilio Video Adobe Native Extension - Getting Started with Interface - Part 1

We know Adobe AIR apps doesn't support to add native platform external SDK's directly nor we can call native API's. So we need to create an extension that will help out to do our native stuffs

For couple of months, I have been working on Adobe AIR app and now I need to integrate Twilio's video. So here I will show you how to build an adobe native extension for Android that will make Twilio video call.

First of all, we need to define extension public API wrapper or interface. This API will be accessible from AIR app. Wrapper will be build using actionscript. For wrapper, we need a package name. Here I will be using as my package name.

Create wrapper directory Create a directory named 'wrapper'. Here we will create our extension wrapper.

Create API class to start video Next create a file under ijasnahamed/twilio/video directory. Copy below code to that file

package { import…