Dear Liza,
In this context, the phrase "get up to" means "What was he doing?" The person asking the question could suspect that the person in question was doing something wrong. However, it could also be that the person is simply curious to know what he was doing. I hope this helps.