added trindroid i/o - thanks to QuantumKernel