today:
41
yesterday:
251
Total:
1,111,975
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 1078
47 Android Application Development admin 2017.07.28 1031
46 Load an ad admin 2017.07.21 1264
45 Add AdView to the layout admin 2017.07.21 1738
44 Import the Mobile Ads SDK admin 2017.07.21 1220
43 AdMob - Import the Mobile Ads SDK admin 2017.07.21 239
42 Image Center admin 2017.07.21 272
41 US1800s admin 2017.07.03 261
40 Symbols And Holidays admin 2017.07.03 255
39 Rights And Responsibilities admin 2017.07.03 228
38 Recent American History admin 2017.07.03 252
37 Geography admin 2017.07.03 243
36 Colonial Period And Independence admin 2017.07.03 253
35 System of Government admin 2017.07.03 242
34 Principles of American Democracy admin 2017.07.02 221
» package com.solatoz.joseph.uscitizenshiptest; admin 2017.07.01 249
32 Contact Layout admin 2017.06.06 394
31 map api admin 2017.06.04 1316
30 Manifest admin 2017.06.04 286
29 Custom Swipe admin 2017.06.04 254