summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/scatours-android-ui/src/com/scatours/android
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-05-27 16:02:22 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-05-27 16:02:22 +0000
commitb3c12b2eacf372ea458646714801b8dd3c11039a (patch)
tree48c1f529adc451798ffec5d3487af91420f907a5 /sandbox/travelsample/scatours-android-ui/src/com/scatours/android
parenteaf3aa26d10a577fdcd71df3bf169e614d71e3d9 (diff)
Fix search button text in ui
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@779217 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/scatours-android-ui/src/com/scatours/android')
-rw-r--r--sandbox/travelsample/scatours-android-ui/src/com/scatours/android/TripSearch.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/sandbox/travelsample/scatours-android-ui/src/com/scatours/android/TripSearch.java b/sandbox/travelsample/scatours-android-ui/src/com/scatours/android/TripSearch.java
index 38492aa36d..5e7dcd33e7 100644
--- a/sandbox/travelsample/scatours-android-ui/src/com/scatours/android/TripSearch.java
+++ b/sandbox/travelsample/scatours-android-ui/src/com/scatours/android/TripSearch.java
@@ -1,7 +1,5 @@
package com.scatours.android;
-import java.util.Calendar;
-
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
@@ -24,20 +22,6 @@ public class TripSearch extends Activity {
AutoCompleteTextView textViewTo = (AutoCompleteTextView) findViewById(R.id.edit_toLocation);
//ArrayAdapter adapterTo = new ArrayAdapter(this,android.R.layout.simple_dropdown_item_1line, AIRPORT_CODES);
textViewTo.setAdapter(adapter);
-
- //String currentDate = getCurrentDate();
- //AutoCompleteTextView textStartDate = (AutoCompleteTextView) findViewById(R.id.date_start);
- //textStartDate.setText(currentDate.toCharArray(), 0, currentDate.length());
-
- }
-
- private String getCurrentDate() {
- final Calendar c = Calendar.getInstance();
- int mYear = c.get(Calendar.YEAR);
- int mMonth = c.get(Calendar.MONTH);
- int mDay = c.get(Calendar.DAY_OF_MONTH);
-
- return Integer.toString(mMonth) + "/" + Integer.toString(mDay) + "/" + Integer.toString(mYear);
}
static final String[] AIRPORT_CODES = new String[] {