« first day (1241 days earlier)      last day (3711 days later) » 

6:00 PM
well, the good news is that creating new directories is such an infrequent thing to do, I'm sure it won't impact anyone.
 
if you can come up with something people will watch
 
People make 10k a month from youtube
 
I was thinking on making some ~20 minute tutorials
 
Foamy does some youtube tutorials afaik
 
I got stuck, can not create a file
Ahmad, did you upgrade your AS ?
 
6:01 PM
but does foamy have a sexy geek girl radio voice?
I think not.
 
Not yet TGM
 
well maybe he does
 
Ahmad, did you "upgrade" your AS?
it has new features
 
is AS safe to use yet?
 
lol Neb
 
6:01 PM
Haven't upgraded my AS S yet
 
I have to create a file manually
 
3rd times the charm
 
Exactly.
 
went to the file location then file created
 
It's even funnier if you fail to deliver a lame joke 2 times
Makes it more special if it finally works
 
6:03 PM
ever more funnier when someone takes your punchline.
never forgets
still plotting my revenge...
 
k
 
LOL
Ahmad, did you upgrade?
Ahmad, did you?
 
he said no ^
 
Did I?
 
6:05 PM
Ahmad, did
 
up there ^^
see ^^^
 
AHMAD!
 
it's not really clear whether he upgraded or not, there were so many edits...
 
wait, wait
Ahmad, did you upgrade?
 
I haven't opened AS in ~2 weeks
 
6:05 PM
are you throwing us off?
 
Of course
 
kay.
 
k.
 
so neb, +1 if you make tutorial videos
I have been thinking for a while to do some Android tutorial videos in Spanish
 
I could do some fairly interesting ones
like seamless auth from android -> appengine
using endpoints
 
6:08 PM
Anyway, Quick Question : Any here who worked on robolectric ever ?
 
I would watch that
 
and uh...
some other ones.
 
blender...
libgdx
 
blender lol
 
something I need....
 
6:09 PM
like there arent 50 million blender tutorials out there
libgdx would be a good one
 
get neb to teach me for free
 
Ahmad, what is "2 Std"?
 
I thought about making one on how to be awesome
You all should watch
 
"2h" in english
 
Adam: it's metric
 
6:10 PM
gonorrhea and chlamydia?
 
I doubt that you could get rich with programming related content, audience is probably too small
 
is that a dare?
 
I would like to ask "The New Boston"
 
challenge. accepted.
 
But not very many awesome people so my idea sounds pretty good
 
6:11 PM
and see if he got some funding or not
and being a girl is probably a bonus
 
Ah, 2 hours makes sense.
Carl: I'm so glad I'm moving to Canada, where they use a sensible measurement system.
 
what would be your first video on neb?
 
Adam, I'm trying to poke more fun at @Ahmad, but he seems to busy upgrading his AS(S).
 
uh i dunno
probably this conversation
 
new boston might make 20k / month socialblade.com/youtube/user/thenewboston but there is also a lot of content
 
6:16 PM
"Kardashian patch applied. AS(S) upgraded successfully."
 
Hello, Android
 
are they already up to the S version of Android Studio? They're developing it faster that I expected.
 
Heya! Guru
 
neb, I think you should do some libgdx tutorials. I would watch those ;-)
 
That social blade site gives a huge bracket of earnings.
1.7-17k
That appears to be somewhat arbitrary.
 
6:20 PM
social blade?
 
The one zapl linked above.
Who is this New Boston person.
Um.
He's telling me how to watch a coding tutorial YouTube video in full screen and at 1080. Mate. You come here and try watch a video in 1080.
closes window
 
he is were most of us, non dev guys, start learning Android
as far as video tutorials goes
 
Ahhh I see.
I've heard this guy does pretty good ones too
Haven't seen any myself. =\
I hate videos for learning.
 
srsly.
 
oh, I think I've seen some of those
 
6:26 PM
half a million viewers are learning to not capitalize their class names.
 
apples.java neb. Who even cares about class names.
Oh and tuna.java now too.
 
yeah, I am surprised he didn't capitalize...
 
neb, make proper tutorials now, can't watch that
 
^
 
he's just helping those of us who know what we're doing more easily spot those who don't.
 
6:31 PM
So, no answer of my question
 
Not worked with Roboelectric before soz.
 
