BWT has great advice.
Don't dress to stand out as wealthy, be extremely cautious about cabs (research who to use), keep your head on a swivel, don't make yourself seem paranoid but aware enough to not invite trouble (not being an easy victim).
Also always have a plan for what to do in case something goes south.