« first day (2719 days earlier)      last day (2212 days later) » 
03:00 - 14:0014:00 - 23:00

bah
im still struggling with this firebase thing
 
morning room
 
3:27 AM
figured it out
i was just chaining promises wrong
 
4:27 AM
Hello!
 
4:45 AM
Good Morning
hi
how r u
 
Can we check how many activities are there in backstack?
 
5:07 AM
@JaiprakashSoni I am good, how are you doing Jai? It's been a long time.
 
5:24 AM
I am doing great
yes you come occasionally
 
6:10 AM
good morning
 
6:21 AM
20 main streets in barcelona closed today, plus two other highways, for 1h.
the workers of the biggest spanish bank join the demonstrations at Diagonal + ma Cristina.
 
hi
 
today's protests are centered in the detained political prisoners, the duchy of Franco, and the 6 neonazi assasins freed today without charges because "they repented".
 
It is really irritating when you ask a question in SO, but you don't get even a comment, leave aside an answer... <.<
 
what question?
 
0
Q: Stopping self created Activity with result

AfshinI need to start and activity for doing a job, but I like to make activity job cancelable. So I'm using a method as described here: Stopping another activity But there is a difference in my situation. I need to send result back from created activity. So I have set android:launchMode="singleTop" i...

 
6:25 AM
startActivityForResult should be passed an INT that is the resultcode
with that resultcode you differentiate
between any result sender
doesn't the IDE yells at you a red line for not passing the resultcode?
 
hm???resutCode is for starter of activity. My problem is how to differentiate in started activity.
I think?
 
onActivityResult, you will get the code as parameter
have you even looked at the @override method onActivityResult?
the result code is one of the params.
 
I know how to startactivity and check result in onActivityResult.
startActivityForResult
maybe I have written question badly... Let's assume Activity A starts Activity B for result twice. if Activity B has singleTop flag set, how Activity B differentiate between these results of these 2 starts?
 
set a different activity result reach run? dunno man.
 
thanks for help. I guess I go update question with something. Maybe people understand better.
 
6:34 AM
Goooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooood Morning Everyone!!!!!! :D
 
the biggest narco boss of europe detained in barcelona during a drug deal operation worth billions
> 1800 priests will be sent to spanish military bases to allow for soldiers to preach for jesus and spain. all of spain's bases flags will fly at half pole due to jesu's death.
 
:I
 
#21stCenturyCountry
:I
 
@Afshin why are you using singleTop if you need to differentiate
how can A even start B twice
 
6:52 AM
o/
 
today marks the anniversary of the removal of the military service in spain
and the radio is full of people speaking about how shitty it was and the shit they had to do on it or to skip it
:D
 
@Afshin afaik singletop doesnt work with startactivityforresult
morning eric womp and timmy
 
morning colderz
 
