hey guys, i am getting problems, again, with the DB; it happens when the DB size is great than 1MB.
i have my DB in the assets folder and first time is copied to the data/ data/APPL/databases directory. i wonder if the 1MB restriction for the assets folder is still an application constraint ? i am asking because somewhere i found that it was solved ... my appl is android 2.2. x sansung galaxy S. regards On Jul 8, 11:20 am, "hectordu...@yahoo.com" <hectordu...@yahoo.com> wrote: > hi kostya, > i get your point, i'll try to find the bug; btw, if you have any > advice on how to deal with it, i willl apreciate it very much. > > soo, i will post what happened! > > regards > > hector > > pd.about the double click conflict, i used setOnLongClickListener > instead of onDblClick. > > On Jul 7, 1:10 pm, Kostya Vasilyev <kmans...@gmail.com> wrote: > > > Hector, > > > What I was hinting at (sorry if I was being too oblique) is that: > > > 1 - There is a bug in your code when the activity gets recreated for > > configuration changes; > > 2 - The most frequent case of a configuration change is the screen > > orientation change; > > 3 - There are other cases configuration change cases, and I provided the > > steps for one of them; > > 4 - Rather than putting lipstick over the bug with your manifest change, > > treat it as an opportunity to easily find and fix the bug; > > 5 - Once that's done, and your code survives an orientation change, add > > back the manifest changes as an optimization, if needed. > > > -- Kostya > > > 07.07.2011 20:31, hectordu...@yahoo.com пишет: > > > > "your application is still likely crash if you leave it > > > by pressing Home, change the phone's language in Settings, and return > > > to > > > the app (via launcher icon or recent app list)..." > > > > YEAH ! > > > it is still crashing but i don't know exactly when :-( > > > but ot works fine by pressing HOME, or returning to the app via the > > > icon. > > > > it sounds rare but is there a light sensor some where in the phone? > > > > On Jul 6, 12:11 pm, "hectordu...@yahoo.com"<hectordu...@yahoo.com> > > > wrote: > > >> no kostya, > > >> by the moment it thasn't crash for that ... > > >> know i am geting conflicts with single and double click on a > > >> button .. :-( > > >> it looks like when i make a double click also tryes to execute some > > >> associates methods to single click ... > > >> plase help ---- :-) > > >> hector > > > >> On Jul 5, 1:33 pm, Kostya Vasilyev<kmans...@gmail.com> wrote: > > > >>> That's good, but your application is still likely crash if you leave it > > >>> by pressing Home, change the phone's language in Settings, and return to > > >>> the app (via launcher icon or recent app list)... > > >>> 05.07.2011 22:13, hectordu...@yahoo.com пишет: > > >>>> about the screen orientation, i have included this line in the > > >>>> manfest: > > >>>> android:configChanges="orientation|keyboardHidden" > > >>>> ... works:-) > > >>> -- > > >>> Kostya Vasilyev > > > -- > > Kostya Vasilyev -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en