Activity

package com.openideals.inaugreport;

mport android.app.Activity;

mport android.app.ProgressDialog;

mport android.content.Intent;

mport android.location.Location;

mport android.os.Bundle;

mport android.os.Handler;

mport android.util.Log;

mport android.view.View;

mport android.view.View.OnClickListener;

mport android.widget.ArrayAdapter;

mport android.widget.Button;

mport android.widget.CheckBox;

mport android.widget.Spinner;

mport android.widget.TextView;

mport android.widget.Toast;

mport com.openideals.android.geo.LocationFinderActivity; mport com.openideals.android.ui.HorizontalSlider; import com.openideals.android.ui.HorizontalSlider.OnProgressChangeListener;

/** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

setContentView(R.layout.reportform);

((Button)findViewById(R.id.btnReportFormSubmit)).setOnClickListener(this); ((Button)findViewById(R.id.btnReportFormCancel)).setOnClickListener(this);

Toast.makeText(getBaseContext(), "There was a problem submitting your report. Wait a second, and then try again!", Toast.LENGTH_LONG).show();

private void showMain () {

Intent iMain = new Intent(this, LocationFinderActivity.class); startActivity(iMain);

Android Application Examples gReporter:

open-source geotagging media capture report client m for the Android Platform

http://openideals.com/greporter

0 0

Post a comment