Hello,
Supposing I have a simple App, that says MsgBox("Hello","Hi") and ends.
1. This created me a main.java file, I see that - that cannot be opened in Java on its own without all the dependencies.
Before it starts to show my code in main.java there is a good 4-5 pages of b4a code setting up the environment, and these appear to be the default reliant dependencies.
package b4a.example;
import anywheresoftware.b4a.B4AMenuItem;
import android.app.Activity;
import android.os.Bundle;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.B4AActivity;
import anywheresoftware.b4a.ObjectWrapper;
import anywheresoftware.b4a.objects.ActivityWrapper;
import java.lang.reflect.InvocationTargetException;
import anywheresoftware.b4a.B4AUncaughtException;
import anywheresoftware.b4a.debug.*;
import java.lang.ref.WeakReference;
So, how do I
a) Get the full source code of the java application that gets sent to the compiler including the dependencies.
b) Do we get source to the dependencies or do we get the libraries, if so, where are they, how are they compiled, is everything in the one spot?
My basic question is:
How do I make a java project that will run standalone in Eclipse or any java editor and display my MsgBox, as even the logic and relies on the B4A libraries. Is there 1 project file, or do I have to find each dependency and construct my own project? If so, how?
I'd like to have the full java source code to the project I have written, in a subroutine, just the logic is fine- naturally I understand the GUI related items depend on the build type.
Assume I'm recreating a Hello World normal java app with no UI just a sub main. Which files do I need from B4A to make my project?
Hope this makes sense.
Thank you,
Simon
Supposing I have a simple App, that says MsgBox("Hello","Hi") and ends.
1. This created me a main.java file, I see that - that cannot be opened in Java on its own without all the dependencies.
Before it starts to show my code in main.java there is a good 4-5 pages of b4a code setting up the environment, and these appear to be the default reliant dependencies.
package b4a.example;
import anywheresoftware.b4a.B4AMenuItem;
import android.app.Activity;
import android.os.Bundle;
import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.BALayout;
import anywheresoftware.b4a.B4AActivity;
import anywheresoftware.b4a.ObjectWrapper;
import anywheresoftware.b4a.objects.ActivityWrapper;
import java.lang.reflect.InvocationTargetException;
import anywheresoftware.b4a.B4AUncaughtException;
import anywheresoftware.b4a.debug.*;
import java.lang.ref.WeakReference;
So, how do I
a) Get the full source code of the java application that gets sent to the compiler including the dependencies.
b) Do we get source to the dependencies or do we get the libraries, if so, where are they, how are they compiled, is everything in the one spot?
My basic question is:
How do I make a java project that will run standalone in Eclipse or any java editor and display my MsgBox, as even the logic and relies on the B4A libraries. Is there 1 project file, or do I have to find each dependency and construct my own project? If so, how?
I'd like to have the full java source code to the project I have written, in a subroutine, just the logic is fine- naturally I understand the GUI related items depend on the build type.
Assume I'm recreating a Hello World normal java app with no UI just a sub main. Which files do I need from B4A to make my project?
Hope this makes sense.
Thank you,
Simon