« first day (1344 days earlier)      last day (3619 days later) » 
00:00 - 22:0022:00 - 00:00

12:01 AM
I don't know about everyone else but I'm running around in a panic
 
great!
we need more of that attitude around here!
 
your Activity instance is null as well, right @Code-Apprentice?
 
I call getActivity() to be sure I have the correct activity instance. I don't get a NPE on the previous line, so it's definitely not null.
 
does getActivity() return null?
 
no
I chain it with another function call, which doesn't throw an NPE
on another note...how do I click on a CAB item in a JUnit/Robotium test?
 
12:18 AM
CAB?
 
contextual action bar
or action mode, if you prefer
 
I think what you are doing should be fine
I do not know why you are getting the NPE
 
weird, huh?
 
yeah
can you do a wait
on the root view of the ListFragment?
 
what do you mean?
as in Object.wait()?
 
12:29 AM
this.solo.waitForView(android.R.id.list)
 
haha, the delete button deletes everything
ooooo....I'll try that
okay...some more oddities:
Assert.assertTrue(this.solo.waitForView(android.R.id.list)); passes
 
wait for the ListView to be shown on the screen and then get a reference of it
 
ListView lv = (ListView) this.solo.getCurrentActivity().findViewById(android.R.id.list);
using solo to get the reference rather than JUnit seems to work
weird
well, I figured it out, I guess...the test now fails where it's supposed to because the app is broken
but that's because I'm actually trying to do some TDD here
 
nice!
 
thanks for your help, emm
 
12:42 AM
no problem
 
Whats the difference between a Tea bag & England?
No answers?
tea bag stays longer in a cup. !
;f
 
1:02 AM
SO is still down. Is it for everyone else?
 
1:30 AM
I killed that chat! And I'm not even Karl or Carl
 
1:48 AM
Rahav is awake
Is SO working for you?
 
Is now
It was down a while back
 
Still not for me. Someone must be stepping on the cable that leads to Indiana
I don't like people not leaving comments on non-obvious downvotes but these kinds of people are really bugging me
-4
Q: How to avoid down-votes without comment?

ToskanI am not looking for a smarty pants telling me "Well, just ask a good question" I see bad questions getting down voted as well as good questions, without a single comment. The questioner has no clue why that happens, in case it was really a bad question. When it was a good question, the down ...

That question is a perfect representation of a bad question. I simply searched for "downvotes without a comment" and got a ton of hits
 
2:32 AM
Gee...Thanks Code...
 
hmm?
or did you mean code?
names are case-sensitive in room 15
 
Sorry... It's a name, it should be capitalized...
 
camelCase learn it...love it...use it
 
2:48 AM
yay! Another passing test!
 
\o/
 
3:01 AM
I need a rewrite a bunch of tests. :/
 
That's what I've been doing today, too
 
Changed a bunch of APIs, haven't gotten around to it yet :(
Instead I might try find a snack
 
I thought that's what you do everyday, Code
 
every once in a while I implement a new feature
 
> The help page does not help at all
:O
-11
Q: How to avoid down-votes without comment?

ToskanI am not looking for a smarty pants telling me "Well, just ask a good question" I see bad questions getting down voted as well as good questions, without a single comment. The questioner has no clue why that happens, in case it was really a bad question. When it was a good question, the down ...

 
3:17 AM
You still talking to that person?
 
3:34 AM
another passing test!
I really should add one or two other tests, but not sure I want to take the time sigh
0
Q: In Java, C++, no insistence on member variables names starting with 'm', so why in android?

likejiujitsuIn the official Code Style Guidelines The rules below are not guidelines or recommendations, but strict rules. Contributions to Android generally will not be accepted if they do not adhere to these rules - Follow Field Naming Conventions Non-public, non-static field names star...

I'm not sure that the answer to this question is opinion based. The answer is that the reason itself is based on the opinion of those that maintain Android.
0
Q: INSTALL_FAILED_OLDER_SDK when installing apk

Med_mofidi'm trying to test a project in my phone android 2.3.6 and i get the error message: INSTALL_FAILED_OLDER_SDK the app is about drawing the route between two points; there is my code: the xml file: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sc...

wow
the error is launched when Uploading GoogleMapsAndroidv2.apk onto device. did google-play-services-lib has anything to do with this ? — Med_mofid May 3 '13 at 10:03
which the OP failed to mention in the first place...
 
