D DT1111 Member Licensed User Longtime User Oct 7, 2017 #1 Hi All B4X Helpers I come across this app which piques my curiosity and of course there is nothing new about this app and it has been around for yonks just that I am a Johnny-come-lately in this sphere. This app is from a fast food chain downloadable from Google Play. This app allows users to order via phone (I assume using the cellular mobile data) and when the user enters the shop to pick up, the user simply press a button which says "I am in the shop". I would like to know how this may be achieved using B4A. -> User sends an order and pay via phone <- fast food chain receives orders -> fast food chain notifies user order is ready <- user notifies shop "I am in the shop" to pick up the orders. What library or methodology are required to achieve the above communication flow? Any suggestions are appreciated. Thanks.
Hi All B4X Helpers I come across this app which piques my curiosity and of course there is nothing new about this app and it has been around for yonks just that I am a Johnny-come-lately in this sphere. This app is from a fast food chain downloadable from Google Play. This app allows users to order via phone (I assume using the cellular mobile data) and when the user enters the shop to pick up, the user simply press a button which says "I am in the shop". I would like to know how this may be achieved using B4A. -> User sends an order and pay via phone <- fast food chain receives orders -> fast food chain notifies user order is ready <- user notifies shop "I am in the shop" to pick up the orders. What library or methodology are required to achieve the above communication flow? Any suggestions are appreciated. Thanks.
Cableguy Expert Licensed User Longtime User Oct 7, 2017 #2 I am thinking Jserver along SQL on shop side, SQLite on the client side... When installing, the user receiver a unique identifier, that would then be passed along with the command... The rest is "logic" Upvote 0
I am thinking Jserver along SQL on shop side, SQLite on the client side... When installing, the user receiver a unique identifier, that would then be passed along with the command... The rest is "logic"
Erel B4X founder Staff member Licensed User Longtime User Oct 8, 2017 #3 One piece was missing: https://www.b4x.com/android/forum/threads/geofence-monitoring-a-region-in-the-background.84767/ Upvote 0
One piece was missing: https://www.b4x.com/android/forum/threads/geofence-monitoring-a-region-in-the-background.84767/
D DT1111 Member Licensed User Longtime User Oct 9, 2017 #4 Thanks CableGuy & Erel I am thinking Jserver along SQL on shop side Click to expand... I am using B4A and is Jserver for B4J? Is it an engine that facilitates phone communication between clients and server (it could be an Android tablet)? Is there something equivalent for B4A? Would I need the Phone Library 1.43 also in this case? I am not very clear here. The Geofence is definitely a very useful feature! But need to start from the basic first before adding the bells and whistles Are there any working examples on the Forum? Thanks for your time and help. Upvote 0
Thanks CableGuy & Erel I am thinking Jserver along SQL on shop side Click to expand... I am using B4A and is Jserver for B4J? Is it an engine that facilitates phone communication between clients and server (it could be an Android tablet)? Is there something equivalent for B4A? Would I need the Phone Library 1.43 also in this case? I am not very clear here. The Geofence is definitely a very useful feature! But need to start from the basic first before adding the bells and whistles Are there any working examples on the Forum? Thanks for your time and help.
Erel B4X founder Staff member Licensed User Longtime User Oct 9, 2017 #5 Use the forum search feature. You will find many examples. jServer is a B4J program: https://www.b4x.com/android/forum/pages/results/?query=jserver You can use HttpServer with B4A, though it is mostly a mistake. Create a real server with B4J and jServer instead. jRDC2: https://www.b4x.com/search?query=jRDC2 Upvote 0
Use the forum search feature. You will find many examples. jServer is a B4J program: https://www.b4x.com/android/forum/pages/results/?query=jserver You can use HttpServer with B4A, though it is mostly a mistake. Create a real server with B4J and jServer instead. jRDC2: https://www.b4x.com/search?query=jRDC2
D DT1111 Member Licensed User Longtime User Oct 9, 2017 #6 Thanks Erel for the helpful pointers. Granted that the jServer and jRDC2 is the recommended way to handle client-server comm, but I will start of with httpserver in a small scale using an Android tablet as a server. Not really understanding what the mistake is with httpserver (still in denial ) but I am more keen with httpserver as it is Android based. Upvote 0
Thanks Erel for the helpful pointers. Granted that the jServer and jRDC2 is the recommended way to handle client-server comm, but I will start of with httpserver in a small scale using an Android tablet as a server. Not really understanding what the mistake is with httpserver (still in denial ) but I am more keen with httpserver as it is Android based.