Apply red chili powder and turmeric to chicken pieces and leave it aside. Grind together coriander-cumin seeds, ginger-garlic, green chilies, coriander seeds, cloves, cinnamon, poppy seeds. This is called raw masala. Roast (without oil) coconut till it turns slightly brownish. Grind it to a smooth paste. Heat a little oil and fry onions. When they turn slightly brownish, add tomatoes and fry for sometime. Now add raw masala and fry till the raw smell goes off and a nice aroma comes out of it. Now add the chicken pieces, salt and fry for about 5mins. Add 2 cups of water, cover and cook till chicken is tender. Add the ground coconut, tamarind extract and cook for about 7-8 minutes till the curry thickens.