« first day (1474 days earlier)      last day (3488 days later) » 

6:01 PM
Are ANR showed in the sevice console ?
 
you mean developers console?
 
@Abdellah yes, but only if your users report them, I think
@NoahHuppert what's your question?
 
jk, Im a dumb, ignore
 
Thanks code
Pedro yeah
 
6:08 PM
man, my current installs have been pretty flat over the last two months ;-(
 
Other question, can a google play account add an other one
 
@Abdellah I have mine in portuguese but ARN's are located here:
 
In August, current installs went from 217 to 259. Since the end of August, I've only added 7 more...
@Abdellah "another one" what?
 
Adbellah, you can have two google play accounts active on the same phone, yes
 
I currently have three, even.
 
6:12 PM
I m sorry I m talking abut the google play developer acvount
 
Yes you can add other people to the app on the console
 
Hi guys! I'm using greenDAO and I have a doubt. I have one class called "Distance" with one attribute List<Position>, so I can represent a total distance between several points, and the class "Position". What would be the right way to do this in SQLite? With an To-Many relationship?
 
you have an actual Distance class, instead of computing it on the fly?
 
Once again in Portuguese. I apologize.
 
seems like you should have a many-to-many relationship.
 
6:16 PM
One Distance can have many Position, but one Position only have one Distance
 
proguard is literally driving me insane
 
yeah, it sounds like you have a one-to-many relationship then
 
should i just turn it off
 
@David oic...you can also think about it this way: every position is related to every other position by the "distance" relationship.
but I guess it doesn't matter. "Position is related to Distance in a one to many relationship" is equivalent to "Position is related to Position" in a many to many relationship.
 
ok, I'm using greenDAO in Android and becoming crazy with such a stupid thing hahaha
the easier relationship ever :p
 
6:31 PM
JMR, I don't use Proguard (yet)
 
ooo...ButerKnife 6.0 is out
 
unless your app is entirely contained on the phone and you're afraid of someone stealing your app, I don't know if I'd bother
 
I don't use ProGuard at all...but then my app is also Open Source
 
I mean, it can reduce app size by removing stuff you don't use
and it can obfuscate
but it seems totally user-unfriendly to use
 
Silly question, what's it mean if an import is greyed out instead of bold
in AS
 
6:36 PM
it means you're not using it
in the file
 
@goonerdroid Welcome. Please read the room rules room-15.github.io
I see
I would be using it if AS would recognize the damn thing
 
did you try turning it off and turning it back on?
 
Yes I did, actually
I've also tried staring at it for the last two hours. Nothing seems to work
2
You're fucking kidding me!!! I retyped it in and now it works
@Pedro ^
I think it was trying to use the regular ToolBar instead of the support. Thought it would know by looking at the import
 
JW is working on complete layout injection to supplement the current view inject.
interesting...
@codeMagic because staring at the screen always fixes the problem eventually
 
posted on October 29, 2014 by Tor Norbye

We've just updated promoted build 0.8.14 of Android Studio to the beta channel. The previous build in the beta channel was 0.8.9, so there are quite a few new changes for beta channel users. These are described in more details in the release announcements for each canary build: 0.8.10, 0.8.11, 0.8.12, 0.8.13 and 0.8.14.Installation If you are already using Android Studio Beta, you can update v

 
6:48 PM
> Ideally no one would use ProGuard...
From JW
 
awesome, ButterKnife rocks :)
 
yeah
 
@Feeds last week's news
oh...nvm...0.8.14 was promoted to beta...got it
> If you are already using Android Studio Beta, you can update via the built-in patch mechanism
interesting...I wonder how they are able to patch from 0.8.9 beta to 0.8.14 beta when updating in the canary channel to 0.8.12 required a complete new dl
 
Yea, that does seem weird...
 
Glad to know it's working now @codeMagic ahaha. Are you going to do the same fragment logic as I did? And are you going to put drawer below or on top of the toolbar?
 
7:02 PM
I thought that 8.14 would be a dl for the beta channel but it's not...
 
heh, still trying to get it working for now. Past that error
I think I will put it over. I will have to look how you did it again. Taking out the supplied fragment crap is how I got it working
 
So the fragment was messing with your code?
 
Yeah
There was more to it but that was a huge pain in my ass
 
You copied that from my code?
 
