title: AsyncTask: How do I access onPostExecute parameters?
body: <p>So I am passing in a String array into my onPostExecute method, but I was wondering how I can access the output of this thread in the next activity... i.e. Page.class</p>
  
  <p>Right now I am using a putExtra, is there anything else I can do? After the putExtra here, how can I access this in Page.class. Note that Page.class is NOT the class that starts this thread. </p>
  
  <pre><code>public void onPostExecute(String[] x){
      d.dismiss();
      Intent i= new Intent(ctx,Page.class);
      i.putExtra("values", x);
      ctx.startActivity(i);
  
  
  
  Intent b = getIntent();
          String[] values = b.getStringArrayExtra("values");
          Log.d("hello", values[0]);
  </code></pre>