« first day (2175 days earlier)      last day (2765 days later) » 

1:00 PM
so, service stops with activity. at least once, it does. then, it restarts.
 
no, it does not. A service has it's own lifecycle
facebook may have a different implementation than you have
 
killing the app has a different effect on a service than destroying an activity has
 
i am talking about samsung. they have widget of Active Applications. If i kill background activities that are paused with Home button, What will happen to service? sorry if i am asking same thing again
 
you cannot "kill" an activity, what it probably does is kill the app, and the service with it
 
1:06 PM
Tim is right app is killed not activity
 
ok. so, service is destined to restart then if app is killed.
right?
 
nope
 
that depends on what you return in onStartCommand
 
only if you so say
 
let me rephrase it, i meant "it will die at least once, (and restart if i said so)"
 
1:08 PM
when the app is killed, everything that is in the same process as the app is killed as well. A regular service lives in the same process so yes it is killed at that moment
 
1:22 PM
does it make sense now rup?
 
2:04 PM
sorry! my laptop's battery was out. yes, it does.
 
in my app, can i tell a user that google's share is 40% off the inAppPurchase?
wait! i will ask google support.
 
mr5
so I thought my whole life, 'diet' means the system/style of eating
 
why would you tell the user that
 
mr5
so, is there any English word for 'system/style of eating'
 
2:07 PM
fashion.
 
Manner/mannerism
 
i was just curious. because only us, developers, know about this side of google
 
> His manner of eating
 
Eating habits?
 
> His mannerisms at the dining table
That too
Though that could extend to type of food
 
2:08 PM
rup, it is not important for the user to know
 
Dunno if Mr5 is talking more about utensils/hands only etc.
@rupinderjeet47 It's irrelevant. You're expected to account for it in your pricing
 
I agree with Tim. "Eating habits" is probably the best.
 
haha
hey raghav o/
 
google </3
 
2:24 PM
o/
 
O/ HEY TRISTAN
 
Hey CF
 
whatsup
 
Working, you?
 
trying to install windows 7 on my dos based but to no avail
 
2:36 PM
dos based?
 
lol MsDos?
 
yes dos based
 
Is CF in 1995?
 
Just met Nana. :D
 
i purchased without OS
 
2:41 PM
YAY ADAM!
You better have taken a selfie...
 
NICE MAC
 
@ColdFire go with linux
 
Morning everyone!
 
Hi Naners!
 
Just met McAdam :)
 
2:43 PM
@ColdFire can you not just format the disk and install whatever you like?
 
nana, when are you going to come to me and hang out?
 
Right now... not.
Shhh, gotta pay attention.
 
Okay okay, I'll be quiet
 
o/
 
o/
 
2:45 PM
o/
 
@TimCastelijns whenever i try to install windows 7 i get some error and it has some hp documents i need those
 
if a live wallpaper is free, how does it earn? it have nowhere to show ads. right?
 
@netpork no i am not doing just development so no
 
o/
 
2:50 PM
o/
 
Getting to leave work in 30min wooo
man I love these Realm presentations
Watching them makes me wish I was good at presentations though
 
You watched the AS one from today?
 
Think I seen it posted but watching one from the other week
Libraries which this guy wished he knew about from the start of Android Dev
I didn't know you had to use GSON if you're using Retrofit?
 
Oh yeah that one is from a while ago
 
I've been meaning to watch it for a while
 
3:05 PM
Gson is optional for refrofit
 
Yeah I haven't been using it
been using JSON to POJO converter website though :D
 
I am content with AS generation :)
 
In general, if you are searching for Junior Android Developer position, how much should you know before hand? any specific topics?
> All of the API calling happens automatically so the developer does not have to worry about making sure the permissions are handled correctly.
i dont believe this. if it was true, why should developer ask for permissions using ContextCompat.checkSelfPermission()
 
permission handling is broken in marshmallow
should have been like ios
 
Isn't it?
 
3:19 PM
nope
in IOS permission dialog is automatically shown
in android you have to take care of that
 
Right, I remember
 
\oo
 
o/
 
and now this .....
 
do i have to ask/check permission everytime? or this just gets saved.
 
3:20 PM
You should be checking every time
 
everytime
 
It can be revoked
 
raghav installed OS on a dos based laptop?
 
oh my god. this is too exhausting.
 
have you?
 
3:21 PM
Not in a few years
Don't recall it being any different from installing an OS on any other laptop
 
this issue is killing me
 
drivers? :D
 
i get a driver not found issue everytime
 
Before or after the install?
 
internet shows it is a USB 3.0 driver issue
after the install windows screen
but i am using a USB 2.0 port
 
3:22 PM
2.0 should not require any special drivers
You should be able to use a 3.0 port as 2.0
 
yes that is what is insane
i tried the same pendrive on other laptop and its working
no fucking clue why it is happening
hp support is idiot tells me to try with CD
as if that is going to change anything
 
3:57 PM
Did you guys see this already?
 
nice read!
 
Now for my Kickstarter to raise $10 billion
 
Why settle for 10, why not 100 billion?
 
4:13 PM
lol
 