I've spent almost all day so far trying to get this saved instances stuff working right :S
and not much progress
 
Copied what? No
 
cm ^
 
compile 'com.jakewharton:butterknife:5.1.2'
 
The fragment stuff.
 
Why does this work on one branch in my repo and not on another branch?
 
7:08 PM
thx Mr
 
Yeah, thanks, neighbor
 
lol it would make help vampires so much more fun
 
yeah I already downvoted
 
Pedro, no, I used the crap it supplies. Then changed everything (enough to get it to compile anyway) from the "Creating a nav drawer" and "AppCompatv21 toolbar docs"
But now I just have the app name in the top left of the screen and that's it...lol!
 
That's what i did too. Then I created the navigation fragment from scratch but copied the logic from the supplied.
 
7:16 PM
weird...
 
Yeah, think I'm going to do that so I understand it better and so it makes sense
Did you have to tell it NoActionBar in the style/theme?
 
Yea, I did
 
Don't remember. I think so otherwise you can't call setsupportactionbar
 
I saw you did...and upvoted :D
right
 
Because there is one already and you will get an error
 
7:21 PM
1 min ago, by codeMagic
I saw you did...and upvoted :D
link?
 
@gllowmas denied for now due to no answers and no chat history. Go be helpful and request again
2
A: This Activity already has an action bar supplied by the window decor

MrEngineer13Another easy way is to make your theme a child of Theme.AppCompat.Light.NoActionBar like so: <style name="NoActionBarTheme" parent="Theme.AppCompat.Light.NoActionBar"> ... </style>

 
My favorite part is the comment from the OP
 
hehe
@infinite_loop_ denied for low A:Q ratio and using chat for support only
I will probably just try to avoid using fragments, actually, if I can. It seems to me like it's way more complicated than it needs to be when you have multiple activities
 
7:37 PM
avoid fragments? /gasp
 
Square event warns about using Fragments
That is why Motar exists
 
Maybe I fail to see it but they seem to cause more trouble and headache than good
 
What fragments?
 
mortar seems even more complicated than fragments
 
It seems over complicated
But when you read it 6 or 10 times it starts to make sense
 
7:42 PM
also when you write 2-3 apps using it you can finally start mastering it
 
As much as I hate fragments they're not as high on my list as Samsung.
 
Yeah, I do not think I am ready to include Mortar and Flow in my aops
But I am doing a basic version of what they intend to do just with Dagger
And and interface that defines flow
I will shortly add a Presenter, maybe
 
Aug 24 at 3:53, by codeMagic
Dear Fragments, I hate you. That is all. Sincerely, me
Oct 9 at 13:59, by codeMagic
They definitely had good intentions when they thought of Fragments. The problem is, someone didn't show up on the day designated for designing them
 
What don't you hate?
 
Chocolate
I don't hate chocolate one bit
7
 
7:46 PM
the best way to work with fragments is make them do little as possible
 
They should be treated as the View in an MVC paradigm
Like Dave says
So are Activities for that matter, right?
 
I use my Activities as a controller
but it does view stuff right in it
not entirely mvc
 
posted on October 29, 2014 by Android Developers

By Jarek Wilkiewicz, Developer Advocate, Google Search How many lines of code will it take to let your users say Ok Google, and search for something in your app? Hardly any. Starting today, all you need is a small addition to your AndroidManifest.xml in order to connect the Google Now SEARCH_ACTION with your searchable activity: <activity android:name=".SearchableActivity"> <in

 
looking for some videos resource for Design Patterns
 
programming design patterns?
 
8:01 PM
yeap
 
not exactly a video, but this is good to look at: github.com/iluwatar/java-design-patterns
 
Nana posted a really cool page for design patterns
 
wow it's amazing .. many thanks trevor
 
an other nice one .. thanks Mr :)
Emm, check the last post in this blog andydyer.org
 
8:10 PM
@srikanthgr you've been given write access, please read the room rules: room-15.github.io
 
@srikanthgr Welcome! Please read the room rules
 
cM is slow on the draw again
 
Carl, when I get to be as old as you, I hope I am as quick as you
 
Guys i really need ur Help
 
I hope you can learn to spell, too codeMagic. :D
 
8:11 PM
Shit! Carl, remember you granted the access first
 
@srikanthgr you read the room rules, right?
 
