title: Android - Trying to implement Google Places API
body: <p>I have never used Google Places before and thought it would be time to do so.
  I've followed this tutorial: <a href="http://www.androidhive.info/2012/08/android-working-with-google-places-and-maps-tutorial/" rel="nofollow">http://www.androidhive.info/2012/08/android-working-with-google-places-and-maps-tutorial/</a></p>
  
  <p>My problem is when I'm creating this method <code>createRequestFactory()</code> it says that <code>JsonHttpParser</code> class is now deprecated. I've looked everywhere to find an alternative solution, but haven't been able to do so. I'm targeting Android 2.1 and developing in Eclipse Juno. Does anyone have any clue on how to resolve this conflict? I don't get any compiling errors, and eclipse is building it without any problems, but I don't want to use this deprecated class.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>public static HttpRequestFactory createRequestFactory(
          final HttpTransport transport) {
      return transport.createRequestFactory(new HttpRequestInitializer() {
          public void initialize(HttpRequest request) {
              GoogleHeaders headers = new GoogleHeaders();
              headers.setApplicationName("AndroidHive-Places-Test");
              request.setHeaders(headers);
              // deprecated this last two lines
              JsonHttpParser parser = new JsonHttpParser(new JacksonFactory());
              request.addParser(parser);
          }
      });
  }
  </code></pre>
  
  <p>Thanks in advance!</p>