Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

How to call method from AndroidGameActivity (i.e. for displaying admob-ads)

$
0
0

@harryh100 wrote:

Hi there,

we have a few methods on our Activity1 to show admob-banners or interstitial. I´m fairly new to xamarin and the mixed Android/Java-style/XML/C#-Stuff but I just can´t figure out how to call any of those methods from our Game1-Activity. I tried to save the instance of Activity1 in a member of Game1 and tried to call it from there but I just don´t know how to do.
There must be a real easy solution for that as nobody else seemed to have that problem but maybe somebody out there can help me out here.

Thank you,

Harry

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles