« first day (2286 days earlier)      last day (2887 days later) » 

16:05
textbook rookie OP
asking the wrong questions
@TristanWiley shame on you stackoverflow.com/q/11125585/1843331
4
@TristanWiley does iOS dev? :o blasphemy
traitor!
rup, I recall you being fairly new to android dev, how is the learning going?
16:10
that bad and you should feel bad
tristan*
2012 Lmao
the question is almost carl old
allright, his activity is called logIn... oh snap
abort mission :P OP beyond saving
7
I am enjoying it, but there are times when I think programming is not for me. Sometimes I think carpenter's job is easy. I need to learn it, I am just throwing random arrows now.
I am just based on stackOverflow.
What do you think the rest of us are doing :) we just google stuff and copy paste everything together
16:13
@RaghavSood ohhh
i had to dig to understand that ooh.
don't forget the try catches tim.
> there are times when I think programming is not for me
Oh man the amount of times I've thought that any time I do anything with BLE
but, you guys know a lot too. I am planning to reach there, but i am slow.
i wonder why i never thought that mark
BLE + negative comment, take my star
16:16
anyone have any experience with hacking / rooting for android; I just got a task to prepare and teach some people from police about rooting and forensics for android. Not much experience with that, though. :(
i have rooted my device , but that is all
Use Odin :D
Truth of the matter is if I wasn't doing programming I probably couldn't do anything else. I like producing things through code and get enjoyment whenever I get something working and people are using it. Whenever I made my first app it amazed me to see people actually using my app and giving me feedback on it.
rup, it takes time, don't worry about that
@MarkOSullivan94 exactly
16:17
Rupin, practice, practice and more practice, it's the same for everyone
yeah, time is the problem.
I think if I wasn't doing what I was doing I'd seriously consider joining the police because it's decent pay and retirement plan is supposed to be good
If there are 1000 things you can do in android, I know a lot about 3 things, a bit about 20 things, and never heard of the rest
i always thought programming is the right and best choice for me
16:17
^ (Tim) that sounds like me :D
like us :D
I am hearing new terms all the time, and asking people what they mean?
Tim same for all only some numbers here and there
an excellent way to learn about common android things is to open SO and order android questions by votes
I learn a topic from documentation every weekend and try to use it in my app if I can.
16:19
@rupinderjeet, the good thing is that you're hearing new terms, which means you're well surrounded, which means you'll ask questions or google, which means you'll learn a lot of stuffs, which means you'll be good
I'm tired... you get the picture
that sounds excellent rup
rupin you get the chance to learn from so many people here
@rupinderjeet it is tough because they already have some commercial apps for android forensics but those apps are not working on android 6 or 7 phones.
@netpork why not?
I know, that's why I am here 18x7
16:20
se linux changes?
it seems so
ohh google messed up big time by blaming it on security
netpork, Odin is a Windows software that roots phones via USB.
what is your name?
I thought Odin was the machine-suit that Tychus used in SC2
lol Tim
16:22
No, it was a greek god
or norse.
its a rooting software
idk
he was thor's dad
odin was norse god
I thought Odin was that guy from Thor
16:22
yeao
it has an answer :p
^
unless it is NAA
16:26
that's one hot link
oh right! I wanted him to respond.
why is it tagged ?
I tried using JSoup. and I mentioned in question for a answer using "Java/Jsoup/Javascript " and JSoup is java.
where are the images hosted? If you have a server, you can check the userAgent on the request object
Server is not available anymore, It was a test. But, I remember I tried using Mozilla 5.1 something while requesting.
wait, I am checking my code.
16:33
no need, I only know a little bit about it
probably not enough to help
it's almost adam lunch time
and carl's not here
I lost that code in my old HDD :(
if you really need an answer, you can ask in the JS room, or maybe put a bounty on it, or edit it to be a bit clearer
thanks though.
He will be here soon eric
16:37
you can also present the case to CF and tell him he can either solve your problem, or start using realm in his apps. Your problem will be fixed in no time :)
Or, he will use realm and your referral would work. Maybe he uses Realm, but doesn't tell you.
@rupinderjeet it wont be long until you pass my knowledge on Android. I used to do Android dev as a hobby while I was at Uni and only started working full time last June. Think that's when I joined this chat room.
I will need to find a website like that server first for a live example. and, I will leave it for later.
win win it seems
> Maybe he uses Realm, but doesn't tell you.
good point rup, this is probably true
lol
not true
16:41
Loading Android.. just a second...
although i hate SQLdatabase Exception crap
hey carl
well eric adam's lunch time is here now
Mark, I started android last august too. and, yeah you are right. You pass my knowledge, I will pass yours. fair play.
I've done credit card churning so well I now have a balance of -$34 on one of my cards...
16:42
\o
bye WOMP! :D
@rupinderjeet pass means surpass here
not yet!!
10' left TT^TT
@rupinderjeet I've been doing Android since Q2 2013
16:42
lol
Sup carl!
what timezone are you in that you're leaving right now WOMP?
mind typo.
@McAdam331 lunch time
same as eric
16:43
same as mine, glorious GMT+1
but only not full time, so I was doing it every now and then
gtm+1
GMT+5:30
europeeeean
16:43
yeeeeep
lol why do people think creating "questions" like this will be a good idea: stackoverflow.com/questions/41724781/…
Ohh nice, mark.
already deleted Mark
5:43 PM there in spain i guess
@rupinderjeet I remember when there was no such thing as Material Design. I wasn't a big fan of holo.
damn that was quick
16:44
I suck at material. CF knows.
aaaaaaaaand our rebranding date was moved again to a final_v2_reviewed_remastered_fixed_v4 date
@MarkOSullivan94 damn need 10k fast
@TimCastelijns There is nowhere on this planet where I will not be watching you, especially your laptop :D
Tim you are doomed
> That will be an unnecessary waste of memory to create so many variables., because he wants to come back to Activity1 and load the data again. That wwill require 2 intents. to send data from Activity1 to Activity2 and another one from Activity2 to Activity1. It will create necessary threads and waste memory. SharedPreferences is easier and lighter on the machine.
Damn, TIL
16:49
I'm not entirely certain if that's true
I would imagine disk access for SP to take more resources than memory based intents
Intents don't create random threads either
Unless you're spawning a background Context
Or a new Process
Tim source?
Time to go~~
cya people!!
Yeah I think I remember reading when I first started Android dev that sharedpreferences is pretty lightweight for passing data
16:50
@ColdFire Human DNA
@WarrenFaith neat lol
I abused sharedpreferences for my first app
lol
SP is pretty light
mark abuse how ?
ofcourse if you are writing a big string it is abuse
The most device friendly way is to tell your user to reenter all the information on every page
Store nothing, have everything
@netpork I've done a fair amount of rooting and meddling with firmware on my previous advice, I don't know much on forensics though
o/ everyone
16:52
o/
@netpork I might be able to help. Hit me up on a non-public room. Email/Telegram
@ColdFire I just used it for passing everything between my different activities. Wasn't sure how else to do it :D
yeah sorry that last commend of mine was mega sarcastic
Forensics is a finicky thing.
@MarkOSullivan94 use bundle
16:53
And you think that writing/reading sharedpreferences, which are stored in a file on disk, is faster than adding a data field to an intent? — Tim Castelijns 8 mins ago
I think I later did change it to bundle
CF ^ source
Biggest claim to fame for me was getting my app featured Android and Me's top 10 app changes of the week or something
he probably want startActivityForResult
Maybe that wasn't the website
16:54
with bundle
SP is not for that purpose
that is what I suggested CF, but then this guy spit out all that nonsense
most advanced thing I've done is abusing other apps' data (in /data/data or /data/app to extract apk and decompile), I know the process and generally what to expect in there, but not much beyond that. Dug up message randomly, I was reading context on something starred
yep found it, absolutely no idea how it made it on there alongside those apps: androidandme.com/2014/01/applications/…
Forensics can range from app data, to recovering stuff off a completely locked/dead device
Too large a range to really teach in a workshop
luckily no dead devices (yet)
16:57
Tim his answer will be deleted shortly
and I'm restraining myself from putting anything non-stock on my new P9
at least for now
waiting for Nougat beta
why you need to extract apk? luke
or you mean app data?
ugh I need to eat
lol
usually for curiosity's sake
you can get the apk easily
16:58
I know, I've done it several times :p
device without root feels like being chained
yeah was just wondering why you need to go in any directory if you can get the apk directly
many apps are there
I guess it is just a matter of habit, I just pull out everything related to that app to my PC
ohh ok
What caused you to get into a forensics role, Luke?
curiosity, first time I actually accessed root folder I was trying to compare it to Linux organization
I just wanted to know how it works
and then just kept digging
17:03
any butterknife experts here?
also when I apply to competitions I usually browse through previous winners and see how they have done stuff
only to realize the best answer is "in a very time-constrained manner"
yes carl
not sure if expert but will try to help what is your issue?
suppose I have layout_a.xml which defines a Textview with ID = foo. In a RecyclerView.ViewHolder, I have a @InjectView that injects foo as a TextView, but nothing ever inflates layout_a - what happens?
nothing ever inflates what you mean?
you mean layout_a doesnt inflate?
layout_a is never referenced anywhere in the codebase
lint reports that it's unused
17:14
you have pass the layout to viewholder constructor right?
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.layout_a, parent, false);
return new ViewHolder(view);
something like this right^
Something like that
also if you dont inflate layout_a foo wont be found and it will be null
I'm trying to clean up our codebase
I'm running lint, lint reports I have unused resource, layout_a.xml
17:18
"layout_a"? o.o
so I deleted layout_a.xml, and now the build fails, because this butterknife injection can't find the element with ID foo
LOL
was the id foo ever used
Ahmad, layouts have been renamed to protect the innocent.
😉
17:19
kk
Ahmad, as far as I can tell, the code tries using the Textview with ID foo to do things
it must be used somewhere
and I can't tell whether it's dead code or not
sometimes lint messes up
this makes no fucking sense
17:20
oh i got it
lint can't detect stuff that is dynamically inflated
layout_a has a textview with id foo
since you deleted it
and resources that are dynamically loaded
the id foo doesnt exist
so iMO dead code
@Ahmad sure, but "layout_a" doesn't appear anywhere in the code base
17:20
or useless code
carl see ^^^^
also the original filename is like 16 characters long and I don't feel like typing it all out
check where the adapter is used
or viewholder
I did, there isn't anything obvious that indicates they're not being used
is it used somewhere
i am guessing all the related classes are dead code
Just kill the layout?
17:25
i use cmd+click to see all places where it is used
@RaghavSood:
8 mins ago, by Carl Anderson
so I deleted layout_a.xml, and now the build fails, because this butterknife injection can't find the element with ID foo
Just to clarify, layout_a was never inflated or used, but they inject it to a TextView foo, and then foo was used somewhere?
If butterknife does any code generation or config files, delete and regenerate
Might be looking at an older list
yes, Juliette
17:28
carl i think the class is useless too
also clean
yes, yes, I've been cleaning all day
IMO delete the class too
deleting the View holder will make the Recycleview break the build
deleting the recycleview will make the containing Activity break the build
yes delete the activity problem solved
Deleting activity will make the application build break :P
17:31
glad you spotted the pattern Dharmendra :D
not necessarily
No app, no problem
3
for all we know the activity is never used
Carl, ctrl + shift + f and findout "layout_a" or "foo"
anyone uses sdktools 25.2.3+, especially the tools/bin/sdkmanager command ? if yes, how the fuck do I get the complete package name from the --list ???
17:33
@Dharmendra zero results for "layout_a"
what about foo?
and one result for "foo" -> the view holder line that tries to inject it, which now breaks the build
comment that line
What layout that viewholder is uses?
and proceed
17:34
everything's truncated like add-ons;addon-g..._apis-google-15. how do I know what to put in place of the ellipsis for installing the package ? @_@
or you can open that foo by ctrl + click
@CarlAnderson did you use AS' find tool to search that?
Because for me that never works
Using finder and searching in the folder does
But the search functionality in AS/Intellij is super weird
Ahmad, it's using "Find in Path"
I think this is dead code
@Ahmad o_0 AS search on ubantu works like charm, never disappoint me
I think this object never gets instatiated
17:38
i told you its dead code
it's not obvious from looking at the code though
just use search to find out
it must be old code
used before but not anymore
yeah it's two years old
ancient
two years ancient lol
carl old lol
17:44
Search functionality in AS is friendly.
posted on January 18, 2017 by Android Developers

