Write platform-specific features
No matter which mobile platform you target an app for, your app always performs common tasks or needs to do similar things. When you port your app, you should have a good understanding of specific functionality that requires porting.
In most cases, your app probably does one or more of the following things:
- Execute a main loop
- Take user input to change the app's state (e.g., using touch or orientation changes)
- Display graphics on the screen
- Access the file system
- Handle audio