« first day (1348 days earlier)      last day (3615 days later) » 

12:03 AM
Actually I'm back for a moment
 
@ahmad you here
 
I definitely need to look into roboelectric to speed up my test runs
 
Or @emmanuel
 
yeah still here
I have the bad habbit of browsing on my mobile before going to sleep
 
12:05 AM
lol
 
How would you handle this requirement? I need a text view that links web addresses but that I can also parse and create special trover:// links into?
 
oooo pick me pick me
you use a custom umm what was the name of that class
one sec
 
Spannable?
 
The solution I inherited is this terrible textview subclass that was supper broken
And apparently it's now creating those broken intents
 
nah there is a parser linkifier thing
 
12:07 AM
ah linkifier
 
8
Q: Android Linkify both web and @mentions all in the same TextView

FoamyGuyOk so I asked this yesterday: AutoLink @mentions in a twitter client I got my @mentions linking correctly. But in order to get it to work I had to take android:autoLink="web" out my xml for the TextView. So now I get links to @mentions but it no longer links URLs. I tried doing two seperate Lin...

 
yeah I remember reading about that
 
Foamy I'll allow you to answer too :D
 
that question was about linkifying twitter related stuff, but you should be able to apply trover:// scheme pretty easily
 
Ha at mentions are exactly what the code is trying to handle
 
12:08 AM
oh, nice
 
oh astuetz answered the question
 
Although for me they are trover @ mentions
 
that's the viewpager guy right?
 
I posted a modified linkify class in an answer that includes mentions
 
Love this chatroom
OK
 
12:10 AM
:D
does anyone know a dev at the twitter android app?
 
Wow that is a lot of code.
Was hoping it was just going to be a few lines
 
well the most relavent portion is in this answer:
18
A: Android Linkify both web and @mentions all in the same TextView

astuetzHere's my code to linkify all Twitter links (mentions, hashtags and URLs): TextView tweet = (TextView) findViewById(R.id.tweet); TransformFilter filter = new TransformFilter() { public final String transformUrl(final Matcher match, String url) { return match.group(); } }; Patte...

I just found it to be nicer to create a clone of the Linkify class that included the extra functionality
 
OK. Will check it out tomorrow. Thanks.
 
you could do it with just the pattern matching bit and then use the standard Linkify class if you wanted.
 
OK
Cya
OK now I'm leaving for real.
 
12:16 AM
gnight
 
12:50 AM
adding tests and fixing broken parts of my app! I'm stoked today. Making some good progress.
 
hooray
 
Good day android programmers
 
I say good day sir
 
1:29 AM
Hi, Laux
anyone want to be a guinea pig with my app?
 
2:01 AM
1
A: I can not change the text of a textfield

Manmohanyou probably doing this in onCreateView() so use the view which u inflated using inflater which is having ref of inflated view. TextView desc =(TextView)view.findViewById(R.id.descripcion_desc); desc.setText(descripcion_local);

 
 
1 hour later…
3:19 AM
okay, I'm digging fest, but I'm a little baffled that I can't find some generated javadocs online so that I can browse what classes and methods are available.
@Law okay, we need to talk some more about FEST
 
3:47 AM
Hey everyone!
 
4:14 AM
Heya Everyone :)
 
4:52 AM
morning
 
5:03 AM
o/
 
5:41 AM
o/
 
5:53 AM
 
user457812
Not entirely true, actually.
 
user457812
It'd be nice if sigkill took immediate effect, but the process may not actually die immediately
 
user457812
Won't make a huge difference, but it's not the vicious process-murder that the image portrays.
 
So the murder's in panel 3, maybe?
 
user457812
Probably.
 
user457812
5:58 AM
It'd be like panel 1: "Die now.", panel 2: looks at watch, panel 3: stabby.
 
6:13 AM
@simmant you have write access. Please read the rules and follow them.
 
yes @Emmanuel i will going to follow it and thanks for giving me the right access.
 
Em's doing stuff :D
 
LOL
 
user457812
6:34 AM
 
user457812
The things I do when I'm bored.
 
user457812
Also a sort of quick reminder that the derpicorn is always watching.
 
user457812
Always.
 
7:19 AM
nil, there ?
 
user457812
7:43 AM
@TheLittleNaruto Vaguely.
 
7:54 AM
Morning !
 
user457812
8:18 AM
My cat is absurdly friendly. I'm sitting in bed and he's just rolling around on my chest waiting for me to per him.
 
good morning
 
8:42 AM
morning
 
\o
 
How goes?
 
We have some serious dense motherfuckers in Germany...
 
ah feels great to go to school for the 5. period
and only for 2 periods
you raghav?
whom do you mean warren?
 
