« first day (895 days earlier)      last day (4045 days later) » 

12:09 AM
Huh. The documentation for the 4.2.2 SDK is about three times the size of the SDK itself
 
12:32 AM
Gah. Apress should let us write books using markdown instead of MS Word
2
 
you have to use Word?
I would prefer LaTeX
 
Apress has a Word Template with all their formatting and stuff
You can't even use LibreOffice, which is by and large MS Office compatible.
 
oh...
 
It takes me longer to format the writing than to write it. And Mac's word is terrible. It applies the styling, but doesn't show it.
 
And you send in your word-file for review?
I imagined they would do this with PDF nowdays
 
12:43 AM
You send in the word file. All tech and author reviews happen in word. Then they make one PDF file out of each chapter, and another author review happens to make sure the guy who made the PDF got the code and paragraph order and formatting right
Markdown or LaTeX would be so much easier.
 
Seems that there is room for improvement. Why not tell them?
 
I'm planning to
But I guess word makes sense for reviews and stuff, cause of track changes
 
You could do that better with LaTeX and a Git repo
that's how I organize my writing stuff
 
Ahmad and I are using a private git right now to maintain it. Apress just has a SharePoint system for author-apress-reviewer interaction. No version control whatsoever.
 
Ah, you're writing with Ahmad together?
 
12:48 AM
Yep
 
Well then, good luck :D
 
Thank you :D
 
What's the topic?
 
Android UI
 
From the ground or advanced?
 
12:49 AM
Both. Starts from the basics, ends in the advanced.
Here's a cached Amazon page
Its from back when only I was writing it, so Ahmad's name isn't there
Also, visiting the live URL gives a 404 because in the middle the project got put on hold
It'll be back up when we submit the first few chapters
 
oh. You plan on 500 Pages...
 
which will be this week \o/
 
500 is on the low end. Covering android UI small to big is not a short topic :P
My AR book was only some 350 pages :P
@Ahmad Yay! Even I plan on submitting chapter 1 within the next few days
 
:D
 
I think thats nice, since when I buy a book with over 500 pages and I hold it in my hands, it's like "I'm going to read you for the next three months"...
2
I remember this bad boy:
 
12:55 AM
I also thought that about Smashing Android UI from J. Lehtmimäki... turns out the book had way less information about the programming side than I thought. Too much design stuff.
 
Normally, in books like you're writing, you have code-listings over half a page at many points. Code Complete had listings in the order of like 5 to 10 rows every 20 pages
 
Yeah. My AR book had a few listings that spanned over a couple of pages :/ Couldn't find a way to cut those down. Trying to keep them smaller in this one.
 
Put them on the net and only show important parts in the book. Listings loger than 20 lines are never really "read".
 
There is actually not much code to talk about in this book
 
Everything's on the net as it is.
 
12:58 AM
But a lot of XML I guess
 
Yep
On other news: I, for the first time in my life, drove a car today :D
I thought it would be way more difficult. Was pretty easy actually.
 
Getting it to start moving is the difficult part. The rest comes naturally.
 
^
 
Sidenot: Gnome 3.8 is coming into [stable]-repos and I have no more excuses to not update my extension. Just when everything works...
 
I can't drive (legally) for another year here :/
 
1:02 AM
God I feel so old...
 
You are :P
 
haha :P
 
well. At least I can drive a car whenever I want
 
Hahah :P
Gimme a year. I'll catch up
 
You didn't state what you are driving!
I can too drive...
Bikes count ;) Right?
 
1:04 AM
I can't drive (or ride in case of bikes) any motorized vehicle for another year
Though Indian laws are a bit unclear on custom built vehicles. So if I built myself an electric car that's not certified as a car, even a new born could legally drive it (not physically though)
 
@RaghavSood can we remove the from the room and replace it with ? I wonder how long it will take Merlin and Reno to notice...
 
And add xkcd to it. I feel like my hand-chosen comics get left out haha :D
 
@LukasKnuth A few seconds, and then you're a dead man walking (or biking).
 
I'm willing to risk that
 
Okay fine then :D
 
1:07 AM
But keep the current order!
 
room topic changed to Android: Tales of the fight between green robots and nyan cats, in the realm of Unicornia. We can teach you to fish, but we're not giving out free tuna. Read the House Rules! mainerror.github.com/android-room-rules [android] [dogs] [lukas-made-me-do-it] [unicorn] [xkcd]
 
I do like that.
 
room topic changed to Android: Tales of the fight between green robots and nyan cats, in the realm of Unicornia. We can teach you to fish, but we're not giving out free tuna. Read the House Rules! mainerror.github.com/android-room-rules [android] [dogs] [unicorn] [xkcd]
room topic changed to Android: Tales of the fight between green robots and nyan cats, in the realm of Unicornia. We can teach you to fish, but we're not giving out free tuna. Read the House Rules! mainerror.github.com/android-room-rules [android] [dogs] [ukas-made-me-do-it] [unicorn] [xkcd]
Blah
 
