« first day (1524 days earlier)      last day (3416 days later) » 
00:00 - 16:0016:00 - 00:00

4:00 PM
Does that mean I am screwed? :S
Updated android repos.
Still not solved.
 
are you running AS with gradle in offline mode?
 
No.
It just downloaded joda-time library.
 
I thought maybe you had joda-time before trying to include GPS
 
Well, I never used this library before. It was the first time.
 
everything around GPS is wrong...the library alone adds ~17K methods...
 
4:06 PM
Leme check :3
 
I remember reading some weeks ago that google was going to "split" GPS, so you could add only what you need
but I don't know if this is working already, neither how to do it
 
they already did
 
how does it work, eski?
 
4:09 PM
greeeat :D
 
This is the correct settings, right? :3
 
@Panther You have write access. Please read and follow the rules.
yeah, it looks fine
 
i have this
 
It pics default directory automatically I guess.
 
that is because you are using a local version of Gradle instead of the wrapper
 
4:13 PM
In windows atleast, I guess.
What should I do? :3
Other than going back to eclipse!!
 
trying to add mavenCentral() to your build.gradle
 
project or module?
 
module
I mean it doesn't matter really
 
Okay.
 
hi everyone
 
4:15 PM
Where exactly to put it? :3
In repositories?
Hi 0/
repositories {
jcenter()
mavenCentral()
}
Like this?
 
yes
 
Not working:(
 
is that inside buildScript{}?
if it is, it shouldn't be
 
oops
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.13.0'
}
}
Not working :(
 
ah wait..
 
4:18 PM
why are you using 0.13.0?
 
what you have in build.gradle
like > compile 'com.google.android.gms:play-services:+' ?
 
@trevor-e umm don't know exactly :3
@TGMCians com.google.android.gms:play-services:6.5.87
with complie and quotes :3
 
try updating to the latest gradle plugin
I think it is 0.14.4?
it will require Gradle 2.1
 
the latest is 1.0.0
 
ohh you are right
I am behind...I am afraid of updating...
 
4:20 PM
lol
Do I need to update it too? :3
 
they probably removed runProguard...
 
i didn't have any issues upgrading except that a few of my gradle tasks broke
but that was more my fault
 
I am using minifyEnabled and shirnkResources but I am not running Proguard
they said they will be removing runProguard so I am afraid updating will screw me...
 
Getting some java.lang.AssertionErroron updating.
 
has anyone used green dao with android studio?
and why the hell am I the only one with a Christmas hat? come on guys show a bit of festiveness.
 
4:25 PM
@Rafay Rejected. Go answer some questions and come back please.
 
@FoamyGuy lol, and that is fake
 
We once had a minister telling us: Nobody would manipulate a voting machine, because it is against the law!
 
heh
we had the people who manufactured the machines manipulate the outcome. An entire documentary was released showing how it was accomplished and still no one cares
but to be fair we also managed to to fuck up paper ballet votes too
 
our hacker group CCC managed to make such a machine run a chess game within 60 seconds
 
> because it is against the law!
 
4:37 PM
or another game, I can't really remember
 
LAW LOL!
 
OH ECLIPSE, Y R U SO SLOOOOW
 
AS <3 so fast
 
yeah, it is
 
o/
guys, I'd like to know your thoughts on
0
Q: Drawbacks on transfering android app to another developer account

AlinI need your advice on a matter. I have an opportunity to purchase an app from another developer, the app is supported by ads and let's say for example has 3k downloads / day. I will receive the source code and the sign key. The package of the app needs to remain the same to support future update...

maybe any of you have done it in the past
I guess my main concern is lowering the downloads number / day
 
4:48 PM
o/
I don't have any experience in that area to help you with Alin
 
yeah, it's a pretty limited scenario :)
thanks anyway ;)
as a side note, today I just purchased an LG G3, hope it won't dissapoint
 
also I can see your question getting closed
since it doesn't really fit in the SO scope
but I don't know a better place to ask it
 
it was worth a try
 
SE really lacks a website to ask questions like that
 
I have never ventured into that world but honestly I probably wouldn't consider buying it unless it came with the google account
if whoever created it did so with the intention of selling it, it should've been created on it's own gmail account
 
5:03 PM
^^^ this
 
yeah it seems rather shady to me that they'd want to sell the account
unless it wasn't performing as well anymore
 
the problem is... there are multiple apps on that account...
 
private static Context context; -> scares me...
 
because they are passing this from an Activity
easy fix: context.getApplicationContext()
 
