« first day (1679 days earlier)      last day (3274 days later) » 

9:04 AM
@codeMagic Good to hear about the graph, did what did you end up using? :-)
 
ó
 
> When Android itself is providing backroom doors, why NSA needs to infect App store.
 
After 2 months without a phone, I finally got one !
 
this is called just "back door"
isn't it?
 
yes he made a typo, but I think his point is right :p
 
10:15 AM
YEDSYSYSYSYSYSYSYYSD98ZBXCSDCLNKFJICSA\
EXCITEMENT
I have debugged my app again!!!!!
haha and eski is asleep@ dealwithit.jpeg
 
ôO
 
present for you instead then :)
 
<3333
 
It's my new fav. gif :@
 
lol i think i saw you post it earlier
 
10:19 AM
Was McAdam331
I just stole it :D
 
10:58 AM
dumbfuck woman ? ^^
 
I am part of the male white majority, all I say is racist...
EQUALITY!
You fucking racist!
 
Yeah, it's über dumb
 
11:32 AM
Would not poke with a 50ft pole
> Her comments were branded "laughable" and "patronising" by fellow students.
Who needs weed when you have alcohol ayyyy lmao
 
11:49 AM
o/
 
12:05 PM
That is one beautiful duck m8s
 
is it a duck?
 
Spiders abusing their powers, as usual. Here it is gloating, floating
 
What the f* you talking about ?
 
^
 
That spider appears to be floating.
 
12:11 PM
I don't see no spider. But I see my double-negative
 
The black speckle is the Gasteracantha cancriformis. There are many of them in South Florida.
 
I thought it was a squid-mark on the wall
THIS IS ADORABLE @_@
 
@OcuS it looks a Hallow in Bleach
 
"Hollow" ?
I don't even know Bleach, but google told me so
 
12:16 PM
It has to be a duck!
peep peep peep
 
!/wiki bleach
 
Bleach refers to a number of chemicals which remove colour, whiten or disinfect, often by oxidation. The bleaching process has been known for millennia, but the chemicals currently used for bleaching resulted from the work of several 18th century scientists. Chlorine is the basis for the most commonly used bleaches, for example, the solution of sodium hypochlorite, which is so ubiquitous that most simply call it "bleach", and calcium hypochlorite, the active compound in "bleaching powder". Oxidizing bleaching agents that do not contain chlorine most often are based on peroxides, such as hydrogen...
 
not that AndroidBot
 
Ocus Bleach is an Anime
 
12:26 PM
I don't even know what an anime is
 
o/
 
\o
 
do you all already know this one: sites.google.com/site/forgottenemployee ?
nice read
 
12:34 PM
Hi All. I have just migrated from Eclipse to AndroidStudio. I have never had to sign an APK before. I have been using AS to launch the app on my device, but when i tried today it said, error, myapp-release-unsigned.apk is not signed.
I didnt want to sign it, im not using the play store and the install/update procedure is done via a method i have thought up. So i eventually give in and click the 'open project structure' and attempt to sign the app. I put in a name, key alias, key password but i dont put store file or password in..
what should i actually be doing, is AndroidStudio just trying to force me to use the play store? I didnt have any of this in Eclipse and just built the APK and hosted on our website for install/updates.
 
no
you have to change Build variant
find "Build variants" at left/bottom in AS
 
found that, i get the option of 'debug' or 'release'
 
choose debug
 
debug
 
i thought i needed to release as the debug launch has different behaviour
you guys r amazing, i can launch my app again, cheers
 
12:37 PM
you can configure different keystores for "debug" and "release" builds
 
When you install an APK, even in debug mode, it needs to be signed
you can't install an unsigned APK
 
Here you'll find more detailed information "how to sign your application with different keystore files"
 
so does Eclipse always build a debug version?
 
Debug just usually uses a default keystore/key to sign all debug APKs
 
yes, as OcuS said. and even more, if you don't specify keystore in the application - it will use standard debug.keystore
 
12:39 PM
oooh right ok thank you
so i have eben using default debug signing all this time.
 
Why not sign an APK? Whats the big deal?
 
yes matty
 
well in all honesty, i never had to do it in eclipse, so i never knew it was needed, so i have never signed an app before. What does signing relate to?
is it anything to do with the play store?
 
Signing is the process of receiving an encrypted key to verify ownership.
 
12:42 PM
When you lose the key to your Padlock its a GG!!
 
