You would construct a counterpoise antenna wire 11.5 inch for VHF, 6.5 for UHF and about 19.5 inches for an OK performing dual band VHF/UHF radio. Normally with a handheld radio the counterpoise ...
There’s even a zero ohm SMT resistor that could be repositioned slightly to feed RF to the UHF jack. A little work with a soldering iron and [Brian]’s Pi was connected to an external antenna.