how to call data from activity to another without the button only display the data inside the database


This question already has an answer here:


Uninstall and reinstall your app

This is because, once your app is deployed in the emulator or testing device, and after that if you make any changes to the structure of the database, it wont be reflected and you get an error. when you reinstall it, the database is created as a new one and thus no error..!!!


@DerGolem mentioned a valuable comment above

If you modified the database since it's original creation, then be sure you have an onUpgrade() method. And that you set the DATABASE_VERSION constant to a higher number.

Thanks @DerGolem for pointing out that as I was really unaware about that fact..

Need Your Help

How to create .XAP extension file for windows phone

javascript windows-phone-7 cordova windows-phone-8

I have created a new Windows 8 JavaScript project using phoneGap,

how to install Redmine_RE plugin on Redmine.3.1.0

plugins redmine

I have installed Redmine 3.1.0 on windows.I want to install Redmine_RE plugin on this version of Redmine.But when i copy the Redmine_re zip into plugins folder in the redmine and restart redmine se...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.