« first day (2348 days earlier)      last day (2589 days later) » 

11:00 AM
easy to write, easy to use
 
the QueueSystem is a Singleton now of course
 
could be just a static class tho for what it takes
 
@RaghavSood thank you, in theory that's sort of what I had planned
 
soo you're good to go. :P
 
if (!PENDING) { requestFromServer(); } else { annoyEricAndTimWhileWeWaitForData(); }
 
11:01 AM
but I think my QueueSystem simply isn't doing what it is supposed to do at the moment
 
you didn't have any issue at first
this was too OZ
 
The Android ecosystem is still so darn confusing to me at some times, makes thinking about the big picture harder than I thought it would be
 
Wait till you discover Fragments
 
Thank you guys very much!
Oh, I have a lot of Fragments already ;)
 
fragments aren't hard
if you don't care about their lifecycle at all
 
11:03 AM
those seem relatively fine to me, but I probably didn't nearly use them to their full capacity yet
 
It's not so much so as hard as much as it is "I'd rather become a rice farmer in the Sahara"
 
I write PHP for a living, I'm used to that feeling
 
there's things way harder
like.. yeah PHP.. or bluetooth
bluetooth is "i'd rather herd goats on the tibet"
"on top of it without oxygen, to be concrete".
 
My condolences, GNI
 
glad to see adam's still on the newsreel
 
11:18 AM
thanks, but it's not that bad ;)
another newbie question: I have Android Weekly and AndroidDevDigest subscribed, are there any must read blogs or resources that you guys could recommend?
 
Who said that forsaken word?
@GNi33 fragmented podcast and android developers backstage podcast
 
noted, thanks
 
11:43 AM
what are we discussing about
 
php
 
hmpf, rxjava 1 upgrading to rxjava 2 is no fast and easy task 😒 totally new API
 
see that's why you don't RxStuff
 
no you just do not wait until you are forced to update asap
 
12:02 PM
did i read php??
 
yeh
 
^
ewwww php
peeehaaa brat will arrive soon now
 
so much hate D:
 
:D
 
12:14 PM
!/meow
 
12:25 PM
Word
 
@RaghavSood :|
 
\o
 
o/
 
1:01 PM
Quite this morning
 
Quiet ?
 
Yeah - no one talking since I got in :) Is it me?
I'm running the apk-analyser tool now I've spent 2 weeks doing refactoring on the pre auth section of our app.
 
Lunch time!!!
 
Hoping to see a difference :)
 
No, it's not you, but if you could leave so we may speak again, that'd be great.Thanks.
 
