Android Question Phone Communication

DT1111

Member
Licensed User
Longtime User
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
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

DT1111

Member
Licensed User
Longtime User
Thanks CableGuy & Erel

I am thinking Jserver along SQL on shop side

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

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

DT1111

Member
Licensed User
Longtime User
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
Cookies are required to use this site. You must accept them to continue using the site. Learn more…