I'm sorry no
ok let me read first
 
That is why a diligent owner, such as myself, posts the welcome message about reading the rules before granting the access. Just sayin'...
 
@Abdellah we do that at work
We do not use Espresso
Or Dagger unfortunately
But we use Robolectric
 
8:15 PM
A question .. are all android apps need test implementation ?
 
codeMagic, I think we've all seen the consequences of your actions earlier today
 
sticks fingers in ears lalalalalalalala
 
You should always have tests around your code
Supposedly
 
in this particular case, I would like to think disaster was only averted by @Code-Apprentice and his quick thinking
 
8:17 PM
/bows
@Emmanuel Have you started your new job yet?
@CarlAnderson and a reasonable response from the newbie, too
 
Emm, you work as developer or a tester developer ?
 
he works as a developer of tests
 
Carl edited
 
LOL Carl
 
or a developer tester
 
8:20 PM
I haven't yet, I start on Monday
 
coolio! Moving this weekend?
 
Sunday, yes
I work in a TDD shop as a developer, @Abdellah
 
I have such a hard time doing TDD on my personal projects.
 
Yeah, I totally understand
 
I blame Android. It's APIs aren't really TDD friendly.
 
8:25 PM
I feel like a lot of TDD is useless, because people start testing useless things
I thought you started already Emm
 
Nop, not yet
 
so you moved to nyc?
 
Testing LoaderManager using Robolectirc is far from optimal, for example
Moving Sunday
Flying Sunday
 
do you have a lot to move?
 
In am just taking one piece of luggage
My wife is moving later
And the people doing the actual moving will take care of the rest
No, cM, they are not my Mexican buddies
 
8:33 PM
yeah, they're his Cuban ones
2
 
Yeah
 
@Emmanuel That's rude, I can't believe you would believe I was thinking such a thing.
Obviously your Mexican buddies are going to be far too busy doing the drywall at your new place to have time to help you move
 
LOL
That is actually my new job in NYC
 
Haha
 
anyone use ListView.setHeaderView()?
 
8:46 PM
man, you were so close to moving to boston :P
 
I use addHeaderView()
 
@Emmanuel doing drywall?
yah...that's what I mean
cM...any ideas how to get the header view from a ListView instance?
 
I think I was getting the child at position 0 because, depending on when you add it, it counts towards one of the children
 
yah...that sounds right
oh...I was looking at ListView methods. getChildAt() is inherited from View.
that's probably what I need.
 
If you set it before setting the adapter (which you have to before KK or some newer version) then it counts it in the listview
 
8:49 PM
you already got an appartement Emmanuel?
 
figured it out...at least my code is compiling atm.../cross fingers
 
fingers crossed
And I'm out for a bit. See you guys
 
see ya!
 
cya Neighbor
 
got compiler errors ;-(
 
8:55 PM
I am going to stay with a friend until I find something
The ListView wraps the Adapter with its own HeaderListAdapter or soemhting like that
There is a getWrappedAdapter() somewhere
 
@Emmanuel Nice :)
 
o/
 
looks like getChildAt(0) is what I need. I don't want to call getView() on the Adapter because that will re-inflate a new view instead of giving me the view that already exists.
 
Yeah
 
9:09 PM
> The Android SDK folder can no longer be inside the application folder. Please move it to a different location such as your home folder.
but... I thought that's where it was...
 
yes sir
 
Hows everyone?
 
are you upgrading from < 0.8.12, Carl?
 
because if you are there is an sdk folder in your AS installation, even if you never downloaded the SDK there.
you might just need to delete this folder
 
9:11 PM
ah
exiting and restarting worked, and I didn't even have to stare at it for 2 hours
 
@nana In the Python room, Tomato is an explative.
 
:) An I didn't even know that, thanks!
 
@nana good things those you have tried to nickname didn't know that either.
 
Well, see.. this is not a Python room ;)
Over here Tomato is just a Tomato.
Do you want to be a Tomato?
 
9:23 PM
still, every time you call someone Tomato, I will now hear another word in my head
 
and cabbage not a saying for hello
 
I am currently installing crouton.
Oh and BTW, not sure if you guys know, but there is a beta of Chrome Remote Desktop for Linux out there.
 
 
hey @Ahmad
how are you ?
 
@Ahmad Artichoke?
 
