User Tools

Site Tools


plugins:building_an_apk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
plugins:building_an_apk [2017/04/04 15:55]
159.203.43.70 [Building an APK]
plugins:building_an_apk [2018/12/30 13:28] (current)
Line 1: Line 1:
-m(====== Building an APK ====== +====== Building an APK ====== 
-The DroidScript8-o ApkBuilder plugin allows you to export your apps to standard Android Package files (APK files). You can then distribute your apps to your friends or upload your them to Google Play for the whole world to try!+The DroidScript ApkBuilder plugin allows you to export your apps to standard Android Package files (APK files). You can then distribute your apps to your friends or upload your them to Google Play for the whole world to try!
 ===== Usage ===== ===== Usage =====
 Once the ApkBuilder plugin is downloaded, you can create APK files by long pressing on your app icon in DroidScript and selecting the 'Build APK' option. Once the ApkBuilder plugin is downloaded, you can create APK files by long pressing on your app icon in DroidScript and selecting the 'Build APK' option.
Line 9: Line 9:
 <code>img = app.CreateImage( "Img/myface.png" );</code> <code>img = app.CreateImage( "Img/myface.png" );</code>
 not this: not this:
-<code>img = app.CreateImage( "/sdard/DroidScript/MyApp/Img/myface.png" );</code>+<code>img = app.CreateImage( "/sdcard/DroidScript/MyApp/Img/myface.png" );</code>
 ===== Extracting assets ===== ===== Extracting assets =====
 If your app is running a web server or streaming video from assets, then you will need to extract these assets from your APK to the internal sdcard when your app is first run. These assets can then be served/streamed from the there instead, because assets cannot be served or streamed from inside an APK. If your app is running a web server or streaming video from assets, then you will need to extract these assets from your APK to the internal sdcard when your app is first run. These assets can then be served/streamed from the there instead, because assets cannot be served or streamed from inside an APK.
plugins/building_an_apk.1491321325.txt.gz · Last modified: 2017/04/04 23:55 (external edit)