The RegisterActivity can be placed anywhere, for example with the onCreate ()-method. Deploy the sample backend server When you’re ready…