Olaan Expert Licensed User Longtime User Jul 4, 2012 #1 Hi all, if I have text1.txt in PC as server and use tablet to be Client.How to start programming Server-Client. Best Regards Theera
Hi all, if I have text1.txt in PC as server and use tablet to be Client.How to start programming Server-Client. Best Regards Theera
Erel B4X founder Staff member Licensed User Longtime User Jul 4, 2012 #2 Do you want to download the file? Upvote 0
Olaan Expert Licensed User Longtime User Jul 4, 2012 #3 Erel said: Do you want to download the file? Click to expand... No,Can I use Android tablet as a part of network? Everyone can access text1.txt ,someone read items while other can write or delete items in the file. Best Regards Theera Upvote 0
Erel said: Do you want to download the file? Click to expand... No,Can I use Android tablet as a part of network? Everyone can access text1.txt ,someone read items while other can write or delete items in the file. Best Regards Theera
Erel B4X founder Staff member Licensed User Longtime User Jul 4, 2012 #4 Not directly. You can build a web server and run it on the desktop. The web server will allow the clients to send and receive data. PHP and MySQL should be considered for the desktop server. Upvote 0
Not directly. You can build a web server and run it on the desktop. The web server will allow the clients to send and receive data. PHP and MySQL should be considered for the desktop server.
Olaan Expert Licensed User Longtime User Jul 7, 2012 #5 Erel said: Not directly. You can build a web server and run it on the desktop. The web server will allow the clients to send and receive data. PHP and MySQL should be considered for the desktop server. Click to expand... Hi Erel, Is way to set peer to peer between Widget on tablet? Best Regards Theera Upvote 0
Erel said: Not directly. You can build a web server and run it on the desktop. The web server will allow the clients to send and receive data. PHP and MySQL should be considered for the desktop server. Click to expand... Hi Erel, Is way to set peer to peer between Widget on tablet? Best Regards Theera
K keirS Well-Known Member Licensed User Longtime User Jul 7, 2012 #6 Have a look at the Network library tutorial Upvote 0
Olaan Expert Licensed User Longtime User Jul 8, 2012 #7 keirS said: Have a look at the Network library tutorial Click to expand... Hi keirS, Thank you for answer,I mean that share data between 2 tablets. How to coding? Best Regards Theera Upvote 0
keirS said: Have a look at the Network library tutorial Click to expand... Hi keirS, Thank you for answer,I mean that share data between 2 tablets. How to coding? Best Regards Theera
K keirS Well-Known Member Licensed User Longtime User Jul 8, 2012 #8 If the tablets support Bluetooth and you need to share data where the tablets are in close proximity then that would be the easiest approach. An alternative approach where the tablets are on a local network is to use Multicast DNS to discover other devices. This is what Apples Bonjour service uses. The problem with this is that mDNS is not supported on all Android devices. There is a mDNS libraryfor Java which would be a starting point. Otherwise as Erel says you will need some sort of server. Upvote 0
If the tablets support Bluetooth and you need to share data where the tablets are in close proximity then that would be the easiest approach. An alternative approach where the tablets are on a local network is to use Multicast DNS to discover other devices. This is what Apples Bonjour service uses. The problem with this is that mDNS is not supported on all Android devices. There is a mDNS libraryfor Java which would be a starting point. Otherwise as Erel says you will need some sort of server.