The best present day solution that doesn't require buying anything else is wearing a jacket that has pockets (though I think most do anyway). Jacket pockets are a good place to put a phone or spare things that do work so well in pants. Plus if you put anything heavy like keys or a wallet the jacket won't drag down like pants do. It all works out.