A waterproof, shockproof container for a handheld electronic device is provided with a rectangular base including a top loop flange disposed along and spaced from edges, a loop gap between the flange and the edges of the base, four bottom L-shaped depressions at four corners of the base respectively, and threaded holes spaced along the gap wherein four of the threaded holes are through the depressions respectively; a rectangular waterproof loop member fitted in the loop gap and including bossed holes spaced along edges, and four L-shaped collision resistant members at four corners of the waterproof loop member respectively; a rectangular, hollow frame including a loop flange disposed along edges, and bossed threaded holes spaced along an inner surface of the flange; and a rectangular, hollow bumper member. The base, the frame, and the bumper member are releasably secured together.