title: How to connect to phone and send files & chat messages via bluetooth?
body: <p>I am creating a <code>Android Application</code> that will have a <code>Menu</code> containing two options:</p>
  
  <ul>
  <li><code>Chat</code> via <code>Bluetooth</code>.</li>
  <li><code>Transfer Files</code> via <code>Bluetooth</code>.</li>
  <li><code>Config</code> containing controls to turn <code>Bluetooth</code> <code>OFF</code> and <code>ON</code>, and <code>Visibility</code> <code>OFF</code> and <code>ON</code></li>
  </ul>
  
  <p><strong>1)</strong> I have made the Chat and now it works, but the method that i have used i dont think so that is totally right.</p>
  
  <p>I have a button "Server" and another button "Client" one mobile phone needs to click server and wait to the other click client and connect to it.</p>
  
  <p>There is another way to Chat instead of this way?</p>
  
  <p>I can provide code as possible, but i dont know what part of code that i need to provide, because i cant post all the whole code here, can i? its too broad.</p>
  
  <p><strong>2)</strong> I want to Transfer Files using the samme connection that i used on the Chat.</p>
  
  <p>Can i do that?</p>