Back to project page Dumbledroid.
The source code is released under:
Copyright (c) 2013, Leocadio Tin? All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
If you think the Android project Dumbledroid listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.leocad.dumbledoreexample.activities; //from w w w .j av a2 s.c o m import io.leocad.dumbledoreexample.R; import android.content.Intent; import android.os.Bundle; import android.view.View; public class MainActivity extends BaseActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); } public void onJediClicked(View v) { startActivity( new Intent(this, JediActivity.class) ); } public void onSithClicked(View v) { startActivity( new Intent(this, SithActivity.class) ); } public void onTwitterClicked(View v) { startActivity( new Intent(this, FlickrActivity.class) ); } }