*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
import android.widget.*;
import android.widget.AdapterView.*;
-import org.altusmetrum.altoslib_10.*;
+import org.altusmetrum.altoslib_12.*;
public class SetupActivity extends Activity {
private Spinner select_rate;
private Spinner set_units;
private Spinner map_type;
private Spinner map_source;
+ private Button manage_frequencies;
private Button preload_maps;
private Button done;
add_change(AltosDroid.SETUP_MAP_SOURCE);
}
+ private void manage_frequencies(){
+ Intent intent = new Intent(this, ManageFrequenciesActivity.class);
+ startActivity(intent);
+ }
+
private void preload_maps(){
Intent intent = new Intent(this, PreloadMapActivity.class);
startActivity(intent);
});
+ manage_frequencies = (Button) findViewById(R.id.manage_frequencies);
+ manage_frequencies.setOnClickListener(new OnClickListener() {
+ public void onClick(View v) {
+ manage_frequencies();
+ }
+ });
+
preload_maps = (Button) findViewById(R.id.preload_maps);
preload_maps.setOnClickListener(new OnClickListener() {
public void onClick(View v) {