Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

Commit 5bb2f8d

Browse files
committed
Migrate Android Exporter page
+ modern icons in alerts
1 parent c73a5f1 commit 5bb2f8d

File tree

2 files changed

+229
-4
lines changed

2 files changed

+229
-4
lines changed

_includes/alert

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ Parameters:
1111
<div class="row">
1212
<div class="col-xs-2">
1313
{% if include.type == "warning" %}
14-
<img src="/site/img/alerts/warning.png" alt="Warning symbol"/>
14+
<i class="fas fa-exclamation-triangle" style="font-size: 48px"></i>
1515

1616
{% elsif include.type == "clock" %}
17-
<img src="/site/img/alerts/clock.png" alt="Clock symbol"/>
17+
<i class="fas fa-clock" style="font-size: 48px"></i>
1818

1919
{% elsif include.type == "info" %}
20-
<img src="/site/img/alerts/info.png" alt="Info symbol"/>
20+
<i class="fas fa-info-circle" style="font-size: 48px"></i>
2121

2222
{% elsif include.type == "question" %}
23-
<img src="/site/img/alerts/question.png" alt="Question symbol"/>
23+
<i class="fas fa-question-circle" style="font-size: 48px"></i>
2424

2525
{% endif %}
2626
</div>

wiki/android.md

Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
1+
---
2+
layout: product
3+
title: Android Exporter
4+
permalink: /exporters/Android/
5+
category: exporters
6+
7+
image: "/wiki/assets/Clickteam/Android_Image.jpg"
8+
status: "Released"
9+
release_date: "April 2013"
10+
release_date_numerical: "4/2013"
11+
products:
12+
- mmf2
13+
- mmf2dev
14+
- cf2.5
15+
- cf2.5dev
16+
shop_link: "https://www.clickteam.com/web-shop"
17+
support_link: "https://community.clickteam.com/forums/345-Android-Export-Module-2-5"
18+
links:
19+
- "[View on Steam](https://store.steampowered.com/app/267650)"
20+
- "[About the Android Exporter](https://www.clickteam.com/android-export-module)"
21+
- "[HTML5 Exporter Details](https://www.clickteam.com/html5-export-module-details)"
22+
- "[Android Export Module 2.0 Support Forum Archive](https://community.clickteam.com/forums/323-Android-Export-Module-Version-2-0)"
23+
- "[Android Export Module 2.5 Owner's Lounge](https://community.clickteam.com/forums/366-Owner-s-Lounge-Android-(2-5))"
24+
- "[Android Export Module 2.0 Owner's Lounge](https://community.clickteam.com/forums/253-Owner-s-Lounge-Android-Exporter)"
25+
---
26+
27+
![](/wiki/assets/Clickteam/Fusion_Android.png)
28+
29+
The **Android/OUYA Export Module** exports creations for Android-powered devices (smartphones, tablets, and the OUYA). It was first released for purchase in April 2013 and exports to the **APK** format, ready for installation on Android or for publication to Google Play, or other marketplace services.
30+
31+
{% include TOC %}
32+
33+
# Requirements
34+
## Dependencies
35+
**In order for the exporter to work, a few external dependencies need to be installed on your computer:**
36+
37+
* [Java Development Kit (JDK)](https://www.oracle.com/technetwork/java/javase/downloads/index.html)
38+
* The first time you build an Android application, you'll be prompted for the pathname of the JDK directory.
39+
* **Example Path:** `C:\Program Files (x86)\Java\jdk1.8.0_25`
40+
* This can also be changed later in Fusion's preferences.
41+
* For 64-bit machines, it is advisable to install at least the 32-bit version, not only the 64-bit version, as it is known is cause a conflict with the [Flash Exporter](/exporters/flash).
42+
* [Android SDK (Tools Only)](https://developer.android.com/studio#command-tools)
43+
* Not to be confused with the ADT Bundle or Android Studio.
44+
* Install at least the Android 4.0 platform package (API #14).
45+
* The first time you build an Android application, you'll be prompted for the pathname of the Android SDK directory.
46+
* **Example SDK Tools Path:** `C:\Program Files (x86)\Android\android-sdk`
47+
* **Example Android Studio Path:** `C:\Users\your_user_name\AppData\Local\Android\sdk`
48+
49+
Note that Fusion 2.5 will attempt to detect the JDK and Android SDK automatically.
50+
51+
## Releasing Applications
52+
* You will need a certificate to sign your applications before being able to release them.
53+
* If you want to publish applications on Google Play, you will need to [register to be a developer](https://play.google.com/apps/publish/signup/). There is one-off fee of $25.
54+
55+
You will also need to read Google's documentation, especially how to design, publish and test your application properly. You can find this documentation on the [Android Developers](https://developer.android.com) site.
56+
57+
## Android Requirements
58+
Applications exported by Fusion will work on Android devices that meet the following criteria:
59+
60+
* Android 2.3 "Gingerbread" or above.
61+
* The [MMF2](/fusion/2.0) version of the exporter runs from Android 1.6 "Donut".
62+
* Device has a GPU (graphic processor).
63+
* Applications can run without a GPU but they will be very slow.
64+
65+
# Understanding APIs
66+
APIs are the framework that apps are built upon for specific platform versions. Each new platform version adds new APIs that are not available in the previous version, thus, lower APIs maintain compatibility with future versions whilst newer APIs work with newer features of Android. Fusion by default uses **API 14** (Android 4.0-4.0.2), but it is advisable to use the latest API possible.
67+
68+
Fusion will be unable to build your application if the selected Build API is not installed in the Android SDK. Alternately, if builds fail with specific APIs, try a different one.
69+
70+
Some features require specific API versions to be installed in addition to your target API level, but these do not need the Build API in Fusion to be changed.
71+
72+
{% include alert
73+
type = "info"
74+
title = "This table is a dump from the previous MediaWiki instance. It needs cleaning up."
75+
%}
76+
77+
<table class="wikitable">
78+
<tr>
79+
<th> API
80+
</th>
81+
<th colspan="2"> Android Version
82+
</th>
83+
<th> Required for...
84+
</th></tr>
85+
<tr>
86+
<th style="background:#F99"> 8
87+
</th>
88+
<th style="background:#F99"> Android 2.2
89+
</th>
90+
<td style="background:#F99"> Froyo
91+
</td>
92+
<td style="background:#F99"> No longer supported in <a href="Fusion_2.5" class="mw-redirect" title="Fusion 2.5">Fusion 2.5</a>
93+
</td></tr>
94+
<tr>
95+
<th style="background:#FFB"> 10
96+
</th>
97+
<th style="background:#FFB"> Android 2.3.3
98+
</th>
99+
<td> Gingerbread
100+
</td>
101+
<td style="background:#FFB"> Admob
102+
</td></tr>
103+
<tr>
104+
<th> 14
105+
</th>
106+
<th> Android 4.0
107+
</th>
108+
<td rowspan="2"> Ice Cream Sandwich
109+
</td>
110+
<td>
111+
</td></tr>
112+
<tr>
113+
<th> 15
114+
</th>
115+
<th> Android 4.0.3
116+
</th>
117+
<td>
118+
</td></tr>
119+
<tr>
120+
<th> 16
121+
</th>
122+
<th> Android 4.1.2
123+
</th>
124+
<td rowspan="3"> Jelly Bean
125+
</td>
126+
<td>
127+
</td></tr>
128+
<tr>
129+
<th style="background:#FFB"> 17
130+
</th>
131+
<th style="background:#FFB"> Android 4.2.2
132+
</th>
133+
<td style="background:#FFB" rowspan="2"> OUYA
134+
</td></tr>
135+
<tr>
136+
<th style="background:#FFB"> 18
137+
</th>
138+
<th style="background:#FFB"> Android 4.3.1
139+
</th></tr>
140+
<tr>
141+
<th> 19
142+
</th>
143+
<th> Android 4.4.2
144+
</th>
145+
<td rowspan="2"> KitKat
146+
</td>
147+
<td>
148+
</td></tr>
149+
<tr>
150+
<th> 20
151+
</th>
152+
<th> Android 4.4W.2
153+
</th>
154+
<td>
155+
</td></tr>
156+
<tr>
157+
<th style="background:#FFB"> 21
158+
</th>
159+
<th style="background:#FFB"> Android 5.0.1
160+
</th>
161+
<td rowspan="2"> Lollipop
162+
</td>
163+
<td style="background:#FFB"> OUYA
164+
</td></tr>
165+
<tr>
166+
<th> 22
167+
</th>
168+
<th> Android 5.1.1
169+
</th>
170+
<td>
171+
</td></tr>
172+
<tr>
173+
<th style="background:#F99"> 23
174+
</th>
175+
<th style="background:#F99"> Android 6.0
176+
</th>
177+
<td style="background:#F99"> Marshmallow
178+
</td>
179+
<td style="background:#F99"> Temporarily incompatible until future update
180+
</td></tr></table>
181+
182+
# Permissions
183+
For certain features (such as vibration) to work on Android, you must declare which permissions required for your app. When the user installs the app, they will be presented with them and can choose to accept. You should only use the permissions that are necessary for your app.
184+
185+
There are two PDF documents available on the [Community Forums](/clickteam/forums) from Fernando that details each of permissions. Alternately, they are [available on the Android Developers website](https://developer.android.com/reference/android/Manifest.permission.html).
186+
187+
[https://community.clickteam.com/threads/84241-Android-Permissions?p=616495&viewfull=1#post616495](https://community.clickteam.com/threads/84241-Android-Permissions?p=616495&viewfull=1#post616495)
188+
189+
# Compiling from Android Source
190+
By default, Fusion will delete the project (temporary) files after compiling. If you require the source code to modified before compiling, you can use a trick to prevent it from being deleted.
191+
192+
### Retrieval
193+
1. Disconnect your Android device from the PC and perform a Build & Run. Fusion will become stuck after compiling.
194+
195+
2. Type into Windows Explorer:
196+
```
197+
%temp%
198+
```
199+
Which should open a path similar to:
200+
```
201+
C:\Users\<username>\AppData\Local\Temp
202+
```
203+
3. Sort the folder by date and you'll find the latest AndXXXX.tmp folder.
204+
205+
4. Wait for the RuntimeAndroid-X.apk files to appear in the bin directory. Fusion will have finished compiling.
206+
207+
5. Copy the entire folder elsewhere on the system.
208+
209+
210+
### Compiling
211+
1. Delete the contents of the bin directory.
212+
213+
2. Open a command prompt on the root of the folder.
214+
(Tip: Hold Shift and right-click the folder)
215+
216+
3. To compile for release:
217+
```
218+
ant release
219+
```
220+
Or, compile for debugging:
221+
```
222+
ant debug
223+
```
224+
225+
[Instructions were sourced from this post](https://community.clickteam.com/threads/93461-Get-Android-Project-instead-of-APK?p=670707&viewfull=1#post670707)

0 commit comments

Comments
 (0)