title: Convert Ruby on Rails app to native Android PhoneGap app
body: <p>I've been working on a jQuery mobile web app written in Ruby on Rails, and would like to make it available as a native Android app. I've setup the phonegap project to load my url, and everything seems to be working, but I've been reading that Google will reject the app if it's simply a webview container to an external url. Has anyone had any experience with this?</p>
  
  <p>From what I can tell, I'll need to rewrite the web app to use ajax calls to populate the page, as opposed to relying solely on web requests to my web server. Can anyone offer any insight into this? Would they accept a PhoneGap app that simply loads an external url? Any help is appreciated.</p>
  
  <p><strong>Update1:</strong> I've also read that being able to handle no internet connection is one of the main reasons they will approve/reject your app. I think this could be handled in the android app with some logic that checks for an internet connection, and if it exists, load the external url, if it doesn't load a local html splash page. Would this idea be ok?</p>
  
  <p><strong>Update2:</strong> Would it be an option to have a "skeleton" of the app as basic html files within the phone gap app, which just uses ajax to pull down all of the main html? That way the app would still function without an internet connection, but you could also make large changes to the content of the pages which would be pulled down in every request. Is that a viable option?</p>