added LocationActivity class example