Hi,
I am attempting to create a simple card game and have reached a road when
it comes to displaying the data from a single row into multiple textViews.
My current thought process is to:
1. Using a databasehelper class to select a row within the table
2. Pass the results through a cursor and save the data to a Card class
3. I then attempt to parse the class through an arrayadapter
4. I try to display the arrayadapter in the final class.
I have included the classes I used below via PasteBin:
- Database Helper - CardsDBtest.java
- http://pastebin.com/e3si1Lxe
- Card class - Card.java
- http://pastebin.com/4QLJk6Fv
- ArrayAdapter - CardAdapter.java
- http://pastebin.com/9E4GaxxY
- Main Activity - SP_game.java
- http://pastebin.com/zd5xVL3i
If someone would either be able to tell me where I am going wrong or what
tutorials to look at to help me improve code myself, I would be very
grateful.
Thank you all.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.