1. Android Central Question's Avatar
    Task to accomplish:
    1. I want to be able to display a list of registered users using a unique ID which will be assigned on registration.

    2. Selecting a unique ID should display specific details of the users information and image.

    3. Vote the selected user (votes should be countable)

    I would appreciate a detailed code. Thanks
    07-21-2019 09:32 PM
  2. Mike Dee's Avatar
    Are you trying to do this for an app you are developing?
    Please consider joining so you respond and clarify what you are trying to accomplish.
    07-21-2019 09:46 PM
  3. Adelodun James's Avatar
    Thanks for the reply.
    I have started writing my code. I have been able to develop a chat app (like whatsapp) on android studio. I have firebase installed. I just want to know how to write the code to do these functions
    I want to include some functionalities in it too.
    I want users to be able to register for a contest. I want all users to be able to see people (or search) who have registered and vote any of their choice. Just that functionality is what I don't know how to go about.
    I would appreciate your help.
    However, I am a newbie to coding.
    Thanks
    07-22-2019 08:31 AM
  4. hallux's Avatar
    Sounds like you may want to visit our developers lounge - https://forums.androidcentral.com/developers-lounge/
    This forum may be of interest as well - https://forums.androidcentral.com/so...pment-hacking/
    B. Diddy likes this.
    07-22-2019 10:23 AM
  5. B. Diddy's Avatar
    I went ahead and moved this to the Software Development forum for more specific traffic.
    07-22-2019 01:24 PM
  6. Rukbat's Avatar
    No one is going to develop for you what's more code thn some apps contain in total, but basically:

    1. I want to be able to display a list of registered users using a unique ID
    Use a SQL SELECT query on your user database table.

    which will be assigned on registration.
    Find the highest UserID in the database, add 1, and assign that to the new user.

    2. Selecting a unique ID should display specific details of the users information and image.
    Same thing - a SELECT query, combining the tables in which you have all the data you want.

    3. Vote the selected user (votes should be countable)
    Have a numeric Vote field in the User table, and UPDATE that user's record with the current Vote + 1.
    07-22-2019 03:45 PM
  7. Adelodun James's Avatar
    Thanks, this is precise, clue-full and informative.
    Can we talk in private please?
    07-23-2019 04:06 AM

Similar Threads

  1. why do i find pictures of games on my camera roll on snapchat?
    By Android Central Question in forum Ask a Question
    Replies: 2
    Last Post: 07-22-2019, 03:49 PM
  2. My phone is on xray display how can i fix ?
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 07-21-2019, 06:48 PM
  3. how do i get rid of "myweather" on my phone?
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 07-21-2019, 02:06 PM
  4. can we creatites ine a list of favourites app whatsapp
    By Android Central Question in forum Ask a Question
    Replies: 1
    Last Post: 07-21-2019, 10:47 AM
  5. LG V20 1 of 5 Gmail accounts actually notifies me of new mail!
    By Android Central Question in forum LG V20
    Replies: 1
    Last Post: 07-20-2019, 05:58 PM
LINK TO POST COPIED TO CLIPBOARD