what fruit is this?

i just came back from kuching, the capital of sarawak. while there, i was treated to a banquet, local dishes, kueh kueh and fruit.
when someone bought these spiky fruit back from the market, i shied away from eating it because it was my first time seeing such a fruit. but when they pried open the rind, i realised that it was a tropical fruit which i am quite fond of.
i remember seeing quite a lot of this type of fruit on some trees by the roadside and in the compound of some houses when i went to kukup many years ago.
what is this fruit?

quite a number of people are not convinced that the fruit is mata kucing. i hope this picture of the seeds will be convincing enough.