lol
i made you name better and you made my worse :(
 
sorry T-Cold
@MatthieuMeunier you need 80+ rep to be given access here
 
7:01 AM
what is the t for? :(
 
Hiya CF, Tim!!!!!! :D
is that a reference to Ice-T??
 
T-Pain maybe
 
no idea
sup womp?
 
not much
black magic is happening in the bowels of this php shit thingy
yesterday didn't work, today does, and i haven't touched anything
 
wow php and magic nothing surprising i guess
 
7:03 AM
it's part of the language definition is it not?
 
¯\_(ツ)_/¯
 
roads open again after 3h
the spanish IBEX has lost since january everything it gained in the last 3 years.
 
wow
what is the fuss about?
 
look @ yesterday morning :D
don't wanna explain again
 
lol ok
i thought its something new
i knew the yesterday's
 
7:14 AM
same thing, but gaining force :D
 
any pearl jam fans here
 
who is he?
 
\o
so since when is AS 3.1 stable?
 
@ColdFire thanks for info. I tested and noticed it too. I guess I need to think of another method for my situation.
 
since yesterday warren
 
7:25 AM
aye, thanks
 
@ColdFire it's a band colderz
 
that name :/
 
what is pearl jam
sounds like a food brand
 
yeah yesterday it was released 3.1
 
come on dudes
nobody knows pearl jam? I bet warren knows them
 
7:28 AM
i don't know them, srry :(
 
you know this song right
 
no
 
everybody knows this song
 
listening rn
nope, sorry.
 
7:39 AM
it's your fault for listening to weird stuff man.
 
@CarlAnderson help
 
on another note , some students in mumbai, india are protesting against gun control laws in US
facepalm
 
Guys, I wonder what is best approach for getting user input from a service? I know I cannot use startActivityForResult() from service and I need to use an intermediate activity. But now I can think of two different approaches. One approach is using an intermediate activity to run and get user input using another activity and return it to Service. Another approach is just showing an AlertDialog in intermediate activity and send user input back to Service. What do you think is better?
You can think of OTP as user input which need to be send to a Service.
 
7:56 AM
LocalBroadCastReceiver?
 
@Raghunandan You mean send quest via a broadcast and handle it with LocalBroadcastReceiver? hm...Interesting approach and I didn't think of....:) Thanks for suggestion.
And what do you think after that use another or just use alertdialog?
 
wait a minute. you want to communicate with the service?
 
anyone worked with geofencing?
 
nope eric
 
8:01 AM
you use a binder
and not a broadcaster
 
@Raghunandan yea, Think of it like this. Service needs to get OTP from a user. I need to show a dialog and get OTP and send it back to service.
 
then use a bounded service. you can send and receive info
 
@MuratK. I currently using binder.
 
Then you have everything you need?
 
8:03 AM
@MuratK. problem is that your activity itself may be closed but service is running. So binder is not usefull here.
 
if your service is running but there is no activity running then it makes no sense to require user input
 
@TimCastelijns yea, problem is somehow this, But I need to do it. Currently, I have set singleTop on my activity and when I need user input from service, I use startActivity() and send an extra via Intent to show that I need user input(OTP).
 
so then you have an activity
bind to service when it starts
 
Yea, I have a main activity, but when OTP is request, it may be closed.
 
shove the user input data through the connection
 
8:08 AM
Why does your service need an input after it started? I don't get it
 
may be he uses service for otp authentication!
 
@MuratK. it is exactly what @Raghunandan said.
 
why does that matter
 
And it is not my design, it somehow something badly designed for android and I'm porting it into android.
 
why can't you use a normal background thread for authentication and avoid using a service?
 
8:11 AM
@TimCastelijns yea,currently doing this. I show an AlertDIalog for getting user input and send it to service after binding. But I wonder what is better for getting user input. Start a secondary activity or just use AlertDialog(as I currently do). Design-wise?
@Raghunandan As I told, application is very badly design for android. Cannot do it.
it is a old application (when there was no android), so porting it into android has a lot of irritating problems.
 
design wise you should not use dialogs and just put an edittext in the activity
 
@TimCastelijns at main activity or a secondary one?
 
o/
 
at the one you start when you need the input
 
careful with the pings afshin
 
8:16 AM
oops sry :s
Ok, Thanks a lot for help. It was great. :)
 
Tim, ready for some quiz about Venlo?
 
still not sure what the problem is
 
the UN high comission accepts our ex president's request of protection of his rights as representative
 
will that help him?
 
what about venlo lol
 
8:21 AM
lol what is venlo?
 
ok, here you go: "Wer hat die dicksten Eier von Venlo?"
 
Venlo (Dutch: [ˈvɛnloː] ( listen)) is a city and municipality in the southeastern Netherlands, near the German border. It is situated in the province of Limburg. == History == === Early history === Roman and Celtic coins have been found in Venlo; it was speculated to have been the settlement known as Sablones on the Roman road connecting Maastricht with Xanten, but the little evidence there is concerning the location of Sablones speaks against this thought while there is no evidence in support of it. Blerick, on the west bank, was known as Blariacum. Documents from the 9th century mention Venlo...
is this the one^
 
o/
CF, yup
 
i'm so tired
 
8:23 AM
o/ mark
 
you confuse me for a german
 
idk how I was awake later this morning than yesterday, like I slept for an extra hour
 
certainly not
I confuse you for a Dutch who understands German maybe
 
I do, but I am not familiar with the joke
 
anyway, nice city
 
8:25 AM
you were there?
 
yup, been to the market
where "Onkel Jacob" sells cheese and eggs (hint, hint)
and had some frikandellen speciaal
 
Hiya Cygery, Mark!!!! :D
 
o/ Womper :)
 
