C2 export for mobiles

Get help using Construct 2

Post » Sun May 21, 2017 5:43 pm

Had to make another thread because the previous got closed...
tagging people involved in our conversation @cjbruce @Jayjay @Husui @jance0405 @Delenne @Colludium

So... @Delenne ? You mentioned a way to wrap the HTML5 into a APK manually. The problem is - I am not a native coder. Is it possible for a non-programmer to use this method?

Also - if anybody had a success with PhoneGap build or standalone - please tell us. After XDK will stop working - PhoneGap would be our next best shot. Sadly - there are no tuts or guides for non-programmers aka using C2 + PhoneGap
B
28
S
8
G
7
Posts: 643
Reputation: 6,457

Post » Sun May 21, 2017 7:59 pm

By Today Or Tomorrow I will make a guide for C2 + PhoneGap. So hopefully you could wait until then.
B
24
S
9
G
8
Posts: 49
Reputation: 6,090

Post » Sun May 21, 2017 8:18 pm

alajajm wrote:By Today Or Tomorrow I will make a guide for C2 + PhoneGap. So hopefully you could wait until then.

Wow. Really!?!?!?! Alajajm - I don't know what to say, really. Thank you! Thank you so much!
B
28
S
8
G
7
Posts: 643
Reputation: 6,457

Post » Mon May 22, 2017 2:21 am

Just give cocoon.io a try. Its not gonna hurt you. Here's a complete guide on how to do it. As in complete from the beginning to google console dev setting up

https://shatter-box.com/knowledgebase/cocoonio/

He also make a tutorial on how to set up in iOS. I havent tried it yet cause i dont have ios device :cry:

======================================================================================
Offline intel-XDK (Crosswalk Build)

https://www.youtube.com/watch?v=lduQ4scwx6Y
B
30
S
12
G
4
Posts: 67
Reputation: 4,250

Post » Mon May 22, 2017 7:44 am

@Irbis
No, there is no programming involved. The tools must be installed, and the export platforms chosen.

The nice thing is that you will not need to rely on an external service.

I will see if I can try this myself, and create a quick tutorial tomorrow.
B
7
S
1
Posts: 29
Reputation: 483

Post » Mon May 22, 2017 9:01 am

Hey, I just built an APK with it! It works. It's pretty simple, but it takes time to install all the tools. I'll make that tutorial as soon as I can.
B
7
S
1
Posts: 29
Reputation: 483

Post » Mon May 22, 2017 3:53 pm

Delenne wrote:Hey, I just built an APK with it! It works. It's pretty simple, but it takes time to install all the tools. I'll make that tutorial as soon as I can.

I don't mind a method as long as it works. One question, because thats a deal maker or breaker - is it possible to export APK with a working AdMob Ads? :I mean, I can sell the raw traffic or make a custom Ads but AdMob pays way better and that was one of the main points of my contract
B
28
S
8
G
7
Posts: 643
Reputation: 6,457

Post » Tue May 23, 2017 7:10 am

I use Cocoon io too, very good performance, letterbox scale doesn't work so I use Scale outer and make my backgrounds bigger
Image
B
28
S
7
G
1
Posts: 110
Reputation: 2,688

Post » Tue May 23, 2017 9:24 am

My problem with PhoneGap do not recognize the íűáúőóüö characters.
Last edited by makkancs on Tue May 23, 2017 12:59 pm, edited 1 time in total.
B
20
S
10
G
10
Posts: 143
Reputation: 7,096

Post » Tue May 23, 2017 12:56 pm

I write too my experience may be help someone.
Android:
1. Add the plugins in intel xdk and use the cordova build package in Intel xdk
2. Unzip this packet and copy all files to www folder, and overwrite the config.xml file
3. Open config.xml file with wordpad, and change the text in these lines:
<name>YOUR APP NAME</name>
<description>YOUR APP DESCRIPTION</description>
<author>YOUR AUTHOR NAME</author>
4. Change phonegap version to 6.5.0 and save
5. Zip the www folder and upload to phonegap.
6. Download your android signature key from INTEL XDK and upload to Phonegap build.
7. Create the apk file and upload to Google Plays

iOS:
1. Add the plugins in intel xdk and use the cordova build package in Intel xdk
2. Unzip this packet and copy all files to www folder, and overwrite the config.xml file
3. Open config.xml file with wordpad, and change the text in these lines:
<name>YOUR APP NAME</name>
<description>YOUR APP DESCRIPTION</description>
<author>YOUR AUTHOR NAME</author>
4. Change phonegap version to 6.5.0 and I need to add these line too:
<gap:config-file platform="ios" parent="NSCalendarsUsageDescription" overwrite="true">
<string>We are using the Calendar for something..</string>
</gap:config-file>
<gap:config-file platform="ios" parent="NSBluetoothPeripheralUsageDescription" overwrite="true">
<string>We are using the for Bluetooth something..</string>
</gap:config-file>
(Because if I do not added thes lines then I get a error code if I upload to iTunes store.)
If you need something else then just change in the line, and save.
5. Zip the www folder and upload to phonegap.
6. Download your iOS signature key from INTEL XDK and upload to Phonegap build.
7. Create the ipa file and upload to iTunes.
B
20
S
10
G
10
Posts: 143
Reputation: 7,096

Next

Return to How do I....?

Who is online

Users browsing this forum: adventurist, Blendi1223, PROxMTswatTR and 26 guests