Nice. Now, I'll wait.
 
lol
 
1:10 AM
We'll need to spam the chat so they don't see the changes in the history
 
Hmm. I can't seem to move those messages to another room :/
 
lalallalala
 
Removing the evidence would make it harder to notice :P
 
lalala adding some xkcds:
 
You get the bathtub, I get the chemicals.
 
1:11 AM
That worked.
 
 
Can't edit the older ones though :/
 
Who came up with the room topic?
I like it
 
I think it was Octavian
 
it's on Octavian's github, I don't know if he wrote it or not though
don't see him in here much anymore, but he pops in every now and then
 
1:14 AM
I googled "ridiculously big image" and decided that one:
 
4 messages moved to Trash can
Hmm. Didn't work out well either
 
> Raghav Sood has invited you to join Trash can. See your invitations.
2
 
Lol sorry
 
I think I'll pass
 
I can't select individual messages, so I had to select a set that contained two of yours :P
 
1:16 AM
They should change the string to "X invited you to join him in Y"
 
0
Q: Can't move or delete audit messages, but I can edit them in Chat

Raghav SoodWhenever a room owner edits a room's info, a message from the editor's account is posted into the room reflecting the changes. These type of messages are apparently called audit messages, as when you try to delete them you're told you can't delete this audit message. It is also seemingly impossi...

 
@LukasKnuth because there are no girls on the Internet?
@LukasKnuth Who is the girl in the pic?
 
It was an Olympic Meme...
 
she's on the gymnastics team or something I think
the US one
 
Out of curiosity I went ahead and counted how many women have write access for this room
6 out of 129
 
@LukasKnuth I didn't watch much of the Olympics this time around.
 
new Rule: everyone who has write access has to go recruit a girl to join, if you don't get one you lose write.
2
 
Yeah... Like you could find 14 girls on SO
 
@Ahmad *105. 11 have requested access, and 14 are on the ban list. The 129 is the total of everyone on that page
 
105.11? who are the fractions of people?
oh wait, I get it now =x
 
1:29 AM
Oh.. I thought these were not included
 
@LukasKnuth You can find 14 profiles with pics of girls...the question is are any of them really a girl?
 
hahah
 
I wonder what happened to nebulae
 
Or Paulina
 
1:34 AM
woot!
It still has a lot of bugs ;-(
or should I say "unplanned features"?
Do any of you publish apps on Amazon?
 
Not me, but I heard it's worth it. Unless Amazon picks your app to be the "free app of the day". In that case you'll get a lot of new users, but earn nothing.
 
Wow, they don't cover the cost?
 
So far most of my users on Google Play have only downloaded my free app anyway.
And I just barely updated my free app on Amazon. They are a little picky about the "version" string in the manifest file.
@eskimoapps.com Not as far as I know.
 
@eskimoapps.com nope, they just give it away
 
Screwing your developers seems like a bad move
 
1:43 AM
@Ahmad I'd be glad to pick up some new users with a "free app of the day". If it's good enough to recommend to their friends, then it will be worth it.
@eskimoapps.com It sounds like good advertising to me. If the app is good enough, the word-of-mout referrals will make up for the initial lost revenue.
 
the thought process is that by giving it away you get a lot of new users who may share it, and will hopefully will rate it. The ratings make it easier to get "real" downloads
 
that too ;-)
 
I understand that, but they should still cover the missing revenue. They are Amazon. It's not going to kill them
 
I agree
I haven't published on amazon, I got invited early on, but declined because it was $99 a year or something to have a publishers account
 
These apps usually get around 100k downloads. Assuming they all cost around 1 dollar = 100k/day
 
1:46 AM
with the invite I got an offer for first year free
but at the time I didn't have any money making apps (and still don't really)
 
@FoamyGuy When I signed up like 6 months ago, the publisher account was free.
 
nice, Im glad they got rid of that
anywho, class is over. later folks
 
glad you got a lot out of your lecture =p
bleh...I don't have my bank account number with me to give to Amazon...
so I can't publish my paid app yet ;-(
 
2:24 AM
It's android class, I am taking it for the credit, and to learn how to teach android more than I am to actually learn the course content
we watched an online tutorial on how to use checkboxes
I started and finished my midterm project during class
 
@luckyreed76 Welcome, on probation. Please read the room rules
Well, I'm off for a few days. I'll be mostly offline, for lack of a nice wifi or wired connection.
If anybody really needs me, you can whatsapp me at (+91) eight-one 303 double7 2four8
Have fun with that spam harvesters!
 
2:41 AM
Hi guys, I quick a questoin
 
That would be?
 
I have been compiling VLC for Android and I can't seem to get Eclipse to recognize the precompiled .so files specifically libvlcjni.so
and so it has errors when I import the files via a New Android Application
The sad part is I figured it out a while back but now I can't seem to do it again
@RaghavSood I actually have your app on my phone ha, nice stuff
and eclipse is not recognizing .libs/libcompat.a .libs/libvlc.a files .libs/libvlccore.a files
 
