How can I activate TNT by putting it in the ground?

Solution 1:

see the arrangement below. when you place TNT on the obsidian block, it gets Ignited.

enter image description here

Solution 2:

Any normal method of triggering TNT will work. So long as the source of the redstone trigger is within a 1-block radius in any direction

enter image description here