Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Call an Android Activity from PCL

$
0
0

Hi,

I am relatively new to Xamarin.Forms and am currently working on a cross-platform app. Part of the app requires videos to be played using Brightcove's Player SDK (Java classes). I have created a Binding Project for this and am able to play videos on Android.

My views are created in the PCL of my app but the Brightcove SDK is native so I have developed an Android Activity to implement the Player. What I am now trying to do is find a way to run that Activity as part of one of my views, i.e. when someone clicks a particular button on the app the Activity will run and play a video as the top half of one of my PCL views.

I was just wondering if anyone has any guidance on the best way to do this? Any advice is appreciated.

Thanks very much,
Stephen.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>