title: Convert an ASCII numeric value into a character
body: <p>I want to send numeric data from the terminal app as a ASCII with Bluetooth to the Android app, and inside the Android app, to convert  ASCII numeric data to characters.</p>
  <p>I only found one solution, but it reads as a single byte.
  I wrote this command for Android app to get data:</p>
  <pre class="lang-java prettyprint-override"><code>InputStream stream;
  if (stream.available() &gt; 0) {
      int a = stream.read();
      int x = Character.getNumericValue(a);
      this.mmOutStream.write(x);
      this.mmOutStream.flush();
  }
  </code></pre>
  <p>This command</p>
  <pre class="lang-java prettyprint-override"><code>int a = stream.read (); /// 128
  </code></pre>
  <p>It takes the data as a ASCII and throws it inside a</p>
  <p>This command</p>
  <pre class="lang-java prettyprint-override"><code>int x = Character.getNumericValue(a); /// 1 2 8
  </code></pre>
  <p>ASCII converts to characters, but gives a single byte of data.
  That is, I give the number as a ASCII, for example, the number 128
  128 to converts to 1 2 8.
  But I want 128, but he gives it to me one by one.</p>