« first day (1360 days earlier)      last day (3589 days later) » 

2:03 PM
Hey people !
 
Hey, TGM!
 
Has anyone ever seen GCM stats in your play developer console ??
 
2:21 PM
I just like it
 
After an unexpected shutdown .. all import are becoming unresolved of the opened class in AS, when i click Alt+Enter i get configure SDK .. O o
 
That's a good read, Glitch
0
Q: calculation by adding textview string values

user3809087 for(int x = 1; x < i ; x++){ int id =1000; int id1 = 2000; LinearLayout overall = new LinearLayout(this); overall.setOrientation(LinearLayout.VERTICAL); //LinearLayout LinearLayout llingredient = new LinearLay...

Oh, my.
This code formatting.
 
2:42 PM
Hello
 
hey (
 
hey graeme!
what's up?
 
Frustrated
C++ devs closed one of my questions which i think is perfectly valid
 
which one?
 
Uhm, hold on will get a link
14
Q: Linker errors in Android NDK (undefined reference to `__cxa_end_cleanup')

GraemeI'm getting this output after adding in a set of code from a colleague: ./obj/local/armeabi/objs/jniWrapper/native.o: In function `_Vector_base': D:/opt/android-ndk/sources/cxx-stl/stlport/stlport/stl/_vector.h:73: undefined reference to `__cxa_end_cleanup' ./obj/local/armeabi/objs/jniWrapper/na...

 
2:47 PM
It's open again ;)
just casted the last reopen vote
the question looks perfectly valid
 
Thanks - I thought so.
 
lol glitch
 
maybe someone can help
I'm beyond estimated hours for this and I've lost hope (((
0
Q: onClickListener inside ListView gets recycled, data messed up between rows

Den RimusI'm facing the following issue... I have a ListView, with item's layout as goes: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:minHeight...

 
Hey all
 
2:53 PM
hey
@den is the app in german?
 
yes
its for police
poizei *
 
for the german police?
 
aha
 
wow, not bad
 
awful actually
 
2:55 PM
I'm not sure this is the answer, but the first thing I would try is feeding in the DayShiftsModel into OnClickListener which takes it as part of it's constructor. Then the OnClickListener retains a reference.
 
is there a faster way to map json to java classes?
like I just paste in some sample json and it generates stuff?
 
faster than what?
 
I can't see what the problem is
 
doing it manually
 
Do you want to generate bean classes?
for sample json?
 
2:57 PM
yea
 
this worked for me
I've used it when I was trying out Retrofit
 
hey guys, do you know a website where it can generate some data for me
let's say
I have a list of proffessions and cities and ages
and then it starts generating a list for me
example
25, Engineer, London,
47, Medic, NY,
....
 
sweet, I'll take a look at that
 
I've something along the lines of that somewhere on /r/programming, zigi
Not sure if I can find it again
 
zigi, software engineering workshop do that
 
3:00 PM
hahaha :D
 
I know, I am just lazy :D
hey Foamy, 10x
 
Don't know if that will work for exactly what you want
 
yeah it will actually
 
but if not just search around for things like "dummy csv data"
 
3:01 PM
I just have to convert the list of stuff into strings with | between the words
 
Or just spend the 6 minutes to make a python script do it ;-)
 
^
I'd do that.
 
My project with External libs 14 & 19 how to fix that ?
I m using AS
 
do wot?
 
i got UNEXPECTED TOP-LEVEL EXCEPTION:
 
3:06 PM
switch to eclipse
 
lol
seriously
?
 
seriously though I have no idea what you're talking about. Unless there is a bunch more information about what your problem is somewhere that I missed you are prolly going to have to ellaborate a tinsy bit more.
 
i am too scared to switch over to as
 
good man netpork
don't give in
 
46 mins ago, by Abdellah
After an unexpected shutdown .. all import are becoming unresolved of the opened class in AS, when i click Alt+Enter i get configure SDK .. O o
 
3:09 PM
lol foamy
 
set your SDK path
 
I'm wondering if Google are pushing people to AS by locking some of the L-preview stuff to only work in AS.
 
I have do this .. and AS add SDK 14 to 19 => UNEXPECTED TOP-LEVEL EXCEPTION:
I m tried to fix this through Project Structure but i haven't found anything
 
Why would you try and add both API 14 and 19 to the same project?
 
I have tried to see what will happen if i chose API 14, because after an unexpected shutdown all imports become unresolved
 
3:16 PM
you already set the path to the SDK ? as in from the module settings?
 
yeah
 
cuz thats the only problem I had when using this
I had to use the SDK path from the preview version
 
any idea how ca, i remove api 14 from external libs ?
I think the source of the problem is due to having 2 APIs
 
not sure off hand, I would have to take a look in it myself
you might be right there
see if you can remove one
 
anyone use intellij plugins?
 
3:19 PM
@Abdellah Project Struture (cmd ;) > SDKs (on left side of window)
 
trying to compile a list of useful ones
 
Haven't found any useful plugins yet
Or do know of some plugins that could come in handy?
 
lol if their plan is to push people to AS by locking down L preview stuff they are going to fail miserably with that plan on me
 
yea
 
I couldn't care less about L
 
how do you like the Dagger plugin trevor
 
works great
lets me find the modules that provide an object really fast
 
dagger plugin?
Want.
Didn't know there was something like that
 
wow. Awesome.
thnx, trevor.
 
3:30 PM
hehe
 
if you use Otto they have one too
 
I figured you would like that one since you were just using Dagger yourself ahmad
 
Yeah I just looked at that as well
 
unfortunately the CodeGlance doesn't seem to work on my retina display :/
works perfect on my laptop
 
Damn. Why is Square so cool.
 
3:31 PM
lol I know
 
^i know
like wth
lool
@Abdellah does the API get added to your libraries when you click "OK"?
 
yeah
 
did you try the "Configure" option?
 
you mean project structure ?
 
yea, just seeing if i could help
 
3:37 PM
The SDKs doesn't exist on dependencies O o
Thankies Kebuto
 
Oooooh there's an Otto plugin?
And that Dagger one looks great too.
I'm ditching codeglance though
Haven't used it once since I installed it.
 
It's Carl!
 
I'm alive... sort of
 
That's good...sort of
 
yes
didn't not sleep well last night
too much booze, not enough water, too much heat, not enough A/C
 
3:49 PM
So you slept well? That's great
 
so you partied through the 4th july?
 
'cause the double-negative
 
woot woot
 
no, I got absolutely fed up with watching my daughters on my own for 5 hours in a lot of heat, and as soon as they went to bed drank a 22oz of Stone Imperial Russian Stout
followed by a mixed drink with various shots in it
 
lol
oh hey, it's jcaruso
 
3:52 PM
interesting conversation as usal
**usual
hey ahmed long time no see...
 
oh wat tha
 
that's one of the best beers ever
 
drool
 
Never had that but, oh my, does that look yummy
 
3:53 PM
that was my father's day present, two of those
 
Does Android not let dark action bars or something?
I am giving it a dark hex code, dark blue, and it turns it purple
a light purple
 
whats the hex?
 
#232a32
 
crazy....that looks dark blue to me.....
try replacing it with a straight red? any discoloration then?
 
ok i see a problem, i just tried to set it to white, and changed my app's background to white
 
3:56 PM
ahh
 
Carl, Any idea how to remove SDK APIs (AS as IDE) ?
 
Carl doesn't even use AS.
 
@Abdellah did you look in the Dependencies tab from the Project Structure window?
 
Oh where is Warren
 
lol
Warren is on extended medical leave
 
4:02 PM
I think that question is taboo these days
Lol, Carl
 
yeah kabuto not exist
 
But maybe idk, Carl could be almighty and know the answer to your problem.
 
hmm
 
yeah, I have no clue Abdellah.
 
So, not almighty afterall
We believed in you carl
5
 
4:04 PM
thanks Carl
 
:(
why cant you just delete it from the folder though?
 
@kabuto178 whats been going on?
 
hey man, just working for now :( @caruso
 
I forgot how screwed up that ending was D:
 
kabuto, i have look over all folders/files .. No way
 
4:07 PM
what have you been up to jcaruso?
 
@kabuto178 I know... bummer.
 
@Abdellah that is so weird though, when I got asked to setup sdk thing, all I did was go in project structure and changed the JDK and SDk path way then restarted
 
my paths are ok .. the problem is dependencies ^
 
which is also why it is weird to me, because you say the dependencies tab is empty which is where all the dependencies should be
 
Is there any way to give away free copies of your app in the play store? I have pushed a new release and I'm trying to get companies interested it in so I'd like to give them a promo code for a free download.
 
4:12 PM
Weird also for me ..
 
4:25 PM
:(
 
free copies through promo codes?
hmm I don't think that's possible
 
Play doesn't have a promo code system
 
@jcaruso go into play developer console, settings (far left), add the accounts in the textbox for : Gmail accounts with testing access
 
yeah, you could get them into the beta stage
 
you can add people for paid apps?
 
4:29 PM
what if it's no longer in beta, if i put them in beta can they still download the app?
 
I don't know for paid apps
I know that the beta still works after you've published to prod
 
yeah, you can always release betas
 
no, you can't always release them
 
ugh, I came so close to one of those moments where everything worked the first time
 
if you haven't published your app you can't release betas
 
4:31 PM
but I forgot that my json was wrapped in a response JSONObject
 
yea it won't let you download it for free even if your on the testing access
 
bummer
 
I may just have to offer the APK out on my website as a demo or have a demo app... err
 
yeah, we threw ours up on Amazon S3 with a bitly link
then we could at least track download counts, and turn it off when necessary
 
This guy really, err, enjoys his gloves
 
4:42 PM
You know what I love about IntelliJ/AS?
the quick action menu thingy
I hate to remember all shortcuts
this is just perfect.
 
haha
 
What's the hotkey for that?
I use Cmd+F12 and Cmd+O mostly to navigate around.
Then there's stuff like Cmd+B, Cmd+[, Alt+F7 etc.
 
I don't know the default key for that, I have a very customized keymap
 
shift shift is good stuff too.
 
for me it's cmd + 3
yeah I use shift shift all the time
 
4:46 PM
Shift + f10 (run) or f9 (debug) is good stuff too
 
Just changed the run menu to cmd + 4
As you can tell, I like cmd + ... commands.
Easy to remember
 
is this foreal?
 
lol
probably not
looks like it's edited in
 
hehe...nice pic netpork
 
4:56 PM
reminds me of "Richard Dreyfuss reads the iTunes EULA" cnet.com/news/richard-dreyfuss-reads-the-itunes-eula
 
lol
 
Morning, Android!
 
hi Code-Journeyman
 
lol
so I'm gonna try and figure out robolectric today
 
5:16 PM
 
5:27 PM
 
those are some big eyes.
 
right? adorable.
 
5:43 PM
sad
 
politico.com/magazine/story/2014/06/… <-- at least this guy recognizes the problem there
 
6:02 PM
> If we do something about it, if we adjust our policies...that will be the best thing possible for us rich folks, too. It’s not just that we’ll escape with our lives; it’s that we’ll most certainly get even richer.
interesting statement
Increased wages -> increased spending -> even more money goes to the rich guys
 
 
lol
he even got some of the spilt cereal
 
That's hilarious!
 
6:19 PM
> The folks like us at the top have always told those at the bottom that our respective positions are righteous and good for all. Historically, we called that divine right. Today we have trickle-down economics.
 
Since Springpad is no more, I am taking suggestions on good apps if anyone has a favorite for note-taking such as in meetings (not for grocery lists)
 
> There but for the grace of Jeff [Bezos] go I.
 
:D
codeMagic, I only use Evernote, and only sparingly at that.
 
That's what I had to export my springpad notes to. Might just go back to that for now
 
Hey guys
 
6:29 PM
We have a lot of meetings that I take notes at and sometimes I have to go to a customer so it's handy to have something to organize my shit
 
@CarlAnderson Interesting article!
@codeMagic Google Keep maybe?
 
I knew someone would suggest that :P
I'm looking for something a little more robust to organize different types of notes. Something with formatting, picture taking (not as important), and organizing
 
wow, I just used the Parcelable CREATOR field for the first time ever
 
Doesn't anyone else need to take notes? Or are you guys just that much smarter than me :P
 
one of my friends works at Evernote
pretty neat place
 
6:34 PM
I kinda don't like hat CREATOR field
AS just keeps complaining that it's never used
Stupid reflection based API.
 
I'm using it to read in a typed array
and it was asking for a Creator<T> field
took me a moment to realize that's what the CREATOR field is for lol
 
I take notes...in my head
 
I just have one of my minions take notes for me
5
 
@codeMagic My favourite note taking app costs $1 from Walmart.
It's an actual notepad. :O
But seriously, I hear OneNote is actually really good.
Ahmad, you can add a rule for it to ignore that, I assume.
I mean, I can add a rule for it to ignore unused getters/setters when they're annotated with @JsonProperty, so I assume you can add one for that.
Hmmm.
Preferences -> Inspections -> 'Unused declaration'
Looks like you can only configure it to ignore unused declarations when said declaration has an annotation - you configure which annotations mean 'ignore this'
For example I have an ignore rule for Otto, and one for Jackson.
Okay, you can do it with this:
@SuppressWarnings("UnusedDeclaration")
:)
 
6:54 PM
Oh right lol
@SuppressWarnings should do it
ty
yay, works
On the topic of annotations
Does anybody format Annotations like Square does?
@Singleton @Provides public RestTemplate provideRestTemplate() {...}
as in, everything on one line?
 
Nope
I do it for stubbed interface implementations
 
It looks really weird for the override annotation
@Override public int hashCode() { return super.hashCode(); }
since I'm used to having it above the method declaration
 
yea I really hate it being inline
 
adam: stubbed interface?
 
annotations are supposed to annotate
hence standout and deserve their own line
 
6:59 PM
yeah, exactly what I thought
But on the other hand it looks kinda ridiculous if you have 3 or more annotations above a method
 
Errr when you have an interface and you only want to implement some methods, you just stub the others out
@Override public void onCancelClick() { }
"You're not doing anything Saturday night are you?"
So I wonder what I'm doing Saturday night now.
 
Ahh I see
who asked that? lol
your boss, so he can make you work longer?
 
My fiancee :P
So we're either going on a double date somewhere, possibly to Niagra falls.
 
I'd go to the Niagara Niagra Falls.
The photos I've seen look amazing
 
I changed it :D
Oh I just asked "What's happening Saturday?" and got told "Nothing for you." :(
 
7:05 PM
lol
 
Lol
 
That's when you respond, "Ha, not as far as you know!"
j/k don't say that
 
I haven't logged in into IRC for more than 3 months and of course I forgot all the commands...
/msg NickServ IDENTIFY, yes that was it.
 
7:31 PM
this is amazing.
 
That would be neat to be on the subway and see that
Though, the video made me dizzy :D
 
That would have made my day
 
Nothing cool like that happens where I'm from
 
Something like that never happens at the Hamburg Subway either :[
 
The only subway we even have is where you can get sandwhiches made
 
7:39 PM
lol
So amazing the battery on this thing.
13 (estimated) hours left!
 
What thing is that on?
 
My new Macbook Air
 
Oh. I don't use mac so that makes sense why I didn't know
 
Hey guys
one question: I need to have a bunch of images to be accessible from my app, on the web
so basically I need an url for each image to download it on user request
any ideas what I could use ?
Google Cloud Services and Amazon S3 seem to be the way to go
any other suggestions ?
 
Amazon S3
I heard good things about Amazon for that kinda thing
Don't go with Google's App Engine, it'll lock you down
unless you don't intend to switch to something else any soon
 
7:51 PM
s3 seems to be free for a few transactions :)
20k gets if I recall well
and 5 gb space
 
imgur?
 
The images need to be private, and beside the images there is also a config text file
I was thinking of making an account here: x10hosting.com
it looks free :)
and unlimited
"An error has occurred, please try again" when trying it for free
well... not a good start for x10 hehe
 
is s3 going to be private?
isn't there a public URL that anyone could hit to find your image?
 
I meant that imgur is public from what I see, meaning everyone can see the image
maybe I'm wrong
Any ideas on this:
0
Q: Scaling image inside custom view with rotation angle in Anroid

AlinWell, this might be a bit hard to explain but here is the deal: I have a custom view which has a background image and some other smaller images drawn above it. The whole view, when the user selects the option to save it, will be scaled to a certain resolution, let's say 900x900px. So if the phone...

its a show stopper
 
isn't the same going to be true if you upload it to s3 though? if someone knows the URL they could get the image?
 
7:58 PM
yes, but they won't know the url since is generated in the app
I mean is not visible to anyone
 
user457812
Chat didn't accept my message. How weird.
 
ah, imgur is the same way I think
from their FAQ "There's no way to search for what other people are uploading, which makes everything you upload private. You choose what to make public by sharing the links to the images."
 

« first day (1360 days earlier)      last day (3589 days later) »