B4AServer files

Erel

B4X founder
Staff member
Licensed User
Longtime User
The files for B4AServer are available here.
See this link for more information about B4AServer:
http://www.b4x.com/forum/basic4andr...ise-house-android-applications.html#post53629

The device project includes a simple example which downloads an image and sets it as the activity background, uploads a file to the server and runs a Dir command.

Don't forget to set ServerName to some unique string in the device code and desktop configuration.

Versions

B4AServer-Desktop: 0.92 (appears when you run the server)
B4AServer-Device: 0.92 (appears at the top of B4AServer and B4AServerService modules)

Files were updated with the new board server link.
 

Attachments

  • B4AServer-Device.zip
    12.7 KB · Views: 1,801
  • B4AServer-Desktop.zip
    91.4 KB · Views: 1,965

Erel

B4X founder
Staff member
Licensed User
Longtime User
The device code was updated to v0.92. This version add support for working with the emulator and fixes an issue with tasks being immediately cancelled in some cases.

To use the emulator you should open the command line (Run - Cmd), go to the Android sdk tools folder and run:
B4X:
adb -e forward tcp:7890 tcp:7890
The folder path should be similar to: C:\Program Files (x86)\Android\android-sdk-windows\platform-tools
 

sleeproom0001

Member
Licensed User
Longtime User
Can send a B4AServer-Desktop and B4AServer-Drive code for me?

Can send a B4AServer-Desktop and B4AServer-Device code for me?
 

jeronimovilar2

Member
Licensed User
Longtime User
Shell.execute

Hi,
i´m trying to execute the printform.exe (VB code) using my android fone.

No database, so no configure the boardurl (PHP)

i configured the config.properties with:
servername=dell1320

Shell.Dir=cmd.exe /c dir files

log for DIR:
task=1 completd. Success=false.

why??
 

jeronimovilar2

Member
Licensed User
Longtime User
help

i´m trying to use the b4aserver to execute a program (.exe) on desktop (local network). when i test a dir command with example....

----------------------------------------------------------
log (btnShellDir):
** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
** Service (b4aserverservice) Create **
** Service (b4aserverservice) Start **
Server not connected. Calling board web service.
Error connecting: org.apache.http.conn.HttpHostConnectException: Connection to http://127.0.0.1 refused
Connected = false
Task=1 completed. Success=false, Message=Task cancelled
---------------------------------------------------------
configure.properties:
#This is the unique server name you choose.
ServerName=dell1320
#Folder for files that can be downloaded to a device
InputFolder=files
#folder for uploaded files
OutputFolder=files
#number of devices that can connect at the same time
WorkerThreads=5
#link to the board server
BoardUrl=http://127.0.0.1/B4AServer/b4a_server.asp
#Interval measured in seconds. The desktop server polls the board server every x seconds.
CheckInterval=5
#list of shell commands
Shell.Print="c:\\program files\\PrintHTML\\printhtml.exe" printername="novapdf" header="" footer=""
Shell.Dir=cmd.exe /c dir c:\ files
--------------------------------------------------------------

what is the error? sorry my english (from brazil)
:BangHead:
 

alienhunter

Active Member
Licensed User
Longtime User
Hi ,
the desktop server seems to crash on windows 8 or it is just me ?
anyone
thanks AH
 

alienhunter

Active Member
Licensed User
Longtime User
Which error do you get?

As it is based on Java it should work on any platform with Java installed.

none it would not even start , the same error that i have with FX (dbutils) just flashes for a sec and then comes
the error if i want to send a report (32 bit java or 64 bit)
... but the FX smiley works with 32 bit java and again the smiley will not work on 64 bit java
 

Eugenio Serrano

Member
Licensed User
Longtime User
Hi All,

I want to know the Last Versión Number of B4AServer, and if it is available for download...

Thanks in advance.
 

fragger86

Member
Licensed User
Hi Erel,
I get this error while compiling b4aServer_device...why?
 

Attachments

  • Err.jpg
    Err.jpg
    286.4 KB · Views: 274
Top