« first day (417 days earlier)      last day (4516 days later) » 
00:00 - 19:0021:00 - 23:00

12:22 AM
@Pyrodante pokes
 
yes?
 
Is there anyway for a Service to catch Home/Menu/Back/Search button presses? I know you can't capture the hardware keyboard but was wondering if there was some kind of work around for those
 
you should be able to catch everything but the home button
I do in my activities all the time. From a service seems a bit odd though
 
any help??
 
Well I just want to catch them in general, not necessarily from an Activity
It's just a background listener that increments a database value when it see's a press
Its part of my achievement system, Press Home/Menu/Back/Search X times
 
12:26 AM
oh right
 
I don't see why it would be an issue, I just can't find the right listener to use
implementing OnKeyListener in a service doesnt work, onKey never gets called
 
you may need an intent filter
or a broadcast reciever
sounds like a really good question for SO :D
although this is a bit disconcerting stackoverflow.com/questions/5881890/…
 
1
A: Android: OnKeyListener implemented Service onKey not being called

Kyle BanksAndroid services are unable to respond to Key Listeners because they have no visible manifestation, they run in the background. If you want more information, have a look at this post: Is it possible to create an Android Service that listens for hardware key presses?

Oh you mean like that one? =P
So if I set this up as a BroadcastReceiver do I have to set every possible intent filter its going to use?
More importantly, is there even an Intent sent when you hit said buttons?
 
12:54 AM
Sadly, I looked and it doesn't look like it, search may have one but not the otehrs
I would assume that the popular response is that it is none of your business what happens to other activities...
which is kinda dumb
 
Yeah
Makes stat tracking difficult >=(
 
well you may be able to register for searches and for homes but not back or menu
 
That's so annoying. My name for the Back button achievement was really funny =( my girlfriend is gonna be pissed I can't do that one, lol
"Back that App up"
 
lol
well im headed home, good luck!
 
 
2 hours later…
2:55 AM
Hi @Phelios
Do you know what is Visual MaX 0.37t?
 
nope
never heard of it
 
ok
 
user457812
I really want to collect all the poetry I've written for the last year and just read it all at a reading or something
 
nil, can send me a copy of your poetry? :P
 
user457812
3:13 AM
Well, you can read my poems from the first half of 2011 and my poems from the second half of 2010. Bear in mind these are all still drafts and some of them may be offensive. I haven't collected/slightly revised everything I wrote for the second half of 2011 yet.
 
no9
6:33 AM
good morning
 
 
3 hours later…
9:22 AM
Morning
 
@MarekSebera I stumbled across this CouchDb ad on the internet ;). Note : NSFW.
 
Hell yea! :D
 
NSFW because of nudity or swearing?
 
user457812
@Reno That's not an ad, that's from one of their presentations.
 
You are probably right
 
9:35 AM
@Reno totally lost on me.
 
Sorry, I think people (men) are hardwired to ignore any text on images containing arses. :D
 
nods
It took my a while to notice the text.
 
Makes you perform like a porn star.
And I only had it on the screen for a fraction of a second :P
 
*pr0n
 
:)
Sometimes I feel very left out that the people if find attractive aren't used in advertising.
 
ANyone on here do xbox?
No? They've just got a new desktop is all... looks pretty cool.
 
.5k to go for 10k. :)
It is amazing how much reputation I get by doing nothing.
 
envy
I'm only 1.4
 
16
Q: Accepting a certificate for HTTPs on Android

MortenI'm trying to make Https connections on the Android phones, using HttpClient. Trouble is that since the certificate isn't signed I keep getting "javax.net.ssl.SSLException: Not trusted server certificate". Now I've seen a bunch of solutions where you simply accept all certificates, but what if I...

This question is ... urgh
Look at the accepted answer and the answer below.
Alright. 501 reputation to go. I had to downvote.
 
@OctavianDamiean Just shows the amount of people who only want code not understanding.
 
9:54 AM
I wish I could slap them all.
remote-slaps lazy wannabe developers
0
Q: HTTPS programmatically on Android (trusts all certs)

user922770Does anyone know where i might find a source on how this can be done? I've already tried doing my research but it bore no fruit

Close pl0x.
This question slowly gathers more and more amounts of epic fail.
should downvote more often
Let's see, where is the next low quality answer.
 
10:10 AM
Don't you hate it when you being clever leads to really seemingly mysterious bugs but turns out actually your just not paying attention...?
 
that's why I don't be clever
 
Just grab hacked ROMs
 
That doesn't sound as good as they think.
 
My brother has ICS on his HTC Desire and it runs surprisingly well
 
10:15 AM
is getting his Galaxy Nexus on new years eve :D
Went to play with one a couple of days ago at the phone shop.
Was nummy - doesn't have one of those horrible yellow screens like the Galaxy SII
But granted, doesn't look quite as sexy in terms of case.
 
