« first day (623 days earlier)      last day (4330 days later) » 

12:05 AM
posted on June 29, 2012 by Tor Norbye

The video from our 2012 Google I/O Developer Tools talk is available. You can view it here: https://developers.google.com/events/io/sessions/gooio2012/104/ It shows some of the highlights of the tools improvements over the last year, as well as a sneak peek at some upcoming features. Note that the audio is missing for the first 10 seconds. Also, you may want to switch to HD video to be able to

3
 
user457812
12:16 AM
"Tor" is quite possibly the best first name ever. </random>
 
Nah, I know a Tor and he is not that great.
Don't tell him I said that.
though I guess if you repeat it amongst yourselves a few times first he won't know it was me who said it :-)
 
I know a Tor and he SUCKS. (okay, who's next?)
 
user457812
1:16 AM
I'm not saying the person is good, the name is just inherently awesome sounding.
 
4:11 AM
Anybody still around?
 
user457812
4:35 AM
@NullPointerException No.
 
user457812
4:49 AM
@RadheMohan Rejected because your questions and answers are really low quality.
 
Oh boy ...
 
Decided not to go out tonight so I finally have time to work on my personal app :)
 
15
A: how to Generate Pdf File in android?

RadheMohanimport java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.URL; import java.util.Date; import com.itextpdf.text.Anchor; import com.itextpdf.text.BadElementException; import com.itextpdf.text.BaseColor; import com.itextpdf.text.Chapter; import com.itextpdf.t...

This is exactly how an answer should not look like ...
I wonder who the fuck up-voted it.
 
Have any of you used the ViewPagerLibrary?
I'm still getting errors even after importing the compatibility library :(
 
@OctavianDamiean Morning
 
4:57 AM
Meh, whatever.
 
user457812
@OctavianDamiean Probably part of the usual upvoting rings.
 
It seems.
 
Down-voted it.
 
user457812
Which is to say that I am stating that @RadheMohan is most likely guilty of whatever vote-fraud falls under on Stack Overflow.
 
omfg the internet in my new apartment is soooooo slow
220 KiB/s
 
user457812
5:03 AM
Also, Lalit has a new avatar. Nice glasses.
 
Ah!! Thanks :)
How about the Google Developers T-Shirt :P
 
user457812
Which reminds me, I should get a new pair of glasses that have that light-tinting stuff in 'em
 
Nice shirt!
 
user457812
I couldn't tell what was on the shirt since I'm not wearing my glasses >_>
 
Yeah I got that from GDG Event on 27th ;)
@OctavianDamiean Thanks :)
 
user457812
5:07 AM
I wonder if I'll get flagged for rejecting people again.
 
Why is Android one of the only closed chat rooms I see?
Well, restricted, not closed.
 
user457812
Quality control.
 
Better.
 
Does this chat get a lot more visitors than the others?
With people saying "plz help me build app me beginner to android"
 
If it would be open, yes.
It is room #15, the first and original Android room so it attracted a lot of help vampires back in the days when it was still open.
 
user457812
5:15 AM
A number of which I probably helped because I hadn't yet grown intolerant and turned into an enormous jackass.
 
Being a jackass is totally acceptable.
 
lol
Hey well if it makes you feel like less of a jackass I remember you both helping me become a lot better at programming last summer lol
Now I have a few more courses and internships under my belt so I've been trying to answer questions on SO
 
user457812
I totally don't remember you even being here before this year. I think I blocked out most of last year.
 
Last summer I had only taken a basic programming class and basic data structure class
but now I have several embedded design classes and other programming classes under my belt so programming has become fairly natural
 
user457812
I've only taken introductory courses because I'm not allowed into the advanced ones.
 
5:22 AM
my internship basically threw me into Android and it was very confusing lol
not allowed?
 
user457812
I'm an English major, I don't have the prerequisites to take other CS courses.
 
user457812
I'd have to do a couple years of maths to get there, and I don't really have the time or money for either.
 
Ah.
I'm all done my engineering math courses.
Would not have figured you were an English major.
 
user457812
That said, most of CS is theory that I'm less interested in unless it has to do with a few specific topics (mostly parallelism/concurrency). Maths would be fun but the way maths is taught is horribly broken.
 
5:25 AM
@OctavianDamiean Wasn't meant as an insult haha
 
user457812
Most of my instructors think I'm an engineering student.
 
Yea I took a CS class last semester that was sort of an intro to graph theory and had a lot of stuff on automata
didn't find it too interesting
As long as you have somewhat of an understanding of calculus nothing should really jump out at you
 
user457812
I know pretty much nothing of calculus.
 
Of course there's gotta be a douche bag sneaking in here just to flag perfectly valid messages.
It was one of your messages by the way @nil.
 
user457812
Of course it was.
 
user457812
5:33 AM
Anyway, the man of many votes is over in Lounge<C++> getting mad at me. I'll ask that nobody join there just to debate him – I don't want the room getting spammed with a bunch of pointless crap.
 
<sigh> 54KiB/s download speed
 
Sif it wouldn't be anyway. :D
 
shared internet in an apartment complex sucks
 
user457812
I get ~700kb/s in my apartment. It's pretty good.
 
well apartment-provided internet
I'm used to 1MB/s+
 
user457812
5:36 AM
I'm used to 100kb/s. Then again, I've only had higher than 56k for about 6-ish years.
 
:O
how the
become enlightened, my friend
 
user457812
in Lounge<C++>, 3 mins ago, by RadheMohan
Ha Ha Ha, Man who can get who is behing vote fraud just in a while, couldn't get me, My English is sooo good.
 
user457812
Well that was cute.
 
user457812
And now he's trying to come up with excuses for how he got the 15 upvotes.
 
People seriously vote fraud on SO?
 
5:45 AM
Yes.
 
What do they get out of it though? Do they list their SO account on their resume?
 
user457812
Who knows? Maybe they think it'll get them something.
 
I have no idea why they believe they need to do it but it happens a lot more often than you'd think.
 
user457812
I don't know. Lalit, you mind asking Radhe why he's in an upvoting circle since you're hanging out in the "Casual chat" room?
 
I am just explaning him why you too his name in upvoting ring.
 
5:49 AM
Meh ... not sure if it is worth it.
 
user457812
The first step to treating madness is understanding its source.
 
user457812
Well I named him because his answer was really suspicious.
 
user457812
Like, really, really, really, really, really suspicious.
 
Thats what I explained him that his answer was lacking explanation.
 
user457812
I still find it baffling that they all hang out in three different Android rooms.
 
user457812
5:54 AM
First there's ours, which they're just sort of watching. Probably flagging everything I type because they like to do that for some reason. Then there're the other two/three with mostly the same people in 'em.
 
user457812
It is remarkably hard to convince people to donate to charities for cancer research/treatment.
 
6:15 AM
Well, this is frustrating.
I can't get Jake Wharton's ViewPagerIndicator library to setup correctly
 
6:26 AM
0
Q: Using Jake Wharton's ViewPageIndicator

AtlosI'm trying to use the ViewPageIndicator library in my class, but am running into difficulties. I downloaded the library from Git, created a new Android project using the library code, and it is filled with errors. I made sure that the support libraries for v4 and v13 are there, which cut down ...

If any of you have an idea
 
user457812
I can probably safely say I have no clue
 
Jni returns random number instead of addition of two numbers
 
user457812
@Dharmendra Run static analysis, see if you're passing in garbage.
 
Hmm let me try
Yes static works
but if I use the argument for addition it is returning some garbage value
I think the garbage value is the address of that numbers
 
user457812
I think you might've misunderstood what I meant when I said static analysis..
 
user457812
6:33 AM
Anyway, make sure you're not passing a boxed integer.
 
did you mean I put some static values like 1,2.. instead of using the argument ?
 
user457812
No.
 
user457812
I mean use a static analyzer.
 
I am using a simple method add here is the method.
 
user457812
AKA the Compiler God's gift to programmers.
 
user457812
6:36 AM
Are jints actually ints or do they need to be converted to something?
 
at the time of display I am converting them in to string
 
user457812
Well, go create a question for it.
 
Okay. Anyway thanks.
 
user457812
I don't see anything wrong with the C, so I'm assuming there's something wrong with the Java, and you should create a question for that.
 
6:49 AM
0
Q: Android: Getting random number from JNI method

DharmendraI am creating a demo of math operation like addition, subtraction, multiplication and division using NDK. I am able to make the library and getting the response from the native code but result is not proper I mean it is random static value. Calculator.c class #include <stdio.h> #include ...

 
 
2 hours later…
8:24 AM
Hey I want to know how to lift the ban imposed on my questioning on this website
 
