• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Butcher Shop Application

Quret Naqvi

Lurker
I am making an app to communicate with our customers and i will be able to prepare customer order and delivery it to his location or come to our shop to collect his order also i want to make our customers able to make online payment? how it will possible i am confused regarding its structure. Platform Andoird, Tool Android Studio
 
What you are describing is a web application. It's debatable whether you need to implement an Android app for this at all. An app would really be a simple webview wrapper, so why not use the web browser instead?

Your system will involve a central server component, with a database. Customers will use their mobile devices to communicate with the server, and submit orders. This is a classic web application, accessed with the web browser on the user's device.

So all the work will be done on the server - you need to create web pages, possibly javascript, and also some server side code (PHP is probably the easiest way to implement it). Plus a database.

Implementing this as a web application also means that your users can access the service on a desktop computer, not just mobile devices.
 
Last edited by a moderator:
but my teacher asked me to make an android application for mobile devices. But if i will use web platform is it convertable on mobile android application?
 
Ah you didn't say it was a set assignment. In that case, make an Android app. Is this your idea, or have you been set this project as part of the assignment? If it is your idea, then I would suggest you try something a little simpler, which doesn't involve communicating with a remote web server. A self-contained app, with a local database would be better.
 
we are going to automate the shop that's why i have to make this. I agree this is web application but like uber,careem they are working on application
 
Also think about cross platform support - an Android app won't work on iOS. With a web application, you get cross platform compatibility, more or less for free.
 
Java is the best language to develop the web application. Also, Android operating system from Google is written in java. Android app development is done with java programming by Eclipse or Android development studio IDE. It would be advantageous if the web app is developed in java rather than ASP or PHP when you develop android app at a later stage.
 
ok First i have to make a web application . which languag eis best for it ASP>net or PHP?

The technology you choose to use on the server side is largely independent of what you use on the client side, so it's not true to say that if you develop an app using Java you must use Java on the server side. All the server side component does is respond to HTTP requests, and serves up HTML web pages. How you do this is up to you. There are web frameworks, which allow you to use (for instance) Java as an implementation language. But this is a steep learning curve, because you have to become familiar with the web framework. You could always write a bare Java servlet, but nobody does that any more, because technology like the Spring framework exists to do all the heavy lifting of receiving and responding to HTTP requests, and constructing dynamic HTML.

https://projects.spring.io/spring-framework/

I'm not familiar with the Microsoft ecosystem, so can't comment on ASP.net, but yes you could use that if you want to.

PHP is attractive because it's a scripting language that can be embedded in web pages, and is interpreted by the web server. It has the advantage of being relatively easy to learn. It doesn't require a web framework, and if your web application is simple, involving just a few pages, it might be your best choice in this instance.

Once you have the server side web application complete, you then have the flexibility of being able to access this via an app (using WebView), or any web browser.
 
Last edited by a moderator:
Back
Top Bottom