Sorry I don't have any experience with the NDK.
 
no worries man, there is not a lot of info out there on there. It has about 3,000 SO posts to SDK/Android 350,000
it is more of an eclipse issue then the NDK issue I believe
 
 
9 hours later…
11:38 AM
 
Classic:
And for your entertainment:
-1
Q: Cloning options in Java

user2023359I am wishing to use Cloning in my Java class. Can I please have some help with the different options available for implementing cloning?

 
 
2 hours later…
1:20 PM
I hate how Timing-Based code ALWAYS looks ugly
And when you want to perform UI actions from there, the fun really begins...
All this just for an auto-hiding ActionBar: github.com/LukasKnuth/bike-track/commit/…
 
1:47 PM
Shudders
Good thing i don't care about time based code :P
 
In this case I needed it...
Apparently, using the Camera in your app Sucks even more.
27
A: Deleting a gallery image after camera intent photo taken

PaulMy application requires me to call an intent to take a photo. The photo cannot be in the gallery but instead must be in a specific directory on the SD card. Originally I just used the EXTRA_OUTPUT, but I soon discovered the following: - Some devices use it completely and skip the gallery. -...

Anyone here ever worked with the Camera API? It seems easier to write my own camera-application than to use the intent
 
Currently no plans to use it
 
Since the differences across the platforms are so heavy, it seems like the better choice.
My second idea would be to simply bundle Googles Camera app in my application.
 
2:08 PM
would be logical to just refer to the included camera app
Hey @FoamyGuy
 
o/
 
Dafuq... I found a bug in the Smart Image View library
 
which library is that?
 
gimme a sec and I'll get a screenshot
That Image isn't for that article
This is.
 
did you print the url to log and pull it up on PC to see if you are getting the right url?
maybe error is in feed parsing, or however you are getting the url
 
2:20 PM
Hmm... I'll try output it to a textview
 
Also fwiw I've had good experiences with this one: github.com/nostra13/Android-Universal-Image-Loader
 
Ok... Well that's the problem!
 
2:59 PM
fixed it...
Damn that RAZR M image is big on a 3.7" phone
 
3:18 PM
Gah... My app crashes because the RAZR M image is too big :P
 
gotta down sample it
 
Normally It's done server side but sometimes people attach the raw image...
 
you can do it when you decode the bitmap too though on the android side
 
Good friday
 
hey look, they put me in a video game.
 
3:24 PM
Almost saturday for me
 
already saturday for me
 
I wonder if Jesus ever gets grumpy that we refer to the day he was executed as "Good"
 
@Glitch About time you show up
I've got to try the RC7 on my Note 10.1 @Glitch
 
Or just grab it off the market :P
 
eh... Installed lite
 
3:32 PM
Tomorrow i will tell my little cousins that ive hidden chocolate easter eggs all over their house
Sunday is 1 April lol
 
nice
 
3:55 PM
Monday :P
 
4:27 PM
 
5:12 PM
Hmm. this downsampling may be an issue as all i am doing is passing the smart image view a URL
 
 
2 hours later…
7:33 PM
so what i need is a gridview
which allows for nonuniform widths of children
 
I am going to jump from 5 mb/s to 50 mb/s
that will be nice
 
neat.jpg
 
7:55 PM
@jmr you mean something like this?
 
@Ahmad thatd be cool, yea
does that use an adapter?
i need one that recycles its views instead of just rendering all the crap on screen at once
 
yap with adapter
StaggeredGridView, it's actually developed by google, just not for the public yet
 
sweet, thanks mna
man*
 
no problem ;)
 
@Ahmad i actually need uneven columns, not rows
but it should work
i'll try it at least, maybe i can make some edits
 
8:03 PM
looks like its two listviews in a single scroller.
nifty!
 
@JMR oh, hmm yeah should be doable
 
@Ahmad the goal is something like this:
i have it working now via a scrollview + flowlayout
but its disastrous when it comes to performance
 
Ah I see
 
so i'll try it, dont know if it will work but we will see
eh, it requires a set # of columns
i'll have to rework that if i use it
 
I found something else. This might help: github.com/jacobmoncur/QuiltViewLibrary
It has uneven columns
 
8:15 PM
@Ahmad unfortunately no recycling
thanks for looking though
 
Oh :/
 
8:41 PM
0
Q: Will the optimizer prevent the creation of a string parameter if a constant will prevent it from being used?

Anthony TanasMy question is best made with an example. public static boolean DEBUG = false; public void debugLog(String tag, String message) { if (DEBUG) Log.d(tag, message); } public void randomMethod() { debugLog("tag string", "message string"); //Example A debugLog("tag string...

 
That question has a certain "uncertainty principle" quality to it.
 
 
3 hours later…

« first day (895 days earlier)      last day (4045 days later) »