Simple question :
22 mins ago, by TGMCians
Anyway, Quick Question : Any here who worked on robolectric ever ?
Okay Adam
 
<--- nop
 
I think no answer is the answer
 
I've not worked with it either, thus my lack of reply to your question.
 
6:32 PM
Someone was discussing here yesterday about this
 
Warren maybe
 
[2014-03-11 07:32:35 - Framework Resource Parser] Collect preferences failed, class java/lang/AutoCloseable not found in C:\Program Files (x86)\Android\android-sdk\platforms\android-19\android.jar
 
Presumably this is complaining because I'm using Java6?
 
yesterday, by Ahmad
robolectric is the thing these days
 
6:34 PM
Probably @AdamS
 
Don't even know why it's loading SDK 19 jar
We're targeting 17, for some reason.
 
you are probalby using 19 to compile
 
Naw, compiling with 17.
 
remember that minSdk doesn't determine what platform is used to compile
 
Target is 18 sorry.
 
6:36 PM
Do you use Eclipse?
 
Yeah.
Only get that complaint when I open a layout file for the first time.
 
Right click on your project and go to Preferences, then click on Android. Which SDK is selected there?
 
Yeah, that's 17. :)
min 9/target 18/build 17
We're using build 17 cos that's what the build server has installed :|
¯\_(ツ)_/¯
 
weird that the error references 19 then...
 
Indeed. Not fussed.
Ooooh I found it.
The GUI layout editor picks an SDK to build with.
It's set to "automatically pick best".
Gotcha.
 
6:51 PM
"the best"!
lol
 
Hrmmm, this layout problem is annoying. I'm setting a header view on a list view, which has id "@android:id/empty". There's a view in this header view that I'm using as the actual empty view, and I'm displaying/hiding that whenever I detect that my list is empty. The displaying/hiding is fine, but I can't make it expand to fill the remainder of the window.
I want the 'loading' etc content to be in the center of the screen, but it's top-left.
Ohhh, hmm.
Ugh, got it centered horizontally, but vertically it's still directly below the header... it'll be because the containing list view is wrap_content height.
Nope that's not it either, that's match_parent. Damnit.
 
7:08 PM
find the parent that is wrap content?
 
It's match_parent all the way up to the enclosing activity.
Wonder if it's something to do with list views not allowing items to have height match_parent. Probably.
Wonder if I can override that behaviour...
 
items don't work with match_parent
 
Yeah, which makes sense. But I want my header to fill the page when the list is empty.
 
why the header and not the normal empty view?
 
I use the header to do filtering on the list.
If the filtering results in an empty list, then the header disappears too.
 
7:12 PM
I see
 
So the user can select a different date, for example. If that date has no sessions available, it shows "No sessions" or whatever.
I could detach it from the list entirely, but the header is quite large (it contains a cinema image and details, as well as a date selection row with left/right and currently selected date) and doesn't work well in a static position in landscape.
Not too keen to override behaviour in ListView, the source to that is... 8000 lines long IIRC?
 
hmm, empty view handling is: visibility.GONE on the listview itself and visible for the empty view
don't forget about AdapterView > AbsListView > ListView :)
 
AdapterView?
 
for your lines of code count, base of listview and the place that shows the empty view
 
Oh yes, I see what you mean.
 
7:21 PM
1200 + 6900 + listview
 
AbsListView is 6900 lines O_O
 
View.java, 19571 LOC ~7MB text file
 
Hmmm, I wasn't passing in a viewgroup when inflating the header; looks like that means it gets default layout params of MATCH/WRAP for width/height.
Changed it to pass in the list view as parent at inflation; no luck there either.
Might go make some toast.
 
see you in Toast.LENGTH_SHORT
 
How do I make my gridview wrap its content?
 
7:33 PM
or Toast.LENGTH_LONG.
 
I have a gridview that contains items which is an image plus a caption below it
for some reason, when I have items with longer texts, it distorts the view
 
if you want to wrap content, don't use a grid/listview
 
what should I used ?
 
normal layout that shows all the content
 
The items am trying to display are dynamically added
 
7:35 PM
ViewGroup.addView
or addChild or so. Or you don't try to wrap the content but make the grid / list a "fixed" size
 
So there is absolutely no way to enable wrapping content (just the text) while using GridView?
 
