« first day (1446 days earlier)      last day (3506 days later) » 

4:05 PM
o/
 
o/
 
\o
 
\o
 
\o/
\o\
/o\
/o/
 
\o/
| |
/ \
 
4:30 PM
I'm glad he clarified at the end because Servy doesn't usually sound this ridiculous. Lol
Didn't you know that you can earn more rep reopening questions than by closing them, and that people love to upvote answers to really poor unclear questions because that answer might possibly be correct and at least they tried and we don't know that it's wrong after all and that run on sentences are fun? — Servy 12 mins ago
 
anyone use JSONObject a lot?
I'm getting weird behavior
my response from the server is formatting nulls correctly, but for some reason JSONObject is converting nulls into "null"
 
anyone tried recyclerview in android ?
 
TGM, i think Ahmad
 
ok Ahmad are you around here ?
 
> Based on your recent experience developing on the Facebook Platform, how likely are you to recommend the Facebook Platform to a friend or colleague/developer?
 
4:39 PM
I just got that email too haha
ah, found the culprit in Android's source code
 
orb what happened ?
 
Where?
 
With who?
 
TGM, this post antonioleiva.com/recyclerview can be useful for you
 
4:43 PM
dunno
you tell mew
with who?
 
Abdellah Thanks
I guess blackbelt tried recyclerview
 
I <3 recycling
 
what's on second?
 
save the planets
 
@blackbelt how did you use recyclerview using support library or any other library ? I don't want to use support library
 
4:46 PM
Never used it... I was actually talking about a real problem
!
 
oh ok
 
sorry for the misund*
 
ok no problem :)
 
I ve a TextView as only child for a LinearLayout. This child has 0 as width and weight 1. I set programmatically the LinearLayout's bound.. I would have expected that the TextView would have respected the parent's bound
 
4:58 PM
@Abdellah I am not using support library because of this reason
> Error:Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version L declared in library com.android.support:recyclerview-v7:21.0.0-rc1
 
I see :/
 
but I guess we can use this then we have to write something in manifest. /me searching
 
yeah alright
 
same solution
138
Q: Manifest merger failed : uses-sdk:minSdkVersion 14

loeschgSince downloading the latest SDK and installing Android Studio, my project fails to build. I get the following message: Error:Gradle: Execution failed for task ':SampleProject:processProdDebugManifest'. > Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version L declare...

 
5:01 PM
I was reading same thanks
 
Welcome :)
 
this is cool
 
@blackbelt I have no idea what is going on orb
 
what's orb?
 
@CarlAnderson I don't know is on third
 
5:05 PM
orb why TextView is capable to go behind the parent's bound
please shed some light
bless me
 
@Abdellah yeah this solved my problem
> <uses-sdk tools:node="replace" />
 
carl, read orb from behind
 
Great (y)
 
bor, please
 
now you're just messing with me
 
5:07 PM
rbo
 
Does it?
 
it does
sounds like craziness but I swear
I checked with the View Hierarchy tool
 
behind? That does sound crazy but I believe you. You wouldn't lie to me
 
can you paste some xml?
 
@codeMagic About time someone figured it out.
 
5:13 PM
I would have right away but I got dragged into a meeting. I love that
Actually just told my brother about it 2 weeks ago. Couldn't believe he'd never heard it
 
I can't... thanks anyway Ahmad
and you rob
 
Hey Android
 
o/
 
'sup dave
 
5:22 PM
o/
 
\0/
 
How's it going, Ahmad?
doing more hackathons?
 
heya !
yeah sure code
I'm on one at this weekend
have some rough ideas, but no team yet
and you?
 
What is the format of the hackathons you do? Are you given a specific problem to solve? Or do you have to come up with your own ideas? Is there a theme?
I'm tutoring math all week!
and maybe working on my baseball card app again
 
math? fun. Just wrote a maths exam today.
Was weird
but good
well depends, the last two I went to were Wikimedia hackathons
you of course do very different stuff there
 
5:30 PM
bye guys, have a nice evening
 
cya bb
 
@Ahmad what kind of math? algebra?
 
later bb
 
see ya, orb
 
did you figure out your gradle problems, cM?
 
5:37 PM
I didn't last night at home (probably due to it being late and having a few drinks) but I installed it this morning and was able to do the same thing fairly easily
damn alcohol...
 
Yeah, I knew Bourbon Carl would understand
 
I think buildTypes is going to be useful
 
Struggling Node.js Developer Lost In Trees And Forest
 
5:45 PM
Ops Guy Doesn't Seem To Care That Code Worked Locally
Haha!
There's Ahmad ---------------------------------------------------------------------------------------------------------------------------------------------------^
 
