Adding android shared memory code. doesnt work. needs service addition in android code