Added the android beam code