8:43 AM
You start answering
with quality answers.
They maybe, just maybe ...
 
9:18 AM
105
Q: What can I do when getting "Sorry, we are no longer accepting questions/answers from this account"? (the answer is here, in this post)

ArjanIMPORTANT: CLICK HERE AND READ CAREFULLY! While trying to ask a question, one could get: Oops! Your question couldn't be submitted because: Sorry, we are no longer accepting questions from this account. See http://goo.gl/C1Kwu to learn more. Likewise, for answers: Oops! Yo...

@TRonZ: And abusing the moderator flag to ask about being unbanned is not really acceptable.
 
 
2 hours later…
11:47 AM
Who's still around?
 
12:01 PM
I'm so stupid
I accepted a large contract and I have to get it done in a single month
Now, where did I put that revolver...
:P
 
How large?
 
Porting an entire iOS app to Android :/
Government app which generates reports
 
Good luck with that :P
 
I know right
 
I can't even get sound to work properly in my iOS app, and you're porting an entire existing app.
 
12:06 PM
Well fortunately there's no sound in this one :P
Right now I'm designing the layouts
but they didn't give me any of the assets yet -_-
 
Thank god for little mercies.
 
I decided to use Fragments
 
That sounds like fun. Laying out things you don't have.
 
I'm literally designing the layouts based off screenshots on the iTunes market
yeah...
They gave me a very brief spec :/
 
One guy wanted me to port the iMessage app to Android, such that it still used Apple's servers :/
He offered me $250 for it.
 
12:11 PM
Well fortunately I'm getting a lot more than $250...
 
And yours is still doable.
 
Somewhat :P
I noticed a lot of people use @dimen in their layouts
where abouts should I put that file?
Under 'values'?
 
Uh, I haven't seen anyone use that for ages.
Don't remember of the top of my head. Let me check.
 
I just want to do this project right the first time, so I'm fine tuning my approach
 
res/values it is.
 
12:15 PM
awesome, thanks
 
Anytime.
 
just typing the word 'fragment' is giving me the chills
 
12:42 PM
At least what you're doing is a sort of normal workflow. I'm currently writing a BB10 app for a conference on the 4th where I have to demo it at the keynote. Sadly, the only way I can do it is to use a highly modified eclipse running in a windows virtual machine. That eclipse connects to a BB10 simulator, which is another virtual machine running on my mac. My RAM doesn't seem to happy with me right now.
 
So you're working on a platform which will never be used? :P
 
1:08 PM
More as a favor to a friend than out of actual interest. Plus I get the Dev Device for BB10 for free.
 
1:29 PM
hastebin.com/wolabeluje.coffee is it normal practice for waiting some event?
I mean sleeping thread
in cycle
 
Why aren't you using an AsyncTask to download?
 
user457812
Android Chat Drinking Game: Rule #2 — Take a shot when someone flags nil's messages. (Warning: may result in liver failure.)
5
 
Well that does offset the first rule, since no one here ever answers anything. :P
 
user457812
Well, according to the folks with >10k rep, my messages are like flag magnets.
 
user457812
And it's now looking like a possibility that my MBP will arrive two days ahead of its delivery time.
 
user457812
1:41 PM
'Cause it's currently in the next state over, which generally means it arrives the next day.
 
Probably those retarded nyancats
Apparently having no life is a respectable career in nyancat land
 
@RaghavSood I'm using. Question was about concurrent development.
 
Oh. Well, I've never done it, but I can't speak for the others.
 
I've found out it here http://code.google.com/p/gdata-java-client/source/browse/trunk/java/sample/docs/DocumentResumableUploadDemo.java
and was surprised because I thought that it's bad practice.
 
user457812
2:02 PM
Async all the things
 
2:21 PM
hmm, looks like I'll need my fragments to have their own action bars :/
 
 
2 hours later…
3:53 PM
@Glitch G+ events was an epic failure haha
 
do tell
 
4:05 PM
the photos weren't uploading and any that did (which had to be done manually) 404'd when trying to do the slideshow
 
:/
 
4:52 PM
I get this feeling that the people who contracted me will not be impressed with these nyancat gifs as placeholders
 
 
3 hours later…
user457812
7:24 PM
And nope, not getting the MBP tomorrow. Remembered that it's Sunday tomorrow.
 
sad trombone
 
user457812
 
