From e1a22dfb90eac1bb6463dff59d5ef362ae603c32 Mon Sep 17 00:00:00 2001 From: Petru Trimbitas Date: Wed, 12 Jun 2013 13:03:42 +0300 Subject: [PATCH] interface to add event work in progress + facebook sdk --- project.properties | 3 ++- src/ro/ieval/unical/DatePickerFragment.java | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/project.properties b/project.properties index 5efbce7..5bba9ba 100644 --- a/project.properties +++ b/project.properties @@ -12,4 +12,5 @@ # Project target. target=android-17 -android.library.reference.1=../../../../eclipse/facebook-android-sdk-3.0.1/facebook +android.library.reference.1=..\\..\\..\\..\\eclipse\\facebook-android-sdk-3.0.1\\facebook +android.library.reference.2=../facebook-android-sdk-3.0.1/facebook diff --git a/src/ro/ieval/unical/DatePickerFragment.java b/src/ro/ieval/unical/DatePickerFragment.java index 576875f..719fe37 100644 --- a/src/ro/ieval/unical/DatePickerFragment.java +++ b/src/ro/ieval/unical/DatePickerFragment.java @@ -31,13 +31,13 @@ public class DatePickerFragment extends DialogFragment @Override public void onDateSet(DatePicker picker, int year, int month, int day) { if(picker.getId()==R.id.date_start) { - EditText ds = (EditText) a.findViewById(R.id.date_start); - EditText de = (EditText) a.findViewById(R.id.date_end); - ds.setText(String.format("%d-%d-%d", year,month,day)); - de.setText(String.format("%d-%d-%d", year,month,day)); + //EditText ds = (EditText) a.findViewById(R.id.date_start); + //EditText de = (EditText) a.findViewById(R.id.date_end); + //ds.setText(String.format("%d-%d-%d", year,month,day)); + //de.setText(String.format("%d-%d-%d", year,month,day)); }else { - EditText de = (EditText) a.findViewById(R.id.date_end); - de.setText(String.format("%d-%d-%d", year,month,day)); + //EditText de = (EditText) a.findViewById(R.id.date_end); + //de.setText(String.format("%d-%d-%d", year,month,day)); } } } \ No newline at end of file -- 2.39.2