« first day (621 days earlier)      last day (4332 days later) » 

12:04 AM
OH MY GOD IT WORKS
This calls for a beer.
(My ViewPager now refreshes itself and maintains the scroll position!! I've only been trying this for like 3 days)
 
Android Chat Drinking Game: Rule #1 - Take a shot when someone solves a problem.
6
 
I highly approve of this.
 
Corollary - Take an extra shot if the problem has been present for more than 2 days.
We'll get to the Ballmer Peak in no time.
 
And either we all get genius problem-solving ability while drunk, or we end up solving so few problems that we sober up. Either way, it works out and the cycle continues.
 
No amount of genius problem-solving ability will fix Microsoft's horrible lack of oversight in not adding text color manipulation into Bing Maps.
 
12:16 AM
Heh. Is that actually an official Maps SDK? It wasn't very clear from the site...
 
Sorta-maybe-have-no-goddamn-clue.
 
Ha, gotcha.
 
I'm assuming Microsoft contracted InKnowledge(whoever-the-f***-they-are) to do it for them.
 
Lazy bastards.
:)
 
So... now I need to come up with a workaround.
What colors go good as a background to white?
Black looks... okay.
 
12:18 AM
white on black is tacky, in my opinion
 
But it sorta clashes with the MapView.
 
A dark gray can make a huge improvement
Are you talking about text still? Or something else?
 
Yeah, text.
Black just looks really bad on top of the MapView (which is mostly white or a really light color).
The hierarchy is somewhere along the lines of:
Text -> Pushpin Icon -> MapView.
 
0
A: Changing Pushpin Text Color

MerlinHaving had a look through the source there is no support for changing the text color as it stands. The source is available at http://bingmapsandroidsdk.codeplex.com/ so you may be able to hack it to get what you are after depending if the Bing Maps API itself supports what you are after. This w...

 
Hmm. Try a dark gray, or maybe a purple or orange (don't they use those colors on Bing Maps? Or am I thinking of something else?)
 
12:22 AM
Yup you're screwed unless you can hack it
 
Damn
 
I can't believe they don't have support for something as basic as text color.
 
what is the actual output from it ... a png or some html?
if it's the latter then you may be able to hack the CSS for the text
 
Output? As in the Pushpin?
Pushpin's a PNG image currently.
Not sure if I can use HTML.
 
Without reading through the entire API documentation I can't really help much more but certainly there is no capability in the V7 AJAX API for setting the pushpin color
 
12:27 AM
@JMRboosties one thing that worked for me was to display png images that were primarily transparent. You could have the base image (person and phone) and then 3 images that get overlayed, each one of which has a single blue curve.
 
@yawus there is some html in the source code ... also a resource file called colors.xml ... you might want to start there
 
I looked at Colors.xml and it is not used throughout the SDK.
At all.
At no point is it called throughout the entire sample APK they provide.
And the documentation wasn't that great from what I remember.
 
ok then ... try the assets folder
 
I'll take another look at it at work tomorrow if I can.
 
12:51 AM
Huh. The highlights behind the softkeys in JB seem to be white instead of blue now.
 
1:02 AM
I really hate the hardware buttons on android handsets they just look so squashed and horribubble
right ... I really am going to bed this time
 
lmao
 
1:34 AM
Hardcore geek shit going down on XDA right now for Jellybean.
 
The mistaken assumption here is that hardcore anything else could be going down on XDA.
 
golf clap You sir, win.
I may or may not be involved in said shit.
Basically the Jellybean OTA is leaked now (I have a copy, but I'm on Verizon, so it's obviously not going to work for me), but it's an OTA from IMM30D, which no one (save one guy on XDA) seems to have a backup image of. We're trying to get him set up on a torrent.
 
anyone watch the Google I/O
?
 
I think more or less everybody :) Or at least followed the news from it.
 
This is the Android chat room.
 
1:40 AM
apparently you can now use Python to write Android application..
also
 
HOW
HOWHOWOWHOW???
 
