• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Tab Layout and Database

beamer89

Lurker
Jan 18, 2011
1
0
Not sure if this is the right place to be posting this but here goes!

I'm fairly new to Android and I'm creating a application with a Tab menu, I got this working fine throught the tutorial on the offical website. I then added a SQLite database and a form where information can be saved to the database.

The problem that I'm having is that when I press the save button on the form the whole application closes, although the information is stored in the database when i reopen the application. This button works fine before I add the tab menu and there's no errors that are visable.

Anyone got any ideas? I have attached a zip file of the code below. Thanks!
 

Attachments

  • HelloTabWidget.zip
    96 KB · Views: 35

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones