base lib for android