did everybody update their stuff... eclicpse, sdk, ect..
the bottom of that page
 
Indeed. The new Eclipse seems nice. Visually it still looks a little weird to me on Windows, but it seems to work well.
 
says you can get the SDK for Java, Python 2.5, Python 2.7, and Go (but it's experimental or something)
 
I should probably click that Update button, huh...
If you search on SO, I think there was a question about writing Python for Android.
415
Q: Is there any way to run Python on Android?

e-satisI like the Android platform. Actually, with some friends, we even participate to the ADC with the Spoxt project. But Java is not my favourite language at all. We are working on a S60 version and this platform has a nice Python API. Of course there is nothing official about Python on Android, but...

 
1:42 AM
I will love Google forever if you can do it in Python
 
wait... i don't think its for android.. i must have misread it or something..
 
@Kurty Yeah, that's for general Google apps.
Like stuff you can get for Chrome.
 
aw... poop
 
There are other ways like the Scripting Layer
 
oh yea, with the update, the emulator is now different
 
1:44 AM
On a completely unrelated note, I am attempting to bring back "Yo".
 
lol I use that all the time..
 
user457812
I use "yo" pretty frequently.
 
What's new with the emulator?
 
but in the casual way... not the "~yo~" cool kind of way..
the emulator is apparently much faster and better
 
user457812
I only say it when offended. Like "YO! WHAT?"
 
user457812
1:45 AM
But not really.
 
i noticed it as well. The time it takes to load is shorter and it's a bit more... snappier/smoother
they also have new stuff like DialogFragments where you can type into an AlertDialog
and some newer stuff that are now backwards compatible.. i think
Also.. you can now download Android 4.1 SDK..
 
Ooo~
 
in my mind, yo can have similar meanings in Japanese and English.
 
And Spanish.
 
In the case of emphasizing things.
It's true, yo!
本当だよ
how do Spanish and English/Japanese yo have the same meaning?
 
2:00 AM
Ah, similar meanings.
For some reason, my mind read "different".
 
Herpa derp.
 
brb yo
 
god I wish I could get a Glass
 
dude I was just thinking WANT
 
user457812
2:05 AM
I wish I could get my bloody MBP already.
 
Then you could check people's power levels.
 
user457812
TR doesn't get DBZ jokes.
 
Ah.
 
I don't watch TV nor really any pop mass-media culture
my only culture comes from Android room 15
 
user457812
2:07 AM
Yeah, but the over-9000 thing is a meme by now
 
You can use a new helper class, ActivityOptions, to create and control the animation displayed when you launch your Activities. Through the helper class, you can specify custom animation resources to be used when the activity is launched o_O
 
user457812
So chances are you know it even if you don't know the source
 
looking up over-9000
that reminds me of a line from Welcome Back, Kotter
"43 dollars? That's almost a million dollars!!"
 
'That's almost X' is quite possible one of the most worthless phrases I've ever heard frequently.
"9900? That's almost 10,000!"
"No shit."
 
Well, it's awesome when it's spoken as if real but off by five orders of magnitude.
 
I wish we used base 60; then our orders of magnitude would be nearly an order of magnitude bigger!!!!
 
oh, The demo was set to nothing more than a looping fireworks video :(
 
Tbh, I think Glass is going to a safety nightmare.
 
people trying jackass stuff with it?
 
People already have trouble with texting, calling, eating, doing their nails, and getting a haircut while driving.
I shudder to think what will happen when Glass is unleashed upon the world.
 
2:19 AM
I like cutting hair while I'm driving! I just don't cut hares while I'm driving; that would be gross
 
Glass just might be one of the signs of the Apocalypse.
 
finally!!! I hadn't seen any others..
 
do you have to be rooted to use that leaked Jelly Bean GN ROM?
 
@ProfSmiles Right now you have to be on IMM30D to use the leaked OTA
You can get the IMM30D recovery image here: plus.google.com/u/0/113702637309752822154/posts/X1kukKRFu16 but it's being hammered right now so it may be very slow.
 
IMM76I :(
naa, I like my data
 
2:22 AM
Haha
 
I bet theres gonna be a Google Glass App that answers when you say "What's the scanner say about his power level"
 
I'm transferring stuff on mine right now -- got my 4th warranty replacement today. Yay.
 
@Kurty if not I am definitely making that :D
 
I'm assuming it'll be out the day of release.
 
@ProfSmiles I wanna make it as well :D
 
2:49 AM
posted on June 28, 2012 by Raphaël Moll

The SDK Manager in Tools r20 has two new features frequently requested as feedback. First, the manager now integrates a cache:It caches the small manifest xml files that describe which packages are available.The cache is only for these small manifest files and does not store any of the large install binaries -- these are downloaded on the spot, installed and then cleaned away.The cache is stor

 
3:03 AM
Missed IO, how was it?
 
You could say it was...
*puts on sunglasses*
IOpening.
YEAAAAAAAAAAAAAH!!!!
4
 
rimshot
 
thank you thank you I'll be signing autographs in the back
done!
goes back in time
 
lol hope they sing Soul Sister XD
Its on right now.. Train is playing
 
comes back to the present
 
3:09 AM
I'm hoping for a good oldie like "When I Look To The Sky".
 
Oh no!!! Why does water fall from the sky?
By changing that line, I've altered the future!!! nooooooooooo!!!
 
Should we change the stickied link for Google I/O to developers.google.com/events/io since there's a livestream there?
 
yes
goes back in time
 
Tbh, I never thought that Train was all that good live.
 
well you are Thunder. Thor. and Pikachu.
@ThunderRabbit
XD
 
3:13 AM
Don't get me wrong, I love their songs, but their live act isn't all that great.
 
all in one!
 
@Yawus Yea... but Train and soul music sorta "sets the mood" for Google's show
 
soul train
 
getMessage(View v) { if(!v.isWitty()) v.retypeWittyComment(); }
 
@Kurty They should've invited Jonathan Coulton then.
The geekiness would've been a much better fit.
 
3:16 AM
I only see a down arrow when i move my cursor over my post.. And I can't seem to edit posts that are too "old"
 
Although I am kinda biased when it comes to grading live performances right now.
I watched Coldplay live yesterday.
Say what you will about their music, those guys know how to put on a show.
 
I wonder if you can edit a post after it's starred?
 
ohh... Kool. Now I know.. Thanks! :)
 
starred!
 
I must have timed out
 
3:20 AM
Eye opening? Nexus Tablet looks like a kindle?
 
Dude looks like a Kindle?
 
omg Don't Stop Believin' sung by Train :D
 
Nope, not sung by Train.
 
N7 with Jelly Bean ships Mid July. Nice!
 
Ok... I think I found the sweet spot for app pricing :P
 
3:23 AM
Okay, everyone stop talking about @Glitch now.
Oh hi Glitch
 
I increased the price of my app to $1.79, and now I'm getting more purchases
 
:O
 
$2 causes a steep drop
might try $1.89 later :P
 
Magical 7 is a lucky number.
 
@Yawus now :D
 
3:27 AM
I have 5GB of HDD space left
Probably should buy a new HDD..
Oh, and time to play with some new SDK features!
 
yikes
I'm glad we were saving server space!
 
@Glitch Just use flash drives XD
 
I might buy a 256GB SSD
they're pretty cheap
 
and fast
 
indeed
 
3:28 AM
I put the 512 SSD in my MBP
 
so my current HDD will become my data drive, and the SSD will be my OS/app drive
 
except that I don't have the machine yet, they're super fast!!!
 
SSD are like... $1-2 per Gb... so expensive.
 
@Kurty not anymore, in Australia they're just under $1 per GB
I've seen a few for ~$200 for 256GB
 
when I was a boy, hard drives were $2 per MB!
 
3:30 AM
@Glitch Lucky you... it's expensive over here in Canada
 
@Kurty keep an eye on the Crucial M4 drives at Amazon.
They go cheap regularly
 
Will do
 
now I want to replace my 1 TB Lacie backup drive with an SSD drive
it takes ages to back up data now....
 
I still have an old Floppy disk and a floppy disk drive that I have scrapped and kept from an old comp. Will the drive work on the new comps nowadays? or will I have to find some old one.
 
3:34 AM
Oh dammit. Just went through and restored all my stuff to my new phone, and forgot to unlock the bootloader first. ¬_¬
 
@Kurty you won't be able to find a computer with a connection that fits the drive
 
Yeah, but you can pick up a USB floppy from an office supply store most likely. If not, then on Amazon.
 
A USB floppy disk drive?
 
Yup
 
When I grow up, I'm going to connect a floppy drive to the latest connector, so like a floppy drive with a thunderbolt connection..
 
3:36 AM
Wow.. I can't believe they still make them..
lol
 
Oh god that's a great idea. Haha. And yeah, it's surprising, but I suppose if you've got old data still around somewhere, it's nice that they still exist.
 
Most Japanese businesses still use a thing called "paper" to store data, so I'm sure there are many businesses that use floppies
 
What surprises me more is that FAX machines are still around. :/
 
yeah fax machines are weird
I've heard people say something like faxes work as legal documents, but photoshopped images do not
 
They're completely obsolete! A basic scanner makes it completely unnecessary, and the quality is far better.
 
3:37 AM
which kinda sorta makes sense in a stupid backwards way
 
Now that I've heard as well, although trust me I could make a much more believable fax forgery than I could a forged scan.
 
omg finally Soul Sister sung by Train :D
 
agreed
 
Law is just behind technology as usual.
 
but legislation is ages behind the world
dammit!
 
3:38 AM
heh
ninja'd
 
it took me too long to remember the word "legislation"
 
did you guys see this? Singularity ruined by lawyers youtube.com/watch?v=IFe9wiDfb0E
 
That's why I'm a lazy bastard and just used "law"
 
you young whipper snappers always takin' shrtcts
 
@ThunderRabbit I c what u did there..
 
3:42 AM
@Kurty heh, yeah that vid seems about right.
 
yea pretty much XD
 
haha
srsly, Kurty, sorry I pinged you like 10 times back when i was playing with the up-arrow edit to show you how to do up-arrow edits.
I didn't know it would ping multiple times like that
 
@ThunderRabbit Here's retribution for you. dammit
 
turns sound off
 
@ThunderRabbit Lol it's fine, i don't mind :P and I learned how to edit my messages :D
 
3:45 AM
 
It's weird, there are definitely two slightly different variants of Verizon Nexuses out there. I've had four, and two have a more visible LED indicator and a cooler tinted screen.
 
writes turns sound on
 
@Glitch yeah, now to wait two months for the Verizon version
 
Quick question, do you guys set OnTouchListeners to Buttons or am I the only crazy person who either uses OnClickListeners or names the method in the XML?
 
or two days for the hacked together XDA version
 
3:46 AM
I have to wait for CM10, or Samsung
 
you use OnClickListeners for Buttons.. well I do..
 
0
Q: Button android while pressed

user1477414I want to print something while my button is pressed (not after it is released). At moment I have this, but it only works once... button.setOnTouchListener(new View.OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { if(event.getAction() == MotionEvent.ACTION_DOWN...

These people seem to think otherwise and I'm not sure where to mention OnClickListeners.
 
user457812
I want a balloonicorn.
 
@Yawus Thanks for the pic!
 
I think they're on sale in the Mann Co. store.
 
 
Jelly Bean already ported to SGSIII
 
@Yawus Replace OnTouchListeners with OnClickListeners because for buttons, you wait for them to be pressed. OnTouchListeners sort of expect a MotionEvent?
 
@Yawus it depends on what you need to happen. If you want to handle a click, use the click listener. If you need to handle multi-touch, drag motions, etc., then you'd use an ontouchlistener. For a button, typically you'd want to use clicks.
 
@Kurty I know that, I'm just not sure how to break it to the guys in this question.
 
3:49 AM
Well hot damn Glitch. Gonna try it?
 
Oh damn. I just noticed one of the guys in the forum sent their message from an iPhone.
 
@Yawus show them this.. youtube.com/watch?v=94dXuNQRNh8 It shows you how to make buttons with OnClickListener.. or just say that they aren't doing it correctly.. and that OnClickListener much better, simpler, and easier to use for buttons
 
@kcoppock it's an SDK port, so no
 
Oh god. Yeah, no good.
Huh, CDMA version seems to have a real-ish port together: rootzwiki.com/topic/28473-rom-jds-jellybean-port-v1
 
The team for Android 4.0.4 on the LG Optimus One (CyanogenMod 9) is still in beta testing... I wonder how they reacted to the news of Android 4.1 when they still haven't finished their work..
 
3:55 AM
Eh, I mean they had to see it coming. And frankly it doesn't seem to be a giant overhaul (not as big a jump as from Gingerbread to ICS) so I assume it won't be too major of a problem to push the new pieces in once the code's on AOSP.
 
There we go.
 
lol
 
So that's what that 'upload...' button is for.
 
Heh
 
Also, I wonder what rules to add to the Android Chat Drinking Game.
 
4:06 AM
Yeah, I'm out of ideas. >.>
 
Where is the current list of rules?
 
There's only one so far and it's the one starred on the right.
 
if you do say so yourself! ;-)
 
It's missing the corollary though.
Which is "Take an extra shot if the problem hadn't been solved for over 2 days."
 
But then we have to keep a log of all problems and when they started happening.
And I feel like we'd all be wasted.
:D
 
4:10 AM
Android Chat Drinking Game: Rule #2 - take a shot if you don't remember the date a problem was first posted
 
We could add for room owners, take a shot each time you reject a user write access. ;)
 
This reminds me of the game where the game is to make rules for the game
 
Haha. I forget what that's called...
 
someone wrote a decent article about how it's a reasonable description of existing law system
 
Starts with an 'm' I think?
 
4:14 AM
I know! I'm trying to look it up
Mmmmmm
 
mao?
 
nao, that's not it
 
Mao (or Mau) is a card game of the shedding family, in which the aim is to get rid of all of the cards in hand without breaking certain unspoken rules. The game is from a subset of the Stops family, and is similar in structure to the card game Uno or Crazy Eights. The game forbids its players from explaining the rules, and new players are often told only "the only rule you may be told is this one." The ultimate goal of the game is to be the first player to get rid of all the cards in their hand. Specifics are discovered through trial and error. A player who breaks a rule is penalized by...
 
This game had no cards, no nothing
just the players and an order
 
Oh okay, not the same thing I'm thinking of then.
 
4:15 AM
But yes, Mao is in the same genre
 
Oooh nice:
 
Nomic is a game created in 1982 by philosopher Peter Suber in which the rules of the game include mechanisms for the players to change those rules, usually beginning through a system of democratic voting. Nomic actually refers to a large number of games based on the initial ruleset laid out by Peter Suber in his book [http://www.earlham.edu/~peters/writing/psa/ The Paradox of Self-Amendment]. (The ruleset was actually first published in Douglas Hofstadter's column Metamagical Themas in Scientific American in June 1982. The column discussed Suber's then-upcoming book, which was publish...
 
That sounds interesting
 
You got a N7?
 
Nope, screenshot from another forum
There's an iffy CDMA port that I'm tempted to try out -- might give it a day or two and make sure it's stable enough, though.
I'm definitely considering the N7 though. I've held off on getting a tablet because quite frankly I've not seen one I liked. A Nexus running the latest updates? That, I'm okay with.
 
4:25 AM
Same here. Even Samsungs Tab is not that good.
 
user457812
I'm thinking about it, though given my recent spending (charity and the MBP), I don't think I have any room for a fiddly purchase.
 
I hate custom skins.
 
user457812
Fiddly as in I have no actual reason to own a Nexus 7 right now.
 
@nil sell your MBP and buy like 15 of these.
 
user457812
I think the MBP is more useful.
 
4:26 AM
Haha!
 
Psh, you don't know that.
 
user457812
Pretty sure I do.
 
Okay, yeah, probably.
 
user457812
Tell you what, you buy me a Nexus 7 and I'll enjoy it and tell you how much I'm enjoying it so you can feel good.
 
That....sounds like a great idea.
 
user457812
4:27 AM
Hop to it, son.
 
¬_¬
 
user457812
I look old enough that I think I'm allowed to call people "son"
 
haha. Aren't you like 25?
 
user457812
23.
 
user457812
Hell, I look old enough that I don't get carded for buying booze.
2
 
4:27 AM
Well then damn, you'd be my son
 
4:49 AM
Aaand I should definitely go to sleep now. Night guys
 
5:27 AM
@kcoppock did you install 4.1?
 
6:09 AM
I haven't found it yet in the SDK Manager
Google Glasses are something I am really going to buy, no matter what
 
I bet Google Now is the main app for Google Glass
 
Google Now
that's something new for me
Oh yes.
My best thing would be ToDo tasks/reminders, Maps, and photographs
and since I wear glasses, they'll be something I can wear all the time
 
The new APis are great.
 
I'm thinking of integrating Lux Dashboard right into an expandable notification
 
6:29 AM
@Merlin are you there ?
 
Just arrived ... (woke up)
where are my glasses?
squints at monitor
@Gabrielle morning
 
morning @Merlin
I receive your message on chat..
about database
 
I had a bad day yesterday and some of that leaked onto chat last night ... so ignore my abrasiveness
did you see what I meant about using the class?
 
no
 
ok ... you use the meathods of the SQLite database class
insert, update, delete etc. also query or rawquery
 
6:34 AM
so I don't have to write methods for each table, right?
 
no ... but you will have to write where clauses e.g "_id=?" (a question mark is a placeholder) then in the whereargs you would supply an array of arguments that replace the placeholders ... much like how String.Format works
inserts and updates use a sepcial thing called ContentValues basically a mapped collection of values that you add tyour values to then supply that map to the insert and update methods
 
I see
 
5 mins ago, by Gabrielle
so I don't have to write methods for each table, right?
that is correct. My saying "no" was a bit confusing ... I need coffee
 
:)
 
To get the most out of this you are going to have to read a lot of examples to find the cleanest and most readable way to do this (there are a lot of bad examples out there)
for example ... DO NOT use + for string concatenation e.g "WHERE " + COLUMN_ID + "12" + "AND " + COLUMN_TYPE + " = BANANA
this is really messy ... use placeholder where you can and String.Format where you can't
 
6:45 AM
well I'm not so experimented to know which is a good or bad example...can you give me a good example ?
 
i.e String whereClause = String.Format("WHERE %s=? AND %s=?",COLUMN_ID,COLUMN_TYPE);
 
I liked the new rules :)
 
then supply whereargs as an array of {"12","BANANA"}
COLUMN_ID and COLUMN_TYPE are constants defining the name of the columns
you may want to write a small proxy class for each table that removes the need to do this every time you want to do some data operation ... so perhaps what you asked is both yes and no ... you don't have to write a query every time ... but you might want to reduce code repetition (and therefore mistakes) by having a class that keeps the operations on each in a sensible place
1 message moved to bin
 
guys told me yesterday that I must use CouchDB, because 24 tables for SQlite is a lot
 
That's maybe their preference but you should know how to use sqlite as you will find more people able to help you with it and it is already built into android
 
6:54 AM
Yep
But that's only if you are good at it
 
If you have a lot of tables then it's even more important to write easily editable code ... so remember that String.Format is your friend
 
I had used SQLite only one time for an application, but I had only 2-3 tables
 
Like I said, drive by Oct's house with your laptop. He can explain this much better and solve it for you :P
 
:)
 

« first day (621 days earlier)      last day (4332 days later) »