I am sorry to tell you guys that, this app will not be approved by the App store,
as I have submitted a similar app just before the iPhone 4 launches, and sadly to say, i received a notification from the appreview team that the app has been rejected, due to the reason,
Apple does not allow us to use the hardware in a way other than their designated function.
I know it sounds unacceptable, and honestly I am still in a very bad mood since i talked to the guy from the App review team.