Jump to content

[CC 1.79] [Adv. Pocket Computer] craftAndroid [WIP]

computer lua pocket

2 replies to this topic

#1 Piorjade

  • Members
  • 244 posts
  • LocationComputer, Germany

Posted 17 February 2017 - 07:51 PM

craftAndroid - The OS for Adv. Pocket Computers


The APIs available for apps:


Information on packages:
Packages are simply SERIALIZED tables containing minimal metadata for the package and every file/folder it includes. They are also encrypted using the password "cAndroid". (Here is the encryption API)
Example package:
  files = {
  folders = {

  fileData = {
    "print('hello')", --The fileData table is sorted for the order of the files, meaning that the first entry belongs to the first file in the files table
  name = "myApp",
  type = "user",
  size = 0,
Now you only need to serialize and encrypt this table using the given API

NOTE: If you want to use a custom icon for the app, make a file called "img" (should be inside the "root" of the package) (should be made with paint)

PixelToast - The encryption API

Here's a gallery.

Download / Code:
NOTE: There is currently no pastebin downloader, as it's still WIP and I didn't have the time for it. To download, download the ZIP from GitHub and put it into your folder of your Adv. Pocket Computer

#2 ObloxCC

  • Members
  • 38 posts

Posted 17 February 2017 - 09:30 PM

Icons look kind of tight, but other than that it looks good

#3 GreenByteSoftware

  • Members
  • 135 posts
  • LocationKaunas, Lithuania

Posted 27 March 2017 - 12:51 PM

If you need to just clone all the files run this:
pastebin run W5ZkVYSi Piorjade craftAndroid

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users