Professional Documents
Culture Documents
Phone App Twine
Phone App Twine
Once you have your StoryName.html file you need to prepare a folder for it. This folder will
eventually be Zipped, and uploaded to Adobe Phone Gap Build for conversion to APK.
1. Create a directory named WWW. Do this by Right Clicking on your desktop, selecting
New/Folder, then naming it WWW.
2. Copy StoryName.html to your WWW directory.
3. Rename StoryName.html to index.html. You can do this by right clicking the file, and
selecting Rename. Then, type in index.html
4. Finally, you will need to create a config.xml file. This is what provides the information
about your app to Android. To do this, right click in your WWW directory, and select New
Text Document. Leave it named New Text Document.txt
5. Open the file, then copy and paste the text below into that document (you do not want to
copy the numbers on the left hand side):
Adding an Icon
1. To create an icon for your application you will first need to create a folder named res in your
WWW directory
2. Inside the res directory, create a new directory named icon.
3. Inside the icon directory, create a new directory named android.
4. Now you will need to create your icon file.
5. To create your icon, first create a high resolution file using an image editing program. Create
the icon to be 1024×1024 pixels. Save this file as png
6. Direct your webbrowser to https://resizeappicon.com/
7. Select Upload file, and wait for the icon to upload and be displayed.
8. Scroll down the page until you see the heading Android. Click on All. This will place check
marks beside all the Android icon files.
9. Scroll to the bottom of the file and click Download Selected.
10.This will download and AppIconResizer ZIP file. Open this zip file, and move all the png
files from the zip to your WWW/res/icon/android directory.
11.Since your config.xml already points to this directory to find the icon files, once you copy
these files you’re ready to re-ZIP your WWW directory, and upload it to PhoneGap Build.