title: Convert a String into a class?
body: <p>I have a string called <code>theClass</code>. It contains a string which is <code>.class</code>. I want to put that string into the second parameter of my intent; I know this isn't possible, but how can I use my string, which is a class, in an intent?</p>
  
  <p>For example, if String theClass was:</p>
  
  <pre><code>String theClass = "anotherClassInMyProj.class";
  </code></pre>
  
  <p>I cannot do something like:</p>
  
  <pre><code>Intent i = new Intent(this, theClass);
  </code></pre>
  
  <p>How would I use the string as a class then? Would I need to convert it somehow, and are there built in methods to do so?</p>