Added subscribe logic for android sample

Signed-off-by: rpgmaker <olamide.bakre@gmail.com>