Posted by Vineet Tanwar, Business Development Manager, Google Play Indie game developers bring high quality, artistic, and innovative content to Google Play and raise the bar for all developers in the process. In fact, they also make up a large portion of our 'Editor's Choice' recommended titles. Southeast Asia, in particular, has a vibrant indie game developer ecosystem, and we've be

@Manasa You need at least 20 rep for chat, and 80 for this room
18:11
@RaghavSood Thanks.
I see you're having GPS requirement issues :P
18:28
I have a question for you all
How long is your work day with/without commute
leave house @ 7:35, return home @ 5:20
I've gone from a 15 minute commute which allowed me to leave the house at 8am and get home at 4.30
Carl - Seems pretty reasonable
Or at least, not awful
which is why I'm staying here
I'm leaving at 7.10 and getting back at 6.30 and it's killing me :/ So tired.
You work in a city? I'm going from working outside the city to commuting in and out again
My employer has flexible working hours (flexible working location as well)
so usually 9:30 -> 19h (including lunch break)
but they don't care when you come and when you leave as long as everything goes right with your customers
Urgh, Crashlytics was destroyed by Fabric
Mehdi - That's not too terrible either.
Boss here suggested "that's just part of the rat race" to work 12 hour days.
12h a day is counter-productive :D
BREAKING Fabric acquired by google Eski beat me.
shdjkfhasdlkjfa fucking eski omg
:P
18:37
wow awesome eski
not sure how this acquisition will impact us developers
IMO crashlytics is better than Firebase Crash reporting
I guess that's why they acquired them
Really surprised to see Twitter selling to Google like that.
18:43
I just hope they don't fuck it up and I could see Twitter wanting to focus on their core paradigm of social media and shit
I don't think crashlytics makes them any money and they aren't really moving in that direction as a company
Mehdi - Definitely
true dave
Makes me worry I've made a huge mistake by moving over here. I want to move into working less and living more and somehow I've done the opposite and increased my work day by 3 hours :P That's working 2 days more per week :P
lol you never know what is ahead
I wouldn't mind if we were making way more money but we're not really :P we're ending up with less per month. Apart from location we've basically screwed ourselves over.
18:56
can you find something else where you're at?
If I can find something where I work from home then, yeah, I'll do much better.
I know IBM allows that
(I turned down a job that was offering me 100% WFH because the office was too far away)
IBM is moving to a largely WFH force to cut costs

« first day (2286 days earlier)      last day (2887 days later) »