Reputation: 15301
I am creating a web application using jQuery Mobile and I want to convert it to a native-like application.
I know that there is some tools like PhoneGap that can create native application from html and js files. but my app can't be on user's phone. It has some server-side process and the result is generated by server. I mean, users also can open application with their web browser (on phone, tablet, PC, etc.)
Is there any way to convert my app to a native app using PhoneGap? Or using other tool?
Another problem is, there is lots of javascript files, which should be loaded from client for better speed. (downloading lots of javascript files each time user opens the app is not a good idea!)
What is your idea here? How can I load javascripts locally while application is server side? Some caching arguments? or ...? How?
Upvotes: 0
Views: 376
Reputation: 5447
I'm not sure what you're looking for.
Why can't your app be on the user's phone? You can create a web service that is hosted on your server, and the phone app can talk to that.
You can use PhoneGap Build to easily convert your html/js/css files to native phone apk/application files(not sure what they're called on iOS).
Edit:
Ah. So they can currently view it in a browser, but you want to have them be able to download it as an app as well? I suppose you could use PhoneGap to create an app that they download on their phone, but all it does is contain a WebView that points to the online version of your application.
Or, you could create a bookmark icon that opens your site instead of having to create an actual application.
Upvotes: 3