Back to project page GeoAlarms.
The source code is released under:
GNU General Public License
If you think the Android project GeoAlarms 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 com.geoalarms.activity; /*from w w w . j a v a2s . com*/ import com.geoalarms.R; import com.geoalarms.GeoAlarms; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class Home extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.dashboard); } public void toMap(View v) { Intent intent = new Intent(Home.this, Map.class); this.startActivityForResult(intent, GeoAlarms.MAP_ACTIVITY); } public void toAlarmsList(View v) { Intent intent = new Intent(Home.this, AlarmList.class); this.startActivityForResult(intent, GeoAlarms.ALARM_LIST_ACTIVITY); } public void toPreferences(View v) { Intent intent = new Intent(Home.this, Preferences.class); this.startActivityForResult(intent, GeoAlarms.PREFERENCES_ACTIVITY); } public void toHelp(View v) { Intent intent = new Intent(Home.this, Help.class); this.startActivityForResult(intent, GeoAlarms.HELP_ACTIVITY); } }