title: Using androidannotations to fire an intent
body: <p>I have successfully used androidannotations @Extra to decode an intent and get the sent message as this snippet demonstrates:</p>
  
  <pre><code>@Extra(MyActivity.MESSAGE)
  String intentMessage;
  
  @ViewById(displayMessage)
  TextView textView;
  
  @AfterViews
  protected void init() {
      textView.setText(intentMessage);
  }
  </code></pre>
  
  <p>I'm missing how, if possible, to create the intent in the first place using annotations. e.g replace the following</p>
  
  <pre><code>Intent intent = new Intent(this,DisplayMessageActivity_.class);
  intent.putExtra(MESSAGE, s);
  startActivity(intent);
  </code></pre>
  
  <p>with something. Is this possible? (I'm totally new to all this so probably am missing something terribly obvious)</p>
  
  <p>SOLUTION:</p>
  
  <pre><code>DisplayMessageActivity_.intent(this).intentMessage(s).start();
  </code></pre>
  
  <p>Where intentMessage is the name of the extra field.</p>