Hi.
I have past experience working with phonegap platform, in fact i have helped release a working app that was release to Play Store called "Traxia".
If you are interested, i think i can help you achieve what you need, but i need to view the code first to see where the problem lies.
Cheers :)