The field JsonHttpParser.jsonFactory is not visible
<p>Im developing an application that simply shows the nearby places to my location and i have implemented the map layout and got my location. i have used this blog <a href="http://ddewaele.blogspot.com/2011/05/introducing-google-places-api.html" rel="nofollow">http://ddewaele.blogspot.com/2011/05/introducing-google-places-api.html</a></p>

<p>in order to retrieve the places nearby but there is one problem i cant solve in this method </p>

<p>private static final HttpTransport transport = AndroidHttp
            .newCompatibleTransport();
public static HttpRequestFactory createRequestFactory(final HttpTransport transport) {</p>

<pre><code>    return transport.createRequestFactory(new HttpRequestInitializer() {
    public void initialize(HttpRequest request) {
    GoogleHeaders headers = new GoogleHeaders();
    headers.setApplicationName("Google-Places-DemoApp");
    request.setHeaders(headers);
    JsonHttpParser parser = new JsonHttpParser();
    parser.jsonFactory = new JacksonFactory();
    request.addParser(parser);
    }
    });
    }
</code></pre>

<p>which simply does open an http connection to execute the search url </p>

<p>the problem is that at parser.jsonFactory = new JacksonFactory(); eclipse tell me that The field JsonHttpParser.jsonFactory is not visible. how can i solve this issue knowing that i have imported all necessary external jars.</p>

<p>Thank you </p>
