Admob Ads Finally Show but now my APP is NOT
How do I get this:
super.onCreate(savedInstanceState);
super.setIntegerProperty( "splashscreen", R.drawable.splash );
super.loadUrl("file:///android_asset/www/index.html", 3000);
Into this without errors:
package com.appsclamation.wowmedesigns;
import android.app.Activity;
import android.os.Bundle;
import com.phonegap.*;
import com.google.ads.*;
public class DefaultActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
// Look up the AdView as a resource and load a request.
AdView adView = (AdView)this.findViewById(R.id.adView);
adView.loadAd(new AdRequest());
}
}
So my ads and my actual app show at the same time? I removed it to get the
view working and now the app does not show when I put it back I get
errors. This is the hurdle and everything should work great.
Thanks in advance
No comments:
Post a Comment