ok. Well ive been distributing the APK to companies that have installed it, built with eclipse and i have never done any signing. Guess that was wrong of me then
 
it has to do with security. a certificate is used to "sign" the APK (which is just a ZIP archive) and when the app is about to be install, the system checks that the "signature" is valid
but it has none to do with Google Play
 
thats brilliant thank you
another little question for you very hepful people
 
No need to worry on the APPS you made , since you already provide the Source - BTW they can just build new Key for themselves
 
furthermore, when you try to update an app, the system checks that the key used for the signature is the same as the previous one
 
12:44 PM
since moving to AS, i now get errors in this code: pastebin.com/iFvQck11 on the line conatining builder2.show(); why does this now error, but when built in eclipse it didnt
so i think what i have done is distributed the APK with debug signature
 
that's why you'd better NOT lose your keystore (and have a different one for every app you "send in the nature"
 
ok, ill look into signing an app correctly
 
is it a compiling error or a warning shown by AS ?
and in both cases: what's the error ?
 
it only occurs while using the app, so i think runtime. but when built in eclipse this didnt happen
2 secs ill get the stack trace now
 
what does the logcat says ?
 
12:47 PM
stackTrace from logcat: pastebin.com/h7XrGaFC
 
(I bet that has something to do with the thread the code is executed on
 
well the code erroring is within a checksarrayadapter that is used by a fragment
shall i post the arrayadapter and the calling fragment?
 
274
Q: Dialog throwing "Unable to add window — token null is not for an application” with getApplication() as context

gymshoeMy Activity is trying to create an AlertDialog which requires a Context as a parameter. This works as expected if I use: AlertDialog.Builder builder = new AlertDialog.Builder(this); However, I am leery of using "this" as a context due to the potential for memory leaks when Activity is destroye...

^ this
 
@SantoshDhoundiyal denied. First 4 or 5 answers I saw were code only
 
thank you ocus, reading now
 
12:51 PM
@Allu same ^^
Plus spamming rooms with the same question
Good morning, all
 
\o cM
 
I made 30k while I slept. \o/
Yo, Ocus
 
on what game?
 
Nice
 
thanks ocus, but that didnt work for me. I think its something to do with the context being used when i initialize the array adapter from a fragment
 
12:56 PM
The SO game
 
i can only answer basic questions so i dont do very well in that game haha
 
Morning o/
 
mornight
 
What SO game?
\o Tristan
 
StackOverflow
 
12:59 PM
I thought it was Significant Other. THANKS :p
 
haha
 
\o
 
Morning
 
How's it going @OcuS?
 
getting really annoyed with AS, knew i should have stuck with Eclipse
 
1:00 PM
If I had to guess those were Oscars
 
It's not going anywhere, nor do I. But thanks
 
Naw, keep with AS
 
@OcuS I was told you were good with XML or something? I've been having trouble, even though it should be really simple.
 
just getting so many problems now iv swapped. Well, i guess it is just identifying problems better that i didnt know about but im really struggling to fix them
 
1:01 PM
I've
 
with regexp. Noone can be really good or bad at XML, lol
 
See, then Ahmad told me not to use Regex to parse it
I think :P
 
yeah, don't use regexp to parse XML. Use a XML parser ;)
 
@matty357 I didn't read through so maybe this was mentioned but are you using getApplicationContext() for your Dialog?
 
Okay, the thing is the XML isn't nice
Would you mind helping me through this sonofagun?
I'll pay in cookies @OcuS
 
1:04 PM
@codeMagic well i only get the option getContext() , i am creating the dialoge from within an ArrayAdapter, so it wont let me do getApplicationContext();
 
You don't want to do that anyway. I asked because when I've seen that before it's usually someone using the wrong context
What context are you passing to the adapter?
 
in a FragmentClass i am doing Context cxt = getActivity().getApplicationContext(); and then passing it to the array adapter via parameter in the contructor
 
Use just Context cxt = getActivity(); instead
 
before i pass it to the adapter?
obviously
sorry
 
;)
 
1:08 PM
trying now thank you
 
"Novice programmers swear when they get stuck. Expert programmers swear every fucking second." ~HackerOnionNews
 
hahaha
wish that was true, sure my bosss is sick of hearing me swear
 
Hey @matty
 
hi ?
 
1:10 PM
Why is Java slow?
hehe cM
 
its not, ur just reading the output slowly
 
Because Time is a Long
 
hahahaha
ha
if i knew any other java programmers i would tell that joke
 
is this the insanity programming leads us to? haha
 
1:12 PM
It's nice :)
 
im not an expert at java or any other language, but im learning
well, trying
well, swearing alot
so i cant be that bad
 
Good Job :)
I've been swearing a lot :/
 
