-1

I'm very new to this and have gotten a bit stuck. I'm trying to build a small app for me and my friends to use, part of it will include keeping track of a score table. I've managed to cobble a basic structure together but I'm struggling knowing what I should use to produce the table.At the moment I've just got it in a tablelayout.

The data will consist of up to 12 rounds of scoring, so something like:

John, 43, 100, 47, 25 Jim, 100, 24, 36, 100 Fred, 53, 87, 100, 42

I'd like to make it so the total is the sum of all the rounds and the table that is viewed has a position in order (1st, 2nd, 3rd etc)

The idea would be that the list would not be user generated or modified, but pushed through with updates of the app and would be just there for reference on who is currently ahead by how many points.

I'm very new to this and haven't done any programming before so my head is buzzing at the moment just trying to figure out a way to do this and keep it reasonably up to date. I'm struggling to understand whither I should be using SQL, array, arraylists, room, gridlayouts, csv or whatever so I'd really appreciate a point in the right direction.

NB From the little I do know it sounds like having a remote sql database would be the ultimate way to go but I'd rather not pay for a server if I can avoid it.

thanks

weepete
  • 9
  • 2
  • 1
    if you are new, coming here to ask us is a very bad idea, in my opinion. most of the people here are very technical, whatever we tell you to do, you wont understand. break down this project into steps, and find tutorials about each step. – letsCode Jan 16 '19 at 15:29
  • Life would be a boring place indeed if we only got answers we could immediatley understand! – weepete Jan 17 '19 at 07:48
  • But I apologise if I've offended you by my question. I take it from that answer it's not as simple as I was hoping it would be and I'll need to find a way of using SQL or Room to use this in the way I'd like. In the mean time time though I'll do as you suggest and crack on with some tutorials (virtually all the ones I found deal with little data and users updating the database though). Thanks – weepete Jan 17 '19 at 07:54

1 Answers1

0

You'll be best off using SQLite if you want to manipulate your data, especially if you think the database will expand. Have a look here about how to create a data base in android.

How do I use SQLite in android?

Using that you should be able to build a database, call it and return the results in an activity

I'm unsure about the file structure in AIDE, but I'm sure you can figure it out with a bit if trial and error.

weepete
  • 9
  • 2