1. Are you ready for the Galaxy S20? Here is everything we know so far!

Simple Cafe app control question

Discussion in 'Android Development' started by Baguji, Nov 12, 2018.

  1. Baguji

    Baguji Lurker
    Thread Starter

    Hello everyone!

    I've recently started learning about android app development and I'm following tutorials to get more acquainted with the different tools at my disposal, which seems to be going quite well

    There is one question that I have about a simple app I want to make that seems really straightforward but I'm not sure what's the best way to tackle it as I've never handled this sort of thing before

    So the app I want to make is for a student café I frequently go to, the app is really simple - it shows whether the café is open or closed (giving a push notification when it opens) and it also shows in a simple textview whether there will be free food or not.

    My question relates to how I'll do the actual controlling of this app, I want the clients to simply be able to view if it's open or not and I want to be able to have some way of 'admins' being able to control these variables.

    What do you think is a good way to approach this? Should I have a website that handles it and the app updates from it or should I make a login feature for admins or should there be another "controller" app controlling the app the clients view? Maybe even another alternative?

    If you could give me some insight on this basic question I'd be really thankful, cheers!

     


  2. Best Answer:
    Post #5 by Deleted User, Nov 12, 2018 (3 points)
  3. Deleted User

    Deleted User Guest

    Do you specifically want to write an app for this, because it could be implemented fairly easily with a simple web page.
     
    Baguji likes this.
  4. Baguji

    Baguji Lurker
    Thread Starter

    Yeah I'd really prefer to make a dedicated app to it as we already have a facebook page that covers this but it's simply not practical for students to be checking a dedicated website or social media page to see if it's open or not. With an app it would be far more convenient for the clients, but I see your point of it being much easier with a web page
     
  5. Deleted User

    Deleted User Guest

    Also, what triggers the push notifications? Are you wanting an alert displayed on all subscribed devices?
     
  6. Baguji

    Baguji Lurker
    Thread Starter

    Oh I think this Firebase messaging is exactly what I want! Thank you!

    So what I imagine that would happen is that whenever we want to open the café, the person opening the cafe would "activate" something and so not only would the client app's Closed logo change to an Open logo but also a notification to everyone with the app installed would pop up saying something of the sort "Hey! the cafe is open now!"

    To give you a better idea of why this would be nice is that since it's a student-run café and everything is voluntary work then it means that we don't have fixed opening times or dates, so it's not like a regular café at all
     
  7. Deleted User

    Deleted User Guest

    Sounds like a nice project. Good luck.
    If you have any issues, post back here and we'll try to help.
     
    Baguji likes this.
  8. Baguji

    Baguji Lurker
    Thread Starter

    Thanks! I appreciate the help :)
     
Loading...

Share This Page

Loading...