matty, did changing the context help?
 
This XML SHOULDN'T BE THIS FRIGLEFRAGLE HARD
 
just tested, sorry codeMagic it does not fix it
must be some kind of scope problem with the context or something
could i show you the code?
 
1:16 PM
Make a gist or something and show the code
 
hello peeps
 
ok ill try
do i just add the related java files to gist?
not the whole projec?
 
Yo, kabuto!
No, just the relevant parts. Unless the project is really small
 
yezzir cM!
 
1:19 PM
Yeah just related stuff
 
the ChecksFragment.java creates the array adapter with hecksAdapter = new ChecksArrayAdapter(vehChecks,cxt, getActivity());
 
I missed what the issue was before, what's the problem?
 
Why are you passing a context and getActivity()?
 
because i was testing passing the context, and testing passing the activity and getting the context from the acitivty
 
Mind. Blown.
 
1:24 PM
and partially because im not too sure what i am doing, well i am, but the way it is done is different when compiled with AS
sorry codeMagic
 
I didn't understand that sentence but surely that doesn't compile?
 
yea it compiles, its only sending a parameter
 
!/docs ArrayAdapter
 
failed
 
@codeMagic ArrayAdapter - A concrete BaseAdapter that is backed by an array of arbitrary objects.
 
1:25 PM
oh i take it back
 
Damnit, failed a Triage test
 
But there is no ArrayAdapter constructor which takes a context and an activity. What am I missing?
 
this is my constructor in the adapter public ChecksArrayAdapter(List<String> checksIn, Context contextIn, Activity activityIn) {
or is that the point, i shouldnt have one?
 
I know that
You shouldn't have that one
 
can i not customise the contructor like i have?
 
1:26 PM
Look at the docs that bot was so kind to provide. See the constructors towards the top
 
ok thanks]
can I not override a constructor though?
 
Maybe this post will help stackoverflow.com/a/10675189/1380752
 
i see the ones in the doc
 
You need to override a constructor but use the params of one of the superclass constructors
 
ok, so i will change the constructor to use the same parameters in the same order, plus the few extra i need
 
1:32 PM
@TristanWiley I'm gonna attempt that problem today.
It's Friday.
 
so an arrayadapter should be passed the id of a textview? erm, well, i dont need to pass it one..... confused
 
@jyoon YES FRIDAY, and alright. We can talk on the hip if you want
 
hehe
sure why not
 
Gimme about an hour
 
1:34 PM
Oh okay?
So not now? lol
 
sure
5 minute talk
 
Oh it doesn't matter
 
hold on, but either way, without a contructor problem, it is still the dialog erroring, and i think its because of the context. hmm i may end up re-writing all of this
aaah, but i have this line super(contextIn, R.layout.showchecks, checksIn);
which i think means it dosnt matter what parameters i have in the constructor, aslong as the super is sending the correct ones.
 
morning
 
Morning Adam
 
1:41 PM
Tristan do you not sleep?
When I had my wisdom teeth out I napped all day everyday because I could
 
lol I should do a project for school now that I think of it
I slept
 
HAMMERTIME!
 
Don't stop.
 
1:46 PM
NO
 
#cantstopwontstop
 
user457812
Well at least the bot knows what's up
 
user457812
Also mornings suck
 
Mornings are awful
 
1:48 PM
My favorite one from the bot is when someone says
STAHP
 
sometimes they blow
 
HAMMAHTIME!
 
STOP
 
HAMMERTIME!
 
:(
:)
nice
 
1:49 PM
Hehe
 
hmmm
 
very frustrating
 
or Mhmm if you prefer
 
1:53 PM
Hummmdigidigidydum
 
im thinking the activity or context is out of scope
 
tristan, would you like a go at my problem? ha
 
Sure, I guess
I think
 
are you ready? haha
the ChecksFragment uses checksAdapter = new ChecksArrayAdapter(vehChecks,cxt, getActivity());
 
1:59 PM
What's the error?
 
in the ChecksArrayAdapter i create a dialog, when i click the radio on the dialog i get android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an application
 

« first day (1679 days earlier)      last day (3274 days later) »