Hi everybody.
After thinking about 2 weeks on the subject and making some tests, I decide to share so that others can use the idea directly or improve it and create something more useful…
The idea is to extend the power of the current App Inventor by providing a set of Java-Android “utilities” that can be invoked by App Inventor (ActivityStarter).
The main goal is to have small Java programs, very easy for everyone to understand, use and modify. Then have it in binary form (apk) and Java Source code, so that others can simple “copy and paste” these little utilities, WITHOUT the need to know Java programming. Or, the people who want more can use the existing code as template and create a new function that is not available yet…
In some way is something like a “GNU utility collection for App Inventor”, as a collection of functions that can be invoked by App Inventor blocks… of course, not intended to be sophisticated as the GNU tools, instead a collection of functions to overcome some current limitations…
Here is an actual working example (decimal to binary {or hex} converter):
https://sites.google.com/site/jaiautils/example
I also did some tests with filesystem read/write and "cloud" stuff using BittorrentSync (as cloud), and intend to document more about these ideas so that it may inspire or be useful for App Inventor users…
Regards all,
Valter
Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by Taifun.
Bundle bundle = new Bundle(); bundle.putCharSequence("APP_INVENTOR_RESULT",filename); Intent mIntent = new Intent(); // creates an intent to send app inventor a result mIntent.putExtras(bundle); setResult(RESULT_OK, mIntent); finish(); // closes the app and returns to app inventor
1) Download SDK |
2) Unpack |
3) Run (for the first time) |
4) Create blank project (blank skeleton program) |
5) Compile (create the .apk) to binary executable |
6) The .apk executable package |
7) Run on the Device |
8) Run on the Soft Emulator |
9) Copy a project (duplicate) |
10) Delete a project |
11) Export a project |
12) Import a project |