title: Calling C# Unity Script from Android
body: <p>I have been trying to communicate with my Unity C# script through my Android Application using 
  "UnityPlayer.UnitySendMessage("Cube", "Test","HELLO") - where "Cube" is my Unity Object, "Test" is the name of the method present in the C# script it is using and "HELLO" is the message String I want to pass. </p>
  
  <p>This line is placed in my onClick function, like this:</p>
  
  <pre><code>      ImageButton right_button = (ImageButton) findViewById(R.id.right_arrow);
        right_button.setOnClickListener(new OnClickListener() {
  
          @Override
          public void onClick(View v) {
              // TODO Auto-generated method stub
              UnityPlayer.UnitySendMessage("Cube", "Test","HELLO");
         }
        });
  </code></pre>
  
  <p>But when I run my android application and as soon as I click this button, I get this error:</p>
  
  <pre><code>    09-11 14:22:37.526: E/AndroidRuntime(1330): java.lang.NoClassDefFoundError:         com.unity3d.player.UnityPlayer
  </code></pre>
  
  <p>I have included classes.jar in my build path also.
  Is there anything else I am missing out?</p>
  
  <p>Thanks in advance! </p>