Updates for phonegap

to get bb apk working.nb