use http transport that does not crash,
[WhereAmI.git] / src / org / average / whereami / PhoneLog.java
1 package org.average.whereami;
2
3 import org.average.whereami.CredentialStore;
4
5 import com.google.api.client.extensions.android2.AndroidHttp;
6 import com.google.api.client.googleapis.GoogleHeaders;
7 import com.google.api.client.http.HttpRequest;
8 import com.google.api.client.http.HttpResponse;
9 import com.google.api.client.http.HttpResponseException;
10 import com.google.api.client.http.HttpTransport;
11 import com.google.api.client.util.DateTime;
12
13 //import com.google.api.services.calendar.CalendarClient;
14 //import com.google.api.services.calendar.CalendarRequestInitializer;
15 //import com.google.api.services.calendar.CalendarUrl;
16 //import com.google.api.services.calendar.model.CalendarEntry;
17 //import com.google.api.services.calendar.model.CalendarFeed;
18 //import com.google.common.collect.Lists;
19
20 import android.util.Log;
21 import android.os.SystemClock;
22 import android.content.Context;
23 import android.content.SharedPreferences;
24
25 public final class PhoneLog extends Oracle {
26
27         final String TAG = getClass().getName();
28
29         public PhoneLog(CredentialStore store) {
30         }
31
32         @Override
33         public final String getResult() {
34                 SystemClock.sleep(5000);
35                 return "Response from PhoneLog.getResult";
36         }
37 }