Hi
this sounds like a stupid question: but can a service be started multiple times ?
 
user457812
I don't think so.
 
Sometimes my service remains hanging...
 
7:34 PM
It can't.
 
so basicaly a stop service should close it, no matter what ?
I give it like
stopService(new Intent(context, LocationLoggerService.class));
and my notification of the service remains open...
Or maybe to put it this way: if my service does some web service call... could the service be hanging in case connection is bad and wait for the webservice
even if I tell it to stop ?
 
the above code doesn't make my Imagview clickable
it works if I use button instead
 
@DineshVenkata
If you need to post code, use a Pastebin, thanks :)
 
cool @kcoppock
pastie.org/4178438 this doesn't make my imageview clickable
but works when I use a button
instead of ImageView in the xml
 
Try adding android:clickable to the XML.
 
7:47 PM
ImageViews don't click... why not use an ImageButton?
 
Or use imageview.setClickable().
Or yeah, use an image button.
 
@kcoppock I myself made many imagviews clickable
 
They're not intended for that purpose.
 
but then I had a handler code for them
 
Better to use official APIs if they're available than hack around others.
 
7:48 PM
@kcoppock I'm surprised how it works sometimes and doesn't sometimes
 
Well there's no way that the XML you posted would work unless you're doing something else in code.
 
oh you mean it would work if it had a handler? @kcoppock
 
Well, possibly. You'd definitely have to set a click handler, otherwise what exactly do you expect it to do? And as @RaghavSood said, you'd have to make it clickable. Even then I've never tried to know if that would work. The question is WHY do it that way when ImageButton is available for this purpose?
 
cool learnt the best practice thanks guys
it was my ignorance
 
@OctavianDamiean Ok, But what to do when I have answer but dont have good explaination..can you please do write it for me, as *you dont have answer*[OW you would have posted I am sure] yes, but as seeing your experience you must got explaination for the same I am sure..So please help me edit the answer, — RadheMohan 14 hours ago
Seriously ... wtf
 
7:51 PM
>.> What is that I don't even
 
Thank god my browser crashed ... I was about to post f*** yourself
 
user457812
There was an "incident" last night after we pointed out @RadheMohan was most likely part of an upvote ring.
 
user457812
Hence the introduction of rule #2 in the Android chat drinking game
 
Today was such a day, he'd better not piss me off even more.
 
@OctavianDamiean you can say that in a polite way by asking him to improve his English and down voting his question
 
user457812
7:53 PM
He already thinks his english is excellent, actually.
 
@DineshVenkata You should read the comment stream.
 
oh then only god can make him realize
 
user457812
The main issue, however, was that he had an answer with 15 upvotes that consisted entirely of a code block that was indecipherable
 
can you send me the link?
 
user457812
Oh, and it was an answer to his own question.
 
7:54 PM
12
A: how to Generate Pdf File in android?

RadheMohanimport java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.net.URL; import java.util.Date; import com.itextpdf.text.Anchor; import com.itextpdf.text.BadElementException; import com.itextpdf.text.BaseColor; import com.itextpdf.text.Chapter; import com.itextpdf.t...

 
@DineshVenkata It was linked. Click the "14 hours ago" (or that ---^)
 
Today there is no more juice in the be-polite-bottle. It is empty.
 
user457812
People think I'm being rude when I'm being polite, so it's pointless for me
 
yes the code seems to be from Mars
;)
 
It's hard to be stern-yet-honest online and not be taken as rude.
 
7:56 PM
The code itself is not my problem actually.
I didn't even bother reading it.
The point is that it isn't an answer.
 
@OctavianDamiean I'm guessing you already denied access to murali_ma? I see chat history...
 
It is just code vomited all over Stack Overflow.
 
yea folks down here just think coding is everything, they don't realize the importance of English on a global platform like this
 
user457812
Well, code vomit fits the nyancat model of "gimme code"
 
@kcoppock That name sounds familiar, not in a positive way though.
 
user457812
7:58 PM
They think that's what people want, after all.
 
lol you were involved in the chat history. And yeah, I'll reject again.
 
Yup.
 
I had a star role in the Android incident.
 
user457812
I played the role of nice cop.
 
7:59 PM
but I would like to make a point that not everybody is from the same school of thought so denying access just by looking at the name could be premature
 
Actually, I've even caused it more or less.
 

« first day (623 days earlier)      last day (4330 days later) »