when u will run apps, that many time it will insert into database, two solution -
1. after first time insert, comment this insert statement 2. before insert, write delete query for the same table. On Thu, Sep 13, 2012 at 12:55 PM, Ibrahim Sada <[email protected]>wrote: > Hello friends... > i am inserting values in databse sqlite table from the code... > But when ever i run the code or programe itse inserting value > again > > > Assume i have 1,2,3,4,5 and i run the code then its inserting > > 1,2,3,4,5 > > and when i run the code again its comming twice... > that is > 1,2,3,4,5 > 1,2,3,4,5 > > can any one help me... > Thanx in advance,,, > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Thanks & Regards Rakesh Kumar Jha Android Developer, Trainer and Mentor Bangalore Skype - rkjhaw (O) +918050753516 (R) +919886336619 -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

