September 20th, 2012, 12:19 PM
|
#1 (permalink)
|
|
Junior Member
Thread Author (OP)
Join Date: Nov 2011
Posts: 31
Device(s):
Carrier: Not Provided
Thanks: 1
Thanked 0 Times in 0 Posts
|
Stuck in global structure of my quiz app
Hi all, I recently started programming in Android, and as a beginning project I am trying to build a logo quiz app. The idea: You see a splash screen after opening the app (play game - about). Play game takes you to a new activity called LevelSelector.java where you can choose the level you want to play. Clicking on a level takes you to another new Activity Level.java.
I created a SQLite db with 20 questions in it which I install with a DBHelper.java class, every question also has a level column.
However, I get lost in my global structure. Since I work with different levels I don't want to make a new class for every level. I guess I have to make some kind of instance of a seperated class, or how can I solve this? I guess I lost the overview due to my lack of programming in android, but I figured the best way to learn it is (after I watched tutorials) to build an app myself..
Hope somebody can help me out!
|
|
|