title: The type of expression must be an array type but it is resolved to a string?
body: <p>I'm trying to integrate a "Next" button in my jokes app. I'm getting the error on         textView.setText(<em>message</em>[currentSelectedJoke]);  <strong>I KNOW</strong> this error means that "message" is a string but it expects an array. I understand the problem. My question is, how do I fix this?? 
  THANKS SO MUCH!</p>
  
  <p><strong>[ALL MY JOKES ARE INSIDE MY STRINGS]</strong> 
  My code : </p>
  
  <pre><code>public class DisplayMessageActivity extends Activity {
  
  Button next; 
  int currentSelectedJoke =0;
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_display_message);
  
   textView.setText(message);
      textView.setTextColor(Color.BLACK);
      textView.setTextSize(26);
      textView.setTypeface(berlin);
      ///INPUT THIS FOR SOLID COLOR ///textView.setBackgroundColor(Color.MAGENTA);
      textView.setBackgroundResource(R.drawable.back);
  
  
      // Set the text view as the activity layout
       setContentView(textView);
      textView.setText(message[currentSelectedJoke]);
  
      next=(Button)findViewById(R.id.next);
  
      next.setOnClickListener(new OnClickListener() {
  
          @Override
          public void onClick(View v) {
              // TODO Auto-generated method stub
              currentSelectedJoke++;
  
  
              if(currentSelectedJoke == 5){
                  currentSelectedJoke =0;}
  
              textView.setText(message[currentSelectedJoke]);
          }
  
      });
  </code></pre>