Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Convert .sb2 to .apk
- karatebuilderboy
-
100+ posts
Convert .sb2 to .apk
Do you know if there's a way to change the icon of the app? I tried http://stackoverflow.com/questions/8230810/app-icon-for-android-in-phonegap, but I couldn't get it to work.
EDIT: Nevermind! After downloading the apk, you can open it with WinRar (or 7zip, etc) and change the icon.
EDIT: Nevermind! After downloading the apk, you can open it with WinRar (or 7zip, etc) and change the icon.
Last edited by karatebuilderboy (July 8, 2016 18:29:12)
- -Excelsior-
-
8 posts
Convert .sb2 to .apk
Something I've been thinking about through this…
Since an Android screen likely does not have an aspect ratio of 4:3 (like a Scratch project) how would the phone display one of these projects?
Just curious, as I have not yet fully compiled/downloaded a project yet.
Since an Android screen likely does not have an aspect ratio of 4:3 (like a Scratch project) how would the phone display one of these projects?
Just curious, as I have not yet fully compiled/downloaded a project yet.
- karatebuilderboy
-
100+ posts
Convert .sb2 to .apk
I haven't tried on a physical device yet, but in Android Studio, the unused space is filled with black. Something I've been thinking about through this…
Since an Android screen likely does not have an aspect ratio of 4:3 (like a Scratch project) how would the phone display one of these projects?
Just curious, as I have not yet fully compiled/downloaded a project yet.
- -Excelsior-
-
8 posts
Convert .sb2 to .apk
Okay, that's what I would expect.I haven't tried on a physical device yet, but in Android Studio, the unused space is filled with black. Something I've been thinking about through this…
Since an Android screen likely does not have an aspect ratio of 4:3 (like a Scratch project) how would the phone display one of these projects?
Just curious, as I have not yet fully compiled/downloaded a project yet.
- karatebuilderboy
-
100+ posts
Convert .sb2 to .apk
I went to publish my app on the amazon app store, but I got an error. How would I edit the package name of my app?
- -Excelsior-
-
8 posts
Convert .sb2 to .apk
an error. How would I edit the package name of my app?I remember there being something in PhoneGap about including a certain file in your repo that would set the name of the app along with other qualities… I forget what it was called, but I can't imagine it's hard to find. I went to publish my app on the amazon app store, but I got
- karatebuilderboy
-
100+ posts
Convert .sb2 to .apk
I know that many Phonegap apps have config.xml, but I don't know how to make one.an error. How would I edit the package name of my app?I remember there being something in PhoneGap about including a certain file in your repo that would set the name of the app along with other qualities… I forget what it was called, but I can't imagine it's hard to find. I went to publish my app on the amazon app store, but I got
- karatebuilderboy
-
100+ posts
Convert .sb2 to .apk
Does anyone know how to create a config.xml?
EDIT: Found it! http://docs.build.phonegap.com/en_US/2.9.0/configuring_basics.md.html
EDIT: Found it! http://docs.build.phonegap.com/en_US/2.9.0/configuring_basics.md.html
Last edited by karatebuilderboy (July 8, 2016 20:00:17)
- happyland440
-
1000+ posts
Convert .sb2 to .apk
If you're an Android junkie, you can run Phosphorus inside WebView.
- NitroDragon147
-
84 posts
Convert .sb2 to .apk
The remaining space is black in the index.html file, but can be changed.
- karatebuilderboy
-
100+ posts
Convert .sb2 to .apk
I'm assuming that would be in Index.css? The remaining space is black in the index.html file, but can be changed.
- karatebuilderboy
-
100+ posts
Convert .sb2 to .apk
How does one generate the key for making an ios app?
- happyland440
-
1000+ posts
Convert .sb2 to .apk
How does one generate the key for making an ios app?
Android Studio. You need to buy a developer licence.
Last edited by happyland440 (July 11, 2016 23:16:35)
- karatebuilderboy
-
100+ posts
Convert .sb2 to .apk
A developer licence for ios? Afterwards, how do I generate the key?How does one generate the key for making an ios app?
Android Studio. You need to buy a developer licence.
- happyland440
-
1000+ posts
Convert .sb2 to .apk
A developer licence for ios? Afterwards, how do I generate the key?How does one generate the key for making an ios app?
Android Studio. You need to buy a developer licence.
You need Xcode and Mac.
- NitroDragon147
-
84 posts
Convert .sb2 to .apk
Keep in mind a developer's license for Apple costs, if I'm not mistaken, $100/yr.A developer licence for ios? Afterwards, how do I generate the key?How does one generate the key for making an ios app?
Android Studio. You need to buy a developer licence.
You need Xcode and Mac.

But, Mac and Xcode can be emulated on Windows!


Last edited by NitroDragon147 (July 12, 2016 18:34:11)
- NitroDragon147
-
84 posts
Convert .sb2 to .apk
Nope, it can be changed in index.html with <body style=“background-color:#XXXXXX”>. (Replace the X's with the hex value of your color of choice)I'm assuming that would be in Index.css? The remaining space is black in the index.html file, but can be changed.
- -Excelsior-
-
8 posts
Convert .sb2 to .apk
Isn't that technically illegal?Keep in mind a developer's license for Apple costs, if I'm not mistaken, $100/yr.A developer licence for ios? Afterwards, how do I generate the key?How does one generate the key for making an ios app?
Android Studio. You need to buy a developer licence.
You need Xcode and Mac.
But, Mac and Xcode can be emulated on Windows!![]()
- NitroDragon147
-
84 posts
Convert .sb2 to .apk
Assuming you legitimately own a Mac OS, no.Isn't that technically illegal?Keep in mind a developer's license for Apple costs, if I'm not mistaken, $100/yr.A developer licence for ios? Afterwards, how do I generate the key?How does one generate the key for making an ios app?
Android Studio. You need to buy a developer licence.
You need Xcode and Mac.
But, Mac and Xcode can be emulated on Windows!![]()

You can't escape the price of the Developer's Account using Windows. I was just saying you don't have to drop $1.5K on a Mac if you already have a Windows and want to post to the App Store.
- gregoryshapovalov
-
5 posts
Convert .sb2 to .apk
This worked for me.
1) install adobe air sdk, android sdk, and jave jre
2) create scratch and export to .sb2 (create in turbo mode ideally)
3) convert .sb2 to .swf (auto start and turbo mode if created it in turbo mode)
-http://junebeetle.github.io/converter/online/
4) create .xml file
-looks like this http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff1.html
-but remove icons portion
5) create .p12 certificate using keytool
-cmd at C:\Program Files\Java\jre1.8.0_92\bin
-“keytool -genkey -v -keystore scratch.p12 -alias alias_name -keyalg RSA -storetype pkcs12 -keysize 2048 -validity 10000”
-more info: https://helpx.adobe.com/digital-publishing-suite/kb/publishing-process-android-amazon-mobile.html
6) create apk
-cmd at C:\Program Files\AIR\bin
-“adt -package -target apk-captive-runtime -storetype pkcs12 -keystore scratch.p12 -storepass 123456 scratch.apk scratch.xml scratch.swf”
Thank you, it really works. But how to change ratio on 16:9 from 4:3?
Last edited by gregoryshapovalov (Oct. 24, 2016 16:48:22)
- Discussion Forums
- » Advanced Topics
-
» Convert .sb2 to .apk