> Attention!

New threads need to be created only inroot partition! In the future, they will be processed by moderators.

If you posted a new version of the program, please notify the moderator by clicking the "Complaint" button on your message.

Catalog of Android programs



JavaIDE Custom | [widg] An integrated development environment for Android applications.



Rep: (0)
JavaIDE Custom
version: 2.0

Last update of the program in the header:25.05.2019

Attached Image

Screenshots
Attached Image

Short description:
An integrated development environment for Android applications.

Description
Javaide

Introduction

JavaIDE is an integrated development environment that runs on Android and allows you to create your own Android applications without having to use the Android SDK on Windows or Linux.

The following tools are currently integrated in JavaIDE:

Aapt

Java compiler

Dx

Apkbuilder

Zipsigner

Beanshell interpreter

Aapt is integrated as a native library.

Beanshell

The integrated BeanShell interpreter allows you to automate and customize the build process by writing your own BeanShell scripts.

Script writing

BeanShell scripts can access the functionality built into the JavaIDE by using the pre-defined variable G.
This variable references G.class with the following accessible variables and methods:

MainActivity class: G.main

G.stPw1, G.stPw2: Temporary passwords to be used by scripts

G.iScriptResultCode: Scripts can return their result value here

IDE class: G.ide provides access to development tools

int G.ide.fnAapt (String arguments)

int G.ide.fnAapt (String [] arguments)

int G.ide.fnCompile (String arguments)

int G.ide.fnCompile (String [] arguments)

int G.ide.fnDx (String arguments)

int G.ide.fnDx (String [] arguments)

int G.ide.fnApkBuilder (String arguments)

int G.ide.fnApkBuilder (String [] arguments)

int G.ide.fnSignApk (String arguments)

int G.ide.fnSignApk (String [] arguments)

String [] G.ide.fnTokenize (String commandline) // tokenizes the commandline arguments

BeanShellTask ​​class: G.bshTask provides methods for displaying

void G.bshTask.fnClear () // clear BeanShell output

void G.bshTask.fnPublishProgress (String msg) // updates progress message

void G.bshTask.fnToast (String msg, int milliseconds) // shows Toast message

Setting class: G.oSet provides access to variables that can be used in BeanShell scripts:

G.oSet.stDevRootDir: The development root directory

G.oSet.stAndroidJarPath: Full path to android.jar

G.oSet.stBshVar1: User Variable 1

G.oSet.stBshVar2: User Variable 2

G.oSet.stBshVar3: User Variable 3

G.oSet.stBshVar4: User Variable 4

G.oSet.stBshVar5: User Variable 5

Meaning of the script return value:

0: OK 1: Warning>1: Error 99: Undefined return value / exception

Example for calling ecj:
int rc = G.ide.fnCompile ("- version");

Running scripts

BeanShell scripts must be stored somewhere on the Storage Card. You can enter the path and filename of the script in the edit field or choose the script by ting the folder icon (or choose it in the 'Project Filemanager'). The "Run script!" button will start the specified BeanShell script.

Instruments

This tab provides a direct access to the built-in tools without the need for a BeanShell script. All arguments need to be entered in the edit field. This tab is primarily used to see the help for the tools and try things out.

Use with other applications

The JavaIDE supports the "android.intent.action.VIEW" intent action for the text / x-beanshell MIME type. If you define this type for the .bsh extension in your Android file manager (e.g. ASTRO) you can click a .bsh file and the JavaIDE will be started and the script path and filename prepopulated in the edit field.

The JavaIDE supports the "android.intent.action.SEND" intent action and can be called from other applications using the following code:

ComponentName cn = new ComponentName ("com.android.javaide", "com.android.javaide.MainActivity"); Intent intent = new Intent ("android.intent.action.SEND"); intent.setComponent (cn); intent.putExtra ("android.intent.extra.ScriptPath", "/sdcard/.javaide/mydomain/HelloWorld/build.bsh"); intent.putExtra ("android.intent.extra.ScriptAutoRun", true); // default = false intent.putExtra ("android.intent.extra.ScriptAutoExit", true); // default = false intent.putExtra ("android.intent.extra.WantResultText", true); // default = false startActivityForResult (intent, 123);

In the Extra Bundle, you can pass the following information:

ScriptPath: This is the path and filename of the script to be run

ScriptAutoRun: Set this to true to make the JavaIDE run the script immediately after starting

ScriptAutoExit: Set this to true to make the JavaIDE shut down after the script ran through

WantResultText: Set this to true to get back the script output of the BeanShell tab

You can get the data returned from the JavaIDE in the onActivityResult method with the following code:

Bundle extras = intent.getExtras (); if (extras! = null) {int iScriptResultCode = extras.getInt ("android.intent.extra.ScriptResultCode", - 1); String stResultText = extras.getString ("android.intent.extra.ResultText"); }

ScriptResultCode is always returned and contains the value of G.iScriptResultCode. If the script sets this variable, its value is returned to the calling app when JavaIDE is finished automatically or by the user.

You can also get the script output of the BeanShell tab by reading the log file /sdcard/.javaide/LogOutput.txt. Of course, this only works if you have checked the setting 'Log output to file'

Debugging

If you have problems with the JavaIDE, you can set the Log Level in the JavaIDE settings to analyze them. If you define a value higher than NONE, the JavaIDE will log informationen to the logcat. The highest amount of information is written with log level VERBOSE.



Android required: 4.0+
Russian interface: Yes

Developer: В© 2011 Tom Arn, В© 2019 Ivan Timashkov
Changes
Added custom application signature



Download:
version: 2.0 JavaIDE Custom

Past versions
version: 1.0 Attached fileJavaIDE 1.0.apk (3.11 MB)



Post has been editedninja88 - 25.05.19, 11:59
Reason for editing: Version 2.0



Rep: (0)
Templates:

Attached files

Attached fileHelloWorld.zip(52.86 KB)
Attached fileGradleApp.zip(54.36 KB)



Rep: (0)
An example of a simple project:

Attached images
Attached Image
Attached Image
Attached Image


Attached files

Attached fileHelloAndroid.zip(306.5 KB)



Rep: (0)
For compilation, you need to specify the full path to android.jar in the settings (you can take it from Aide).

Attached files

Attached fileandroid-api27.jar(6.59 MB)



Rep: (2)
What other instructions are needed, write more



Rep: (0)
* fozilov.7459045 ,
Above, I threw off an example project. To compile the project, you need to specify the package name (packageName) and the application name (appName) in the build.bsh file.

To compile libraries (.jar) you need to put them in the libs folder

===========================

JavaIDE can collect only simple projects. He is not yet ready to build more complex projects.

To compile, select build.bsh and click on compilation. Before this, you must specify the path to android.jar in the settings.

Attached images
Attached Image


Post has been editedTivru - 17.01.19, 11:14
Reason for editing: Fix



Rep: (0)
Source.

SignApk lass code with user signature is closed at the request of Tom Arn.

Attached files

Attached fileJavaIDE 1.0 Source Code.zip(11.06 MB)



Rep: (56)
JavaIDE 2.0
What's new
вњ“Proguard
Source code:https://github.com/TimScriptov/JavaIDE

Attached fileJavaIDE 2.0.apk(9.77 MB)


Full version    

Help     rules

Now: 08/05/19, 23:08