B4AServer - simplifies development of enterprise in-house Android applications

Asmoro

Active Member
Licensed User
Longtime User
In post #16 I explained what I did to make it work.

And yes, I like to host the B4A server myself (hopefully with a usb external storage disk,
using a dhcp ip adress)

The B4A-Bridge is doing fine here (no problem at all)
 

Asmoro

Active Member
Licensed User
Longtime User
So what you're saying is that I actually can use my own ipadress (dhcp) for making
a server using for the android app and having a storage disk to put the in - and
outcoming data stream.
 

Asmoro

Active Member
Licensed User
Longtime User
Sorry, using my own server, not the board server.

This is the way I like to accomplish :

1. I like to host my own server (with dhcp ip connection) using my storage disk
for data stream.

2. Using and implementing your B4Aserver-device in the app for connecting any users phone to my own server.
 

myriaddev

Active Member
Licensed User
Longtime User
Need simple example on passing arguments to B4AServer

"B4AServer.Shell (ShellCommand As String, Args As List) As Int
Which makes the server run the predefined command with the given arguments. Pass Null if no arguments are required."

Please show us an example on how to send args from device to
B4AServer to be used in shell commands.

Have my own board server working and my own shellCommands
on XP and W7.

Neet stuff (B4AServer)!
Jerry
 

myriaddev

Active Member
Licensed User
Longtime User
How do you pass a File name or Dir path ?

Shell.Dir=cmd.exe /c dir files

1.) How do you pass a File name or Dir path ?
2.) How do you add another option,
like executing a program with parameters ?

Thanks for the Best!
Jerry
 

dbcrosby

Member
Licensed User
Longtime User
Erel, when I receive the file on the android device the file name is changed from the original to a number without an extension.
How can I retain the file name and extension?

Thanks,
 
Last edited:

dbcrosby

Member
Licensed User
Longtime User
Thanks Erel, How/where do I change the path to get the file from? The file I want to download to the android is located on my pc in "c:\temp" directory?
 

dbcrosby

Member
Licensed User
Longtime User
It seams to take around 30 seconds for the failure. Is there some timers that could be shortened?
 

MiniDemonic

Member
Licensed User
Longtime User
Is it possible to expand this server to send and receive packets of text and then do something on the computer, for example:
App sends a packet that says "Move Mouse: 123x;151y"
And then the server moves the mouse to that point.

If it isn't possible to do this, could I get some pointers on how to code my own server that could do this? (vb.net or vb6)
Not asking for a full code, just asking for pointers on how to send and receive packets of text between a computer program and the phone.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…