Blanched peas (I'd lightly blanch and peel the pea to make it softer and easier to digest than feeding raw) can help if he is constipated. Constipation is one possible cause for swim bladder issues, as all the stoppage/swelling can push up against the swim bladder.
Dosing a little Epsom salt can also help, as it is a natural laxitive (epsom salt is entirely different from aquarium salt).
I do not think moving him into a cup was a good move- he needs to be kept in warm water (high 70s to low 80s F) and his water as clean as possible, and the volume of water in a cup is not enough to dilute his waste.
I'd move him back into his tank, BUT first do a big water change (at least 75%) to make sure his water quality in that tank is good, and then take the water level down to maybe 4-6" in the tank to help him be closer to the surface. (Be careful not make sure your heater stays submersed to the correct level.)
If he doesn't look significantly better in the next day or two, or takes a turn for the worse, I'd try an antibiotic. Bacterial infections are another common cause of swim bladder problems.
Dosing a little Epsom salt can also help, as it is a natural laxitive (epsom salt is entirely different from aquarium salt).
I do not think moving him into a cup was a good move- he needs to be kept in warm water (high 70s to low 80s F) and his water as clean as possible, and the volume of water in a cup is not enough to dilute his waste.
I'd move him back into his tank, BUT first do a big water change (at least 75%) to make sure his water quality in that tank is good, and then take the water level down to maybe 4-6" in the tank to help him be closer to the surface. (Be careful not make sure your heater stays submersed to the correct level.)
If he doesn't look significantly better in the next day or two, or takes a turn for the worse, I'd try an antibiotic. Bacterial infections are another common cause of swim bladder problems.