B4A Server Questions

Bill Norris

Active Member
Licensed User
Longtime User
I’ve read the information regarding B4A server at
http://www.b4x.com/forum/basic4andr...ise-house-android-applications.html#post53629

and I am afraid I am going to need some hand-holding here.

The board web service is a php script that communicates with a MySQL database.
You will need to create a database and a user account that can access the database.
Then edit b4a_server.php and set the four fields at the top of the file:
The script will create the tables on the first run

Question: What script is this referring to?

A shared hosting that supports MySQL and PHP should suffice for running the board web service

Question: Can this be done locally or do we have to employ a 3rd party web hosting
service? I’m friggin lost here.

The desktop server is a java program so it can run on any operating system with Java installed.

Question: Does that mean that the end user must physically install Java (like we did when we first installed B4A) on the desktop machine or does it use the Java plug-in that is typically installed for the browsers to use?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
I recommend you to first run the example as is. The example uses the "test" board that is hosted on this site. It will give you better understanding of the system.

Eventually if you want to use B4AServer you will need to host the PHP script on a web server. It can be either a local or a remote server, depending on your requirements. The script is included in one of the attached files.

The end user will most likely not need to install Java. Basic4android requires Java JDK (development kit). B4AServer required Java JRE (runtime). It is already installed on most computers.
 
Upvote 0
Top