What works
Phoam runs older Android and iPhone games in your browser, straight from the original app file.
Every number here is counted from the engine itself, so this page changes when Phoam does.
How it runs
Phoam doesn’t rewrite games for the web, it gives them a phone.
When a game needs something the phone is missing, the fix goes into the phone, so every game after it gets it too.
Read the package
Before anything uploads, your browser reads the package’s own headers: the compiled Android manifest, the iPhone property list, which processor slices the binary carries, and whether it is still App Store encrypted.
It also spots the engine inside, like Unity, Adobe AIR, plain native code or pure Java.
Lift the code
The game’s ARM and Thumb machine code is translated ahead of time into WebAssembly, floating point and NEON vector instructions included.
Entry points come from the binary’s symbols, unwind tables, jump tables and pointers, so there are no per-game hint files.
Boot it like a phone
Native libraries are linked the way Android’s own loader links them, and the game starts from its own manifest through the same lifecycle a phone runs.
iPhone games start at their own main function and run loop, with every Objective-C class and method read from the binary itself.
Java and native, together
The app’s own Java bytecode runs in a second virtual machine beside the native code, and the two call each other through JNI just like on the phone.
What you get
Real menus
Menus, buttons and dialogs are real Android widgets, built from the layout files inside the game.
3D graphics
Both OpenGL ES 1.1 and 2.0 run on your graphics card.
3D sound
Positional sound, music streams and sound effects all play through the audio systems the phone had.
Multitouch
Touch works with several fingers at once.
Tilt
Tilt controls read your phone’s real motion sensors, on Android and on iPhone games.
Typing
Text fields take typing straight from your keyboard.
Saves
Settings, saves, keychain items and databases stick, so a reload picks up where you left off.
Game Center
Scores and achievements go through without the game noticing anything missing.
Threads
Games that use several threads get them.
Android libraries
These are the native libraries Android games call, with how many of their functions Phoam answers.
Android Java
The biggest Java packages Phoam answers, by method.
android.widgetjava.langjava.utilandroid.viewandroid.appjava.iojavax.microedition.khronos.openglesandroid.graphicsandroid.contentandroid.osandroid.view.animationjava.niojava.util.concurrentandroid.content.resandroid.webkitandroid.textPlus 37 more packages across the Java and Android libraries.
iPhone and iPad
Early 32-bit games run on the real Objective-C runtime, with the frameworks they were built against.
Frameworks
Libraries
Game engines
Cocos2d-x
Cocos2d-x games run, saves included.
Unity on Mono
Mono wants to compile code while the game plays, so Phoam runs the ahead-of-time compiler shipped inside the game first, and the runtime boots without compiling a single method on the fly.
Adobe AIR
AIR support is partial, and its ActionScript engine starts up inside the game and takes touch input.
Check your game
Upload a game and Phoam shows how much of what it needs is supported, before you play.