My Mac crashed o.O
I lost some edits on AS :(
 
oops!
 
obviously, it's google's fault
 
Thanks, Obama!
 
6:00 PM
Fuc*ing J*ws
 
buildTypes is super useful cM! Except it doesn't overwrite. That's not super useful.
 
Haha...all I could think of at first was 'Jaws'
Ah, that's the part I was trying to figure out
 
I want it to overwrite files for certain builds and leave them in place for release :(
 
So, you have to copy the files between build types manually or am I missing something?
I think me and flavors are going to be good friends
These docs really aren't too terrible
 
@Ahmad Nice find
 
6:06 PM
I think the difference between flavors and types is a bit... confusing. And I'm not 100% sure which one we want.
Also, I can't find the comment I found the other day in the docs saying that overwriting source files isn't supported by gradle yet.
:shrug: It's not too important atm. We have our build so we can toggle between a fake HTTP server and the real one at build time, and that's enough for now.
 
CONFIRMED – Linus Torvalds' character in upcoming film "The Linux Supremacy" will be played by Matt Daemon
 
huh
Bug in Android Studio
> The preview tool does not know how do initialize the widgets.
 
a bug in AS? are you sure? I've never seen one! #sarcasm
 
shit
> Rendering Problems java.lang.NullPointerException at android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:1310)
try RecyclerView
then you will see
 
there, I fixed it
 
6:14 PM
how ?
 
edited my post
 
@AdamS My impression was that the difference in the configs you can set on each
How it shows flavors allowing different api versions and what not
And different resources (I hope because that is my plan for them)
 
Yeah, we have different resources for our two flavours.
It works, I'm just not sure we're doing it right... =\
 
@AdamS Something like this? stackoverflow.com/questions/26109762/…
@codeMagic buildTypes and flavors are the main reason I finally fully committed to AS.
They make it easy to run the same suite of tests against different builds...and you can customize the test suite for each build pretty easily
 
I'm thinking once I learn how they work a little better, I'm going to regret not doing it sooner
What I haven't found, is how to do something like just change the resources between two flavors but have the same code base
 
6:22 PM
Feel free to look at my Baseball Card app. I use flavors to manage the free and paid versions.
It's mostly about setting up the directory hierarchy. Under src you have folders named after your flavors. Under each flavor directory, you have a java folder for the source and a res folder for the resources. The main flavor is used by every build. Put your custom resources under src/flavor/res.
48
Q: Android Studio Project Structure (v.s. Eclipse Project Structure)

JesseI'm trying to learn android development and I am initially confused by the different project structures between Eclipse and Android Studio. This makes it difficult to follow tutorials designed for Eclipse. Could anyone let me know why these differences exist? Should they exist? For instance, if ...

 
Ok, that makes more sense of it. Thanks
 
0
Q: Android, every applicatoin crashes on laptop

Niki KolevaEvery time I run the laptop I get a ton of "Unfortunately, APP has stopped working", and every time I try to run any application I get the same message. I tried reinstalling Windows and then installing the android system on the Windows disk partition many times, but without success. The laptop mo...

dupe
 
@AAB denied for low A:Q ratio. Go be more helpful in the community and request again.
 
> I tried reinstalling Windows...
wat?
oh...maybe I misunderstood the Q...
 
6:38 PM
W.O.W!
 
Is the OP trying to install Android on a laptop?
if so, it's off topic...
 
I can't tell what's going on now
 
yah, me too
I'm leaning towards "off topic - general software/hardware question"
 
@Code-Apprentice Yup I think that'll fix our "problem". I can set build version details in the flavor config yeah?
 
What kind of details?
 
6:42 PM
I just want to append like, -debug to the end of debug build info or whatever.
 
I'm not sure what you mean by "debug build info". Do you mean the apk? Gradle will append flavor names automatically.
 
I was in a bit of a rush when I reviewed what we've got currently, I definitely didn't look into it all properly.
Naw, I mean the versionName - so I can display it in the About page, specifically.
I recall seeing that somewhere, so I think you can.
I'll look into it another time.
Too much other stuff to do for now, and this is something really easy to change :)
 
I think there are some tricks you can use to set that in the build.gradle file. Personally, I just use string resources with the same name in each flavor.
 
Huh. Clever.
 
@codeMagic yah, definitely off topic
 
6:48 PM
Yep, just read that and voted :D
 
-2
Q: Android, every applicatoin crashes on laptop

Niki KolevaEvery time I run the laptop I get a ton of "Unfortunately, APP has stopped working", and every time I try to run any application I get the same message. I tried reinstalling Windows and then installing the android system on the Windows disk partition many times, but without success. The laptop mo...

cv please? (off topic)
 
