Android get Facebook friends with app downloaded FQL Query
<p>I am trying to get the user's friends who have the app downloaded, I am using the following code</p>

<pre><code>         String query = "SELECT uid FROM user WHERE is_app_user=1 and uid IN  (SELECT uid2 FROM friend WHERE uid1 =" + fbId + ")";
         Bundle params = new Bundle();
         params.putString("method", "fql.query");
         params.putString("query", query);
         mAsyncFacebookRunner.request(null, params, new FQLListener());
</code></pre>

<p>The code above makes a successful call.
I am having trouble with getting what the call returns, which looks like this (A JSONArray)</p>

<pre><code>    [{"uid":555555555},{"uid":000000000},{"uid":111111111},{"uid":222222222},{"uid":333333333}]
</code></pre>

<p>How do I put this information into something like an ArrayList?</p>

<p>Here is the RequestListener I am using.</p>

<pre><code> private class FQLListener implements RequestListener
    {

        @Override
        public void onComplete(String response, Object state) 
        {
            //get info here
        }
             }
</code></pre>