you need 10 billion to spend there too :D
and you need another 10 billion to come back
 
I'll make my own mars travel agency
$30 and you're good to go
 
lol
 
just sign this waiver please
 
eski nice idea
 
4:25 PM
this is a 2013 guide, is this still allowed?
 
IAP have changed quite a bit
It's still version 3, but I'd look for something more up to date
 
no i meant, is a donate button allowed in lieu of inAppPurchases?
 
a donation is an IAP...
 
i asked them on mail:
they said
> As per this doc, Google In-App billing(In-App purchase payment method) doesn't support One time-payments, including peer-to-peer payments, online auctions, and donations.
 
Well I've done it.
Years ago
Common sense would tell you that you can use in app purchases to create donation items.
 
4:31 PM
can i sell anything? like a paid badge. badge = TextView used to display that buyer is a supporter of app.
 
Sure.
You'll have to deal with taxes though
 
i dont want to get blocked out :D
google does taxes? or i have to do it locally?
 
use iap game over
 
@rupinderjeet47 start reading their policies, and google it
 
4:36 PM
CF - what do you mean?
eski - i read some of it.
and i will read more.
 
GJ
 
I now have two independent studies at school and am getting paid for work in both :D
 
nice tristan
 
why dont we get paid like that
 
4:49 PM
tristan, being a test subject in a medical experiment doesn't mean you are conducting a study
 
lmao
btw does anybody knows how many resolution images i have to keep for a background drawable ?
does 5 will be ok?
what about the other resolution?
 
if you're missing a resolution it just means the next closest will be used, might be grainy if you're missing high res drawables or it might take a performance hit if it needs to scale down high res ones to use on low res devices
@McAdam331 take a picture and post it on facebook so we can see what a banana man looks like irl
 
5:06 PM
BANANANNANANANANANA
 
there we go
you guys look like brothers
 
who is who please?
 
adam is the ugly one
 
I'm on the left
 
5:15 PM
and nana is the other ugly one
4
 
lmfao
 
got it. nice pic
 
posted on September 28, 2016 by Reto Meier

Posted by Hoi Lam, Developer Advocate Today we’re launching the third developer preview of Android Wear 2.0 with a big new addition: Google Play on Android Wear. The Play Store app makes it easy for users to find and install apps directly on the watch, helping developers like you reach more users. Play Store features With Play Store for Android Wear, users can browse recommended

 
Nana and Adam <3
 
@eski because it will cost 10 billion to go to Mars... but then I'll need some spending money, too...
 
5:25 PM
@nana you're in NYC right?
 
yes
 
can i ask for all permissions when my app starts running?
 
Yes rupin
 
You probably don't want to.
 
Like, he lives in NYC right?
 
5:26 PM
You can, though. But terrible UX
Close to it, yes.
 
So, when are you coming up to see me.
 
but, even if user declines one permission, my app will become useless. so its better to stop them at start page
 
just request all permissions Android offers even if you don't use them, that way you're covered
 
There is a former room15 member giving a talk at Droidcon, IIRC.
 
5:28 PM
This app would like access to your soul, would you like to grant it?
2
Waitwat
 
He's not active anymore and I'm not 100% sure it's him but I'm in his talk.
 
@McAdam331 which one?
 
Room 15, where great developers begin.
 
present user all permissions one by one. 5 of them. AlertDialogs.
 
We once had a guy from Branch.io in here, and I think it's the same guy who's giving this talk. I will ask him after.
 
5:29 PM
"where noobs become developers"
 
This room is basically the A113 for Android developers...
 
rofl Tristan
 
I'm pretty sure that's the truest thing I've ever said. Now I've officially told the truth more than Donald Trump!
 
@DaveS :)
@TristanWiley Yep
 
I might head up to NYC for a weekend, maybe go to a hackathon, idk. But we should hang out sometime.
 
5:37 PM
@McAdam331 Is it any good? The talk?
 
o/ nana
 
\o Dave
 
do i need to ask permissions below Marshmallow?
on all devices?
 
5:56 PM
o/
no, rupin, you get those permissions for free when you put them in the Manifest
 
so, i should wrap checkPermissions() with Build.VERSION.SDK_INT >= MARSHMALLOW. right?
and o/
~~Cliffhanger~~
 
thank you.
 
sorry, but I have actual work to do, so I don't check this chatroom with any regularity ^-^
 
god fucking damnit gradle is so slow if it's not doing instant run
 
6:03 PM
^^ its fair. thanks for your support.
 
unless I've put a sick burn on @codeMagic, in that case I pretty much just sit here and wait for his flailing response
 
Dave - mine is sometimes as fast as just 8 seconds and sometimes, its 10 minutes.
 
the 8 seconds is instant run
the thing is Eclipse with ADT was always 15 seconds or so
 
no, instant run is <2sec for me.
 
I don't understand why it takes 5 minutes to fucking build
 
6:05 PM
Eclipse was true genuine product, is free. google cheated him.
i wish they would have gotten continuous support.
 
@DaveS because China Team.
oh man are the running jokes in this room stale...
 
we need some new material
 
