IF I have understood your question correctly then do something like this to get DataInputStream and DataOutputStream objects:
mmInStream = new DataInputStream(tmpIn);
mmOutStream = new DataInputStream(tmpOut);
The variables will be declared like below outside the class if you need them to be global as I can see from your edit you have done:
DataInputStream mmInStream;
DataOutputStream mmOutStream;
EDIT For the updated question:
public ConnectedThread(BluetoothSocket socket) {
InputStream tmpIn = null;
OutputStream tmpOut = null;
// Get the input and output streams, using temp objects because
// member streams are final
try {
tmpIn = socket.getInputStream();
tmpOut = socket.getOutputStream();
} catch (IOException e) { }
mmInStream = new DataInputStream(tmpIn);
mmOutStream = new DataOutputStream(tmpOut);
}