5:18 PM
I guess it all depends
I have helper functions that need to use getResources() to access a string or something
so I pass this to them from the Activity
 
right, but are you creating the variable as a static?
also I am pretty sure that you can call context.getApplcationContext().getResources()`
 
static context is the devil
5
 
I would be less worried if it was the Application Context
since it lives for as long as the app
but yes, static Context is a bad, bad combination
 
ah, I don't use a static one
 
because you are a good developer
 
5:37 PM
I have a static context in my Application class
because sometimes I want to call .getResources(), for instance, in static methods I put in that class
how bad is that?
 
I am getting real tired
0
Q: Fragment transaction show does not show my hidden fragment

AlinThis should rather be a trivial task but somehow I manage to fail in performing it. Step 1: Add the fragment getSupportFragmentManager().beginTransaction().add(R.id.layFragment, Fragment1.newInstance(), "FragmentTag1").commit(); Step 2: Hide the fragment and add another one. The second one ...

I can't see what I am doing wrong in here
maybe one of you can see it :)
 
@Guilherme Maybe worse than using eclipse :3
Ok, updating the whole stuff worked for me, thanks.
I don't like the structure of project browser in the Studio in mac.
 
really?
 
Yes.
 
Alin, I don't use show/hide, only add/remove with my fragments
 
5:50 PM
There are 3 folders: manifests, java and res. Right?
Just don't like it. :3
 
why is it bad?
 
6:09 PM
idk
actually it don't represent actual structure of folders
 
@berserk You can change the project structure
 
:O
That's gr8!
 
6:25 PM
@Alin try throwing a call to myFragmentManager.executePendingTransactions(); after step 3. The back to back commits, rather than doing it in a single transaction might cause the second transaction to be delayed.
 
6:42 PM
couldn't you just pop your last fragmenttransaction?
 
and then it should automatically reverse it
 
I cant change the material progressbar color
only horizontal one, not regular
:/
haha nevermind. Indeterminate drawable :P
 
once again too tight estimates hit me in the back
gtg get some rest. bb
 
@DaveS Now working... I have no idea why
basically the first fragment isHidden... but it just won't show
 
6:48 PM
It was just a guess Alin. I'm not sure. Try trevor's suggestion he uses fragments more than I do. I mostly just use DialogFragments and hackish non-reusable fragments for my ViewPager
 
... I guess it's just one of that situations where android makes my life hard
Thanks anyway
 
adding and removing should do the trick
rather than show/hide
 
yeah, but I wanted to keep the fragment view
it has a expandable listview and I wanted it to maintain scroll position and expanded items
 
can't you keep it around, just remove it from the container?
 
when I call replace it runs onCreateView again....
I usually use Replace all the time...
 
6:51 PM
well replace kind of has remove and rebuild tied to it. Not sure if that's the case if you keep the fragment object and add the same instance again.
 
7:03 PM
0
Q: Studio failed to download library from gradle repository

berserkI already saw this question, but it is not helping me. First of all, I tried to add google play services in my project using: dependencies{ compile 'com.google.android.gms:play-services:6.5.87' } It was showing me error: Then I updated my studio to 1.0.1 and gradle to 1.0.0. And then I again...

 
shit
so finally after getting a Robinhood invite I get to know they only offer the service to US residents
greeeeat.
I was so excited to trade stocks at a $0 fee
 
 
5 hours ago, by MrEngineer13
http://screeps.com/
 
lol that's where I saw it, and then I forgot
 
lol
 
7:13 PM
that looks cool
 
we had assignments where we had to fight our programs against each other and stuff in school
but this takes it to a whole new level
 
8:06 PM
I'm one day away from holidays. And I've got all my exams behind me (until the next few in February). Today is awesome.
 
awesome
but my hat's bigger than yours so I win
 
Stupid hats making me download the Android app
I'm gonna have the biggest Android hat
 
LOL
 
someone wants to deal with this:
And it's definitely a bug, if you take a look at Fragment reference (developer.android.com/reference/android/app/Fragment.html). basically, onStart() makes the fragment visible to the user, onResume() makes the fragment interacting with the user, onPause() fragment is no longer interacting with the user, onStop() fragment is no longer visible to the user. Those are only called when the fragments are created, which have nothing to do with them being visible. — 3c71 35 mins ago
 
8:22 PM
user image
3
 
DOPE.
 
lol
it even sticks up past the chat window
 
@Emmanuel you're right it's a bad solution
 
He keeps saying it is a bug...
 
8:24 PM
it is a bug, but if it gets fixed his code is broken and onPause and onResume then get called twice
or maybe it's not a bug
if you consider off-screen still "foreground"
either way it's a bad solution
 
I do not think it is a bug
it is the way ViewPager` works
 