its hard to learn current material guidelines
jkjk
 
China team is so sick of Dave's shit that it makes Carl feel old, Mac lose his signing key, and codeMagic drink ass bourbon, so shut up Tristan, we're not all Ahmad.
4
there, did I miss any of them?
 
You forgot to tell Tristan to shut up
and that we are all not Ahmad
 
6:10 PM
ability++
 
and you forgot to put it in listicle form and ping jlin
 
too late to edit any further
 
still worth a star
 
@CarlAnderson uhhh, what did I miss?
 
6:14 PM
you missed me, I hope
 
pretty much every write request while carl is in the room with you
 
zing!
 
lol carl
 
So...I missed nothing. Good to know :P
Some of us have been working
 
haha CM
@DaveS That is what i am concerned about
 
6:16 PM
Luckily, our network and/or server suck so I thought I drop back in while things were frozen
 
haha
 
lol dave
no msg
 
I found this in Build.java :D
 
@DaveS ROFL
 
6:33 PM
@rupinderjeet47 can you tell the anime name once again which you recommended me earlier
 
Its Haru Ride (aka Blue Spring Ride), Japanese Audio version is better and HD, 12 eps, emotional, college students, about 4GB
4 hours of happiness, and then you will be haunted by loneliness again.
 
haha not quite
 
6:49 PM
ASDASfg`pasd
back
 
front
 
Gotta admit
 
top-bottom-left-right
 
7:00 PM
Didn't see that one coming
 
dave we are tired of your shit i guess
adam is not here to complain that
 
what is Manifest.permission.* equivalent for com.android.vending.BILLING
 
google
 
its not a permission by api
but, by play store.
so, checkSelfPermission(activity, String) will work. and is always Granted to developed app.
 
7:23 PM
that's not a dangerous permission, you don't have to request it
just declare it in manifest and you're good
 
they might change it in future? so, performing a check is valid maybe
 
no it's not
if they change it in the future, update it then
 
oh that seems good too.
 
o/
 
welcome back
i found out that i don't need to check about Internet, BootCompleted and this Billing permission. But, SystemAlertWindow wasn't among Normal Permissions. How is it dangerous?
nvm
 
7:49 PM
rup read the comments on the blog
Ian Lake is kind of an authority on the matter, so you can trust what he says
 
adam o/
 
anyone ever created a builder class? (I mean using the builder pattern)
 
yes
 
Ian Lake and "kind of authority"? He IS a fucking authority :D
 
Hello, Android
 
7:52 PM
yes, i got it. I saw him before too on youtube.
 
Hello code how many times are you gonna say it today
 
Hello, Code-Apprentice
 
Every time I log in
 
every time?
 
At least today
I think there are very, very few times I have logged in without my usual greeting.
 
7:58 PM
Yeah I have used it too warren
 
@McAdam331 no
 
and indeed hail Ian
 
triggering me how vectors keep resizing themselves.
how is everyone!?
\o
 
o/
vectors don't have a size, they only have a magnitude and direction
 
8:15 PM
I hated that about C++, the name vector instead of ArrayList
WTF is a vector doing storing lists of items?
 
that's like calling an iPhone smart Carl young
 
it must have made sense to some guy some time 30 years ago
 
o/
 
shave your beard carl so we can make baby face jokes instead of age jokes
 
java also has vectors
 
8:22 PM
ugh, so they do
 
I mean a vector image lol.
it keeps just deciding to resize itself when it's cramped for space even though I've set it an exact dp.
 
@DaveS they do have an element count though.
 
user457812
Finally got around to working some more on reimplementing my virtual machine.
 
9:11 PM
gn all
 
what part of that surprises you jlin?
 
Is it that the content isn't presented in list format?
 
Dave, you lil' bitch. Tired of your shit!
 
lol
 
9:22 PM
carl, i quite honestly had no idea that java generated so many synthetic methods under-the-hood. It's a really interesting talk
 
yeah, reading it now, its interesting. I knew about the implicit default constructor inherited from Object but I wouldn't have guessed there were two methods in the empty class
 
or with the inner privates etc. etc.
 
9:36 PM
> We can fix this. That is easy to do. We just have to not make something private. We have to make it package scoped when we’re referencing it across those boundaries. IntelliGate has an inspection for this. It’s not enabled by default, but you can go in and search for a private member.
 
9:56 PM
see you tomorrow guys
have a good evening
 
o/
 
10:13 PM
Introducing “G Spot”, formerly Google Maps
 
10:45 PM
o/
 
@TheLittleNaruto sup man
i was summoned =)
also o/
 
How's it going, Nate?
 
pretty good
how you doing code?
 
I'm hanging in there. Busy in all different areas which is kind of good
 
yea, better than the alternative
at least most of the time
 
10:55 PM
yup
 
Yea i'm in the same boat
got married a few weeks ago
and cyanogen's been kinda... interesting
 
haha, how so?
 
layoffs, tons of people quitting
 
Oh nice! Congrats! (to the married part :P)
 
etc...
thanks =)
 

« first day (2175 days earlier)      last day (2765 days later) »