« first day (1929 days earlier)      last day (3034 days later) » 

9:01 PM
while(TRUTHYNESS)
 
public int getAnswer() {
return 37;
}
 
@McAdam331 I'm stuck with getting any menu (let alone customized menu for each fragment). onCreateOptionsMenu() on the activity is not getting called (I have a breakpoint there and it's not getting triggered).
The theme is Holo.Ligh.
 
@NickAlexeev have you called setHasOptionsMenu(true); from your Fragment?
 
o/ Emm
 
@Emmanuel Where would be the place to call it? In onCreateView() of the fragment?
 
9:12 PM
@McAdam331 lol
 
hey Carl
Nick, that sound reasonable. You can do it in onCreate() even
 
9:27 PM
blah
stupid crap
how do you remove the stupid backup of the app
im trying to recreate fresh installs android you stupid bastard
 
You kill the phone and get a new one
Or ask the NSA politely
 
p much
 
Raghav, will you please remove the stupid backup for JMR?
 
does magic
JMR is pulled into black SUV and hauled off
looks other way
 
Man the NSA moves fast
 
9:45 PM
lmao
 
recruiting process is so messy at MS
I got contacted by yet another recruiter
but I already got an offer from them
 
don't you work for MS?
 
yeah, but for this summer I want to switch to new york
 
I see
 
I don't
I broke my glasses
 
9:53 PM
You should play them against each other to get more money.
 
is it a work while you're at uni thing @Ahmad?
@Mauker always have a backup pair
 
"Well I already got a position at this really great company"
 
I'm using contacts
 
10:07 PM
lol
 
10:18 PM
@Adil yep! :)
20h/week
 
10:30 PM
@Phoenix unfortunately the requirements for access here require a 1:1 Q:A ratio or better, so for now you will be denied access. See the rules: room-15.github.io
 
10:49 PM
@Ahmad why not SEA or SFO?
 
I really like the team :)
but I will try to do bay area for the summer of '17
 
oh yea, forgot you're so young lol
 
Congrats @Ahmad that's awesome. Maybe you can come work with me in the summer of '17!
 
thanks! :D yes definitely! would love to
 
come to Sea ahmad
 
10:51 PM
^
 
microsoft in redmond is always an option ;D
 
although pro tip
 
redmond != seattle
 
microsoft is huuuuggge
in case you hadn't noticed
 
10:52 PM
I'm in Seattle either way, since MS has this thing called intern week were they fly out all their US interns to redmond
LOL
 
and i hear they somtimes suffer from a lot of intertia because of that
 
a friend of mine did redmond and had housing in seattle
:D
 
(im just trying to get you to come work at Cyanogen)
 
;D
 
@CarlAnderson I'm thinking in airport codes right now lol
 
10:53 PM
shows you work for kayak lol
 
then I'll be more specific, he should go to BFI :D
 
ha, I've been bested
 
See you tomorrow guys
Enjoy your evenings
 
cya een
 
a very good friend of mine just took the very first APM position at skyscanner
not sure if I already mentioned that lol
he's gonna declare war at kayak trevor lol
jk according to him they actually don't hate kayak internally
 
10:59 PM
Yo, Ahmad. How long will you be in NYC for in the summer?
 
booo
APM?
we make wayyyy more money than them anyways lol
 
so wait Ahmad, yoiu're coming out to rEdmond?
we gotta have a room15 party while you're in Washington State!
 
Question for you guys, is it ever ok to put a permission inside the application tag in the manifest? I thought not, but look at the example here: developer.android.com/intl/es/guide/topics/ui/accessibility/…
 
i think its a mess up
look at the docs for <permission>
specifically
CAN CONTAIN:
<activity>
<activity-alias>
<meta-data>
<service>
<receiver>
<provider>
<uses-library>
so either that doc is wrong
 
@nana 3 months! :)
 
11:11 PM
or they messed up the code example
 
@trevor-e LOLOL
 
but as always, try it out and see what happens
 
my guess is the code example is probably a typo
 
Thanks guys. Yep, it's probably just an error in the example. Lint complains if it's inside the application tag.
 
11:32 PM
@Ahmad nice
 
sorry back
some guys in suits threw me into a van
 
I hate when that happens
 
im trying to figure out how to turn a number into a phone number
like if you type 123456
it will go 123-456
ive done regex stuff but always with static intervals
like a - every 5 characters or whatever
with a phone # its XXX-XXX-XXXX
lots of stuff online about validating #s with regex, not so much about rewriting
 
11:50 PM
You can use PhoneNumberUtils.formatNumber(), see here: developer.android.com/intl/es/reference/android/telephony/…, java.lang.String)
 
lmao just found this too
PhoneNumberFormattingTextWatcher
it just does it for you
talking about my problems in this chat is a catalyst for me finding super obvious answers
 
Yep, requires api level 21 though
You can use reflection to call it on earlier versions though
Oh, it's just the one that takes a country code that requires api 21....
            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
                watcher = new PhoneNumberFormattingTextWatcher(currentCountryCode);
            } else {
                watcher = new PhoneNumberFormattingTextWatcher();
            }
            editTextPhone.addTextChangedListener(watcher);
 

« first day (1929 days earlier)      last day (3034 days later) »