off-topic "general hardware and software blah blah blah" ^
 
@Code-Apprentice [status-closed]
 
Yah, I haven't quite figured out how to post tags in chat...
 
cM done ^^
 
6:54 PM
> Caused by: java.lang.OutOfMemoryError
That kind of explains it all, right?
 
yeah...
 
well, time to tutor some Quantum Physics...well, actually reviewing the calculus tools they need to do the advanced physics problems...
ttyl
 
someone should indicate downloadmoreram.com to that person
 
7:06 PM
so finally I implemented RecyclerView
 
\o/
really cool
 
yah, I dl'd me some more ram!
 
@mistrfu lol
BHAHAHA @Glitch this is hilarious
5 hours ago, by Glitch
just saw it
awesome.
> We have the bravery - to bring back slavery
 
7:31 PM
 
that quote :D
 
o/
 
damn
sometimes I wish I had more of a scam artists mentality
2
 
You just aren't aiming high enough
 
7:39 PM
Repeat after me
I am a Nigerian prince
 
I really hope that article is real guil
 
I really hope its fake
 
Or the best money laundering plot ever
 
wow.
 
7:50 PM
So she is either really high, like reallly high, or she is the most stuck up person ever.
> "Just because you can't see anything, doesn't mean I didn't put hours of work into creating a particular piece"
 
> Paul Rooney, Lana's agent, believes she might be the greatest artist alive working today
that's too absurd to be true
 
scammers go to some extreme measures sometimes
 
8:20 PM
45 minute phone call with a customer then a crappy R&D meeting that was much longer than it needed to be...oy!
 
@Guilherme You know that it's fake, right?
nvm, beaten
 
I do
 
@Code-Apprentice Just look at my edit where I used a tag
 
too lazy
 
“Two things are infinite: the universe and human stupidity; and I'm not sure about the universe.”
it might as well be real
(feeling like I know stuff because I quoted Einstein)
 
8:23 PM
ok
 
lol Ahmad
 
Haha, Ahmad!
 
Ahmad, did you catch cM's problem we griped about yesterday?
 
nope was away studying the whole day
what was it?
this one?
 
yeah
I wish the tabs at the bottom of the window were more intuitive
"Messages", "Android", "Event Log" <-- these are too abstract/vague
 
8:34 PM
Oh yeah
those terms confused me a bunch of times
I actually got this error as well
it's something that doesn't work at all
the whole log cat
that's actually my only complaint
you can use the ddms though
if you want the exact same log cat as in eclipse
but I just JW's pidcat
that does it for me
 
Whoooaaaa, Amazon looks different.
 
the amazon site?
doesn't seem to have changed for me
 
