The Android port is essentially (well it is) jacob1's mod with a few extra steps to compile for Android. TPT is mostly coded in C++. Source: https://github.com/jacob1/The-Powder-Toy Android compiling instructions can be found inside the COMPILING file.
Edited once by Lockheedmartin. Last: 25th Jan 2022