« first day (1406 days earlier)      last day (3543 days later) » 

user457812
12:14 AM
And home.
 
user457812
I think my dad bought a Kindle Fire phone.
 
user457812
I can't believe someone would actually buy one of those pieces of crap.
 
Good day android programmers o/
 
\o
 
@nil your a CEO?
 
12:20 AM
oh the tilting and pseudo 3D phone?
 
woot! someone joined my apps mailing list and wants to contribute.
 
@Laux Yes, a $11/hour ceo.
 
user457812
@Ahmad Yes, that one, without the Play Store.
 
user457812
Or Google Play in general.
 
It has no play store installed?!
 
user457812
12:23 AM
My dad was talking about how he wanted to switch to Android 'cause he's sick of iOS (guess why he switched to iOS)
 
user457812
So I guess he bought the Kindle Fire phone thinking it was Android
 
user457812
Which it technically is, but his claim to want to just have something that hooks into his Google stuff is not going to work out
 
user457812
So, uh, going to watch this backfire spectacularly.
 
do any of Amazon's device have Google Play installed?
 
user457812
12:24 AM
No.
 
user457812
They're all forks of Android. Google does not permit people to install the Play services and whatnot on forked OSes
 
yah, I just learned recently that Amazon's devices run their own OS. For some reason I had the impression that it was "pure" Android.
interestingly, my paid baseball card app has done better on Amazon than on Google Play
 
Wow.. what's the name of his company
Yeayks... so amazon has no play services I taught they've just customized the android OS but also can use playstore
 
Woah, so this is android after dark?
 
It's not dark yet
 
12:38 AM
5:38 in AZ
 
Not dark THERE yet neighbor
It's coming...
Hide yo kids
 
I wait until it gets dark then send them out
It builds character
I think this was asked a couple days ago in here but, in Eclipse if you held the cursor over a method call it would show you info about that method. Such as params/return types
How is that done in AS? If I do the same, I get a popup for a split second
 
If you want parameters Ctrl + p and if you want documentation Ctrl + q
 
I want to just hover but thanks
 
I was just excited to answer an AS question before Ahmad realized he missed the opportunity
2
 
12:51 AM
I'm finally giving nav drawer a go. I've been wanting to use it and haven't had the opportunity
Now that I have the opportunity, I'm not sure what I'm going to do with it. Lol
 
