today:
216
yesterday:
600
Total:
1,151,755
package com.solatoz.joseph.uscitizenshiptest;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import com.google.android.gms.ads.MobileAds;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;

public class HomeMenuActivity extends AppCompatActivity {

public Button button22,button23,button24,button26,button27,button28,button210,button211;
private AdView mAdView;

public void init(){
button22 = (Button)findViewById(R.id.button22);
button23 = (Button)findViewById(R.id.button23);
button24 = (Button)findViewById(R.id.button24);
button26 = (Button)findViewById(R.id.button26);
button27 = (Button)findViewById(R.id.button27);
button28 = (Button)findViewById(R.id.button28);
button210 = (Button)findViewById(R.id.button210);
button211 = (Button)findViewById(R.id.button211);


button22.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent22 = new Intent(HomeMenuActivity.this, PrinciplesAmericanDemocracy.class);
startActivity(intent22);
}
});

button23.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent23 = new Intent(HomeMenuActivity.this, SystemOfGovernment.class);
startActivity(intent23);
}
});

button24.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent24 = new Intent(HomeMenuActivity.this, RightsAndResponsibilities.class);
startActivity(intent24);
}
});

button26.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent26 = new Intent(HomeMenuActivity.this, ColonialPeriodAndIndependence.class);
startActivity(intent26);
}
});

button27.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent27 = new Intent(HomeMenuActivity.this, US1800s.class);
startActivity(intent27);
}
});

button28.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent28 = new Intent(HomeMenuActivity.this, RecentAmericanHistory.class);
startActivity(intent28);
}
});

button210.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent210 = new Intent(HomeMenuActivity.this, Geography.class);
startActivity(intent210);
}
});
button211.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent211 = new Intent(HomeMenuActivity.this, SymbolsAndHolidays.class);
startActivity(intent211);
}
});
}




@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_home_menu);
MobileAds.initialize(this, "ca-app-pub-4060529804994949~7721081319");
mAdView = (AdView) findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
mAdView.loadAd(adRequest);

init();
}
}
No. Subject Author Date Views
48 Website icon admin 2017.09.16 1093
47 Android Application Development admin 2017.07.28 1045
46 Load an ad admin 2017.07.21 1281
45 Add AdView to the layout admin 2017.07.21 1754
44 Import the Mobile Ads SDK admin 2017.07.21 1242
43 AdMob - Import the Mobile Ads SDK admin 2017.07.21 246
42 Image Center admin 2017.07.21 277
41 US1800s admin 2017.07.03 281
40 Symbols And Holidays admin 2017.07.03 261
39 Rights And Responsibilities admin 2017.07.03 234
38 Recent American History admin 2017.07.03 259
37 Geography admin 2017.07.03 252
36 Colonial Period And Independence admin 2017.07.03 265
35 System of Government admin 2017.07.03 250
34 Principles of American Democracy admin 2017.07.02 229
» package com.solatoz.joseph.uscitizenshiptest; admin 2017.07.01 254
32 Contact Layout admin 2017.06.06 404
31 map api admin 2017.06.04 1321
30 Manifest admin 2017.06.04 292
29 Custom Swipe admin 2017.06.04 260