This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
plugins:building_an_apk [2018/12/29 03:23] 114.125.22.141 [Building an APK] |
plugins:building_an_apk [2018/12/30 01:25] 114.125.41.56 [Extracting assets] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | <?php | + | ====== Building an APK ====== |
- | /** | + | 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! |
- | * Customization of the english language file | + | |
- | * Copy only the strings that needs to be modified | + | |
- | */ | + | |
- | $lang[' | + | |
===== 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 14: | Line 10: | ||
not this: | not this: | ||
< | < | ||
- | ===== 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/ | + | package=" |
+ | android: | ||
+ | | ||
- | Another reason you might want to extract assets to the device' | + | < |
+ | </ | ||
===== Using a build.json file ===== | ===== Using a build.json file ===== | ||
If you create a file called ' | If you create a file called ' |