Shared preferences help

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

Shared preferences help

Postby Seeshi_suin » Mon Apr 11, 2011 6:28 pm

I was trying to learn how to do shared preferences by making a simple app that just has a checkbox and saves when the program is closed and then send a toast when they are saved. I wanted it to reopen the preferences on onCreate. For some dumb reason I am absolutely and totally confused. I have written and rewritten code that I though was right and my program keeps crashing as soon as I push the button to go to the preference activity. I'm sorry if this is vague. I am so confused I don't even know what to ask! I would appreciate it so much if someone could help me! Thanks guys.
Seeshi_suin
Freshman
Freshman
 
Posts: 8
Joined: Thu Mar 31, 2011 6:03 am

Top

Re: Shared preferences help

Postby jrd » Tue Apr 12, 2011 1:50 am

Have you added it to the manifest?
jrd
Freshman
Freshman
 
Posts: 3
Joined: Sun Apr 03, 2011 12:52 am

Re: Shared preferences help

Postby Seeshi_suin » Tue Apr 12, 2011 11:09 pm

Actually I did figure it out eventually, but that did turn out to be the problem! haha :) Thanks anyways
Seeshi_suin
Freshman
Freshman
 
Posts: 8
Joined: Thu Mar 31, 2011 6:03 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 13 guests