!/meow
 
8:45 AM
/o
 
o/ w0mp
 
@cygery nice, did you try some?
@VicJordan you have access. Start by reading the rules and confirm you have read them before saying anything else
 
anyone using firebase analytics?
Nvm must have been a weird gradle issue
 
cc @trevor
hahah
 
9:02 AM
@TimCastelijns yes, they were good :)
 
niceee
 
user443346
I have read and misunderstood the rules
 
welcome
 
user443346
9:18 AM
:D
 
user443346
I'm Jordy, nice to meet you guys
 
that's a nice name
@DeepakBorade you need a Q:A ratio of 4:3 or better to be given access here
 
user443346
Well thanks, what a friendly community
 
user443346
I like yours too "Tim", short but powerful.
 
yes, we are very friendly to people who come here for the first time
 
user443346
9:26 AM
oh.. just the first time?
 
@kirankumar you have access. Start by reading the rules and confirm you have read them before saying anything else
@DeepakBorade stop requesting access while you don't meet the requirements
@VicJordan access revoked for not responding
man I should get paid for all this work
 
user443346
paid for something a kid could do
 
user443346
lololo
 
we can ask raghav to summon the bot again to do this job.
 
the bot is dead
long live the bot
 
user443346
9:38 AM
raghav should stop wasting his time in crytocurrencies and fix the bot asap
 
I think there is like an unwritten rule that the newest RO has to do all the work
 
user443346
I think it's because you fulfill the job as soon as a new member connects
 
user443346
And the others are like: "Hahah, let stupid Tim do it again"
4
 
:D
 
could be
thanks for the feedback
 
9:55 AM
@RaghavSood rumours BAT will be added next to Coinbase
ERC20 tokens being added to coinbase
BAT's price has been steadily rising
Going to pull the trigger tonight in getting more LTC
 
RIP savings
 
I never put savings into crypto
spare cash
Didn't have much spare cash the past couple of months, so haven't put more into it
 
user443346
Cocaine actually keeps it's value
 
user443346
Best currency Mark
 
It's like anything, price is ultimately dependent on demand and supply
 
user443346
10:01 AM
I think the demand for cocaine is higher than cryptocurrencies :P
 
user443346
In The Netherlands for sure
 
@MarkO'Sullivan yes
 
user443346
Or invest in frikandelbroodjes
 
user443346
Tim and I keep the demand high as fuck
 
Want to freak yourself out? I'm gonna show just how much of your information the likes of Facebook and Google store about you without you even realising it
nothing new still freaking^
 
10:06 AM
TIL there is a difference between [stuff] and stuff[] stackoverflow.com/questions/36741917/…
 
user443346
I don't really care about my personal information
 
user443346
Big brother is watching you no matter wat
 
10:17 AM
Android Studio 3.1 is installing my app as soon as I tap run. And, changes are not effected in the app. Why isn't it building gradle anymore?
 
not sure. but is instant run enabled or disabled?
 
I have to rebuild and run everytime. Instant run is disabled from ages.
 
it works on my machine. No need whats happening at your end.
 
I press that green-triangle-run button, and it installs app in less than 2 seconds
 
10:44 AM
help
0
Q: Typescript: How to map over union array type?

Murat K.I have the following structure: interface Test1 { number: number; } interface Test2 extends Test1 { text: string; } let test: Test1[] | Test2[] = []; test.map(obj => {}); // does not work I am getting the error: Cannot invoke an expression whose type lacks a call signature. Type '...

 
@MarkO'Sullivan is spare cash not the definition of savings?
 
@TimCastelijns do you not spend your money on things other than necessities?
 
always i guess^
 
not really
 
Never buy a coffee or go out for dinner?
 
10:57 AM
dinner yes
 
what about weeds and other things expense like parties?
 
not all dutch people smoke weed you know
 
yeah that is why i asked
 
someone answer my question pls
 
user443346
@TimCastelijns And that's where you're wrong kiddo
 