3:57 AM
@Code-Apprentice agreed but I had a previous comment (since deleted because he was being difficult) that said what your first comment was.
 
some people's children
 
But he wants to make it out to be something other than it is (about contributing to Android source) which makes it opinion based
 
seems to me he completely misunderstands the purpose of the linked document.
 
I tried to say awhile ago that the link means when contributing to android source but the OP wasn't having it
Exactly
Lol...not my parent's children
It's good to know that isn't just a local saying :D
 
especially your parent's children
I might have a chilly bike ride home tonight...
nvm, it's not cold outside at all...just in this coffee shop
 
4:06 AM
Heya Everyone :)
 
4:17 AM
Hey Naruto
 
TGM, Office ?
 
No
 
I am working on a chat app. am bit confused about maintaining multiple windows for multiple users.
 
Are you designing for PC like Facebook do ?
 
No
It's for Android.
There is an activity, "ChatActivity". which will receive message from multiple users.
 
4:31 AM
Why are you putting all messages there when you get any new message
Put that in notification then on click open the activity as well as messages of him and you
OMG I can not edit message in mobile chat
 
You can, only last message
 
*as well as fetch message and show that there
Oh I see
Put message in ChatActivity when you get message of same user of who you are chatting
Otherwise in notification
 
In that case okay. Also I am fetching it from notification
But while getting it from notification of different user
It's behaving weird
another chatActivity opens and nothing happens
 
might something wrong you are doing bcz of Saturday
 
5:34 AM
morning
 
5:48 AM
morning
 
6:04 AM
morning
 
 
5 hours later…
10:54 AM
My custom made shirt has travelled across India so far.
Seen more of the world than I have :P
Oh now it's in Dubai
 
Which one, Glitch ?
Show me image!
 
It's custom made so there's no image. I can show you the fabric though. :P
 
hehe, Alright! :P
 
Well, there's kinda an image here. custom.luxire.com/products/classic-blue-oxford
Seems to be made in Mahadevapura, Bangalore. I wonder if @RaghavSood has been there.
 
I know this place
I had been in Bangalore for 5 months 2 years ago
 
11:01 AM
Are the workers there paid well?
 
No, that's the worst thing in India.
 
user457812
Woops, forgot to push a commit and temporarily broke my commit streak on GitHub.
 
People get paid low as compared to other countries in India
 
Well, do the people in that area of india get paid well relative to other parts of india?
 
user457812
Fixed now, at least.
 
11:03 AM
Yes. :) Glitch
 
I imagine India has a lower cost of living compared to other countries
Oh good, half the reason I went custom was to know that the workers were being treated right
 
Yes, You can survive at very low amount of money comparing other countries
 
That's the place. Guy has a nice shirt. :P
 
user457812
I'd consider whether the video's real or staged
 
11:05 AM
staged ?
 
user457812
i.e., they made him look like he's better off than he is for publicity.
 
Ohh I see.
 
user457812
Basically, whether they're trying to hide actual conditions
 
Could be. I was considering sending them a shirt to measure, and have a card in the pocket with basic questions on how they're treated, which they then send back.
 
You're right. People here working hard and dont get much for that. , nil.
 
user457812
11:07 AM
There's also another problem: if you decide not to give those them the job because their workers are treated poorly, are you making their lives better or worse by taking away their work?
 
user457812
Figuring out what the right thing to do is isn't easy.
 
I could slip a $5 note in the pocket
 
user457812
They might feel obligated to say something good though
 
$5AUD = 280 rupees
 
user457812
Any situation has at least two outcomes, and I'm unfortunately very good at coming up with the bad ones.
 
user457812
11:09 AM
I'd be a great person for a job that requires risk aversion.
 
Is 280 rupees worth much in India?
 
user457812
Probably more than it's worth in Australia.
 
Would be interested in what you could buy for that much
 
user457812
I want to order some issues of a literary magazine in the UK I like, but £6 per issue (plus ~£3 to send it overseas) seems like a bad idea.
 
user457812
Maybe look up the McDonalds burger conversion rate chart or whatever
 
11:13 AM
Can't get it digitally?
 
user457812
i.e., the cost of a burger relative to a burger in the US
 
