Update the native activity sample to work on master