Updating Android code with some more instructions