user457812
No, it's print-only.
 
user457812
We writers like our physical, printed copies of writing.
 
user457812
Makes your writing feel more permanent if you get it published.
 
hmm, seems like a burger in India is like 80 rupees
 
user457812
11:15 AM
Time to sleep. 4:15am, not supposed to be awake still.
 
that's my normal sleeping time
nighty night!
 
user457812
Been trying to go to sleep a little earlier.
 
user457812
Anyhow, ciao.
 
Good Night, nil :)
 
 
1 hour later…
12:45 PM
Hey it's Glitch! Hi Glitch :)
 
Howdy
 
hi all
 
hey
 
anyone ever faced issue like this: you have a notification scheduled via notification manager, you cancel() it, then build another one - just like the old, but intent has other extras, schedule it for other time. It fires as expected, but has message from that one - which was cancelled, and new message, which was brought with intent as extra - ignored
i've even debugged it - and it's like magic. scheduling notification message is new one, then fires notification - broadcast receiver has old message.
 
weird
 
12:59 PM
look like i'm missing smth, so no question being asked so far
 
no, haven't had the problem yet
 
There's docs on this somewhere
It's about the comparison
So the comparison works on a set of properties on the intent and not others, I'll see if I can find it.
 
yes, that's what it looks like - it cancels notif, but then sees the same being created and just re-schedules it for new timestamp
ignoring intent's extras
 
> That is, if their action, data, type, class, and categories are the same. This does not compare any extra data included in the intents.
 
interesting. Very useful to know not to fuck-up myself anymore, but need to re-think this whole re-scheduling now...
Thanks! Surely saved me a lot of time and mental health )
 
1:04 PM
7
Q: How to create different pendingintent so filterEquals() return false?

markbseI'm using AlarmManager to set up repeating intents but it has caused some little troubles so hope anyone could help. Summary There are 2 pending intents. One runs at 1000 and another runs at 2000 every day. Each contains a row id from the database for identification purpose. The code looks som...

I don't think any of these SO questions exactly match your issue (at least, the ones I've found so far) - mostly they're about how to cancel, not "why does the new PendingIntent not have the new extras"
But at least you know about that behaviour now :P
 
HEY, I love to share this website as service with you scoop.it !
 
oh, interesting adam
 
2:08 PM
@Glitch I've been to Bangalore, though not that district
 
2:33 PM
Sounds like they're confident in their working conditions
 
3:33 PM
 
why must facebook always cause trouble
 
they enjoy causing pain
 
lol
 
3:49 PM
Ahmad, I shared this one in Facebook :D
 
:)
 
Man! I want to have one in real.
These C & H characters are so cute. :)
 
These shirts are interesting Glitch.
Looking at Luxire.com
 
You basically choose the fabric, then design your own from scratch.
 
Yeah, that's pretty different!
 
3:55 PM
I get my first one on monday! ^_^
 
I'd be interested in this, I have a lot of trouble finding clothes that fit me the way I like.
 
Hopefully it fits, I think I made the yoke too narrow
 
I'd never even considered looking at custom clothes, I just put up with baggy shit. This isn't even more expensive than what I'd pay for stuff that almost fits.
 
I was really surprised as well
that's not really expensive
 
I highly recommend measuring a shirt you already own that fits well, then tweaking slightly
Or send them the shirt and let them measure it
 
4:01 PM
Is shipping flat rate?
 
I think it's free
I don't recall paying for shipping
 
Oh! O_O
 
I paid $66 for my $60 shirt, but I think that's because of AUD to US conversion
 
$60 USD would be 44€ hmm. Seems like a reasonable price for a good shirt.
 
Yeah just checked, no shipping charge. They sent mine via FedEx Priority
 
4:04 PM
Wow. I'm definitely gonna look into this more later, this is great. Thanks Glitch!
I'm off to get some lunch :)
 
later adam
 
Going here: chezcora.com/home
 
I think if you know how a shirt should fit, this is worth a try. Just don't be too ambitious with your measurements, and only order one shirt to start off.
 
looks nice :D
 
Looks tasty!
 
4:19 PM
Making android module sucks
in Titanium
 
So why use Titanium?
 
client need
 
bwahahahaha (NSFW)
 
5:03 PM
Now my shirt is in France
The funny thing is, it's going exactly in the opposite direction of Australia
 
