App Structure Question

Put your problem here if it does not fit any of the other categories.

App Structure Question

Postby bluestunt » Sun Mar 11, 2012 5:41 am

Hi,

I am fairly new to developing android apps, although I have chosen to make one for a school project.

Here's how it works:
The main activity will put the user in several different situations, and give them four options of what decision they make. Based on their decision they will be given new scenario's or led towards an ending path. I want to have many different scenario's that will be chosen somewhat at random.

My Question:
What is the best way to organize my app? Should each different scenario's and it's unique options be a unique XML file? Or is there a more efficient way to organize my scenario's such as SQL database or other ways?

Thanks.
bluestunt
Freshman
Freshman
 
Posts: 2
Joined: Sun Mar 11, 2012 5:03 am

Top

Re: App Structure Question

Postby Phyll » Tue Mar 13, 2012 9:29 pm

Hi bluestunt,

I don't know what your scenario records look like but offhand I think having separate files might be pretty combersome. I don't know how xml would help the situation or complicate it.

I guess, given the choices you presented, SQLite might be an easier storage target for your project to pick from in a random fashion.

Hope this helps.

Phyll
Phyll
Master Developer
Master Developer
 
Posts: 648
Joined: Fri Oct 14, 2011 11:19 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 17 guests