It is almost a friggin' tablet.
 
@OctavianDamiean It's not that big!
Some perspective:
See, Galaxy Nexus is teeny tiny compared to the Note.
 
the Galaxy Note is pretty much a tablet :P
 
True :)
 
10:20 AM
Hi guys!
I have a question I thought would be a bit too broad for SO. Why is the Android compatibility library not a part of the standard Android library?
 
@OrhanC1 Because, you only need it when you are developing for devices which don't already have these libraries.
So it needs to be included & packaged with your app so that devices on a lower version can use the new features.
 
The new libraries already have the features so don't need a compatibility package
 
Ahh. So they're there to bring the new features to old versions?
 
10:26 AM
Yup: 1.6 onwards
 
Thanks guys! I should get back to work :D Thanks for clearing this up :)
 
Not a problemo
was helpful
 
Mornin
 
user457812
Oh yes, in order to help @Judy and anyone else interested in reading my godawful poetry, I guess I'll go ahead and link the blog I made for that purpose
 
boooooring
 
user457812
10:38 AM
Remember the rule, kids, Glitch is wrong by default.
 
Nil is wrong by default
 
user457812
So if I were to say you are not wrong by default, would that make you wrong by default?
 
Nope, because you're wrong by default
 
Children...
please answer me this question
 
user457812
Wait, if I'm wrong by default, then you modified your logo based on wrongness O_o
 
user457812
10:44 AM
But then that would make wrong right and right wrong
 
When you get a stack trace with ... 12 more at the bottom. how do you make it report it?
 
@nil which is quite left
 
user457812
Whatever, it's my unbirthday, I win
 
user457812
Also, it is cold as all fuck here.
 
user457812
Anyway, back to writing
 
10:45 AM
When it's cold, I just run some benchmarks and my GPU heats my room
But we got ducted air-con installed now, so I don't have to
 
@Glitch You don't know what cold is :P
 
@Graeme You can grab the stack trace and iterate over all elements. getStackTrace())
I hate the chat markdown.
 
We should mention it in chat feedback ...
 
@OctavianDamiean Reason i need to do it is because the exception is being thrown from deep in the internerals of android code - don't know where my code is even involved. Exception is in AbsListView.onRestoreInstanceState() which is bizzare :P
So can't call getStackTrace() or look at the exeception object in debugger
 
@Graeme I'd rather be in a cold environment than a hot one
Australian summers suck so hard if you don't own air conditioning
 
10:54 AM
Depends what time of day it is.
I'd rather wake up way too hot rather than way too cold but fall asleep way too cold than too hot. Go figure why that is. :P
@Glitch I know, used to live there remember :D
 
Without air-con? :P
 
I was in Sydney years ago when there was a massive heat wave and it was 55 degrees.
 
At least when you're cold you can just wear more/thicker clothes. When you're hot, you're fucked.
Are you sure it was 55c O_o
I think you mean 45c
 
Nope, we had the pool and that was it - didn't really help, the movement required to get in and out of the pool was almost too much to handle.
Nope, look it up
must have been... 15 years ago?
old people and pregnant women were dying all over the show. was awful.
 
can't have been, the highest temperature on record is 50.7 °C
and that was in the 60s
 
10:57 AM
hi
 
Maybe it was 45 then
I'm sure it was 50 something though..
Nevermind - either way, it was awful.
 
Anything over 40c causes deaths
Sad thing is, it's usually new years day that is the hottest
 
Yeah, Christmas in the southern hemisphere is broken.
 
I remember coming home and the neighbours dog had died from the heat
and they thought we poisoned it
-_-
Bitch didn't leave it any water
 
o.o Nice neighbours
 
11:00 AM
and locked it outside
 
Hope you poisoned them
 
lol, they did a good job of that themselves, drinking all night
 
I would have poisoned them - got the law on them.
done something.
 
they were renting and got kicked out
 
people that are mean to dogs need their faces cut off.
... not to be harsh.
 
11:04 AM
then the owner built a new house and lives there now
and he's ok
oh, and the tards loved their dog, they were just too dumb to look after it
 
Should have been euthenized then.
If you can't look after a dog then your a threat to the gene pool.
 
Sure, but we have to let Darwin sort them out
 
reasons why Graeme shouldn't ever run any country... ever
 
neither should Octavian
 
11:06 AM
You'd be Hitler v2.0
:P
 
Pffft, Humanity broke evolution years ago.
 
The canine race!
 
It's either all of us or none of us at this rate.
 
I've been having these vivid dreams of dying lately
 
