Reflection java.lang.ClassNotFoundException
<p>I am using the following: </p>

<pre><code>protected void onActivityResult(int requestCode, int resultCode, Intent data){
    super.onActivityResult(requestCode, resultCode, data);
    switch(requestCode){
        case EDIT_ADJUSTMENT:
            if(resultCode == RESULT_OK){
                try{
                    String adjustment = data.getStringExtra("adjustment");
                    adjustment = adjustment.replace(" ", "");
                    ClassLoader myClassLoader = ClassLoader.getSystemClassLoader();
                    String classNameToBeLoaded = "com.picpic.adjustments." + adjustment;
                    Class adjust = myClassLoader.loadClass(classNameToBeLoaded);
                }catch(Exception e){
                    String msg = e.getMessage();
                }
            }
        break;
    }
}
</code></pre>

<p>When it gets to <code>Class adjust = myClassLoader.loadClass(classNameToBeLoaded);</code> I get the following Exception: <code>java.lang.ClassNotFoundException: com.picpic.adjustments.ColorCorrect</code></p>

<p>The package of <code>ColorCorrect</code> is <code>com.picpic.adjustments</code></p>

<p>So, Why is that error being thrown? Please let me know if you need more information. Thanks!</p>