onPause just means out of the foreground, like when a dialog pops in front of an activity the activity hits onPause
so it depends on how you interpret "foreground"
 
ViewPager hold at last 2 fragments in memory
 
memory has nothing to do with it
 
what I mean is that both Fragments are visible
 
8:27 PM
onPause doesn't mean out of memory
 
in order to do the animation correctly
 
not visible also doesn't mean onPause
the implementation details are irrelevant, it's a defined behavior
 
in my mind, if both Fragments are on an "interacting" (onResume()d) state, then I do not expect the framework to call onPause()
in this case they are on an interacting state because you are interacting with "both" of them when you are swiping
 
I'd expect onPause to be called if the hosting Activity invokes onPause
not when you scroll off the page.
 
correct
 
8:31 PM
it's all irrelevant to his solution anyway
 
yeah
 
his solution is wrong
he should create new methods for sending page events to the fragments
 
it's just overriding onPause and onResume needlessly when you can just invoke your own function.
 
well his solution and his comments are wrong
 
just propose the correct solution
and don't worry about it
 
8:37 PM
@Ahmad are gifs an issue in this room?
 
not really, no
why?
I usually use your gif stopping script if something annoys me, or just bin it
 
auto gif binner
45 second delay so peeps can enjoy them
then bins it
 
oooh nice
 
there's only 5 peeps in NSChat, let's invade
make it NSAndroid
 
lol
mAndroid*
 
8:44 PM
lol
 
9:28 PM
posted on December 18, 2014 by Android Developers

Posted by Hoi Lam, Developer Advocate, Android Wear What’s a better holiday gift than great performance? You’ve got a great watch face idea -- now, you want to make sure the face you’re presenting to the world is one of care and attention to detail. At the core of the watch face's process is an onDraw method for canvas operations. This allows maximum flexibility for your design, but also co

 
9:51 PM
ugh.. testing Facebook logins is so tedious
uninstall app, install app and run in debug, navigate to login page, type in email address + password, then finally get results, but they're not what you expected, add more logging, repeat.
 
posted on December 18, 2014 by Tor Norbye

We've just released Android Studio 1.0.2 to the canary and dev channels; it should roll out to beta and stable within a day or so. This is just a bug fix release which the following fixes:80594: SDK Manager on Windows fails to install tools 82998: Update recommended SDK Tools version in Android Studio from 24.0.1 79778: Package manager exception when using custom signing 82999: NPE in com.intel

 
@CarlAnderson why don't you just clear app cache?
 
6 of one, half-dozen of another
I still have to go into the app settings page for the app and do a thing
 
Have a button in debug that runs code programatically to clear the cache.
I changed my refresh button to do that when I'm debugging
If I get off my ass soon, I think I'm going to make this...looks good yellowblissroad.com/one-pot-cheesy-smoked-sausage-pasta-skillet
 
10:09 PM
oh cM, I meant to ask you,
have you had any new problems with Bluetooth and Lollipop?
 
I haven't tested with lollipop yet
 
it felt like it was pretty broken back in the early Jellybean days, and then they finally fixed it,
and now that I've gone to 5.0 / 5.0.1 I'm having issues again
I use it almost every day with my car
 
Yeah I think JB is when they drastically changed the BT code
 
and now that I've gone to 5.0, my car isn't getting the song titles from Pandora as reliably as it used to (it still works sometimes, just not 100% like it used to),
and the other day it started streaming in the wrong order or skipping or something.
Switched to Play Music to play some songs that were already on my phone, and it did the same thing
so it wasn't Pandora
had to reboot the phone to fix it
 
I will have to try tomorrow when I'm at the office (no 5.0s at home)
Great...that's just what I want to hear. Lol!
I guess I better do some testing and research soon.
 
10:12 PM
lol
yeah I figured you'd already know about it
 
Nope, haven't read anything like that and figured after the last catastrophe that they'd have it fixed
If I have to deal with more BT issues, I will probably poke myself in the eye with a hot soldering iron
4
 
just don't forget to tin the tip
 
:P
 
So I was interviewed for our app, I mean it's only posted on the GMG blog page but still =p
And we just rolled out beta for Grills on the home WiFi finally.
 
10:28 PM
nice dave
you should put in a secret food profile called "Soylent Green"
 
lol
Not necessary to cook, just eat.
Cook at 0F for 0 Mins
 
