Sending Character Through Bluetooth
<p>I'm not really sure what the best way to word this is, but basically I want to be able to send a character from an Android phone to a bluetooth module plugged into an Arduino. I've got no problems with the Arduino end, but I'm having trouble with the Android bit. </p>

<p>What I want to be able to do is, in effect, use the Bluetooth as a serial port, sending a character to the Arduino via bluetooth. I'm not looking to send a string, just a single character. How would I do this using Android? </p>

<p>So far all I have is a click event on an image, and when I click that image I want to send a character, for example, 1.</p>

<p>Here's my current code:</p>

<pre><code>import android.app.Activity;
import android.os.Bundle;
import android.view.View;

public class ToggleLightsActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
    }

    public void imageClick(View view) 
    {  

    }
}
</code></pre>

<p>I should point out I am a beginner to Android, as you might have guessed, but I am pretty good with C#!</p>

<p>Thanks in advance.</p>