lol
 
5:24 PM
0
Q: Android : how to programatically determine whether the system has a modem?

user43995I am programming a Nexus 7 and need to determine whether the system has a modem or not. How do I do that?

a modem?
wat
 
5:52 PM
Did anyone see messi's goal?
 
damn missed it
I thought they won't score
 
90+1 minute he scored
 
in the 91. minute lol
yeah
gah games against Iran are so boring
they played 0:0 against nigeria
 
hehehe
 
I thought it's going to be the same here
 
user457812
6:36 PM
-1
Q: How to erase from vector by iterator?

Mostafa SatakiI want to erase elements by indexes. Inside eraseIndexs function I access to begin & end iterators.When I create a vector from begin and end iterators create a new vector from them. How to erase elements by iterators? template <typename ForwardIt> void eraseIndexs(ForwardIt& begin, ForwardIt& e...

 
user457812
So much wat that even the Java programmers should see it.
 
8:39 PM
Hi
 
8:53 PM
what a game
2:2
at least we didn't lose
@stewbydoo Welcome. Please read the room rules.
 
that was a great game
 
yeah
To be honest Ghana way better
they had so many chances
 
9:25 PM
yea ghana played real well
 
9:38 PM
I really am struggling with android preferences
 
shoot, maybe I can help
 
I'm debating whether to continue supporting API 9 or to bump up to 14 or 15...
 
I would drop API 9
#minsdkversion14
Hmm interesting I've written a custom build variant for ST for my GAE app
Makes my workflow smoother
should have done this way earlier
instead of testing my API with curl I can now test it in ST
 
What happened with Germany, @Ahmad?
 
9:46 PM
haha :p
 
I shouldn't be talking...
Argentina barely beat Iran...
 
Ghana was a tough opponent
 
yes...Iran...
 
LOL yeah
I had already switched off the game
 
I actually watched the game with my friends from Argentina over Skype
 
9:47 PM
when all of the sudden I'm reading angry comments on fb
from an iranian friend
91' minutes
that was close lol
 
yeah
horrible game
my friends and I couldn't believe it...
 
who did argentina play in their first game again?
 
Bosnia
barely won as well
we were saying that playing like that there is no way we can beat Germany
or any competitive team
 
You never know
this WC is full of suprises
Spain for example...
 
Germany took us out of the last two world cups
 
9:49 PM
I still can't believe it
Haha :D
this year is germany's year. I'm telling you.
 
hopefully you are wrong
 
we'll see ;)
 
apparently Merkel believes so as well
she spent $300K to go to Brazil
 
user457812
@Ahmad I think at this point you can get away with a minimum of API 16, though API 14 is also acceptable.
 
user457812
Going back to pre-14 is just a huge pain in the neck, especially since the actionbar stuff in the support library is.. unstable at best.
 
user457812
9:52 PM
You really do have to use ABS. The support library does not work correctly. o_o
 
true nil
wait what
 
user457812
Even Google seems to realize this considering they use ABS
 
300k?!
 
apparently that was the total cost of the trip
people were complaining
 
user457812
Well first class and a private jet do cost a lot.
 
9:53 PM
yeah, I don't even get why the integrated the ActionBar into the support lib
 
user457812
Can't have politicians traveling like normal people
 
the google backport is just horrible
 
well they can get away using public funds to go
since she used the opportunity to talk with Dilma
 
ugh, that's an awful lot of money for the one game she visited
 
Good evening :) !
 
user457812
9:54 PM
Goody, I now have $0.55 in steam bucks from selling steam cards
 
user457812
Not sure what it is that makes people buy steam trading cards but whatever
 
Don't spend it all at once
 
everyone should watch this
2
 
user457812
The sale's going on, so it'll probably cover one DLC thing
 
funny but true
 
9:55 PM
already did :/
FIFA is just full of corrupt and greedy people
 
yes
 
they don't even pay taxes
sigh
 
right, they are a $1B NGO
 
user457812
I think the term "organized sports" needs to be considered as reviled/bad/wrong/etc. as "organized religion"
4
 
heh :p
 
9:59 PM
FIFA is ridiculous
 
00:00 - 22:0022:00 - 00:00

« first day (1344 days earlier)      last day (3619 days later) »