There are possibly wild hacks
 
what if I increased the width of the gridview item; of course I have to be careful not to mess the whole layout up with small devices
 
wut? I have text wrapping in a gridview
 
you do?
 
7:39 PM
yah, no wild hacks needed
 
how did you do that?
 
magic.
 
let me show you my screen
one moment
 
no, the textview width: match_parent and height: wrap_content
and thats in a relative layout with both with and height of wrap content
thats the grid item
 
oops text wrapping, I was still somewhere else
 
7:41 PM
then the gridview has numColumns = 2
and stretchmode columnWidth
but yah, just set the grid items layout to wrap and the textview to wrap content on the height
 
Here is my gridview attr set; I have 4 columns
 
its not about the gridview, its about the items layout
 
As you can see, the lower row is not aligned
Cool, I will not touch the gridview
so, let me modify the item layout
 
well that might be the stretch mode
 
did you cut off the right part of that screenshot or is the text really outside of the screen?
 
7:44 PM
how about turning on "show layout bounds" in developer options?
 
that screen shot is the view for the gridview when items have longer text in the second row
oh I cut it
the text is inside the screen
I didn't need the entire screen
 
you have to define a max width for items
 
I did
in the gridview
 
We have like android:layout_width="200dp" set in the item layout
not in the grid
 
oh in the item, not grid
 
7:51 PM
Quick question : Some broadcast receivers can't register by doing entry in the AndroidManifest.xml, you have to register them programmatically, Any reason why it so ?
 
that toast needs some butter. and beans.
 
Why is the toast not disappearing?
 
Toast.LENGTH_INFINITE
 
I wish I had LENGTH_INFINITE Toast.
 
7:54 PM
TGM, manifest receivers are invoked regardless of your app running or not, those intents that are not delivered to manifest receivers are for some reason not intended to start apps
I think you can pass something like Long.MAX_VALUE
 
beans? on toast??
 
uh, yah...
 
