android - Will ad show up in above config. or it will directly start the next activity? -


new game button in xml on clicking newgame run.

<button         android:id="@+id/button1"         android:layout_width="130dp"         android:layout_height="wrap_content"         android:layout_alignparentbottom="true"         android:layout_alignparentleft="true"         android:layout_marginbottom="1dp"         android:layout_marginleft="1dp"         android:onclick="newgame"         android:text="@string/newgame" />     public void newgame(view view) {         if (startappad != null){                startappad.show();                startappad = null;             }          intent intent = new intent(this,mainactivity.class);         startactivity(intent);         finish();     } 

question , ad show in above config. or directly start next activity ?? if not please suggest way show ad on clicking button & after start new activity. in advance

( have tried in emulator not show , dont know if problem becoz of internet )

impression there not able see there no pause.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -