Browser to Application?

AYGJoe

New member
Dec 8, 2009
408
6
0
I'm curious if anyone here has done any research on porting existing websites that are built out of php/html/javascript into a mobile app for use on the apple or android marketplace?

Some of you know this about me already, some don't. I market browser based games for the bulk of my living, and one of the games that I work for is interested in doing this. The problem, is the existing code is about 150,000 lines of 'spaghetti code'.

Can you wrap a browser game into a mobile app and merely change the appearance of it? Can anyone here recommend any books/resources on doing so?
 


I would imagine that it's possible by simply changing your sites design responsively based on the viewing dimensions, to get it to look more 'app-ish', and then simply creating a simple app with the browser component taking up the whole screen. This is based on speculation however - but I don't see why that wouldn't work.
 
Tools like Phonegap, Appcelerator and others can port a web application to a native mobile app.
But I think you refer to a flash/actionscript game, so you need to get the as code and rewrite in Objective C or android java
 
Game engines like Unity 3d and other .net based engines let you code in C# or Jscript and port the code to different platforms with a couple clicks if you have the licenses for different platforms. I can publish my c# to native xcode or apk apps. They're not just for making games, you can use php or other serverside lang to interact with servers, databases, etc

But in your example there are 3rd party frameworks for embedding browser based games into apps or even roll your own webkit. Google also offers their V8 javascript engine in C++ format so you can make your own framework in C++ (or contract someone to do it) or make your own webkit.
 
There is no flash or actionscript. The majority of the games are php/html with some javascript here and there. So it is possible to port all of this into an app?
 
There is no flash or actionscript. The majority of the games are php/html with some javascript here and there. So it is possible to port all of this into an app?

If they are HTML and JavaScript it should be possible to port.
These frameworks get all the front end code (HTML, CSS, Javascript) and then make a wrapper into native code
 
There is no flash or actionscript. The majority of the games are php/html with some javascript here and there. So it is possible to port all of this into an app?
Yes you can use something like appcelerator or phonegap. There are new products coming out all the time.
 
Solidness. Thanks for the info, now time to go hunt down a mobile developer that has a few months of spare time.