he had seen a film demonstrating german weapons in basic training , and understood that he had to pull the ring from the grenades handle before tossing it , but he had no idea how long it would be before it detonated .