Stand next to the egg and wait for the whistle prompt to appear. Then press that button a few times and the egg will hatch on its own.
No throwing required — the whistle does the job just as well and is a lot less risky.