8:56 AM
who saw Suarez lose his mind
what a nutcase
 
First the law that Google has to pay if they list snippets in Google News, then sue them if they refuse to list you
that is so unbelievable
 
genuis idea...
haha yeah RED he went full retard
but he has done that before a few times as well
 
yeah
 
and a norwegian placed a bet that he would do that and got 2000€
no idea how much he bet
 
9:47 AM
anyone know of any cool animations worth playing with when moving between actives? Getting a bit bored of only using sliding left and sliding in right
 
interesting, i'll check it out thanks
 
Welcome !
 
Morning
 
10:31 AM
Greetings
 
 
1 hour later…
11:38 AM
 
> “Think of how stupid the average person is, and realize half of them are stupider than that.” ~ George Carlin
I challenge that mainly because "half of them" is just wrong
For example: If the average intelligence of mankind is 100, that does not mean that 50% are below 100 and 50% are above. (75 + 125) / 2 = 100. But also: (90 + 90 + 120) / 3 = 100
you can't just split this in two halves imho
So I will take this award and honor the average.... Thanks :)
 
Anyone had the issue that 2 libraries use a common library ? how to solve it ?!
 
depends on your build setup. Do you use gradle?
 
If you're in eclipse, just make sure it's the same jar
 
yeah i use them as gradle dependencies !
 
11:51 AM
can you modify the libraries?
 
with actual config .. no !
 
how do you include these libraries?
 
as maven repository !
 
so just compile "repo:blub:version" ?
 
yeah
 
11:54 AM
you could try using that on one project:
compile('de.keyboardsurfer.android.widget:crouton:1.8.3') { exclude group: 'com.google.android', module: 'support-v4' }
just copied from one of my projects
 
(y)
Thankies Warren .. i will check it !
Build Succeeded !
 
12:11 PM
great
 
:)
 
12:39 PM
gah, can't wait for IO
 
IOIOIIOIOIOIOIOIOIOIO
now its out of my system
 
lol
 
hallo
 
hey
 
i hope they release the moto 360 since my watch is falling apart lol
 
12:51 PM
It's true...codeMagic has arrived!
 
o/
 
\o
 
It baffles me how someone could manage to get this much code done but not think where to start the second timer...
0
Q: Java countdown timer - one after another

user3775247I am supernoob programmer. I'm trying to make an adroid interval timer, where user inputs rounds, work time and break time. I can't find a way to start break timer after work timer, they start running at the same time. How should I go about it? Thanks! public class MainActivity extends Activity...

 
moto 360 is the watch right?
yeah that's definitely coming
 
\o/ heya cM
yea moto 360 watch
 
12:59 PM
there's also that new tablet
from HTC
some stuff is all but confirmed with leaks
 
yeah I also heard about the tablet
what about new phones?
is there going to be something
I still haven't read up on the rumors
 
probably not, or maybe android silver/L the whole thing about moving away from Nexus
 
I hope they'll not move away from Nexus
Had two nexus devices so far
both really amazing
 
yeah same, love the nexus 5 that i use for testing and i still use a galaxy nexus as my normal phone
 
Nexus One, Galaxy Nexus and Nexus 5, always skipped one generation
Red the same for me but switched :)
nexus 5 as normal device, GN as test/develop device
I finally can develop without thinking about killing the battery because being plugged in all the time
plus: if it runs good on the GN, it runs smooth as hell on N5
 
1:05 PM
but will fail on Samsung devices with touch wiz on them ;D
 
that is true for everything
 
i think they are definitely changing the design no android, much like the G+ app looks
 
I hope not
 
lol
 
the g+ update was awful
I hate this bloated up actionbar
 
1:09 PM
yeah i didn't like the big change to the action bar
this was the rumour: androidpolice.com/2014/06/23/…
 
man if I can write an AI that can write programs instead of people, y'all will be left without work
 
rounded overflow button in actionbar at stuff, so maybe it'll be scaled down
 
muahahahaha
 
if you write an AI that can write programs instead of people I am going to hack it to make it hack itself
 
^ touché
 
1:29 PM
 
lol say it dont spray it
 
@FoamyGuy I think I will be Loong dead by then
look what I did with my keyboard
 
1:49 PM
Cleaned it?
 
didn't you have a clean letter keyboard?
like this
 
I want one of those
 
yes but the clean one got the letter C not working
look at the letters
of the top one I mean
 
Dorvak [sp?]
 
ja
 
2:03 PM
did you change the layout in software too?
 
yep
now I am writing/coding in dvorak
 
I would be confused as hell if I had to deal with dvorak
 
0
Q: Custom ExpandableListView examples

