Skip to content

Instantly share code, notes, and snippets.

View jhonkaman's full-sized avatar

Javier Alvarado jhonkaman

  • Earth
View GitHub Profile
@jhonkaman
jhonkaman / MainActivity.java
Last active July 4, 2018 17:36
Android: Using an intent to launch a second activity
public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
/* Relevant Code */
public void onClick(View view) {