prerequisites
framework
intents
understanding of java socket programming (should not be an expert but a little knowledge of it is a plus point)
frequently connecting and disconnecting your computer to a power sourse without allowing it to fully discharge may reduce