Generic smartphone used as a medicine device