Z Zia,
The info provided by Mr.Ernest is kinda enough to develop the application that fit your requirements... Could you try to code by yourself and learn things so that your programming skill will be improved? If you get stuck on something, you may ask questions here and we are here to help you...

Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0