Unless I am mistaken, I do not think this is possible. You should have most of your html css in the phonegap app and let your web2py server be a RESTful service
On Wednesday, August 1, 2012 1:17:28 AM UTC+8, Alec Taylor wrote: > > Practically just finished my little proof-of-concept social-network > backend (DAL+controller) & web-frontend (web2py views). > > Now I plan to make the mobile app with PhoneGap <http://phonegap.com/>. > PhoneGap allows you to write native mobile-apps for 7 different mobile > platforms in HTML+JS+CSS. > > *Is there a way I can generate web2py views for use in PhoneGap?* > > My current thinking is that this isn't possible, thus I'll need to code > this frontend from scratch using JavaScript. > > Can you confirm? > > Thanks for all information, > > Alec Taylor > --