title: android string equation to java code
body: <p>How could I parse a string statement into code?</p>
  
  <p>e.g.:</p>
  
  <pre><code>    boolean isOnline = true;
      boolean isConnected = true;
      String statement = "isOnline &amp;&amp; isConnected";
  
      if(statement) // do something
  </code></pre>