(And please, I'd be Hitler 4.5 at least.)
 
11:08 AM
Usually I don't recall dreams at all
Maybe I can tell the future! :O
 
in Chat feedback on Meta Stack Overflow Chat, 3 mins ago, by balpha
You can grab the stack trace and iterate over all elements. getStackTrace()
There sorted.
 
merge sorted
:D
 
@MarekSebera Awesome!
 
@Graeme greatest is that there is every basic sort algorithm in there, quick, bubble, insert, select, shell. And that music is kinda amazing ! :D
 
11:15 AM
Music kind of makes me want to peel potatoes to make vodka.
But that's mostly because i'm racist.
 
I hate that video so much
so tedious
 
probably to stop programmers from ever considering using it
and might I say, it's damn effective
 
What's wrong with a bubble sort?
Or as they call it, "old faithful"
 
11:17 AM
That the word bubble makes me giggle.
 
It's slow and almost never appropriate
 
@Glitch don't be so dark, it's fun, there is somewhere two threaded version of them :D
 
@Glitch Like you? Hahahahahahahahahaha
-.- I judge me.
 
Yes, like me :D
 
@Glitch so which sort alg. do you like? some glitch-sort ?
 
11:21 AM
Depends on the use case
Insertion sort, quick sort
And if you're feeling lucky, bogo sort!
 
damn, bogo sort is not danced
 
@MarekSebera that would be an interesting dance O_o
A bit like musical chairs actually
 
hehe o_O
 
except no elimination
and no order
 
11:23 AM
Playing with native code can make problem solving REALLY difficult since crashes in native threads will just evacuate your code all at once making it crash in consistently weird ways.
 
indeed
I've had that phantom null problem before
I'd love to see a Quantum bogosort dance.
 
get a ton of bulgarian dancers, and some of those traditional bands
and let us see then :D
 
Ron Paul has an important message for you all!
 
11:38 AM
One day I will go to Mountain View and kick this green robot in his green nuts.
 
I'll join you
 
nje nje njenje :D
 
Lol, finished my seekbar animation
it sucks :P
 
11:53 AM
@OctavianDamiean do you know how to make a chat bot like FlackBot? I've no idea where to start if I want to make something like that :|
 
actually, it doesn't suck, I forgot to change my mock delay
 
12:05 PM
0
Q: Catching exceptions thrown from native code running on Androids

GraemeThe project I'm currently working on requires me to code up the android portion of a cross platform program implementation. A core set of functionality is built and included in my app through android-ndk. I've found that any exception/crash which happens in the native code is only reported now a...

hackerbuddy.com <- awesome.
 
12:47 PM
@Graeme I read your problem, do you want to catch exception thrown in the native code?
 
yup
 
Do you throw the exception?
Or happening anything strange in your native code
?
 
I dont understand the question?
 
Do you use the throwNew(...) in your code to signal an exception in the native code?
 
Er, nope?
I don't write the native code
 
12:52 PM
Ahhhh ...
I thought you wrote the native code :)
 
But i'm assuming that it's crashing because of unforseen crashes/exceptions/whatever - I don't know the terminology for when C code goes kaboom :P
I'm getting the C code given to me as part of a wider project. I then use the C code to use the common functionality.
 
So there are no exception thrown by the native code?
The c code was written for JNI?
There are no method which allows you to check the native calculation values before going on?
joined hackerbuddy
 
@CSchulz I have no idea half of what you just said :)
 
I had seen a human language learning version thingy of hackerbuddy. I can't recall the website now :(
 
C code has been written keeping JNI in mind (using all the of the correctly libraries etc). I don't know what's in the native code, i haven't even seen it never mind written it. I don't do C, it's seems like a singularly old and outdated language.
 
1:04 PM
C isn't outdated it is a very important language for programming hardware and so on
There are a lot of companies using it ;)
 
0
Q: VideoView not visible

GabrielleI need to add a VideoView to a LinearLayout, and then to add LinearLayout to ViewFlipper. Here is my code : LinearLayout l = new LinearLayout(this); l.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT)); l...

any idea?
 
Too true - but it does mean I'm stuffed because I can't force anyone else here to make sure every bug in their code is caught so I have to try and make mine able to cope with it
 
@Graeme I mean perhaps you can use such methods in the native code like boolean isValidValue() or anything like that to check your given values before you try to "do" the work in native code
@Graeme I think the native code is written bad, when there are no exceptions or any error handling which you can use
 
@CSchulz I can't write anything in the native code. I don't do the native code.
@CSchulz We're still developing so it's easy to see why there are still bugs. Doesn't change the fact that I need a way of insulating the code from the Java side.
 
@Graeme I mean if there are any methods which you can use on the java side for checking the values
 
1:12 PM
No, the values I'm feeding in are correct.
 
yeah but perhaps there are any methods for do precalc checks
 
