Hi Ranjith,
You can find detailed information on the topics you mentioned on the SAP Help - Agentry Development page.The branding process is covered step by step.
For OpenUI, in the SMP SDK in the Agentry Toolkit there are sample projects for each plaftorm
which you can work through.
Cheers,
Stephen