Yeah, I just had margarine. :(
All that was in the work fridge.
 
Canadians are so weird
 
Back.
 
7:57 PM
good ahmad
I put a question for you
 
@carl finished updating my AS(S)
 
you haven't had baked beans on toast?
DUDE
 
I didn't either
 
w/ cheese. Mmm.
 
should I?
TGM: what question?
 
7:58 PM
wait wait, beans on toast is so normal, everyone should have done it at some point
 
I heard it so many times
 
Thanks for the update Ahmad, I was very concerned :D
 
but never ate it
Actually having relatives over
 
Ahmad this question : Have you worked on robolectric
 
7:59 PM
And they are not lettint me program :[
 
you don't even know what you're missing
 
nope sorry haven't yet TGM
but I plan to
soon
 
okay but I am
 
That looks delicious neb
hungry now lol
 
thanks zapl, but why those intents are not delivered to those receiver
 
8:01 PM
robolectrics looks pretty cool
 
user457812
We decided to do a policy change in NSChat: room's open unless it needs to be locked because there's a problem. This should help with wasting time on telling people to read the rules and such.
 
Seema like a bad idea
 
that's not toast... that's... frankenbread.
 
user457812
Was my idea, and so far it's worked out in every test I did.
 
There will be douzens of help vampires flouding NSChat
 
user457812
8:03 PM
We'll also be closing the room during India's working hours for that reason.
 
should we do that here?
 
Questions don't get any more clear than this
http://stackoverflow.com/questions/22310052/been-staring-at-my-code-for-an-hour-and-still-cant-see-the-issue-android-jav
 
TGM, which ones? Some are intentionally not sent to manifest receivers
 
yesterday, by Ahmad
I'm wondering what would happen if we where to open up the room for a day
We could try for a day.
 
user457812
I occasionally open the room. Nothing happens.
 
8:03 PM
But I'm not a fan of keeping it open permanent
brb
 
zapl, I am not remember that for now
 
I might just add paddingTop=96dp and be done with it. Stupid empty view.
 
user457812
My stance is simply that the write access barrier should be a nuclear option and otherwise to just deal with cleaning up stupid stuff and reminding users that the room has rules we'd like them to follow so nobody creates unwanted friction.
 
nil, so you hate indian guys here much ?
 
It's to prevent abuse of some sort, but I can't remember what broadcast and why
 
user457812
8:05 PM
TGM, no, but they are the largest group of users we've had problems with due to cultural differences and the language barrier.
 
okay
Do you think that mostly help vampires are Indian
 
user457812
Probably not.
 
I noticed that mostly Indian are banned in this room
 
sometimes you have to add more info to the intent filter before you can receive the intent
data, category, etc
 
user457812
Most help vampires that come out during Indian working hours are Indian, and there's lot more of them on chat for some reason than other nationalities' help vampires.
 
ACTION_SCREEN_ON, OFF need to be registered at runtime
I don't know the reason why it so ?
 
maybe because that could be used to create some activity tracker spy tool
 
user457812
Historically, we just have more trouble with Indian help vampires than others, at any rate, which can be seen well enough going through the room history. I think it's partially a cultural thing, but damned if I know why.
 
hmm zapl
 
nil hates all cultures equally.
 
8:10 PM
Yes I see nil
 
user457812
Except Sumerian culture.
 
more or less than others?
 
user457812
Sumerians have cool gods, ergo they are better.
 
8:25 PM
Oooh, boss just came in and had a look, suggested putting another view outside the listview underneath it that just fills the space. It's already getting set to gone/visible when empty changes etc.
 
...need to take some rest, cya
 
That's the obvious solution. So of course I didn't think of it. Let's try that.
Cya TGMC.
 
8:42 PM
Holy shit it works. Awesome.
 
ugh
this edittext is forcing itself to be singleline
 
force it to be double line
or maybe if you say please
 
android layouts are fucking weird sometimes
like why is it doing this?
oops lets try again
 
whoa.. Google's CSS just changed for me.
 
yea it did that for me a while back
 
8:54 PM
do you maybe have a min height?
or set a weight
Heh just noticed the new Google design as well
 
JMR you have android:lines set, I'm assuming?
 
here is the xml
i dont have lines set, im ok with it having as many lines at it needs
 
   android:layout_height="match_parent"
that's probably the reason
 
also try android:singleLine=false
and android:lines != android:maxlines
 
Or wait
I read that you wanted it to be single lined
lol
 
9:03 PM
heh
did the singleLine part fix it JMR?
 
wait
yea i DONT want it single line
setting single line to false doesnt work
 
Facebook looks weird now...
 
JMR, try setting an arbitrary value for android:lines ?
afk, coffee run
 
that cant hurt i guess
 
@Emmanuel And I thought this was only happening to me today
 
9:10 PM
me too
for a long time
I almost went and tried to adjust my resolution
until I saw that little message
 
A friend of mine got this new Facebook page for months now
I only got it today
 
my fiance has had new facebook for a long time
i still dont
 
Their rollout method sucks lol
 
its just impossible to google for because you search like "android edittext is stuck single line" or something and its everyone having the opposite problem
 
9:29 PM
JMR any luck?
 
I assume you've set it to textMultilines?
in inputtype
 
^
 
in a meeting so i havent gone further
 
ok
well, when you get out of the meeting, here's my (similar) layout along the same lines:
http://pastebin.com/TKiXcaz2
 
9:45 PM
So I Google for "android betterpickers", looking for this: github.com/derekbrameyer/android-betterpickers
And it shows me Jake Whartons picture next to the Github repo. ??
 
I don't see it Adam
 
In the Google search results
Not in Github
 
because Google doesn't know how to properly crawl Github?
 
Hmmm, probably Jake shared it on his G+ page? Clicking his image takes him there...
 
in the readme it says "Thanks to JakeWharton for his work on ViewPagerIndicator."
 
9:52 PM
Ugh it's so stupid, I search for actionbarsherlock and it shows me Jakes Github etc but doesn't show me a picture of him. Make up your mind, Google!
Yeah I saw that too, but... that's so silly! =\
Anyway looks like I'm probably gonna go with this cos minSdk 8 github.com/square/android-times-square
Really wish I could paste into Windows command lines :| Looking forward to working on a Mac again.
git clone reach for mouse right click window header find paste
 
you can paste in windows command line
right click and paste
 
Sorry, not with Ctrl+V
Indeed, right clicking anywhere on a command line works. Guess it's just this git bash shell that only allows pasting when right clicking the window title bar.
Which is just a wrapper around, er, PuTTY I think?
 

« first day (1241 days earlier)      last day (3711 days later) »