@codeMagic you can do it by
e.g starting code like this"/***"
negate the double qoute
/***
*@params
*return
You're asking about how its done when a method is hoverd by the cursor
 
I'm asking how I can hover over a method with the cursor in AS and see the docs. In Eclipse, if you do that it shows the params and return types of that method and describes it
 
afaik, AS doesn't have that exact same feature
 
I know what you're talking about, but I don't know how so I just use the keyboard shortcuts
 
Ok
Eclipse-1, AS-0
 
12:56 AM
Preferences > Editor > Show doc on mouse move:
 
Ctrl-P is cool when you just want the list of params
 
I don't see that, neighbor. Did you make it up?
 
Nope, Settings -> Editor -> Show doc on mouse over
Try scrolling down because it at the bottom of the settings page
 
I've scrolled up, down, left, right, diagonal
 
Are you on Windows?
 
1:02 AM
Ubuntu
 
@codeMagic I found it...what's your problem?
what version of AS are you using?
 
Ah, that may be it. Double tap shift to search everywhere and type in "Show doc on mouse move"
0.8.6 but I think this goes back
 
Or Ctrl-shift-a
 
0.8.2
 
Ok, did you try searching for it?
 
1:07 AM
@codeMagic update already!
 
I did, Mreng, thanks. It was already enabled so I dunno. But it's working-ish
I'm thinking about it, Code
 
Ok, mine was too but I lowered the time to 100ms and now it's more of what I expect
 
Why does it tell me the new version is 0.8.6?
 
That's the newest beta version
 
@codeMagic are you looking in the beta channel or canary channel?
 
1:09 AM
Well, like for the fragment replace() method. Apparently there are two but the quick docs are only showing me the one that takes 3 params but I'm using the one which takes 2
The 'Help --> Update'
I thought it was 0.8.7
 
I think the default is the beta channel. If you want to get 0.8.7, you need to find the setting to change to the canary channel.
 
Ctrl-Shift-A and type "channel"
 
k
We will do the first update for now and see what fucks up first
 
Ok so I have a question for you all. I started a library the other night called SnackBar. It's a toast-esque notification system based on the Google Material Design docs. I have a small demo app that I want to upload to Google Play but first I need an icon.
What do you all think of this icon - dropbox.com/s/mecm5tmhk59ssv8/Waffle%20icon.png
 
1:13 AM
waffle instead of toast...I like that
 
I was debating whether I'd make a face or a ! icon
 
cute! :D
 
It made me laugh
I like it
 
now to bed
 
What happens if the face is in the middle? Assymetrical objects scare me
 
1:14 AM
night!
 
night, Ahmad
 
I was thinking the same thing...
I'll try one more centered and see how that looks
 
It may look too comical but not sure. That would be my only worry but you could try it and compare the two
 
I like the asymmetry
 
Ok, I'll make up the other one either tonight or tomorrow and we'll see which one is better
I'm off for now, talk to you guys tomorrow
 
1:18 AM
Ok, see ya
You would, Code
 
What's that supposed to mean?
=p
 
My ninja hack worked ... kind. At least it doesn't crash anymore. But still has problems - instead trying to fill the listview with the old array, now it will just fill the number with rows in the old array with new array repeatedly
 
why do you use arrays? ;-(
 
I am using arrayadapter
 
ArrayList ftw!
 
1:25 AM
good idea ...
thought my ninja hacking quick fix might work
 
How different are your old and new arrays?
if you are just adding and/or deleting elements, ArrayList is the way to go
 
I <3 ArrayList
 
I am doing this instead ... I know, dumb ...
	public void clear ()
	{    		values = null;             }
	public void  addAll(Annotation[] values)
	{             this.values = values;        }
 
umm...aren't those already implemented for you?
 
yeah, I used it for debugging purposes so I know exactly what's going on
 
Sorry I'm late, IT dudes blocked google and almost everything else. =)
 
shame
quit making excuses =p
 
~_~
I am ... I am ... a bad programmer ... no, just some risks involved with ninja hacking ...
 
bad telkitty
=p
interesting...ArrayAdapter is back by an ArrayList
 
1:46 AM
:D
Java doesn't even have templates ... yet it uses sort(Comparator<? super T > comparator)
 
@LawGimenez did they block all the sites there?
 
@chmod711telkitty Java just calls them generics instead of templates
which technically aren't quite the same...but it's a decent first approximation
 
@Code-Apprentice but it woud be 'G' not 'T' wouldn't it?
 
a rose by any other name
 
No @Laux it was just an error on their part.
 
1:54 AM
ah.. i taught they've started to ban other sites their
 
2:22 AM
Mobile is messed up. Didn't this game come out like 48 hours ago? https://t.co/Xq4zjZKIzd
I never heard of this game...but look at all the clones
 
one Activity with 4 fragments, let's see if I can maintain using only one Activity.
 
with fragments, I don't see a reason to use multiple activities
 
I'm using 4 Fragments, and one Fragment has 16 more Fragments inside it.
So it's, one Activity with 20 fragments
 
TIL You can nest fragments
 
3:20 AM
There are occasions where Activities are better suited
specially if you are only holding one Fragment in an Activity
 
 
1 hour later…
4:32 AM
You're right. But it depends on the dev. I'd like to think I could just create another clean Fragment imlementation and just replace it. And leave the Activity code untouched.
 
4:57 AM
morning
 
5:31 AM
\o
 
6:18 AM
morning @Prabuddha
 
 
2 hours later…
7:50 AM
heey
what is up?
 
8:12 AM
guuuys.. anyone awake already?
hm. Maybe after lunch
 
8:31 AM
hi guys
 
hey
 
hey den, how are you doing?
 
anyone ever used google play games services?
I'm ok, how are you?
 
also, thanks
 
mr5
8:47 AM
@DenRimus It's "Google Play Services" no games. lol
 
I mean the one for games exactly
 
mr5
o.O my bad I'm sorry :D
nope, never used it before
 
are contact IDs primary and unique? For example, if I have a contact with an ID 1802, and then I delete them from my contact list, then add another person, would that new person take up ID 1802?
contact IDs in the context of, data.getData().getLastPathSegment() from onActivityResult, where data is the intent, and onActivityResult is the result from a contact picker
 
I think they are unique
should be at least
 
mr5
9:02 AM
I think the ID generation are continuous once the first contact is added, like what MySQL is doing with its field that has an attribute of auto increment
 
 
mr5
You could test it yourself
URL url = new URL( "http://www.test.com" );

InputStreamReader isr = new InputStreamReader( url.openStream() );

Please someone double check that code for me :'(
 
9:35 AM
it's wrong
ahahaha
peace bro.
 
so, to sum everything up, I'd say that this tutorial https://developers.google.com/games/services/android/init
is incorrect for someone that wants to use google play game services in his gradle project. Dixi
 
@mr5 auto increment is all I need to hear :) thanks
 
mr5
@Laux lol..haha I can't instantiate it, dunno why
@DaveChen That's my guess only I don't know if Android uses SQL with the Contacts thing.
 
9:51 AM
I think it's a sound guess though, making IDs clash is probably not something the devs would want happen
 
hahaha I dunno also @mr5
 
mr5
Don't blame me if I ever made a mistake with my guess. haha
laux, but it used to function
then a random error appears out of nowhere
That only message I could extract from the try-catch-block is "null"
 
10:36 AM
Hahaha gonna go @mr5 dang it I'll just finish my bug fixing on monday :(
 
mr5
yeah me too..haha GL bro don't ever attempt to fix it while out of work..it'll be considered as cheating
 
Yeah.. hahahaha will sometimes we can file for Overtime or Offertime not for now. I need to relax. I'm still recovering from my fever last wednesday
Gonna go bro. @mr5
 
mr5
:) cya, tc #nohomo
 
11:17 AM
hey lads.
 
11:33 AM
yo
 
oy
 
halo!
 
hello
 
12:01 PM
\o/
 
hi
 
12:19 PM
hm. My nexus 4 with 4.4.4 says I have outdated google play services (in my app, when I try to google-sign-in). But I do have the latest version - no update available on playmarket
wtf?
 
@DenRimus Are you using Google Play services 5.2.08?
 
guys.
if you were doing an add screen.
to add an item.
i.e. like 5 edittexts.
is it best practice to launch a new activity or do it through a dialog?
 
@cygery yes
 
@DenRimus use 5.0.89
 
12:35 PM
nothing changed
rebuild needed maybe
 
of course
 
@ed can you elaborate?
 
make sure you have no dependencies which use 5.2.08
 
Good morning o/
 
\o Morning neighbor
 
12:44 PM
changed build.gradle, moved old lib from dependencies, restarted idea... the fuck it still requires 5208000 ???
arrrrr
/me mad
 
@Ahmad of course I can. :)
right so let's say you had a listview full of let's say clothes.
if I wanted to add a new piece of clothing to the list.
would you advise that I launched a new activity and entered all the details in there and then pressed okay and it then shows up on the listview.
or should I simply launch a dialog box on top of the screen with the same details to enter?
does that make sense?
 
I would just use a Dialog so the user doesn't feel as if he has "left" the clothing screen
Or an Activity with a Dialog Theme if you need more functionality
 
exploded-aar still continues to have 5.2.08
 
what functionality can't a dialog give?
 
@DenRimus did you clean the project? which other dependencies do you have?
 
12:51 PM
You can probably do most anything you need. But, I do it occasionally if I have a lot of logic but I want it to look like a dialog
Seems cleaner to me at times
 
fair enough.
 
For instance, if you need to override activity methods and such that wouldn't be related to the list activity
 
cheers mate.
yeah true.
I'll give it a go with a dialog.
and see how it looks.
 
figured out. BaseGameUtils library project had play-services:+ set up
so it downloaded latest version
 
@DenRimus never use +
 
12:55 PM
@codeMagic is an alertDialog fine to use?
or should I use something else?
 
It depends what you need
 
to put in like 5 edittexts.
 
I found that it's difficult to do much customization with AlertDialog
 
and get the data from them.
one the user presses okay.
so don't need much.
 
So I create my own dialog often
 
12:56 PM
okay.
 
So @WBCSays want us to fly them to Iraq. I'll give my reply tomorrow night on @TheLastLeg 10pm Channel 4.
Context:
 
Yeah, it has setView() so you could create your layout and use it there
I think my main issue was getting the colors and text of the title, background, and body just how I wanted them
 
nice.
yeah.
I'll see what issues I get.
but attempt it first.
I've got time. :P
 
It will probably be fine for what you are doing
That must be nice :D
 
Got a job offer from these guys today
Why do you need a team of 8 people to build that? :s
 
1:09 PM
Is that a weird mix of Tinder and secret
 
morning o/
 
hi
 
hi
 
Seems like it
The colour scheme puts me off more than the rip off
 
hey everyone
 
1:16 PM
hey, kabuto
 
whats on for today big boss
 
I get to make a change log and post a feature update for one fucking client
 
lool
yesssssss!
 
It was decided about a year ago that we were going to stop doing this shit and just do regular updates like normal apps do
Here we are...so many versions for so many people
 
smh
you better put that foot down at the next meeting
 
1:23 PM
Anyone worked with app->server syncing of databases?
It only needs to be one way
My current implementation arbitrarily drops about 1 in 5 POST requests and that data gets lost
 
I think I will just let them destroy themselves and go bankrupt then move to India and work with Raghav on Frankly
3
 
LOL
that made my day
i can work with a big grin on my face now
 
Happy to help :D
 
@RaghavSood not so sure but sounds familiar to me
I just suspected it was the server's issue at the time
 
It's not a server issue
If I repeat the dropped POST request, it goes through
 
1:28 PM
now it sounds even more familiar
but i was never able to properly debug
 
is there a good website to download youtube videos and keep them a small file size?
i'm just going by the first hits of google at the minute
 
perhaps you can research findings so far raghav
 
I've checked a bunch of stuff, but nothing's stuck
Tried different networks, different servers, different databases, different devices, different POST sizes, everything
It's as if the POST request just stops mid way
Reducing the data/request helped, but not enough
And if I reduce it any further it'd get unusable
 
this is crazy because I have tried to debug in the same way
strange =\
 
Ever get it to work?
 
1:33 PM
my second thought was the network, but I tried alternatives still had the issue now and then
 
Or, does anyone have a tried and tested system for syncing devices to remote databases?
 
2:11 PM
 
cat thinks this is one strange environment to work with but I kinda like it
 
exactly lol
 
2:43 PM
morning \o
 
morning
 
Ohhhhh our cat was not that okay with water.
o/ Mornin'.
 
nooo foamy noooo
morning adam
 
3:01 PM
Yeah our cat was about as impressed as that one looks.
Mornin' kabuto :)
 
Australian border control
 
woaw what is that
 
3:24 PM
i love it when things go a lot easier than expected, thank you arraylist.add(0, data);
 
agreed there
 
\o
 
\o/
 
4:13 PM
 
@ed sorry was afk :s
got it solved?
In other news: DAGGER 2!!!
 
oh man
 
Seems like Square and Google have joined forces
 
I wonder though
yea it does look so
 
i may have had my foot on the power button of the PC...
that nearly end badly
 
4:28 PM
luckily you save very often RED
 
of course.. or you know... just frantically right before it was about to shut itself off
 
rofll
 
now I actually have to restart to update sourceTree
 
my life in a nutshell
 
nice one ahmad
 
4:43 PM
that dagger 2 vid is more about "this is the problem with other DI solutions"
than "this is why dagger 2 is good"
 
Woah, spoilers!
I'm only half way though!
 
I'm only a few mins in
had to go grocery shopping
when will it come out?
did they say that?
 
I agree neb
26m in is where it actually starts
 
@Programmer you've been denied write access. Please provide some more high-quality answers to StackOverflow before applying for access again.
 
4:57 PM
and it ends with "not available yet"
 
\o
 
/mr kicks it
 
@RahulDevganiya you've been denied access because you come across as a help vampire in other chats.
@ckpatel you've been granted write access to the Android chatroom. Please read the room rules: spifftastic.net/room.15
 
carl, you're good at this
 
ha :D
it's almost as if I've seen people doing this for the last year
 
5:03 PM
my orb is the best denying access to people
 
@newprint your access request is rejected due to your terrible Question to Answer ratio.
 
:D
 
starting to wonder if changing the room description to something like "a safe haven for Android gurus to hide from help vampires" would be a good idea.
 
android gurus?
 
as opposed to android newbies
 
5:13 PM
"people who know some Android"
 
Maybe better..."People who have RTFM"
 
we have only one orb
the FM is always a nice bed reading
 
Indeed
 
So I fixed my server issue
Turns out, Android doesn't encode POST requests the same was as Chrome etc. do
 
5:17 PM
@RaghavSood what does it do differently than Chrome ?
 
I'm not sure. But reencoding the JSON to UTF8 server side in PHP fixed the issue
 
oh cool.
 
5:34 PM
onCreateView generally shouldn't be used except to inflate your fragment right?
used for other things*
 
trever I agree with you, but the documentation does not say it anywhere
it is better, imo, move all the initialization stuff inside onViewCreated
SwipeRefreshLayout sucks.
 
well the activity isn't guaranteed to be created by then
so anything with a context could fail to work
 
probably we are talking about different things. I am talking about Fragment.onCreateView/onViewCreated
 
OFF TOPIC: Do you guys want to recommend any PC game like "far cry" ? ^^
 
5:50 PM
fallout3/fallout new vegas
are both way better than far cry
@blackbelt I'm talking about that too
onCreateView is called before onActivityCreated
 
if you have a good gaming pc get dark souls 2
 

« first day (1406 days earlier)      last day (3543 days later) »