No, there isn't.
 
Hmm ... I think then it is nearly impossible
 
thud
So to the question "Is there any way to catch/insulate against exception in native code in Android from the java layer?" the answer is "No" ?
 
Ah ... I got SO API access ... :)
@Graeme The problem is if there are no Exception thrown over the JNI you can't react on faults
Is there any signal like SIGSEGV or anything like that?
If so this could help you stackoverflow.com/questions/1083154/…
But you need a native signal handler
 
1:28 PM
Tried to pass that onto the native team. Mostly got ignored.
 
uhm ... perhaps you should address the mail to the next level about them
 
shrugs
I've got a method out of them called "breakMe()" so at least I can test a few strategies out.
 
Then let's go ;)
 
2:27 PM
Angry again for today
Need to do something other than coding
I'm not patient enough for this job
 
:D
What about some cool app ideas? ;)
 
@Reno Well I know the developer of FlackBot and can link you to the source code of it.
I wanted to get FlackBot in here anyway.
 
@OctavianDamiean I have access to the new API what about a chat application? :)
 
2:51 PM
Well that sounds good.
As long as it is 100% Ubuntu compatible I'm all ears.
I propose a QML based application.
 
Yeah I thought about JS
But I am not good in that :P
 
Well you can use JS with QML.
It is not that complicated.
 
@Graeme There is something for you :P
 
Java is way more complicated than JavaScript.
 
I don't think so because I am speaking Java fluent :P
 
2:54 PM
Believe me it is waahaaaay easier and flexible.
 
@CSchulz Is it a gun?
 
It has its flaws but so does Java.
 
@CSchulz What do you have for me?
 
@Graeme An idea what you can program now
@OctavianDamiean Yeah maybe I don't know :)
 
Are you going to pay me for doing it?
 
2:56 PM
A native Android chat application?
A dancing unicorn application?
 
Right now I don't want to be a programmer.
 
Son of a ... I'd love to have access to the new API.
 
I don't have the patience for it. Makes me angry that things don't do what they are frigging suppose to.
 
@OctavianDamiean That is what I want to do
@OctavianDamiean You don't have access?! Oo
@Graeme I need a designer :P
 
@CSchulz I didn't apply because I did not think I'm of big enough importance.
 
3:02 PM
@OctavianDamiean I got it :P
 
Especially since it seems to be a limited access thing.
Didn't want to use up a spot if someone else might need it more than me.
 
@OctavianDamiean I don't understand
 
@OctavianDamiean That's an evolution of evil
 
There is no need for another chat client
There is one available for Android:
49
Q: Droidstack for Android - now with chat support!

Felix Get Droidstack To get Droidstack, either: Search the Android Market on your phone for "Droidstack" Go to the Android Market page Open the URL market://details?id=org.droidstack on your phone Download an .apk from the downloads section of the google code site and install it via adb Scan th...

 
There is but I don't like the chat implementation.
 
3:05 PM
Damnit ... What shall I do with my api access?! -.-
 
I don't even want an Android application. I don't like Android.
I want something for Ubuntu.
 
And what language?
 
Qt - QML
 
hmm ...
 
You can got with Python as well I don't care.
As long as it is Python 3.
 
3:08 PM
When I use Qt I can use it native under Windows too ...
Perhaps I will look for it
 
Indeed.
As long as it isn't Java I'm happy.
 
Why not Java?
 
ironically I'm the room owner of this Android room but I don't like Android neither Java
 
I take the room ^^
Is there a summary about your juju presentation available?
 
Oh yea there is.
Give me a second.
 
3:11 PM
It's over :P
 
4
Q: Where can I find the logs of IRC Charm School?

Bruno PereiraI am looking for the logs of the freenode juju charms class that occurred on the 2nd of December, 2011. Do they exist? Where can I find them?

 
I thought you hold the presentation :/
 
Hah! That StackExchange site's UI is ripped of Kinect Sports. Awesome.
 
@CSchulz No. I will hold them here in Austria.
 
uhm ... I am too ill to understand what juju isand how it works -.-
@OctavianDamiean When?
Hmm ... okay I understand how to use juju but how can I bind domains? :/
 
3:34 PM
I saw a table somewhere saying what percentages of handsets were using what version of android?
Can anyone remeber where that is?
nvm
 
Evening'
 
user457812
3:49 PM
@Graeme That is a saddening set of charts
 
4:18 PM
On the bright side it's 7 days old by now. Should have a new set with version 14 on in a week :D
 
4:52 PM
oh! morning
 
Morning @Pyrodante
 
Hi
 
6:55 PM
@Pyrodante +1
 
:D
 
00:00 - 19:0021:00 - 23:00

« first day (417 days earlier)      last day (4516 days later) »