« first day (922 days earlier)      last day (2982 days later) » 

user335633
04:57
teehee - just answered my own question
06:10
@DamienPaul that's because of the answer you found, no need to thank me, I did nothing :)
@ShadowWizard oh yea, you know, how hips don't lie ;)
user335633
@DroidDev you encouraged me to write a question
user335633
oh by the way, I self-answered my other question
user335633
now working on the 'exit program'
@DamienPaul that is cool.....see, you are learning, you might start liking android now :P
user335633
having the database be deleted on exit
06:14
@DamienPaul oh....I think overriding "onDestroy" might be what you are looking for
user335633
@DroidDev onDestroy sounds cool too
user335633
@DroidDev liking .... Android..... ahahahahahahhaha
user335633
deleteDatabase
AAAAAAAAAAAAND DONE!!!!
user335633
06:21
almost, trying to see how to actually code it in
@DamienPaul I think onDestroy of application class might be what you are looking for
user335633
i need the database items to be removed on exit
user335633
i still do not like Android - unnecessarily complicated
user335633
all i want to do is press button, delete database and exit
06:32
it is actually as easy as it can get. They have given a simplest method for it....
where is @ber shoots @ber in his forehead to wake him up
shoots @Sha in his right eye to wake him up
user335633
getting mightily sick of android
I am not able to understand if you are facing a problem again, or you are just upset because of some other reason :/
but....anyway...
user335633
i am struggling with the simple task of deleting a database
user335633
all i want is: click button -> database is deleted -> program exits
user335633
i have the click button and program exits
user335633
06:41
after this and the smartphone version of this app - I am going back to python
user335633
what I find is that a lot of explanations make little to no sense - I am seeking actual code examples
@DroidDev X_X
user335633
do not get it
user335633
07:02
it really should not be this complicated
user335633
just read the developers guide - don't get it
07:37
@DamienPaul its not complicated at all, you already have the code, from the link you posted yourself and I told you you can write it in onDestroy on application class. This is just too simple....I don't even know if it can, by any case, get any simpler :/
user335633
just getting error after error
@DroidDev \o/
@GrenadesPlus hiya
user335633
@DroidDev unfortunately, I am still finding it complicated (remember, I am not a developer)
user335633
07:59
will onDestroy() clear a sqlite database?
nope, it will be called when you activity is being destroyed
user335633
I need the sqlite database to be cleared
user335633
I am doing it wrong - onDestroy() crashed the app
you'll need to write code to clear sqlite database, in onDestroy
search for following things:
1. How to know when application is closed, android
2. how to clear database, android
user335633
I have no. 1 working
user335633
08:03
no. 2 I can not figure out
user335633
that is what I am asking and have been researching/trying for the past few hours
user335633
it is literally the last thing needed for this app
user335633
(I am not bothering with the UI - it's for a specific use and the function far outweighs any windowdressing)
user335633
yes, I have tried just about everything on that search page
08:09
._.
what error did you get?
user335633
no errors, but the table is still there when I restart
I think they are created again when your application starts
user335633
that's what I am looking at - trying a 'DROP_TABLE_IF_EXISTS on onCreate...
user335633
nope... failed
wakes up
@DroidDev cheeks in this case, yeah...
@DroidDev done who? ;)
08:14
@DroidDev no, they are created only once, until the cache is cleared
they are recreated if we change the db version
user335633
cache....hmmm
user335633
the old data still remains
user335633
what i am after is when the app restarts, the old data is not there
@berserk he has database deletion code when application ends, and surely, he has database creation code when application starts
@ShadowWizard teh codez
user335633
database deletion code not working
08:22
isHungry
user335633
in my emulator, it either appears red or is red underlined
code in emulator? O_o
user335633
am using Android Studio
that means there is some error in the code you wrote, what is that error?
if you hover on code, you'll see the error
user335633
the red shows up when i type
user335633
08:28
and all the guidance says is "Cannot resolve symbol"
user335633
which is not actually helpful
try typing full sentence, and then see what error you get
user335633
that's all that comes up
Sounds like missing library/include
user335633
like I said, once I get this app done, never will I use android again
08:31
@DamienPaul Heh, you should see TeX/LaTeX errors.
user335633
no thanks
I think you are missing something or doing something wrong. "Cannot resolve symbol" must be related to some variable you are typing, like context or something else
try to figure out what it is
user335633
I have been... for 7 hours today.... and over 40 hours this week
well....
well....
user335633
08:35
I am sitting here staring at my screen
And prolly chatting
No, not chatting.
user335633
I am not using Android by choice
on a difficulty scale of 10, with 1 being least difficult and 10 being most difficult, I'd say the problem your are solving(clear database on app exit) cannot be stretched beyond 2, in any given case. :/
user335633
I am not like the homework vampires - I onluy ask after I have tried several attempts
2 is also the limit, because of some devices might act differently, or I'd put it at 1
user335633
08:39
than I must be stupid
as I said, you are missing something. Just calm your mind and try to figure that out
user335633
I have been for 5 walks, played with the geese, the cat and the neighbours dog - I did meditation etc - I know all this
user335633
I know I am missing something
user335633
trying attempt no. 35 today (literally)
I was once put on server side coding, with zero experience in scala and titanium db. I worked for 75 hours in 3 and half days. That means just 7 hours of total sleep in 82 hours, but we did deliver the damn website and we went home on saturday night knowing that we are done with it
user335633
08:46
I am not a coder...
yea, I could have said same to my team. Thing is (I am being a bit philosophical here) the perspective, with which you see the problem
user335633
I write app, I get paid
user335633
then I get to do things that make more sense to me
user335633
I come here to seek help
user335633
I MIGHT be getting somewhere
user335633
09:00
okay a coding question
user335633
I have a public boolean on one activity that I need to make true on another activity... how?
user335633
hmmm tried something... failed....but...
@DamienPaul you can make it public static. That way, it will be accessible by classname anywhere in project
Activity.booleanname = true/false
whatever
and its value will be whatever you set last time, from anywhere in project
though, remember, this is not a good approach
:P
user335633
noticed that - it crashed
user335633
09:09
the exit button is on MainActivity, the DBHelper is on a separate Activity
user335633
maybe I should delete the app, quit the job and join the foreign legion
user335633
i am going to go offline until this piece of crap is done (if it isn't done, I will be on the job queue)
09:40
turning @Dam online
09:53
>>join @Dro
@ShadowWizard Command not found. Did you mean: joingame?
@ShadowWizard Command not found. Did you mean: yes?
>>yes of course
@ShadowWizard You're already in the game.
09:54
@FOX9000 Matrix
@ShadowWizard coefficient
@FOX9000 coworker
@ShadowWizard heterogeneous
@FOX9000 homogenous
@ShadowWizard ideal
user335633
09:56
i can't chat,,, i really have to get this sorted
But if chat will help you get it sorted... unless @Dro and/or @ber can't help any further? :/
user335633
well, it was getting into philosophy - that is not practical
Let's see when the pinning will expire...
tru dat
Gooood luck!
10:35
@ShadowWizard actually, I am not able to get what error is being faced, so....
>>join
@DroidDev Command not found. Did you mean: joingame?
>>joingame
@DroidDev You joined the Word Association Game! Run >>quitgame to leave.
@FOX9000 ideas
@DroidDev thinker
10:36
@FOX9000 me
@DroidDev excuse
>>showtime
@DroidDev Waiting time: 0 seconds.
@FOX9000 sorry
@DroidDev repent
10:37
@FOX9000 represent
@DroidDev numeral
@FOX9000 factorial
@DroidDev int
getting back in form
@FOX9000 integer
@DroidDev digit
10:37
@FOX9000 magazine
@DroidDev playboy
@FOX9000 boobs
No associated word found for boobs.
WHAATTTTTT??!?!!!??!
>>continue boobs beauty
@DroidDev 2 arguments expected, 1 given.
@DroidDev beauty
10:38
@FOX9000 kiss
@DroidDev bosom
gotta stop, junior is shamelessly looking at my monitor
@DroidDev yeah, I saw :/
@DroidDev junior sounds like a name of a dog.... :D
LMAO, I wish he reads this and die
lol
or eats dog food :P
10:46
that would be too nice
@DroidDev probably the WAG site was down for a bit
@FOX9000 bottom
@ShadowWizard dive
@ShadowWizard and here I thought world stopped :/
@FOX9000 deep
@ShadowWizard cleft
10:46
@FOX9000 theft
@ShadowWizard accused
@FOX9000 blame
@ShadowWizard anger
@FOX9000 boobs :P
@ShadowWizard beauty
10:47
>>islink boobs beauty
@ShadowWizard Yes, that's a manually added link.
umm.... so weird. Maybe the WAG site made some cleanup... :(
No more following boobs....
And @Pro looks like a bug, the edit here caused a link be added (see above), but didn't execute retry. Or is it by design?
11:02
@ShadowWizard yeah, @Pro looks like a bug alright.
3
I didn't star that....nope, not me
11:16
lolz
11:27
only if I could tag you guys to comment sections, I'll do that to comment section of first image in article here @ber @Sha what-if.xkcd.com/131
hmm? Tag? Comment? isConfused
You can just post it on FB and tag us.... ;)
@ShadowWizard but that image makes more sense with the whole article more
11:44
anyway...did you see it....DID YOU SEE IT?
1!!!!
 
1 hour later…
13:00
@DroidDev I... uh... still have to upload the links to my cloud.
@ShadowWizard "it didn't execute retry" then what's this? chat.meta.stackexchange.com/transcript/message/5356781#5356781
@ProgramFOX BLASPHEMY!!!!!
anyway...hiya....long time no see :)
Hey be glad that it's already on a cloud ;P
b...bu...but....boobs?
I'll try to get the links copied today.
no hurry @Pro, its not like I am here like I used to and I can play game like I want to....so I can again put those links up when I am playing ;)
13:14
heh well actually I should have copied them already a long time ago, so today it's time to actually do it :P
13:29
-_-
 
2 hours later…
15:51
@ShadowWizard if you are around, I might have a case for ice cream. see here
16:19
@ProgramFOX oh wait... .... self slap
@ProgramFOX yep, but boobs used to have lots of non manual links
you have a point there
but the word appears to be removed from wordassociations.net
6 hours ago, by Shadow Wizard
umm.... so weird. Maybe the WAG site made some cleanup... :(
:(
@rene hmm.... indeed!
Ice Cream is brewing now, will be ready soon. :D
16:40
Transforming buses
16:55
@ShadowWizard cool :)
@FOX9000 !delete!
17:11
OK, it's ready!
@rene have fun! ^
\o/ thanks @ShadowWizard
 
1 hour later…
18:15
Bot restarted after crash.
The linked words are now copied to the cloud.
3
 
3 hours later…
user335633
21:33
did it... app completed.... still hate Android
user335633
some naughty things I did - horizontal and vertical scrollbars, so it works on everything (just a tad awkward - I care not of UI, nor does the boss).
user335633
and made an 'exit program' button.

« first day (922 days earlier)      last day (2982 days later) »