title: admob and android NativeActivity
body: <p>I have a very simple question regarding overlaying things such as banner ads over NativeActivity apps. So, where in java I have -</p>
  
  <pre><code>public class freddy extends android.app.NativeActivity
  </code></pre>
  
  <p>and then -</p>
  
  <pre><code>void android_main(android_app* app) //this in c
  </code></pre>
  
  <p>It seems to me that this - <a href="https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals#play" rel="nofollow">https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals#play</a> is not going to work because -</p>
  
  <pre><code>LinearLayout layout = (LinearLayout) findViewById(R.id.linearLayout);
  layout.addView(adView);
  </code></pre>
  
  <p>is no longer valid. I'm finding very little info on any of this, but it must be catching out a lot of people writing cross-platform apps? Have I missed something obvious? I hope so :)</p>
  
  <p>thanks, tony</p>