Android Open Source - GeoAlarms Home






From Project

Back to project page GeoAlarms.

License

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.

Java Source Code

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);
  }
}




Java Source Code List

com.geoalarms.GeoAlarms.java
com.geoalarms.activity.AlarmEditor.java
com.geoalarms.activity.AlarmList.java
com.geoalarms.activity.Help.java
com.geoalarms.activity.Home.java
com.geoalarms.activity.Map.java
com.geoalarms.activity.Preferences.java
com.geoalarms.database.AlarmDatabaseHelper.java
com.geoalarms.database.AlarmManager.java
com.geoalarms.location.LocListener.java
com.geoalarms.location.ProximityIntentReceiver.java
com.geoalarms.map.AlarmOverlay.java
com.geoalarms.map.PointOverlay.java
com.geoalarms.model.Alarm.java
com.geoalarms.model.Coordinates.java