9:32 PM
Win :)
 
Artichoke?
I'm good abdellah, how about you
 
bleh, emu not responding
damn halting problem!
 
fine :)
 
What's going on, tomatoes?
 
o/
 
9:47 PM
not much orb
ok, I've screwed up committing changes to the wrong branch enough times, it's time to add it to my prompt
 
do you use sourcetree?
 
no
git
or is that a plugin/addon to git?
 
I am using iTerm2
with a custom theme
when I go to a folder that has a .git it shows the current branch
pretty cool
 
0
Q: Android toolbar setNavigationIcon not working

MathblSo, I have a BaseActivity in which I have a toolbar and I call setSupportActionBar(toolbar). In some of my activities that extends BaseActivity, I would like to change the navigation icon (the default arrow) to another drawable. But when I call toolbar.setNavigationIcon(myDrawable) it doesn't wo...

 
^ I am sure it is Android's fault
 
10:06 PM
Avocado
 
10:23 PM
Guacamole?
 
doesn't translate
so should we come up with a cat language?
like replace hello with Meow, and damnit! with furballs!
it'd be adorable
 
10:49 PM
hello kitty would be our greeting
 
furballs will be for expressing exasperation?
hello kitty, my claws won't come out, furballs, guess I need to untangle some string
mandatory new room rules imo
 
11:13 PM
furballs, I'm out of beer!
 
Oh nooeesss!
 
My sentiments exactly
But there's a new Criminal Minds on tonight so, that's happening
I might even finally have an app idea if I can make it work
3
 
It's possible to make an android app that simulate this bubble football
haha
 
@CarlAnderson that looks like a good idea...although, I don't use git CLI much any more. The git integration in AS is great.
 
eh, I'm still a command-line junky
will never stop using it
just got things working the way I want them to
 
11:25 PM
I sent that video around the office and told them that's our new team building exercise. Our president said to set it up and he is in :D
 
configuring the prompt on zshell is a pain in the ass
 
command-line all the way
 
I like the command line, too. I use it still...just not quite as much as I used to.
 
anyway, I found this to be the most helpful answer on the matter:
13
A: To get a prompt which indicates Git-branch in Zsh

Christopherko-dos's answer is great, but I prefer a slightly more git aware prompt than the one he uses. Specifically, I like staged, unstaged, and untracked file notifications in the prompt itself. Using his answer and the zsh vcs_info examples, I came up with the following: setopt prompt_subst autoload -...

 
Y U NPE?
 
11:26 PM
> The Android SDK is made available to you for private, non-commercial use only: please do not use it to create apps for public distribution.
 
I took his stuff and started stripping out the stuff I didn't want
 
Does that bold part mean it's ok but they would rather I didn't? :/
 
wat?
where'd you see that?
 
Spotify sdk
 
Why would they even have an SDK then?
 
11:29 PM
@codeMagic this is hilarious
"This SDK is just made for they minority of people that know how to code so they can make apps for themselves"
 
Someone gave me an app idea they want built but I need to connect to a music service somewhere. Spotify is what he originally suggested
 
strange to publish an SDK then request it not be used...
 
link?
where is that from?
You can use Grooveshark, magic
that'd be an alternative
 
Thanks, Ahmad, I'll check into that
 
11:44 PM
I think that only applies up until it's out of the beta
 
furballs
 
So, could you request specific songs? Not have ads? If you use it?
 
I guess you're right, Ahmad
> When the SDK is formally released, you will be able to build a paid app with it provided your app complies with our Developer Terms of Use. For further clarification, please view our FAQ
> We intend the beta to be played around with, but that doesn't mean a few beta testers can't play too :)
I guess someone jumped the gun here :/
 
I really didn't expect this to compile.
 
The question is, what happens when you click?
 
11:52 PM
well...it crashes atm
 
Ha ha, yep
 
apparently mCheckable is null ;-(
/headscratch
 
why wouldn't it be null?
 
hmm...well, it works now...maybe it didn't recompile when I made some changes
 
what are you using that for? it seems... wrong.
like zombies wrong
but idk why
 
11:57 PM
@NoahHuppert yeah, I use it as a personal spotify
 
Soundcloud also has an SDK right?
 
no ads and all the music
 
@DaveS what seems wrong?
 

« first day (1474 days earlier)      last day (3488 days later) »