cars are so expensive :(
 
Blue thingy at top
 
8:47 PM
nope not there for me
 
cuz you're not special
 
;_;
 
For any 10kers, look at the deleted answer. Haha meta.stackoverflow.com/questions/272612/…
> this Robert Harvey guy was the same guy that killed one of my CRM questions a few hours ago. Now he's in here killing C++ questions???
Robert do you know anything about CRM 2011? Or C++ for that matter? Or are you an expert on everything?
 
it's not deleted
 
The answer at the bottom is
 
8:56 PM
link?
which one?
 
> deleted by Josh Caswell, Sofffia, Kevin 48 mins ago
 
OH the deleted answer
 
I posted the text above anyway
 
whups I kept searching for a deleted question
 
> For any 10kers, look at the deleted answer.
Don't make me second guess myself again
 
8:58 PM
lol
 
:D
It's nice that he has a good sense of humor
And, with that, I believe I'm out for a bit to go home
See ya
 
cya!
 
later
 
did SO change the way they order answers recently?
I'm now seeing answers come before the most-voted & accepted answer
81
Q: How can you get the Manifest Version number from the App's (Layout) XML variables?

PearsonArtPhotoI would like to have a way to reference the project's manifest version number in the main part of the code. What I have been doing up until now is to link the version number in a String XML file to the manifest (@string/Version). What I would like to do is to do it the other way around, link a st...

Pearson answered his own question, accepted his own answer, and it has 80+ upvotes, but I'm seeing two answers come before his in the listing.
 
huh
you're right
the accepted answer was always on top no?
 
9:12 PM
generally, yes
and after that it was sorted by most upvotes
 
used to be, looks like they changed that to most upvotes, which kinda makes sense, there's a few times when there were 80+ upvoted answers that were way better than a 3 upvoted accepted answer.
 
well it's not working if that's what they're trying to do
on that question, the answer with the most upvotes is at the end
maybe @codeMagic or @TGMCians knows more.
 
are you filtering active or oldest?
i'm using votes by default and 210 is at the top
 
aha, that's what it is
it's defaulting to "active" now
 
9:34 PM
That makes more sense. Normally people don't look back at there questions to re-correct answer them. I have seen a bunch where the correct answer has 20 votes but there is one below it with 200
 
no, the "votes" view should be the default really
 
Oh, its not by votes, ah
 
Wow, most likely explanation for “Windows 10” yet: https://searchcode.com/?q=if%28version%2Cstartswith%28%22windows+9%22%29 via reddit
3
 
If you accept your own then it goes below more upvoted answers
There was a meta discussion about moving the most upvoted answers to the top even above accepted answers
Not sure of the status of that, atm
 
9:51 PM
ohh i get it
windows 9 like windows 95, 98 and so on
 
Oh I don't get it, 'cause I did not exist
 
so users in the 22nd century won't see the Windows 90 either?
does anyone have a raspberry pi here?
 
Ahmad, another feature I miss from Eclipse - in Eclipse, if I double-clicked on the "logcat" tab, it would maximize to take up the entire window's space
but if I want to give the logcat on AS the full window, I have to grab and drag the tiny window divider
 
or hold cmd+shift+up
 
9:58 PM
^ because that's intuitive -.-
 
@JMRboosties no no, as in if you would count all windows versions, windows ME would be the 9th version
which had apparently so many problems
 
@Sajhu your request is denied. Answer some Android questions on Stack Overflow and try requesting again.
 
@Ahmad oh, i see
 
no no Ahmad, that link shows that there's code that would cluster Windows 9 in with Windows 98 and 95 and you would have terrible behavior caused by it
 
Ah yes, that's another reason why I use JW's pidcat
OH wait, you're right
 
10:01 PM
lol
 
sorry jmr you had it correct then
lol
BUT
 
Windows ME is the 9th version
 
how do you figure that?
This page lists and links to information on the various versions of Microsoft Windows, a major computer operating system developed by Microsoft. == Client versions == In this section, a client version of Windows is a version that can be purchased and installed on personal computers (desktop computers, laptops and workstations) or purchased with these computers. == Server versions == == Device versions == === Appliances === === Smartphones === Windows Phone Windows Phone 8.1 Windows Phone 8 Windows Phone 7.8 Windows Phone 7.5 Windows Phone 7 Windows Mobile Windows Mobile 6.5 for s...
 
ME being Millenium?
 
10:03 PM
yes
 
huh
apparently not then
:|
 
Yeah that sucked
 
sorry to crush your hopes and dreams once again Ahmad
 
don't worry happens every day
but you had to do it, didn't you? ;_;
 
Imagine then the first service pack being Windows 9.5 :)
 
10:08 PM
Carl, Dave, maybe it hasn't been given as much attention as I thought but it's been talked about "recently"
35
A: Deemphasise the accept mark if there's an answer the community strongly prefers?

Brad LarsonYou know what I'm beginning to think we should do? Not pin the accepted answer to the top at all. By default, we should sort accepted answers by votes alone. We can make the accept vote be treated as an additional vote as a tiebreaker, but I don't think that the person asking the question should...

It may have been implemented but haven't found it yet
 
well it's pretty fun to do, so yes :D
 
yes yes I can imagine
lol :D
 
> Someone's gotta put these young whippersnappers in their place
 
10:11 PM
LOL WUT
 
...
 
that's pretty awesomely bad
 
I actually like it. It made me click.
 
I don't have audio on this comp so I didn't bother clicking, but from the screen grabs I can tell it's ridiculous
 
Is the "refresh" button with a tool tip of "Synchronize" not the gradle sync button?
 
10:21 PM
the gradle sync button is the gradle logo with an arrow down
 
Or do I need a secret code for it to work? Maybe I need to put gradleSyncButtonStart() in one of the multiple build.gradle files?
Found it, thanks!
 
don't you have any of these?
http://cl.ly/image/0r1v1l1B273u/Image%202014-10-01%20at%207.23.56%20PM.png
 
I figured it would be the big refresh looking button that is always staring me in the face
They are tiny...didn't see it at first.
 
if you press cmd+shift+a, you can type whatever command you need
 
10:29 PM
ok
 
LOL
 
Why does restarting Android Studio cause it to lose all knowledge of my USB attached phone?
Every time I restart AS I have to unplug and replug in my phone
 
did you try just killing adb
and restarting it?
 
no
#postEclipseProblems
 
10:45 PM
@Guilherme Command Palette FTW!
 
do you run it as administrator?
 
Android Studio? no?
 
android studio is fucking up
3
Error: Activity class {path.to.activity.here} does not exist.
every time
unless i run clean first
 

« first day (1446 days earlier)      last day (3506 days later) »