11:36 AM
3.1 has a major bug for me
I can't navigate from my binding variable to the xml layout
it creates an internal crash... 96 times today and counting
 
user443346
Good thing I didnt press update this morning
 
I'm way ahead of you guys 3.2 canary 8
I've seen the future
 
user443346
So you rolled back :d?
 
lol
 
I saw a bunch of other bugs of AS 3.1 this morning
reported by others
 
11:46 AM
the issue board is a joke... there are 90% of the first 100 opened issues just contain the issue template
or sentences like this
> if we are using binding previous version it redirect navigate to layout but latest version this function not yet find.
 
in generics, although syntactically correct, does it make sense to write e.g. <T extends Response<R>, R>? Note R is introduced after it is used as type for Response
 
sure why not
 
it looks odd that R is used before it is introduced
 
12:02 PM
Lunch time!!! :D
 
it is going to be erased anyways
no difference
 
true
 
12:24 PM
yes, I changed it to fun <T> Single<out Response<T>>.processResponse(): Single<T>
in Java, 2 mins ago, by hexicle
sounds like a pickup line lol...
`fun <R> Single<out Response<R>>`
"wanna have fun i'm single lets go out whats your response"
2
lol
 
Response is stay single.
processResponse(): Single<T>
 
back~~ :D
 
lol
 
i can't figure out what's using my main thread
i mean... my app suddenly crashes all the time because main thread is used up but
 
12:32 PM
I like how Tim went to the java chat room asking that, because he sees us as plebs
 
@rupinderjeet found a solution? I now start to get the same fucking thing... last build 10 min ago though I switched branches less than 10 minutes ago
 
to be fair, almost nobody here does actual android development. They helped me out
 
me doing android
 
@WarrenFaith stackoverflow.com/questions/49505929/…. Does this help?
 
indeed, thanks
 
12:55 PM
@TimCastelijns i do :(
murat true
 
he did not even retract the plebs statement
 
@Raghunandan indeed i have seen this issue in 3.0 too
 
@TimCastelijns hiyaaaa o/
 
I'm an Android dev, meanie :(
 
1:07 PM
*pleb
 
lmao
 
I'm an Android pleb
 
wait found the issue :/
 
yes you pleb
 
@MuratK. rude to call Tim a pleb
 
1:20 PM
Was it shared that AS 3.1 is out?
 
he thinks of us as plebs
 
you are plebs
 
lol
yes adam you are late as always
 
damnit
 
just saw your fb post too :D
 
1:26 PM
@AdamMc331 yes, also that it contains a myriad of bugs
 
@Adam I used my first crossinline today
 
Hey, is there a way for me to load and run a method in a .jar or .class file that is not inside the apk?
Tried using URLClassLoader without any success
Tried JCL also without success
 
Hello can we do this operation without asking our username and Password?
https://javapapers.com/android/android-email-app-with-gmail-smtp-using-javamail/
 
you cant run a jar on android
 
1:39 PM
Then is there something i can run outside of the main app?
 
user443346
@MuratK. You can with JBED
 
user443346
;)
 
scetchy third party apks
 
why do you want to do this in the first place
 
user443346
Doesn't make your statement less false Murat
 
1:41 PM
the plan was to have a way to update parts of the app with the minimum traffic
without using the playstore
 
user443346
So you want to update your app without the play store?
 
not the whole app
just a part of it
 
boss asked to -shrug-
tried to decompile the app, change the files and compile again, wouldn't work because not all files might be 100% decompiled and no clue how i would compile it
then i got a different idea to load the classes from other location where i could change them easily
 
you could look into delta updates
 
1:48 PM
did you ask your boss why
 
because if there is an error on some part or they need to change something remotely on the fly, automatically
and using the less traffic possible
 
it would also slow down the app
 
loading all the classes from elsewhere? yeah i'm aware
 
also unnecessary traffic
 
i'm trying to reduce the traffic
 
1:54 PM
sounds like hacky tacky workarounds
 
basically you are trying what google is doing with delta updates
 
pretty much
 
03:00 - 14:0014:00 - 23:00

« first day (2719 days earlier)      last day (2212 days later) »