heh
 
Nice one Dave :P
 
deleted
@crazymoin denied for now. Go give some more quality android answers and come back
 
10:48 PM
Hello!
I have a virtual host that has my web application called which can be accessed by simply going to mysite.local
It works fine but now I am trying to access some endpoint on it using my android code (on my android device) like so : mysite.local/api/resources{param}
I get an error that says Unable to resolve host "mysite.local": No address associated with hostname
Does anyone know what could be causing this issue?
Thanks in advance
 
is this on you local network?
or live on the internet?
if it is on your local network it won't work AFAIK you have to refer to it by ip address
there is a longstanding bug in andriod that prevents it from resolving names on local network
 
what Foamy said. It's an issue resolving the hostname, likely because it's not registered with the DNS services the Android OS uses? use a static ip and it should be fine. Switch back to the hostname once it's deployed and ready for production.
 
@AjayTakur you've been given write access, please confirm that you've read the room rules.
 
Do it or he will cuss you out
5
 
11:04 PM
I consider it a bug in android
other linux computers, or windows PCs don't have to do anything special in order to refer to stuff by hostname
I don't know the specifics behind it though, truthfully I generally just consider networking to be some kind of black magic
 
it's voodoo
 
Sorry Carl
 
in Linux it generally edits a hosts file that's a 1-1 mapping of the hostname to IP address. Similar process in Windows. This is read before trying a DNS server
 
Hi Carl
After performing reverse engineering method for andriod apk
i was still getting error in java source files in eclipse IDE
 
in Android though it may just go directly to a DNS server, not allowing local hostnames to be resolved.
or the router performs DNS too
 
11:11 PM
@AjayTakur did you steal part of my bio? O.o
 
ROFL
(mostly)
I'm going to add that line to my bio
 
:D
 
Hahahahaha.
 
No one blames you, Ajay, I'm pretty awesome
 
11:14 PM
lolololol
 
Haha Carl!
 
ROFL
 
this is the most fun I've had all day
 
me too
 
same here...kind of sad (at least for me since I worked from home today)
 
11:17 PM
the most fun I had today was putting on my oversized android hat
 
@Eenvincible you only come for tech support
This is the last warning I am going to give you
next is the ban list
 
Yeah, next time you want to use Android chat, bring a cat gif!
115
A: Give an option to wear multiple hats

Ben Wear a hat Capture your profile image (using tool of your choice) wearing a hat Upload new profile image of you wearing a hat Wear another hat

sorry I ruined your agreement arrow Carl
 
you will be, fucker
 
hahaha
 
11:26 PM
all I gotta do is slide my Android hat down a few pixels and you won't be able to find me.
 
I turned off hats
I think it's silly that they only last like.. 3 weeks
 
yeah they should be year long
I like my Androidchute
 
@AjayTakur Why are you reverse engineering Android apps?
 
Should not i do ?
 
just wondering what the purpose/point is
 
11:31 PM
i was trying to synthesize musical instrument of piano
 
what does that have to do with reverse engineering an Android app?
 
Just to got an idea
 
If all goes according to plan, I might have 2 weeks to do whatever I want. Oh, the possibilities...
 
So you're gonna eat out a lot and watch netflix?
 
just think about how many times you could play the lottery!
 
11:39 PM
I'm considering either coding up the app I thought of a few days ago, or fixing the one I did for the Android Capstone course.
 
"I've got 2 weeks off my job where I code apps do something, to do ANYTHING IN THE WORLD... I think i'll spend my time coding an app"
 
I don't code apps for a job.
 
Not as funny this way
 
Haha
 
11:42 PM
i was trying to create an piano app
 
I'm off after tomorrow for 2 weeks and that's what I will be doing. Along with cleaning and getting beat on by my kids
Coding an app...not creating a piano app
 
Actually, even though I don't code apps for a living, and I don't think I could quite do it professionally, I put my apps on my resume. I was told I have a rather interesting resume as a result.
 
@AjayTakur not a good idea
 
@trevor-e are you around?
 
so what i did is every note in keyboard is played in a new thread and that thread is put into hashmap data structure.
with in thread i created an obejct of AudioTrack and then playing midi extension file from assests folder of project
 
11:46 PM
wondering what the odds are that he reverse engineered johgru's app
 
That sounds like too many threads.
lol Carl I was thinking the same thing
 
@trevor-e nevermind, figured it out.
 
00:00 - 16:0016:00 - 00:00

« first day (1524 days earlier)      last day (3416 days later) »