1:03 PM
:(!
 
c'mon dude, show some altruism and leave
 
Okay....
 
@Nazimch Welcome. Please read the room rules before participating room-15.github.io
 
cM you are early today
 
I usually check access when I get in then run off for most of the day
There just happened to be someone on the list today
usually botty has been taking care of it but I think he's on holiday
 
1:12 PM
ok
 
Not as many people cared about that as I'd hoped to be honest.
 
Cared about what? I care
oh, I see
 
Hah
Why is it so difficult to generate a debug apk these days?
 
because AS
 
!/tell codeMagic flip
 
1:24 PM
@codeMagic (╯°□°)╯︵ ┻━┻
 
Little bit - Can't even build with Gradle, I get a crash on Proguard o.o
 
!/tell codeMagic flip
 
@codeMagic (╯°□°)╯︵ ┻━┻
 
awesome command^^
 
And running it creates a *dirty-debug.apk with a weird class structure when you decompile it. Not sure what's dirty about it
 
1:27 PM
for @Graeme, sorry I was mean
 
D'aww :) Thanks
Kind of hope that's photoshopped o.o
 
It isn't, it's Koko and "her" cat
 
Who thought it was a good idea to give a Gorilla a kitten to play with?
 
Koko is the famous gorilla who was taught sign language en.wikipedia.org/wiki/Koko_(gorilla)#Koko.27s_pets
 
I have too much credit available :(
 
1:30 PM
> In December of that same year, All Ball escaped from Koko's cage and was hit and killed by a car. Later, Patterson said that when she signed to Koko that All Ball had been killed, Koko signed "Bad, sad, bad" and "Frown, cry, frown, sad". Patterson also reported later hearing Koko making a sound similar to human weeping.
:'(
 
I know right :( I just read that too
 
youtube.com/watch?v=PZG0MgCSZ2g right in the feels...
 
OcuS told me to leave and then when I came back made me cry :P
Mean!
 
yeah mean Ocus
 
!/tell codeMagic flip
 
1:39 PM
@codeMagic (╯°□°)╯︵ ┻━┻
 
o/
 
WTF >.<
Why is this so difficult! This should have taken me 5 minutes. I've spent almost an hour and a half trying to make an APK
Created a fake keystore, built with keystore, all fine... apart from it isn't in the output directory...!
 
henceforth, you shall once again be known as Junior developer
 
SAVAGE
 
1:48 PM
And here I am on vacations, watching you struggle with that APK
 
The dutch did it again
 
Tim XD
 
I shall be once more known as Destroyer of Android Studio!
Pile of crap
 
Graeme, don't listen to Timer, he only thinks clockwise
 
>.<
Heeeeeeeeeeeelp meeeeeeeeeeeee
I just don't get it! Why is it building fine, reporting a success, saying "Open APK location in finder" and by the time I get to the output directory it's gone?!
 
1:51 PM
do you create a signed apk?
 
Apparently :P
 
there are differences :D
 
"Build APK" is giving me this "dirty" apk which I can't bokmal
 
What's the general opinion on constraint layouts? Stable enough to use them now? Better than other layout components?
 
signed apk: you can choose the location where the apk should be. Default should be your module directory
 
1:52 PM
"Generate Signed APK" is building fine... but then it doesn't appear at the end
 
I'm about to do another design for a screen and I'm tempted to do it with constraint layouts and see what it's like
 
well it is not been put in the output directory!
 
Warren - Yeah, even specifying a different output directory it isn't actually outputting it o.o
 
check where you are generating it to
 
Done
It just isn't there
 
1:53 PM
hm... permission issues?
 
It isn't anywhere
No, no error anywhere o.o
This is why I'm going crazy
 
I am trying to find the reference why you called me Timer warren, but I can't find it
 
which version of android studio graeme
lol tim
mark sure go for it
let us know if it works for you
 
Okay I'll give it a shot
 
2.3
 
1:55 PM
graeme i have seen a bug report of export apk not generating in one version of AS
it was between 2.2 -2.3
probably some beta version
 
I'm on the latest version, just checked...
 
well i use 1.5.1
no issues whatsoever
apart from build successfully with 1 error always
 
Seems the origin is that message:
Dec 15 '16 at 10:44, by WarrenFaith
Some are decent people, some are Dutch... and then we have Jordy. ~ This message is approved by Timer Castelijns
 
Trying it directly through gradle :P
 
yes but there must be something before that
 
1:58 PM
Although I tried that earlier and it died on Proguard....
 
LUNCH DONE!
 
Dec 15 '16 at 10:32, by Jordy
Guess I'm taking Tim's side for now :D, wouldn't a timer be way too resourceful?
 
veggies and a lamb steak
 
Dec 15 '16 at 10:33, by PeeHaa
@Jordy We like to call him Timer Castelijns for a reason ya know
this is the source^
 
there is not "timer" before that
 
2:00 PM
yes this is it
 
So, what task do you use to generate an APK?
 
:)
gradlew something
 
back~~ :D
 
Maybe for some reason my AS is set to use the wrong task? And it's assembling but not packaging the APK?
 
assembleRelease or something
 
2:00 PM
CF - Thanks :P
 
Well this is pretty tricky to covert an existing layout to Constraint Layout
 
I'm using assembleAutoAccountDebug
 
32
A: Android Studio: how to generate signed apk using Gradle?

Wayne PiekarskiIt is possible to take any existing Android Studio gradle project and build/sign it from the command line without editing any files. This makes it very nice for storing your project in version control while keeping your keys and passwords separate: ./gradlew assembleRelease -Pandroid.injected.si...

@Graeme
 
Since I want the debug copy of my AutoAccount build variant
 
Debug != signed
 
2:02 PM
@MarkO'Sullivan there is a direct option to do that
 
when you need debug, you can simply run your app once and copy the apk out of the output directory
 
there is autoconvert option there mark
 
I know it's not signed if it's debug :P
Well, technically, it is signed, but with the AS debug key
I don't care about how it's signed, I just don't want it to have been horribly mangled by AS so i can do some apk analysis on it
 
Yeah I just tried it, still not great so I'm going to have to do manual tweaking
 
use eclipse, it is the best IDE for android
 
2:05 PM
but I can't actually create any apk apart from the one generated by "Build APK"
Which is the fudged one
If you guys are using 2.3, can you see if you can create an APK....?
 
I can
 
I have used 2.3 since alpha, it has always worked
 
I have no clue what you mean by "mangled"
 
oh wait i have 2.2
 
2:06 PM
transformClassesAndResourcesWithProguardForAutoAccountRelease - Failed with Exception IOEception NullPointerException
 
o/
 
GRGRGRGRGGRGRG
 
build apk creates the apk for your buildvariant
 
that sounds like enterprise java development there graeme
 
2:07 PM
It does, but it splits the APK into several mini APK's internally
 
disable instantrun? sounds like a shitty "solution" for instantrun
 
Yeah, that's what I thought, disabling instantrun doesn't fix.
 
Hello, as my understanding higher level android APIs does not need to support lower level apis. So it means android platform APIs will not bloated over time? Does it stay lean?
 
never seen several mini apks beside the bundled wear
 
\o
 
2:08 PM
That exception was from running the command in the answer you posted btw Warren
let me go chmod 777 some files and try again...
 
o/
 
Gradle runs as the user you're on right?
 
yes
 
@Teomanshipahi "bloated"?
 
@TimCastelijns meaning, higher level APIs do not need to support lower level APIs or obsolete libraries.
 
2:17 PM
you said that already, I don't understand the question
 
@Nazimch removed access for leaving without talking. Feel free to request again
 
In which case, if I sudo Gradle, there aint nothing it shouldn't be able to do...
 
The question is, over time, while android APIs evolve, they do not need to carry & support lower level APIs and it will keep platform compact as possible right? I could not confirm it while reading docs. @TimCastelijns
 
regardless of your question about the api levels, android is extremely bloated
 
2:24 PM
As a general rule, you should expect deprecated stuff to disappear over time
 
it takes quite a while though
 
It's extremely unusual for stuff to disappear without being deprecated for a few versions before, unless it was a major security issue
I feel like that's happened once or twice, but can't remember for certain
 
what deprecated methods have been removed?
apart from security issues
 
none to my knowledge
 
I don't know of any either
 
2:27 PM
adam had a rant about one not a lot ago
 
imageview.setBackgroundImage or something has been deprecated for like 3 years and it still works
 
why they deprecated it?
 
A few are listed as removed here
 
> Apache HTTP Client Removal
oh yeah that
 
Just checked out Google's Constraint Layout example and it doesn't load up in AS...
-_-
Or maybe I set it up wrong
I'M AN IDIOT
10
 
2:36 PM
Insta-star
 
Thought I'd take a leaf out of McAdam's book :D
 
You're a fast learner :P
 
10 stars to be the 2nd.
good luck
 
It'd be funny if half the starred posts was "I'M AN IDIOT" for any newcomers to the channel :D
 
apache http client was deprecated in 22 and removed in 23
 
that was kinda fast removal
 
When was 22 and 23 released though?
 
i dont know maybe 2014 and 2015
 
like 2 years ago
 
anyone started testing with 7.0?
i have 2 weird issues with 7.0
these 2 issue are killing me
 
2:52 PM
Testing? I am living with 7.1.1
 
have you encountered any of the above 2 issues?
 
show some code to at x.x.x.MainActivity.onResume(MainActivity.java:261)
 
its call to super.onResume();
 
i've had 7.1.1 since a week ago
first phone in spain to get it
 
i got till here
try {
return ActivityManagerNative.getDefault().isTopOfTask(getActivityToken());
} catch (RemoteException e) {
return false;
}
this return method is throwing the exception no idea why
:/
both exception are only thrown on 7.0
i also tried with 7.0 emulator didnt got it to crash :/
 
3:00 PM
fatal?
 
> ActivityManagerNative.getDefault().isTopOfTask(getActivityToken());
what the hell does that mean?
 
its inside the android activity source code
perhaps it check if activity is top of stack
 
maybe there's no super?
¯\_(ツ)_/¯
 
if you dont call super there is another exception thrown
no super called something
 
o_o
burn your phone
get a new one
rinse and repeat until solved
 
3:05 PM
its not on my phone obviously
i dont have a 7.0 device
that is the reason i am unable to test it
 
> android.os.NetworkOnMainThreadException
 
Constraint layouts definitely seem to be drag and drop kinda layout creators
 
wow that one I haven'T had in ages
 
not sure if it'll be quicker or not
 
well try it mark
 
3:09 PM
From what I've seen the constraintlayout editor creates a bunch of mumbo jumbo XML
 
wow people still have problems with this
someone create a bot that autoresponds to these questions
 
damn 2 out of my 3 device not in list of 7.0 update
fuck lenovo
 
@TimCastelijns it definitely seems that way. I hate using these drag and drop layout editors. Much prefer creating layouts within the XML editor.
Got my first layout completed using Constraint Layout. Probably will be better for tablets / horizontal orientation than the previous way!
 
I prefer manually writing my layouts too
I've always done it that way
 
^^
anybody purchased one plus 3T?
 
The idea behind Constraint Layouts is cool, like having everything move due to anchors / constraints depending on the screen size.
 
I did @ColdFire
 
3:43 PM
is the phone good?
what is your review
 
Is anyone else really fussy with the property order in XML layouts? I have to have the ID always at the top (apart from style="<style>")
 
it is still too big (I prefer 5" max) but beside the size I like the rest very much
the charging is freaking fast
 
oh nice
i was thinking of purchasing a nougat device
and device which will get update fast
 
I got 7.1.1 a few days ago
 
get a nexus if you want fast updates
 
3:46 PM
nope mostly i hate nexus
 
or two 3T for the same price :D
 
hehe true warren
 
Just saying that OP devices do not get updated "fast"
 
i would buy a nexus if its 100$
i need it mostly for testing
 
Samsung Galaxy S7 got the 7.0 update this month. My device was sold in december with 7.0 installed and 7.1.1 released last week
so OP is still faster than Samsung...
 
3:50 PM
holy shit pixel is almost 2x 3t with only 4gb ram
not worth it :/
 
compared to OP, nothing else is worth it :D
2
 
hardware specs of the 3T are mostly even better than the pixel
 
yeah
 
@W0MP3R andromeda even cheaper
 
A few time ago, I applied to a position and got a call from the company, so I had a technical interview which was close to stupid
the guy sounded like a beginner so I said it's fine I'll keep answering
 
3:54 PM
@ColdFire BQ x5 Plus
it's the cheapest
 
he hit me with 51 questions (confirming that he has no experience interviewing)
 
i have already 6 android devices
 
thinking another purchase is worth it :/
 
good for you! - Eric
 
3:55 PM
what's the diff between a fragment and an activity, a list and arraylist, what's a stack, what do you do for networking on apps and I laughed and he was saying I know, I'm sorry but I have to ask XD
 
thanks
 
wait what 28990 Euro
that is insanely costly
 
289,90
 
is the phone made of gold
 
today I got a call from their HR saying that I wasn't accepted, I asked her "out of curiosity, what went wrong on the technical part?"
she said: "nothing, it went very well"
XD
 
3:56 PM
the comma is as big as my thumb
 
oh its 289.90 euro
 
lol
 
then what was the problem mehdi?
 
@TimCastelijns not necessarily true, WileyFox is good!
 
we use commas for decimals here
 
3:56 PM
i forgot you weird spanish guys
 
I have no idea Tim XD
 
:D
 
@ColdFire Or any other sane country / language
 
haha
 
you mean insane
 
3:57 PM
No no no
 
well it's my phone and i'm happy with it
 
Drunk, but sane
 
and i reccomend it to eveyrbody
you can get 3 of 'em for the price of a pixel
 
eric its quite costly if i convert it to INR
 
i'm happy with mine x3
 
3:58 PM
she responded like a robot 3 times "the interview went very well, but we had candidates on a more advanced stage of the process who were a closer match" :D
 
womp which is yours?
 
the prior edition
aquaris M5.5
 
it's a bit big for me but meh...
 

« first day (2348 days earlier)      last day (2589 days later) »