FireFly3000I am trying to implement a custom ExpandableListView with a custom Group and list layout. I have followed this guide and studied other examples. However, I get this exception: java.lang.ClassNotFoundException Do you know what I am doing wrong? Complete LogCat android.view.InflateException: Bi...

/cry
 
haha I am at the moment
but you learn eventually
it takes a couple of hours though
see, I am much slower
 
2:21 PM
Everything is awesome!
 
hahaha
 
holy shit, eclipse will uninstall an app for you now if it gets a signature mismatch when installing
 
I know, pretty rad, Foamy
 
haha, I was doing some Dvorak training when suddenly
 
o.0
will be leaving for the IO extended event in a bit
 
2:27 PM
good luck
 
making pojos parcelable is pita...
 
46
A: Should 'drive by' down voting be more effectively caught?

Tim PostThe answer was down voted because I lost my keys. Please, stay with me, let me explain this odd chain of events. Earlier today I couldn't get to the store on time because I could not find my keys. That caused me to miss the opportunity to run over a golf ball, which would have bounced between a...

That answer explains everything
 
he still searches for his keys...
 
:(
you done making your parcelable data yet @WarrenFaith
 
pojos parcelable? why?
that's pretty easy
well, at least if I'm thinking of the same as you are
 
2:36 PM
nope
Parcelable is not as easy as Serializable
you need to do some typing for writing/reading the parcelables
 
Yeah I remember I did that once
 
I lost my headphones so I can't watch IO at work :(
 
@JonHudson Nope. 0 answers, all questions. Nope
 
found my implementation
it's sucky but got the job done
but I'm sure yours is more complicated than that
 
I just use guava
 
2:40 PM
this was just to store some basic stuff
@JonHudson NOPE.
 
er..not guava, gson
 
a bit and the main problem is parcel within a parcel :)
 
Oh yeah that sounds horrible lol
 
lol wth
 
gson eski?
 
2:42 PM
yem yem !
 
hahaha
 
lol
 
I thought gson just a json lib
 
well I have a user profile and that can have multiple addresses as children... so there I go with parcel in parcel :)
 
Gson ( Google json ) : serialization/desarialization stuff
 
2:43 PM
Ah I see
 
Parcelables are way faster than serializations
thats why I use Parcel
 
I didn't know that
good to know
 
well dam
 
barely a difference as you see :D
 
2:45 PM
o.0
wow
 
yes, according to that chart no contest between the two
 
there's really faster serialization libraries out there
gson isn't one of them though
 
no need for a library if Android already delivers a fast way
 
Warren but if you are looking to use a REST client ?!
 
Yeah, but with a humongous model, that is a lot of developer time
 
2:46 PM
who needs serialization, just output to text file
 
woot, IO is today :D
 
What as a REST client to do with serialization/parcel?
 
The REST client use lib core (gson, jackson) !
 
and the developer time is not that huge if you do it from the beginning
 
there's some intellij plugins to auto-generate parcelable
 
2:47 PM
yes, but I use my pojos to be send via intents
 
by example i use Spring for android that use Gson !
 
REST clients should use Retrofit
 
Retrofit is on my checking list
 
Retrofit uses Gson
 
I am using Volley and I am not that happy with it
 
2:48 PM
Retrofit is so easy to use...
and fast...
 
Volley was just a fail.
 
and....everything
 
They just threw it out in the wild
 
volley too but not as fast as retrofit I heared
 
hmm need to check out Retrofit then
 
2:49 PM
anyway, I am back coding
 
there is some table out there that compares both
 
 
I m so happy with Spring for android :p
 
this table?
 
yeah...
 
2:49 PM
can retrofit be used with jackson?
 
from this article
 
I do not know
 
I think it can
 
Spring<Dagger
 
you can specify your own serialization iirc
 
2:50 PM
I use Spring for android + hibernate to generate Beans :p :3 ! fast way to do a project ;)i
 
spring is a lot slower than dagger runtime-wise
 
I thought Spring was an injection framework...
 
spring for android also has REST adapter stuff
 
I see
 
yeah
 
2:51 PM
Dagger + Retrofit >>> anything else...
even Roboguice + Retrofit >> anything else
 
@Emmanuel agreeee
 
I should give Tape a try
 
I'm surprised most people don't stick with AsyncTasks, for the most part the user won't notice a drop
unless I'm missing out by not using volley
 
wow, square has been busy
 
2:56 PM
?
It is not only about performance
it is also about code readability and ease of implementation
Retrofit does the request, caches responses, returns parsed objects
 
an interview with Wakanda director project he told me why you don't implement a REST client in your intern !! LoL
 
@Emmanuel Tape is nice
 
yeah, have you used it?
 
wait wait, it parses it for you?
 

« first day (1348 days earlier)      last day (3615 days later) »