Hyperloop: required .aar file in android

1. Create a test project.
2. Enable Hyperloop. 
3. Add Third-party libraries on Platform > android 
4. Add the following code in index.js

(function constructor(args) {
    var VideoView = require('com.twilio.video.VideoView');
 
    var Activity = require('android.app.Activity');
    var activity = new Activity(Ti.Android.currentActivity);
    
    var primaryVideoView = new VideoView(activity);    
     $.container.add(primaryVideoView);
 

    $.container.open();
})(arguments[0] || {});
5. Build on android devices.


মন্তব্যসমূহ

একটি মন্তব্য পোস্ট করুন

এই ব্লগটি থেকে জনপ্রিয় পোস্টগুলি

Github: Push an existing repository from the command line

Android : Enable/Disable wifi programmatically

Android : Firebase Cloud Messaging