**** BEGIN LOGGING AT Wed Dec 24 02:59:59 2014 Dec 24 03:00:44 there really should be some car industry consortium putting together a standard - shouldn't need to choose your car to be compatible with your phone Dec 24 03:00:48 but everything's a platform grab Dec 24 03:03:41 g00s, your car already has computers Dec 24 03:03:51 unless it's carbureted Dec 24 03:04:21 yeah but they dont have radios, internet connections Dec 24 03:07:16 i still never figured it out pfn :( Dec 24 03:10:45 btw when did google officially announce AS as depcrating eclipse and they would no longer support eclipse/ Dec 24 03:10:58 couple weeks ago Dec 24 03:11:17 who else is using AS in here by the way? Everyone goin through a painful switch or sticking with eclipse for now or what? Dec 24 03:11:27 next question, if i have an enterTransition and a sharedElementEnterTransition, they overlap and it looks like its doing both at once to my shared elements. anyway to fix that? Dec 24 03:11:31 was it the same time as lollipop came out drinfernoo ? Dec 24 03:11:59 no it was when AS 1.0 was released Dec 24 03:13:34 heh not even 1.01? Dec 24 03:13:38 that's ballsy Dec 24 03:15:16 if i use either of the transitions by themselves, it works as expected, but not with both Dec 24 03:15:33 id like to animate my content, as well as my shared elements, but with different animations Dec 24 03:18:47 there is no method Dec 24 03:18:56 you do it by emulating a drawer Dec 24 03:19:01 that's what I told you Dec 24 03:20:36 but i cant figure out how the drawer does it Dec 24 03:20:59 i get that i need to do what the drawer does, but there isnt any clear way to see how it does it Dec 24 03:21:41 i looked at the source, and the only thing i can figure out is that it might have to do with DrawerArrowDrawableToggle, but thats inaccessible Dec 24 03:31:51 so which app did you use leanback in Leeds? What's the latest leanback that still works with 4.4.4? Dec 24 03:32:30 HevvyMetal: I'm not sure how "I'm not doing anything with it" is confusing... Dec 24 03:32:58 well you said that "you were happy with the leanback thing" or somethign so it sounds like you must hae done something with it? Dec 24 03:33:46 when did I say that? Dec 24 03:37:29 oh it was jackwharton who said taht sorry leeds Dec 24 03:37:47 so jackwharton what are you doing with the leanback library? and where do I found the settings to autodownload source and javadoc Dec 24 03:37:54 pfn, can you point me towards any source that might have the implementation im looking for? Dec 24 03:38:14 HevvyMetal gotta get the details straight, not Jack, Jake ! Dec 24 03:38:28 lol, lots of confusion :) Dec 24 03:38:28 Jack's his evil twin Dec 24 03:38:50 huh? Dec 24 03:38:55 jakewharton Dec 24 03:39:10 jakewharton what are you doing with the leanback library? and where do I found the settings to autodownload source and javadoc :) Dec 24 03:39:27 I am not now, nor have I ever been, JakeWharton (or Jack) Dec 24 03:39:30 try JakeWharton Dec 24 03:39:32 lol Dec 24 03:39:37 does anyone know of stores that sell nfc tags? or do I have to buy them online? Dec 24 03:40:31 drinfernoo, call the on drawer methods Dec 24 03:40:50 none of them do it Dec 24 03:40:52 bilb_ono: I'd imagine I could get some in Wanchai - or SSP, at worst Dec 24 03:42:19 drinfernoo, they do Dec 24 03:42:32 Leeds, lol what? are those stores? Dec 24 03:42:46 bilb_ono: nah, they're neighbourhoods with well-known computer markets Dec 24 03:43:25 I guess I'd start by asking at the little computer market 5 minutes walk away from my place... Dec 24 03:44:17 bilb_ono: this is my possibly-too-subtle way of suggesting that a store near you isn't the same as a store near other people here Dec 24 03:46:14 ah subtlety is not my strong suit Dec 24 03:46:18 in either direction Dec 24 03:46:32 but so yes. stores have them. like best buy? Dec 24 03:46:44 i buy all electronics online so i don't even know where I would get them Dec 24 03:46:45 frys? Dec 24 03:47:17 ok so, onDrawerSlide() takes a float, so it gets me halfway through the animation Dec 24 03:47:27 hold on Dec 24 03:47:40 worth calling frys and asking, I'd think Dec 24 03:52:03 i tried looping in a for, but its pretty much instant Dec 24 03:53:22 the sho wimiage thumbnails in AS seems winky is there another way to do that? Dec 24 03:57:48 not even if i put in a wait Dec 24 04:00:03 "Offices everywhere are emptying as people head home for a few days of light dining and constructive political conversations with relatives." Dec 24 04:00:04 lol Dec 24 04:00:11 Leeds, why not just buy them online? lol Dec 24 04:00:26 drinfernoo: maybe he wants them right now? Dec 24 04:02:03 I don't really get what happens if I create some threads and then I close the application, what happens to the thread ? Dec 24 04:02:14 oh yeah huh lol Dec 24 04:02:32 i thought it was you that wanted them in the first place Dec 24 04:03:04 Marlinski if your process isn't killed, nothing Dec 24 04:03:07 *if* :) Dec 24 04:03:54 what would kill the process then ? only the gc ? Dec 24 04:04:02 what's with people confusing me for other people today? :) Dec 24 04:04:11 cause I have some weird exception thrown by the finalizer :) Dec 24 04:06:15 g00s: another question, I have a static final variable in my Application (extends Application), if a quit the activity, it is going to be lost isn Dec 24 04:06:18 t it Dec 24 04:06:34 not unless the process is killed Dec 24 04:06:40 I see Dec 24 04:06:56 so if I want to prevent the process to be killed, my only solution is to use a foreground service right ? Dec 24 04:07:07 anyone know why my enter and sharedElementEnter transitions are conflicting? Dec 24 04:07:29 has anyone done any low level networking programming on android - like transferring packets between a wifi connection and an LTE / GSM connection? Looking for a place to start on this project. Dec 24 04:07:34 Marlinski in general, a service Dec 24 04:08:01 McJuicy: for GSM you should look into the code of TextSecure Dec 24 04:08:14 ah yes. I have done some commits for them Dec 24 04:08:23 not sure that it is what I'm looking for though Dec 24 04:08:40 g00s: ok thank you :) Dec 24 04:09:20 Marlinski: surely, if you want to persist data, the answer is to persist the data, not the process which holds the data in RAM? Dec 24 04:09:41 Leeds: I don't want to persist data, I want to persist process Dec 24 04:09:52 Marlinski: real quick the problem: connect to a client via wifi - transfer / route packets between wifi and LTE connection on device Dec 24 04:09:56 you were asking about losing a variable Dec 24 04:10:08 Leeds: the variable is actually an "instance" :) Dec 24 04:10:29 McJuicy: you mean tethering ? Dec 24 04:10:49 McJuicy: or a kind of tethering Dec 24 04:10:58 Marlinski: at the heart of it yes. but I want to build a mesh network Dec 24 04:11:04 oh interesting Dec 24 04:11:04 I've looked at some code for barnacle Dec 24 04:11:16 I am into it ;) Dec 24 04:11:20 haha Dec 24 04:11:21 :) Dec 24 04:11:23 What kind of mesh network Dec 24 04:11:32 are you planning to implement your own routing protocol ? Dec 24 04:11:39 I don't want to require a rom or root Dec 24 04:11:55 I don't think I can by myself complete all the tools necessary Dec 24 04:12:00 or the whole stack Dec 24 04:12:02 only some of it Dec 24 04:12:29 ok so you are probably going to implement over TCP/UDP Dec 24 04:12:34 peer discovery itself is just too insane. Trying to come up with POC and possible attract investments Dec 24 04:12:57 last requirement - have to be able to monitor how much data has passed Dec 24 04:13:01 to the client Dec 24 04:13:16 is it a project of your own ? Dec 24 04:13:28 there are 2 of us Dec 24 04:13:35 one as an advisor Dec 24 04:13:45 anyway, without root you will have to do "application level mesh network" Dec 24 04:13:46 kind of Dec 24 04:13:57 high level routing Dec 24 04:14:10 I don't want to limit the services we support though Dec 24 04:14:11 sort of, you won't be able to tunnel firefox through your mesh network Dec 24 04:14:15 that Dec 24 04:14:16 s the problem Dec 24 04:14:29 have to host a web view or something Dec 24 04:14:32 yea... Dec 24 04:14:37 hmm let me think Dec 24 04:15:20 maybe using proxy Dec 24 04:15:37 but that will require configuration of every application Dec 24 04:15:57 I think I have to be way down there in the stack Dec 24 04:16:19 root phone -> light layer between some sort of masq Dec 24 04:16:27 relay packets Dec 24 04:16:55 mobile might be something to do later Dec 24 04:17:29 If rooted device is not within your assumption you won't be able to do a "real" IP mesh network Dec 24 04:18:00 Actually I am doing a mesh networking application Dec 24 04:18:04 but I do it on application level Dec 24 04:18:10 ah :) Dec 24 04:18:14 how's your latency? Dec 24 04:18:27 haven't done test yet Dec 24 04:18:30 and what are you using for peer discovery? Dec 24 04:18:37 a protocol of my own Dec 24 04:18:40 very cool Dec 24 04:19:06 bluetooth+wifi Dec 24 04:19:09 you mess with CJDns at all? Dec 24 04:19:24 mess ? Dec 24 04:19:30 you mean if I know cjdns ? Dec 24 04:19:35 I played with it a little Dec 24 04:20:10 Caleb from CJDns doesn't believe in mesh networks anymore lol Dec 24 04:20:16 I emailed him asking a few questions Dec 24 04:20:44 McJuicy: wait for 802.11s to be the norm Dec 24 04:20:46 :) Dec 24 04:21:21 wow Dec 24 04:21:39 http://open80211s.org/ Dec 24 04:22:03 it already works with Linux but there is no API yet for android Dec 24 04:22:23 thanks for showing me this Dec 24 04:23:14 If I get anything going I'll be sure to link you up ;) Dec 24 04:23:24 gotta be open source Dec 24 04:24:12 mesh networking in Android is demoralizing though Dec 24 04:24:18 I mean true mesh networking Dec 24 04:24:57 There is a ticket open since 7 years to support ad hoc mode in android https://code.google.com/p/android/issues/detail?id=82&cnum=500&cstart=63 Dec 24 04:24:59 an implementation would probably have to get accepted into AOSP before they mainlined it Dec 24 04:25:10 i'm hoping the opengarden guys can overcome ! Dec 24 04:25:21 wish they were still open source Dec 24 04:25:27 hehe Dec 24 04:25:27 they are hiring btw Dec 24 04:26:20 wait for it :) Dec 24 04:30:12 Marlinski: last Q. Where's a good place to start with network programming (reference / book / project)? Dec 24 04:30:49 McJuicy: seriously just try :) Dec 24 04:30:53 :) Dec 24 04:30:55 kk Dec 24 04:30:58 McJuicy: this project was my first for android Dec 24 04:31:20 I've done a lot of android in the past... But I'm not sure this is the place to start here Dec 24 04:31:28 it would definitely be application layer Dec 24 04:31:42 in Parcels or Serialized objects Dec 24 04:31:50 the only problem is the limitation of service Dec 24 04:31:53 (s) Dec 24 04:33:23 McJuicy: lower your expectation as what you can do with mesh network on android though Dec 24 04:33:34 McJuicy: look at Serval for instance Dec 24 04:33:58 It is very bulky and buggy and needs root, but it works (sometime) Dec 24 04:34:16 yea. I was reading a bit about this Dec 24 04:34:23 works on 2.3 though Dec 24 04:34:27 it does Dec 24 04:35:10 yea. I'll give it a go Dec 24 04:36:18 define your use case first Dec 24 04:36:18 didn't realize it was open source Dec 24 04:36:45 resell your extra bandwidth ;) Dec 24 04:36:56 oh Dec 24 04:36:57 nice Dec 24 04:37:06 trustless Dec 24 04:37:49 you don't need mesh network for that Dec 24 04:37:53 you just need an AP Dec 24 04:38:05 well. Dec 24 04:38:18 that's where it gets fun Dec 24 04:39:23 because you can resell someone else's resale Dec 24 04:39:29 won't function like a normal mesh though Dec 24 04:39:35 because the traffic can't be balanced Dec 24 04:39:48 it can be, but maybe on per resource level Dec 24 04:40:18 gotta catch a plane real quick. Been nice chatting Marlinski Dec 24 04:40:37 real nice too, stay tuned on the channel, I will release my software soon it might interest you ;) Dec 24 04:40:52 within a month Dec 24 04:41:01 :) cheers. Looking forward to it Dec 24 04:51:02 would it be possible for me to make a web app that you can visit on your phone. And when you visit the site and click a "transmit button" and hold an nfc tag to your phone, it adds those records. Idk enough about nfc to know if thats possible? or does it have to be done via an actual app? Dec 24 04:54:27 I guess theres a reason why so many nfc apps are apps and not websites. but I did find this: http://www.w3.org/2012/nfc/web-api/ Dec 24 04:54:58 I have a question. What file controls the menu ui for settings? like if a dev adds superuser to the settings menu? Dec 24 04:58:09 oops ! i just noticed onStart() { super.onResume() } Dec 24 04:58:49 or if you could point me to doc that explains it that would be great. Dec 24 04:58:55 I assume it's some jar file Dec 24 05:00:05 pclover its the Settings app. and there are lots of xmls :) Dec 24 05:00:22 ah Dec 24 05:00:36 means if i wanted to add it i would probably need to pull apart the apk and re-build it Dec 24 05:00:40 add something Dec 24 05:05:04 Hi all. I posted a question this morning on StackOverflow but no one has answer my question yet. If anyone with knowledge in SQLite can point me in the right direction :) http://stackoverflow.com/questions/27626758/sqlite-cursor-select-in-an-expandablelistview-simplecursortreeadapter-issue-with Dec 24 05:05:11 and sorry for the bad English Dec 24 05:12:08 Okay, so I have Android Studio 1.0.2 and out of nowhere, it won't show me redlines in my .java files? I can literally type dslkafd.dkfljd(); and I don't get an red lines. If I try to build/run then I get cannot find symbol. Any ideas? Dec 24 05:12:32 g00s, do you more specific in settings were it would be? Dec 24 05:12:52 look in the Settings app res/xml Dec 24 05:13:17 eghdk yeah i get that too. its still beta whatever they say Dec 24 05:13:47 or more annoyingly, i get red underlines in files i haven't touched in weeks Dec 24 05:14:00 have to do crazy dance of gradle sync / clean Dec 24 05:14:10 invalidate caches, etc Dec 24 05:14:21 fuck man, give me back eclipse with gradle support Dec 24 05:14:52 g00s, thanks :) Dec 24 05:15:23 Hahaha. In eclipse if I went into one file and commented out a method... I would get red line in all the files that referenced that method. Why can't Android Studio do that? Dec 24 05:19:20 eghdk, what is your current inspection profile? maybe you have set it to none or enabled power saver mode. Dec 24 05:22:03 eghdk, also maybe enabling "Use the in-process build" will enable this. Dec 24 05:25:12 avinashrbhat: Where do I find inspection profile? Dec 24 05:26:16 eghdk: because the build system is completely separate from the IDE Dec 24 05:26:24 and you're better off for it Dec 24 05:27:19 JakeWharton: That's the answer to my question... " eclipse if I went into one file and commented out a method... I would get red line in all the files that referenced that method. Why can't Android Studio do that?"? Dec 24 05:27:28 yes Dec 24 05:28:41 JakeWharton: Thanks. Okay build system and ide are sparate. Got it. Any ideas to this question "Okay, so I have Android Studio 1.0.2 and out of nowhere, it won't show me redlines in my .java files? I can literally type dslkafd.dkfljd(); and I don't get an red lines. If I try to build/run then I get cannot find symbol." Dec 24 05:29:47 eghdk, AS already does this, I have been using Eclipse and AS, I haven't seen the problem before. I've been using AS since 0.3.0 Dec 24 05:30:26 avinashrbhat: That's what I mean. I've been using AS too for pretty long. But suddenly it's acting really weird. Even in sample projects... I don't know what to do Dec 24 05:31:01 eghdk, you can find the inspection profile on the lower right corner of the ide. It's an icon with a lock. Dec 24 05:31:24 i think most of my problems come from variant.registerJavaGeneratingTask being very flaky Dec 24 05:35:55 g00s: and avinashrbhat See? http://imgur.com/HC2hJx6 It seems to not be reading my code at all. It was working earlier today. Any tips on what to do to fix it? Dec 24 05:40:50 eghdk, try commenting on the AndroidDevelopers post https://plus.google.com/+AndroidDevelopers/posts/14aAUWbWzDr Dec 24 05:41:56 eghdk, maybe someone there will know it better. Dec 24 05:42:07 avinashrbhat: I guess it could be from 1.0.2 update that I did last night I think. Any easy way to roll back/ Dec 24 05:42:08 ? Dec 24 05:43:22 IDK how to rollback, you'll have to do a fresh install. Dec 24 06:09:09 sure is quiet in here Dec 24 06:09:42 it usually picks up in january Dec 24 06:09:46 holidays, etc Dec 24 06:10:29 well just for now Dec 24 06:12:54 hum Dec 24 06:12:56 looking for the xml file Dec 24 06:13:00 and trying to google Dec 24 06:15:17 story of my life Dec 24 06:16:00 lol Dec 24 06:16:03 can't find the settings_headers.xml file Dec 24 06:17:00 maybe changed in 5.0? Dec 24 06:17:06 for the settings.apk app Dec 24 06:17:40 grep for the header tag, maybe the filename isn't obvious. or look at the root activity that loads the preferences Dec 24 06:18:08 windows blows and doesn't have grep Dec 24 06:18:14 it has find though Dec 24 06:18:24 not really used find before Dec 24 06:18:35 https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/find.mspx?mfr=true Dec 24 06:18:53 if you have perl, you might be able to use ack Dec 24 06:19:04 JakeWharton, any input on why using setEnterTransition() and setSharedElementEnterTransition() makes my transitions funky? using one or the other works as expected, but doing both messes things up Dec 24 06:19:23 i have never used the transitions framework nor cross-activity transitions Dec 24 06:21:57 damn Dec 24 06:22:19 theyre between fragments, but thats probably not really relevany Dec 24 06:23:03 g00s, moved the files to a linux system and found the file Dec 24 06:23:11 dashboard_categories.xml Dec 24 06:23:48 g00s, know anything about Transitions? Dec 24 06:24:07 pclover doesn't sound familiar. i guess they changed stuff around Dec 24 06:24:15 this is 5.0 so Dec 24 06:24:21 drinfernoo not my area Dec 24 06:24:27 k Dec 24 06:28:28 AS seems pretty sucky Dec 24 06:28:56 but maybe i'm just not used to it but it seems like a real hassle Dec 24 06:29:11 I thought I'd screw around wiht over break tho Dec 24 06:29:41 i created a project in AS then moved it to a differerent drive and it wouldnt open in AS how fragile is that? Dec 24 06:30:03 they coul dhave at least set up the shortcuts to be eclipse compatabile oh well Dec 24 06:31:41 also 18 point font on AS is like 10 point anywhere else wtf? Dec 24 06:34:02 moving a project is fine, you did something wrong Dec 24 06:34:11 you can setup eclipse shortcuts Dec 24 06:34:19 oh how to setup eclipse shortcuts? Dec 24 06:34:26 and font is 100% a system and java thing so not the IDE's problem Dec 24 06:34:28 just because I ran into a problem/bug doesn't mean I did something wrong Dec 24 06:34:52 no it's not jakewharton when I choose a size in the IDE it's completely different than in any other app such as notepad Dec 24 06:34:54 try it yourself Dec 24 06:35:09 notepad is a native app Dec 24 06:35:14 at least using consolas font which is what i'm using Dec 24 06:35:15 the IDE is a Java app Dec 24 06:35:26 yeah in eclipse I got the natie behavior for the font sizes Dec 24 06:35:32 and eclipse is also a java app Dec 24 06:35:37 HevvyMetal eclipse uses SWT though Dec 24 06:35:41 true, but with SWT Dec 24 06:35:43 yeah Dec 24 06:35:56 I don't know if AS uses SWT or not all I am saying the font sizes are whack Dec 24 06:36:01 also having moved projects all around for 5 years of AS and IntelliJ use, I can tell you it works just fine Dec 24 06:36:04 it doesn't use SWT Dec 24 06:36:14 and when i moved the folder it didn't open i'm not sure how I "did it wrong" Dec 24 06:36:21 either way then java should fix the font size issue Dec 24 06:36:33 I'm point out an erratum or more I don't know why you need to get defensive Dec 24 06:36:49 i'm offensive Dec 24 06:36:51 not defensive Dec 24 06:36:55 k Dec 24 06:37:19 does it have any settings for formatting code? don't see that in the sea of options here Dec 24 06:37:29 of course it does Dec 24 06:37:35 great where? Dec 24 06:37:38 preferences Dec 24 06:37:54 I'm in "Settings" Dec 24 06:37:59 same thing Dec 24 06:38:02 is there a preferences that is differnt? Dec 24 06:38:05 ok and where in Settings Dec 24 06:38:11 i'm not hand holding you Dec 24 06:38:15 use the giant search box Dec 24 06:38:16 or Google Dec 24 06:38:30 or poke around Dec 24 06:38:56 i see a handful of java formatting options compared to the dozens that eclipse offers Dec 24 06:39:16 and it seems to only apply to comments Dec 24 06:39:18 not actual code Dec 24 06:39:24 look harder then Dec 24 06:39:26 or use Google Dec 24 06:40:09 that's great i guess we don't need IRC then Dec 24 06:40:25 this isn't #androiddev-handhold Dec 24 06:40:42 i think there should be an #androidstudio channel Dec 24 06:40:50 i think there should be http://google.com Dec 24 06:41:14 yeah yeah Dec 24 06:41:22 i'll remember that next time you have a question :) Dec 24 06:41:25 HevvyMetal just remember, ctrl-E ! Dec 24 06:42:12 it looks like code settings are part of a project great now everytime i create a new project I have to fob the code settings Dec 24 06:42:21 eclipse still beats this stuff Dec 24 06:42:27 They aren't Dec 24 06:42:29 i'm waiting to be impressed by AS not just annoyted by it Dec 24 06:42:37 JakeWharton in the Keep app, from Nav Drawer 'Help & Feedback' - is this help stuff a web view or some api i'm unaware of ? Dec 24 06:42:39 We felt the same way about you Dec 24 06:42:50 yeah well i guess i'm doing this wrong again but it just shows up in project settings Dec 24 06:43:03 not in the normal settings Dec 24 06:43:19 it almost looks like some nativish help api Dec 24 06:44:48 hm, probably webview Dec 24 06:45:43 HevvyMetal: the setting is per project, the configs are global Dec 24 06:45:57 You can have multiple, of course Dec 24 06:46:19 where are these "Configs"? Dec 24 06:46:30 and still see nothing as far as fetching javadoc in gradle Dec 24 06:46:43 but thanks i'll google through a bunch of half baked stackoverflow responses Dec 24 06:46:46 bbiab Dec 24 06:47:08 Look at the documentation for IntelliJ Dec 24 06:49:09 Getting 73 cents a click in Germany today...cool Dec 24 06:50:36 73 cents a click for what ologn? Dec 24 06:50:46 My Admob ads Dec 24 06:51:09 i'll be impressed when AS can rename a package in the manfiest and have it rename the packages to match Dec 24 06:51:20 well cool Ologn is that for any ad or depends on which particular ad? Dec 24 06:51:28 how many clicks/impressions do you get? Dec 24 06:52:09 HevvyMetal I started #android-studio a while back, but didnt really promote it Dec 24 06:52:09 1686 german requests, 29 clicks, $21.18 Dec 24 06:52:14 $0.73 a click is a lot for people to pay considering most dont purchase i'm amazed that people are paying $1.00 click for something on the web or whatever and its $5/item Dec 24 06:52:15 Not sure what ad is showing in Germany Dec 24 06:52:35 are there any other AS channels right now regreddit? was it indexable by irc.netsplit.de search? Dec 24 06:53:12 do you dev on your main phone? separate dev device? Dec 24 06:53:13 Im not sure, I they are still open, I added ChanServ to them both Dec 24 06:53:13 ologn well sometimes they rotate the ad or its keyword related...maybe there is some way to tell? i havent done any adware ologn but how many clciks/day are you getting for what kind of what? Dec 24 06:53:18 # and ## Dec 24 06:53:29 RustyShackleford both Dec 24 06:54:14 HevvyMetal, yaa, actually my cost per install is always cheaper advertising on Google then advertising with Admob... Dec 24 06:54:34 But I guess if someone is really pushing their app, they can spill into Admob Dec 24 06:55:04 what does your app do ologn? how much are you paying for the google keywords? Dec 24 06:55:26 i remember back i nthe day when i was doing DirectX programming that the directX keyword was costing me $2/click and no way were most of those people going to buy my services Dec 24 06:55:28 it was crazy Dec 24 06:55:36 most people probably just looking for drivers Dec 24 06:55:43 People can read books like Tom Sawyer or Twelve Years a slave for free... Dec 24 06:55:54 i wonder how much the CPC is for "toilet paper" is lolz Dec 24 06:56:03 what does that have to do with anything? lost there Dec 24 06:56:18 I only advertise in Spanish, in certain Spanish speaking countries, and I pay one cent a clic Dec 24 06:56:36 People can read books like Tom Sawyer or Twelve Years a slave for free on my app Dec 24 06:58:41 so it's basically stolen intellectual property or how does that work ologn? Dec 24 06:59:50 I don't know how Tom Sawyer is stolen...it was published in 1876 and Mark Twain died over a century ago Dec 24 07:00:37 well if the copyright has truly expired, then why can't they read it for free without your app ologn? Dec 24 07:01:42 They do have alternative methods... Dec 24 07:02:44 Project Gutenberg for one Dec 24 07:02:49 and just any reader Dec 24 07:03:36 http://m.gutenberg.org/ebooks/74.mobile Dec 24 07:04:06 and http://m.gutenberg.org/ebooks/45631.mobile Dec 24 07:04:53 In terms of apps, originality and compensation are very loosely connected Dec 24 07:05:48 My app that handles Microsoft Access on Android is useful and original (and somewhat unique), yet my apps which do the same thing dozens of other apps do are the ones which make money Dec 24 07:08:27 ok Dec 24 07:08:43 well whats the name of your apps then ologn and how much money do they make and which ones make the most money Dec 24 07:08:44 ? Dec 24 07:09:01 but yeah if you are doing adware or freeware then doing something common can make a lot of money Dec 24 07:09:07 Free Books to Download & Read makes the most money Dec 24 07:09:12 mcirosoft access on android is certainly a niche market Dec 24 07:09:21 heh Dec 24 07:09:31 so your app just has one book per app or several books per app? Dec 24 07:09:31 Panacea Database (Microsoft Access) makes a little Dec 24 07:09:50 and would you say you make $1,000s of dollars a month or just hundres or what? Dec 24 07:10:09 I'll probably make over $3k this month Dec 24 07:10:20 But December is usually good Dec 24 07:10:25 As is January Dec 24 07:10:57 this app? https://play.google.com/store/apps/details?id=com.panaceasupplies.android.reader Dec 24 07:11:08 regreddit, yes Dec 24 07:12:30 Ologn wow $3k / mo is damn fine Dec 24 07:12:50 g00s, it will drop off by August Dec 24 07:13:10 I hope to push everything to $9k/month as then I can do it fulltime Dec 24 07:13:15 Ologn: 3k this month on your app? Dec 24 07:13:23 RustyShackleford, on all my apps Dec 24 07:13:40 But December and January are higher than say August Dec 24 07:13:41 okay more than one app Dec 24 07:13:44 yes Dec 24 07:13:53 dude thats pretty good Dec 24 07:14:04 Although the book app will probably make $2000 of that Dec 24 07:14:09 thats some serious supplemental income Dec 24 07:15:19 If I could flog myself to work on dull money-making stuff I'd probably be making more Dec 24 07:15:45 I'm partly done with an app to make collages and put them on Facebook etc. but it's dull Dec 24 07:16:37 i can never think of original ideas Dec 24 07:16:39 how do you do it? Dec 24 07:16:47 I have an easy answer Dec 24 07:16:52 Don't think of original ideas Dec 24 07:17:04 My original ideas don't make money Dec 24 07:17:20 hah. So then take an existing idea and implement it better? Dec 24 07:17:38 Facebook came after Sixdegrees.com (1996?), Myspace, Orkut, Friendster... Dec 24 07:17:58 RustyShackleford, yes. Better, or just some twist on it that works. Dec 24 07:18:09 Although it is sometimes easier said than done. Dec 24 07:18:19 yeah facebook doesn't really count. I'm not sure how zuckerburg pulled that one off Dec 24 07:18:34 what was the twist there? Dec 24 07:18:57 I thought the existing photo editor apps were junk, which they are, and thought I'd do a better one, but then midway in I realized there are some tough tradeoffs that have to be considered Dec 24 07:19:27 I think the Facebook guys said it was really the other social networks games to lose Dec 24 07:21:17 how many hours would you say you've put into the apps so far ologn? Dec 24 07:21:34 well I agree that being original is not that important and yes facebook and youtube and google all were me3 type deals Dec 24 07:21:52 that's why i get so bent that everyone wants me to sign their stupid nda...or that they think they have to be "so original" Dec 24 07:22:06 sushi isn't original but lots of restaurants make money selling it Dec 24 07:22:18 HevvyMetal: yeah NDA's are scary Dec 24 07:22:20 HevvyMetal, many, many hours. Weekly maintenance is very low though, I spend most of my personal Android time chasing new revenue streams. Dec 24 07:22:31 i'm starting to doubt my plan to become a programmer Dec 24 07:22:42 if someone really came up with an original food item etc, very few people would buy it compared to steak or sushi Dec 24 07:23:10 Ologn: so you don't have to provide many updates? Dec 24 07:23:13 RustyShackleford are you a student now? what scares yo uabout the NDA? I'm not scared by them i just think it's a huge waste of time to spend an hour reading and signing and all that and then to hear they have another lft clone Dec 24 07:23:48 HevvyMetal: yeah i graduate in may. it's not only NDA's, i'm just not crazy about the jobs in my region Dec 24 07:24:11 what region are you in RustyShackleford ? what's yoru degree in? what kind of work have you done so far? Dec 24 07:24:42 I'm in Chicago. I have a math degree, with a CS minor and then some Dec 24 07:24:54 RustyShackleford, I'm kind of mercenary, often new revenue streams take precedence over updates Dec 24 07:25:16 RustyShackleford, if an app is popular, I usually do a lot of updates for the first few months, then they taper off... Dec 24 07:25:23 Ologn: i just realized your nickname Dec 24 07:26:21 anyway, how do you make an app that you can monetize? Most of my programming projects are experiments or something useful to me mostly Dec 24 07:26:24 damn it Dec 24 07:26:35 apktool wont decompile an apk correctly lol Dec 24 07:26:40 I think I registered this with nickserv on a day I was working with self-balanced binary trees... Dec 24 07:27:06 do you use AS or eclipse ologn? Dec 24 07:27:41 RustyShackleford, well there might be more than one way, I just know my way. I've dabbled in games, and even had semi-popular ones, but didn't figure out monetizing them. Dec 24 07:27:43 on the android sample projects its hard to tell which ones it uses...is there any easy way to check out a git project in AS and have it automatcally work without having to import into eclipse first and then export it and/or know if the project was designed for eclipse or android studio? Dec 24 07:27:50 how to pipe String through Stream? Dec 24 07:27:54 HevvyMetal, I use Emacs. Dec 24 07:28:12 ologn oh emacs on linux and what build scripts? Dec 24 07:28:15 Ologn holy shit, really ? Dec 24 07:28:31 um... is android.R.id.home the id for the drawertoggle? Dec 24 07:28:51 wow emacs really? That sounds awful Dec 24 07:28:58 Yes Emacs on Linux. I use ant and that sort of thing. Android/Application makefiles for the C/C++ stuff. Dec 24 07:29:01 RustyShackleford with a math degree, you have lots of opportunities Dec 24 07:29:19 Eclipse with ADT was awful Dec 24 07:29:36 g00s: i might still chase software development at first anyway. Good starting salary Dec 24 07:29:46 but i'm sorta having an existential crisis here haha Dec 24 07:29:53 I went to a party last week with a lot of hedge fund tech guys...a lot of emacs people there Dec 24 07:29:56 Ologn: how's code completion on emacs ? ;) Dec 24 07:30:03 gordon_, it's good! Dec 24 07:30:08 so how do you debug and step through thigs with eamcs ologn? Dec 24 07:30:10 pics or didnt happen Dec 24 07:30:21 gordon_, the jde plugin has code completion stuff Dec 24 07:30:33 I've heard that java and emacs is horrible pair Dec 24 07:30:52 I mean, I used to methods of Scanner like nextInt(), and I want to keep this abstraction via converting string to Scanner Dec 24 07:31:07 is it a good practise? Dec 24 07:31:20 anyone doing Leanback development here? what kind of controller can I use? Dec 24 07:31:30 and what do you people like as far as gamepad controlers in here? Dec 24 07:32:01 Ologn have any favorite libraries you use project to project ? Dec 24 07:32:09 Are there any better place to ask about java? Dec 24 07:32:16 Ologn: well just looked on youtube Dec 24 07:32:20 but it doesnt look good Dec 24 07:32:36 dont know if that's as powerfull as intellij Dec 24 07:32:59 g00s, well Jamie Zawinski wrote a C language OpenGL to OpenGL ES converter which is pretty handy if you want to port OpenGL C/C++ code. I don't think anyone uses it except me and him. Dec 24 07:34:00 Yaa...I might try out Android Studio a second time...I just really grew to hate Eclipse/ADT Dec 24 07:34:53 not only you Dec 24 07:35:02 gordon_, there are good tips out there like this http://gregorygrubbs.com/development/tips-on-android-development-using-emacs/ Dec 24 07:35:07 Ologn: why hate Eclipse Dec 24 07:35:11 it's semi ok Dec 24 07:35:12 ish Dec 24 07:35:24 nartes: what kind of stream? Dec 24 07:35:38 thepoosh, The Android team hated Eclipse so much they made their own IDE Dec 24 07:35:49 they didn't make it Dec 24 07:35:53 Why did I grow to hate Eclipse Dec 24 07:35:56 they ported IntelliK Dec 24 07:35:59 yes Dec 24 07:35:59 IntelliJ Dec 24 07:36:05 even ported is too strong a term Dec 24 07:36:08 augmented Dec 24 07:36:11 hmmm Dec 24 07:36:30 JakeWharton: is it a full version of IntelliJ or is it stripped down? Dec 24 07:36:31 One thing I hate about Eclipse is key shortcuts that do weird things and are hard to undo Dec 24 07:36:33 Sorry, Scanner has constructor from String. I skipped because of Converting String to CharSequence which is not good for Scanner constructor. The original source was String. The desired was Scanner. Dec 24 07:36:46 thepoosh: some things are stripped Dec 24 07:36:52 and it's of course based on community edition Dec 24 07:36:55 Another thing I hate about eclipse is how fast it is to get in and out of vi and emacs, and how slow and clunky Eclipse is Dec 24 07:37:11 lol Dec 24 07:37:21 for something simple like python, vim/emacs works fine Dec 24 07:37:24 Ologn: you cannot compare an IDE to a text editor Dec 24 07:37:29 i dunno, PyCharm rocks Dec 24 07:37:29 that is no fair Dec 24 07:37:35 but i have no clue how you debug your apps with emacs Dec 24 07:38:19 fine Dec 24 07:38:20 The nice thing about Emacs is it can be a text editor, but it can also be an IDE Dec 24 07:38:28 IDEish Dec 24 07:38:31 for android, an IDE is (almost) necessary Dec 24 07:38:35 +1 to ish Dec 24 07:38:39 not even remotely strong enough to be called an IDE Dec 24 07:38:53 anyway emacs stinks Dec 24 07:38:55 yeah i said it Dec 24 07:38:58 intellij can do baffling things Dec 24 07:39:17 thepoosh, default emacs is not strong enough to be called an IDE Dec 24 07:39:28 unless you consider C -x M-Butterfly Dec 24 07:39:33 indeed Dec 24 07:39:46 http://xkcd.com/378/ Dec 24 07:39:57 relevan xkcd Dec 24 07:40:31 RustyShackleford then be a quant Dec 24 07:40:45 so any libraries you are using these days ologn? picasso etc? Dec 24 07:40:52 picasso Dec 24 07:40:54 what is your full time gig ologan? Dec 24 07:42:00 HevvyMetal, universal image loader is nice Dec 24 07:42:15 yeah I used UIL on several projects ologn Dec 24 07:42:21 have you tried picasso instead? Dec 24 07:42:38 HevvyMetal, no, UIL worked well enough for me Dec 24 07:42:42 a lot of people like it better but it's odd when i searched for image loaders i could never find picasso only UIL and i did a lot of searching Dec 24 07:42:52 yeah well UIL is nice but apparently picasso is better Dec 24 07:43:04 a lot of the streaming companies use it and it does better memory handling Dec 24 07:43:08 UIL's API reminds of when I eat a burrito, drink to excess, and then vomit Dec 24 07:43:11 google uses it in their latest Android TV stuff Dec 24 07:43:24 well have you tried picasso JakeWharton ? Dec 24 07:43:29 i wrote picasso Dec 24 07:43:43 it's from square they have a lot of cool api's considering they don't relaly have any any android apps Dec 24 07:43:58 LOL Dec 24 07:44:12 well they don't really compared to their iOS stuff Dec 24 07:44:23 um. we have exactly the same shit on Android as we do iOS Dec 24 07:44:25 do you work for square JakeWharton or was it an independent project or what? Dec 24 07:44:31 i work for square Dec 24 07:44:33 The libraries I think about are not so much standard Android Java libraries, but for all the C/C++ NDK stuff I do Dec 24 07:44:53 oh ok JakeWharton do you have a POS app for the tablets like the Square on iPad or is it stripped down? Dec 24 07:44:55 does it print etc? Dec 24 07:44:57 yes Dec 24 07:45:03 it's exactly the same Dec 24 07:45:16 oh really? what's the link to your android product? does it have barcode scanner and printer? I thought it was just iOS? Dec 24 07:45:44 and link I mean the hardwareish version of your product with stand and all that do you have one JakeWharton just curious Dec 24 07:46:00 a stand wouldn't really be possible since there's a bazillion form factors Dec 24 07:46:08 all the external peripherals all work fine though Dec 24 07:47:28 well have you heard of gopago JakeWharton ? Dec 24 07:47:35 and are you in SF or wher? Dec 24 07:47:40 yes. yes. Dec 24 07:47:47 oh ok Dec 24 07:47:52 well lucky you Dec 24 07:48:06 I did some work for Gopago back in the day as a consultant Dec 24 07:48:20 good thing I used UIL on it instead of picasso ;) Dec 24 07:48:23 "lucky"... i don't feel lucky when i get my rent bill Dec 24 07:48:30 * lewellyn isn't noticing anything different, from a user's view, after the update to 5.0.1. and it's just as picky about bad app behavior as 5.0 was, unsurprisingly. Dec 24 07:48:39 but they have a stand and so do some other companies Dec 24 07:48:42 i really don't care what people use as long as they don't waste time writing things like image downloaders themselves Dec 24 07:48:50 if it works, and it saves you time... use it and move the hell on Dec 24 07:48:53 i got an update for my phone today. I was so excited for lollipop Dec 24 07:48:56 I use UIL and dont like it Dec 24 07:49:01 turns out i'm still at 4.4.4 Dec 24 07:49:03 :( Dec 24 07:49:13 RustyShackleford did you work on retrofit? Dec 24 07:49:18 RustyShackleford: :( Dec 24 07:49:35 How come square has so many opensource projects for all the basics that the vendors should be doing? Why did they pay to reinvent the wheels to the nth degree? Not that it's bad but ... Dec 24 07:49:41 i'll try to not talk too much about 5.0.1 aside from noting that it looks like they fixed the multitask bugs. Dec 24 07:49:48 ummm. i mean jakewharton did you work on retrofit Dec 24 07:49:50 yes Dec 24 07:49:52 retrofit is my baby Dec 24 07:49:52 bad tab Dec 24 07:49:55 I can definitely tell you that Volley image loader sucks Dec 24 07:50:00 we use it now Dec 24 07:50:17 afaict, there was no way to tell if your app was affected by the 5.0 "can't switch to it" bug, from within the app. Dec 24 07:50:19 oh ok JakeWharton does it have a query language like some of the stuff microsoft did for android or that mv database etc? Dec 24 07:50:27 we open source things that we write. i dunno. there's no value in keeping it private. it's not proprietary or anything Dec 24 07:50:36 i don't know what that is Dec 24 07:50:44 HevvyMetal: nope not me Dec 24 07:50:51 a query language like.... Dec 24 07:51:11 jsonResult.Where(..something..).And(..seomthing)... etc Dec 24 07:51:16 like Linq Dec 24 07:51:22 no. Retrofit just maps REST-like APIs to Java interfaces. Nothing to do with querying or databases Dec 24 07:51:32 HevvyMetal: you're talkin about Linq style? Dec 24 07:51:36 it has nothing to do with data. it delegates all that to other libraries Dec 24 07:51:38 you can plug whatever you want in Dec 24 07:52:12 how does retrofit deal with nested objects? does it automatically parse if you nest the pojos? I never quite got how to handle arbitrary data with retrofit but i didnt dig into it too much the documenation seemed sparse but someone linked me to your github maybe there is better docs elsewhere? Dec 24 07:52:21 you mean the network layer is plug and play? Dec 24 07:52:24 retrofit doesn't care Dec 24 07:52:24 thepoosh: right linq style query for android Dec 24 07:52:38 it hands the stream to the converter and says "do what you want" Dec 24 07:52:40 by default it's Gson Dec 24 07:52:40 well it has to care somehow or define the mapping is there a doc on that JakeWharton ? Dec 24 07:52:46 HevvyMetal: there are some libs that are written like that but nothing normal Dec 24 07:53:06 thepoosh : well microsoft of all people ahd a cool one but is ther ea non microsoft query language for android that you know of? Dec 24 07:53:13 for instance you could have json come back like Dec 24 07:53:15 one day, we'll get our lambda and linq Dec 24 07:53:27 thepoosh : microsoft azure for android has it already tho Dec 24 07:53:30 i wonder how they did it Dec 24 07:53:31 you will never get linq Dec 24 07:53:32 so it can be done Dec 24 07:53:39 JakeWharton: why not? Dec 24 07:53:41 like i said microsofts azure for android has it Dec 24 07:53:52 because the language cannot support such constructs Dec 24 07:53:53 linq is a c#/.net clr thing, that's why Dec 24 07:54:02 hmmm Dec 24 07:54:11 so with retrofit JakeWharton say some object comes back as person {name: "", addr1: "", ...} Dec 24 07:54:15 cannot be ported to java ART thing? Dec 24 07:54:28 thepoosh: the Java language is in your way Dec 24 07:54:39 they just got lambda Dec 24 07:54:46 (but not on android) Dec 24 07:54:55 or it could come back as person {name:"", address: {line1: "",..}} Dec 24 07:55:05 "java ART" --> i'm not really sure you understand the distinction between what is java, and what is dalvik/art Dec 24 07:55:06 how do you configure retrofit for one or the other JakeWharton ? Dec 24 07:55:11 that's Gson's problem Dec 24 07:55:22 you can configure Gson with TypeAdapters and a bunch of crap to handle those things Dec 24 07:55:35 Retrofit just moves the data from the socket to Gson (or whatever converter you use) Dec 24 07:55:39 sarbs: it was a reflection of C# clr -> Java ART Dec 24 07:55:44 ok and with retrofit does it wait til it gets the WHOLE response before sending a call back or does it send a callback each time it parses an element of a (long) list? Dec 24 07:55:55 no, it's streaming Dec 24 07:56:01 no what? Dec 24 07:56:09 it's streaming Dec 24 07:56:12 it doesn't buffer Dec 24 07:56:15 so it starts sending back results before it hits the end or what? Dec 24 07:56:23 yeah just because it streams doesnt mean it incrementally parses tho Dec 24 07:56:59 the API is ultimately request/response Dec 24 07:57:34 you call it, it hands you back a java object Dec 24 07:57:42 ok so JakeWharton it neeeds to get the ENTIRE response before it gives you back any data right? Dec 24 07:57:47 yes Dec 24 07:57:53 but only at the top level Dec 24 07:58:05 the internals are all streaming so the cost of serialization is amortized over the network latency Dec 24 07:58:05 ok well the microsoft one was more incremental Dec 24 07:58:22 right but you don't get any answers back til you get the whole anwer Dec 24 07:58:35 so if the whole answer is 1 megabyte, then you don't get any answers back at 0.5 megabyte right? Dec 24 07:58:56 also have you got into querying data at the server level ? it seems like thats a big thing missing from json etc... Dec 24 07:58:57 no, but that usually requires purpose built abstraction at the application which just about everyone doesn't want Dec 24 07:59:07 we don't use json Dec 24 08:00:10 well we still need a query language Dec 24 08:00:17 here check this out jakewharton you'll like it Dec 24 08:00:20 let me pastebin it Dec 24 08:00:26 who is "we" Dec 24 08:00:30 i don't need one Dec 24 08:00:40 we the commmunity in general Dec 24 08:00:46 wat?! Dec 24 08:00:47 i can explain later but sec let me pastebin this Dec 24 08:00:54 HevvyMetal: I didn't elect you! Dec 24 08:01:03 that also seems very domain-specific Dec 24 08:01:07 you don't have to i mean come on Dec 24 08:01:21 the fact that you can query sql where id = 1 and favorite_food='french fries' Dec 24 08:01:28 but cannot query a webservice is very limiting Dec 24 08:01:33 the same needs are there in both cases Dec 24 08:01:41 or most/many cases Dec 24 08:01:48 webservice is primarily just by primary key Dec 24 08:02:06 what webservice are you talking about? Dec 24 08:02:22 ok check this out JakeWharton thepoosh this is Linq style query IN ANDROID Dec 24 08:02:24 http://pastebin.com/TvWb5u8c Dec 24 08:02:50 a very abbreviate sample but it shows it can be done Dec 24 08:03:00 this all gets called back once per row not once per reading the entire stream Dec 24 08:03:18 so this queries the data for all the todo items that are not complete Dec 24 08:03:29 (which is obviously handy and exposes my point) Dec 24 08:04:01 i'm not saying i haven't done things like that, but it's always domain-specific because you get better APIs in the application and better formats across the wire Dec 24 08:04:22 HevvyMetal: if you like it try ORMLite Dec 24 08:04:30 linq style.. Dec 24 08:04:42 builder pattern ;) Dec 24 08:04:46 yeah, that's not what i thought when you said linq style Dec 24 08:05:46 jooq works on android afaik Dec 24 08:05:47 we use jOOQ which gives the power of declarative queries like linq but yeah ultimately it's just a fancy, domain-specific builder, not language-level support Dec 24 08:05:55 *high five* Dec 24 08:06:14 *high five* Dec 24 08:06:30 great timing Dec 24 08:06:31 yea buddy! Dec 24 08:06:46 https://www.youtube.com/watch?v=jR4OtA8kArQ Dec 24 08:06:50 you can check it here Dec 24 08:07:13 we only use jOOQ on the server, for Android we have something else we wrote Dec 24 08:07:15 still toying with it Dec 24 08:07:20 but i think it will be better to have for query java 8 stream-like api Dec 24 08:07:43 build this api on top of orm Dec 24 08:07:45 streams aren't good for query-like things though Dec 24 08:07:45 for android Dec 24 08:07:53 who is this dashing young man? Dec 24 08:07:54 :( Dec 24 08:07:54 lambda is Dec 24 08:08:18 actually lambda makes it worse because you have no way to materialize the behavior into SQL to actually run Dec 24 08:08:43 streams are only useful once the query is executed and you're hitting the result set Dec 24 08:08:49 I enjoyed c# with linq to sql for simple things like selects and inserts Dec 24 08:09:00 agree. i miss it dearly! Dec 24 08:09:14 i actually enjoyed linq more for sql-like queries over collections Dec 24 08:09:32 ultimately i had to munge my linq-to-sql to create more efficient queries on the actual DB Dec 24 08:09:56 list.where(p => p.name == "John") Dec 24 08:10:06 it was just simple Dec 24 08:10:17 except that can't run on the DB which is where you want it to run Dec 24 08:10:24 gordon_ are you using jooq on android? still need that jdbc driver ? Dec 24 08:10:31 no I dont Dec 24 08:10:39 we dont have db currently Dec 24 08:10:41 man this guy is just flying through the material Dec 24 08:10:48 you'd have to iterate the entire table and do the lambda invocation in code Dec 24 08:10:51 doesn't seem like he is out to really teach it, seems more like a show off.. Dec 24 08:10:52 that is never what you want Dec 24 08:11:05 Odaym: that's why it's a video. pause and rewind. Dec 24 08:11:13 JakeWharton: you mean linq ? maybe, I dont remember it Dec 24 08:11:17 Odaym video processing could have dropped frames Dec 24 08:11:18 it was like... 4 years ago Dec 24 08:11:39 yeah it was like 3+ years ago for me as well... :-x Dec 24 08:11:56 but miss it Dec 24 08:12:11 hi was away Dec 24 08:12:18 jooq has support for lambdas now I think Dec 24 08:12:19 well there's two kinds of "linq style" Dec 24 08:12:23 actually n kinds Dec 24 08:12:37 1 kinds of linq style which might be like joob is "in memory queries" Dec 24 08:12:43 https://github.com/jOOQ/jOOL Dec 24 08:12:49 so that's one thing i'm looking for in linq for android Dec 24 08:12:51 it seems he's using vim Dec 24 08:13:00 the other part of linq is LinqToSql (or other database) Dec 24 08:13:10 which isntead of querying in ram, generates some query to run on something else Dec 24 08:13:22 and it's true there are no standards for that for rest Dec 24 08:13:41 but at least #1 should be there (jOOL)? and #2 is something that people should talk standards about Dec 24 08:13:46 it doesnt have to be sql perse Dec 24 08:14:02 you could query For All FacebookUsers where City = "San Jose" Dec 24 08:14:03 huh? Dec 24 08:14:11 it could be NOSQL it doesnt have to be sql Dec 24 08:14:17 on android ? Dec 24 08:14:28 gordon_: having written a big app in Java 8 with jOOQ I can say that the lambdas are not useful at all :( Dec 24 08:14:28 yeah on android and in general Dec 24 08:14:29 or in java in general Dec 24 08:14:39 you don't need lambdas JakeWharton Dec 24 08:14:42 http://pastebin.com/TvWb5u8c Dec 24 08:14:43 JakeWharton: sad to hear that.... Dec 24 08:14:50 i know that. because the app used to be Java 7 Dec 24 08:14:51 there is not a single lambda in that paste Dec 24 08:15:07 lambda doesn't get you anything other than notational convenience Dec 24 08:15:12 it isn't a requirement Dec 24 08:15:16 is there 'guard' plugin for gradle already ? Dec 24 08:15:16 it's just a convenience Dec 24 08:15:24 it's a hinderance, as i said above Dec 24 08:15:28 infinitest doesnt work for me Dec 24 08:15:35 or it's just me ? Dec 24 08:15:40 maybe it's a hindrance but you're missing the point JakeWharton Dec 24 08:15:47 you don't need it to do "linq style" queries Dec 24 08:15:56 i know that. jOOQ gives me that already Dec 24 08:16:19 so if your rent is too high why don't you telecommute from somehwere cheaper JakeWharton ? Dec 24 08:16:57 we don't really have remote workers Dec 24 08:17:01 and do you think you could parse on the fly and dispatch per row etc instead of at the end of the webservice? Dec 24 08:17:14 well you should tell them how great remote is Dec 24 08:17:25 i'm already here, can't be bothered Dec 24 08:17:29 "hey boss, you know, remote is great!" Dec 24 08:17:37 it is great Dec 24 08:17:43 for a lot of reasons Dec 24 08:17:52 never said it isnt Dec 24 08:17:53 i think onsite is great too Dec 24 08:17:58 it's great to have both Dec 24 08:18:09 People say working in New York City is expensive, but it's not as much as they say Dec 24 08:18:25 where in NYC do you live Ologn and how far do you have to commute? Dec 24 08:18:27 If you *must* live in Manhattan, then maybe it's expensive Dec 24 08:18:40 well at least NYC pays a lot Dec 24 08:18:47 $200+k for C# dunno about android Dec 24 08:18:49 my friend lives in manhattan, a block away from work Dec 24 08:18:59 he says it works out nicely. He doesn't need a car Dec 24 08:19:03 anyone who can do C# gets paid $200K? Dec 24 08:19:06 so that saves some money Dec 24 08:19:12 HevvyMetal, it takes me 27 minutes to get from my front door to Penn Station Dec 24 08:19:17 the apartments in japan seem spacious Dec 24 08:19:17 * Odaym packs and is off to the America Dec 24 08:19:28 so where is that Ologn ? Jersey? or where? Dec 24 08:19:36 27 mins isnt bad to penn but that's not downtown Dec 24 08:20:05 I've lived in different places, right now in Queens Dec 24 08:20:13 i 3> BHPhoto have you been there Ologn ? It's about 2 blocks away from penn station kinda near the stadium Dec 24 08:20:26 I shopped there online so many times when I got there it was like wow bhphoto Dec 24 08:20:27 Actually my coworking office is run by daniweb.com if anyone uses them Dec 24 08:20:43 HevvyMetal: what? apartments in japan spacious ? :D Dec 24 08:20:52 where do you work ologn? doing android? Dec 24 08:20:58 gordon_ : compared to NYC apartments yeah Dec 24 08:21:04 havent been to Dec 24 08:21:09 except the bathtubs are like baby coffins Dec 24 08:21:12 HevvyMetal, B&H is OK but I don't like haggling over things Dec 24 08:21:15 in NYC I dont think they have bathtubs Dec 24 08:21:20 lol Dec 24 08:21:32 that's why they have communal baths in japan Dec 24 08:21:34 you can always live in sharehouse ;) Dec 24 08:21:49 do the apartments have bathtubs where you are ologn? its been awhile since I was in nYC Dec 24 08:21:52 HevvyMetal: I dont like those :( Dec 24 08:21:59 but both japan and NYC have the miniature sinks Dec 24 08:22:07 like something in an airplane bathroom Dec 24 08:22:27 but in the kitchen Dec 24 08:22:34 HevvyMetal, I can't recall the last time I was in an apartment without a bathtub. Even when my friend invited me to a party in the South Bronx years ago. Dec 24 08:22:53 ok so the NYC have a bathtub but a smaller living area overall Dec 24 08:22:56 pretty similar Dec 24 08:23:20 HevvyMetal, yes, I have been in some very small Manhattan apartments. Sometimes rented by people making six figure salaries. Dec 24 08:23:24 so is your apartment like 600 ft or say 30 minutes from downtown (times squarish), how much square foot would $2500 get you? Dec 24 08:24:06 they have bathtubs in japan it's just they are 3 foot long and you have your knees up your nose Dec 24 08:24:17 aka baby coffin heh Dec 24 08:25:34 Manhattan apartments are expensive and small, but within a 30 minute commute are larger, cheaper apartments, in low-crime neighborhoods Dec 24 08:26:39 i think... i give up on making my drawertoggle animate. i figured out how it works, but i cant seem to extend DrawerArrowDrawable, because i need to pass a Context, which it says isnt a good constructor Dec 24 08:27:03 HevvyMetal: I kinda know how it is in Japan ;) Dec 24 08:27:19 besides the price of an apartment, you also have to consider quality Dec 24 08:27:29 New York has better public transportation then the Bay Area. Otherwise people could live in Sausalito, Berkeley etc. Dec 24 08:27:34 than Dec 24 08:27:52 anybody know why ripple effect is not staying within the bounds of the layout that was clicked? Dec 24 08:27:58 I worked for this carpenter who fixed apartments. These places were terrible and they got $2400-$3000 bucks for them Dec 24 08:28:01 2 bedrooms Dec 24 08:28:18 oh, this is chicago Dec 24 08:28:47 some places had roaches Dec 24 08:29:53 in the end, there will still be roaches Dec 24 08:30:32 i'm not particulary squeamish, but ugh it grossed me out so bad. Dec 24 08:30:38 roaches don't mean the apartment sucks Dec 24 08:30:45 they come in through the plumbing Dec 24 08:31:19 dealbreaker for me Dec 24 08:31:31 yeah .. but if there has been a problem for long, likely the place has been sprayed umpteen times with toxic shit Dec 24 08:32:05 neurotoxins ftl Dec 24 08:34:25 also sucks if you are allergic to cockroach crap Dec 24 08:36:14 so how much does it cost ologn? Dec 24 08:36:14 we went offtopic again.. Dec 24 08:36:30 i lived in berkeley and berkeley is very commutable but as a result its very expensive now Dec 24 08:36:39 sausalito also isn't too bad depending where you want to go Dec 24 08:36:45 so 30 mins how much is it in NYC? Dec 24 08:36:53 i couldnt even quote you a bay area price but its a lot Dec 24 08:37:19 thats why i dont want to move back to the bay area and i'm trying to get a telecommute gig Dec 24 08:37:51 do salaries increase proportionally to the cost of rent in a city? Dec 24 08:38:11 it must work out better in some cities than others Dec 24 08:38:15 yes and even worse RustyShackleford is that rents increase proportionally to the salaries paid! Dec 24 08:38:17 HevvyMetal, I don't have a good concept of square feet. Dec 24 08:38:21 so there is no win there Dec 24 08:38:26 Ologn square meters Dec 24 08:38:42 for instance here is what's been going on in the bay area RustyShackleford Dec 24 08:38:46 you tell me the math solution Dec 24 08:38:48 i'm too dumb Dec 24 08:38:51 here's how it went Dec 24 08:38:54 say.... Dec 24 08:39:10 5 years ago...rents in SF were...maybe.... $2000 for 2 bdrm Dec 24 08:39:21 then google and all these people twitter move there Dec 24 08:39:33 so those ppl are making $100-$200k and if a dual income 2x that Dec 24 08:39:45 so then....the rents go up to sponge out all that income Dec 24 08:39:50 I rented half of a 2 family house 30 minutes from Penn Station for $1250 a month in a low-crime but dull neighborhood. It had more than enough space for me. Dec 24 08:40:13 ologn in the past or recent? that's definitely a good value Dec 24 08:40:27 HevvyMetal, recently Dec 24 08:40:27 anyway now in sf a 2 bdrm apt is like $3500+ Dec 24 08:40:45 yeah thats pretty high Dec 24 08:40:49 is that average or a lucked out deal? just curious..my impression of nyc is that it's expensive but if it's not then cool Dec 24 08:41:06 but if you're making 100k it's not so bad Dec 24 08:41:12 it is bad Dec 24 08:41:16 San Francisco is 47 square miles Dec 24 08:41:16 $100k is not a lot Dec 24 08:41:17 are salaries REALLY that high in SF? Dec 24 08:41:30 yeah I see android DEVELOPER not manager, just dev Dec 24 08:41:37 for $150k-$200k+ in SF Dec 24 08:41:48 so I think about moving back there Dec 24 08:41:48 jesus really Dec 24 08:41:55 yeah really Dec 24 08:41:59 it's a bubble i think Dec 24 08:42:01 it can't last Dec 24 08:42:01 is that all just because of cost of living? Dec 24 08:42:02 RustyShackleford: it's bad Dec 24 08:42:08 pay my rent Dec 24 08:42:15 mine too Dec 24 08:42:17 HevvyMetal, New York is expensive if you feel you must live in the East Village or Williamsburg Dec 24 08:42:20 well jakewharton would know more he lives there now Dec 24 08:42:26 what are rents going for up there now JakeWharton ? Dec 24 08:42:31 dude if you're making 100k a year, thats 8300 bucks per month Dec 24 08:42:31 i live in so cal now Dec 24 08:42:43 you CAN afford $3500 in rent Dec 24 08:42:47 RustyShackleford: taxes, bro Dec 24 08:42:54 +1 Dec 24 08:42:58 https://twitter.com/jakewharton/status/546494997789671424 Dec 24 08:42:58 ah yeah i neglected those Dec 24 08:43:14 so after tax you're talkig about 50% paycheck for rent Dec 24 08:43:16 or close to it Dec 24 08:43:19 it's nutso Dec 24 08:43:20 HevvyMetal http://sfist.com/2014/10/08/median_one-bedroom_rent_in_sf_is_no.php Dec 24 08:43:23 i still don't feel bad for you haha Dec 24 08:43:38 what kills me is even in san diego where i live Dec 24 08:43:40 which is not like sf Dec 24 08:43:47 median rent for a house is now close to $3k! Dec 24 08:43:51 but the salaries are not there Dec 24 08:44:04 wow 1 bedroom $3200 see that's what i'm talking about g00s Dec 24 08:44:13 my house now is $2700 /month Dec 24 08:44:14 $50k paying $600/mo for rent in some suburb you're netting more than most of SF Dec 24 08:44:29 i mean around here 100k is a high salary Dec 24 08:44:39 and chicago isn't particularly cheap Dec 24 08:44:47 huh JakeWharton ? $50k paying $600/month? who is? rusty? Dec 24 08:45:00 i was looking at $600/mo places before i moved here Dec 24 08:45:09 and making about 50k Dec 24 08:45:11 JakeWharton where in indiana? Or in the bay area? Dec 24 08:45:17 PA Dec 24 08:45:20 right Dec 24 08:45:24 eastern pa or western? Dec 24 08:45:26 i went to CMU Dec 24 08:45:27 west Dec 24 08:45:31 yeah i'm from pittsburgh Dec 24 08:45:31 pgh? Dec 24 08:45:35 what part? Dec 24 08:45:41 south. bethel park. Dec 24 08:45:49 is that south of pitt? Dec 24 08:45:51 Back in 1991 I toured the CMU campus because they accepted me, but I passed because U Rochester was more exciting Dec 24 08:45:56 yes Dec 24 08:46:07 My CMU sponsor took me to a prayer meeting Dec 24 08:46:08 CMU is a great school but it's very small and parking is terrible :) Dec 24 08:46:25 so you know what a pittsburgh left is JakeWharton ? do they still do that there? Dec 24 08:46:28 Ologn: and u rochester took you to a bar? ;) Dec 24 08:46:42 lewellyn, a fraternity party Dec 24 08:46:43 ha, yeah i know what it is. and I do it here... not sure about others Dec 24 08:46:47 close enough! Dec 24 08:46:59 dangerous to do it here JakeWharton Dec 24 08:47:08 but in pgh it's the law 2 lefts ona red Dec 24 08:47:15 hated the damn boots Dec 24 08:47:20 Actually I sort of snuck into the SEI building near CMU and poked my head in the CERT office Dec 24 08:47:21 but loved the O dogs and Pace's Dec 24 08:47:33 did you see the flashcube building ologn? Dec 24 08:47:44 CERT was like, the center of conspiracy theories back then, the illuminati of the net in 1991 Dec 24 08:48:52 https://i.imgur.com/KMM8q.jpg Dec 24 08:49:47 gordon_, I think that picture is too kind for how I see designers Dec 24 08:50:17 Maybe I've just had a bad string of them... Dec 24 08:50:23 ++ Dec 24 08:50:56 but only because as an artist I suck Dec 24 08:51:18 developers seen by project managers is pretty accurate ;) Dec 24 09:26:39 gordon_ yeah it's a tough battle Dec 24 09:26:53 i dealt with a pm like that recently Dec 24 09:27:16 and sysadm too Dec 24 09:29:36 anyone awake? Dec 24 09:30:35 anyway its cool JakeWharton i just noticed there were about 150 git projects out of square and that seemed like a lot for a "smaller" company but maybe it's huge now :) Dec 24 09:30:52 there's like 40 forks Dec 24 09:31:30 been killing them slowly Dec 24 09:35:05 of just yours or all 150? Dec 24 09:35:29 sysadmins are evil Dec 24 09:35:35 what do you use for CI ? an internal mavenish setup? Dec 24 09:35:41 internal or external? Dec 24 09:35:51 internal Dec 24 09:36:00 https://github.com/square/kochiku Dec 24 09:36:10 runs on a scaling deployment of 200 to 500 AWS instances Dec 24 09:36:19 that's for internal? Dec 24 09:36:34 interesting Dec 24 09:36:40 yes Dec 24 09:36:43 what do you use for MVC? any popular projects or homebuilt something you put on github JakeWharton ? Dec 24 09:36:46 why not jenkins ? Dec 24 09:36:50 because jenkins is shit Dec 24 09:36:58 haha Dec 24 09:37:11 seriously though... it is Dec 24 09:37:26 I liked it Dec 24 09:37:30 but for maven projects Dec 24 09:37:41 but maybe because I got good teacher :) Dec 24 09:37:50 i think you have a bad teacher Dec 24 09:38:07 nah, he was really smart gu Dec 24 09:38:07 y Dec 24 09:38:23 having used Jenkins on non-trivial things it really breaks down quickly Dec 24 09:38:31 API is terrible for plugins Dec 24 09:38:37 stuck in this weird limbo with Hudson after the fork Dec 24 09:38:47 really terrible Dec 24 09:39:07 it was working nicely for us with nexus and maven Dec 24 09:39:31 yeah i never said it didn't work Dec 24 09:39:32 it's just shit Dec 24 09:39:54 i just meant do you link your internal projects to some kind of server like taht Dec 24 09:40:15 or do they get picasso from maven or whatever or part of the modules/project file or copy and paste Dec 24 09:40:21 that's an external project Dec 24 09:40:47 picasso is released to maven central and has snapshots deploying to Sonatype's snapshot repo via Travis CI Dec 24 09:41:09 what about for internal JakeWharton ? Dec 24 09:41:17 i already told you that above Dec 24 09:41:38 we use kochiku Dec 24 09:41:40 well you said which tool but ultimately from the project standpoint it looks like a maven reference? Dec 24 09:41:45 but an internal version of hat/ Dec 24 09:41:58 i normally am a sole developer so dont have to deal with this stuff :) Dec 24 09:42:00 but i'm curious Dec 24 09:42:20 you can use whatever you want Dec 24 09:42:52 sysadms seen by developers is 100% accurate Dec 24 09:42:53 https://i.imgur.com/KMM8q.jpg Dec 24 09:42:55 kochiku doesn't care. it just runs a bash script in your repo that can do whatever you please Dec 24 09:42:59 in fact it might be too generous Dec 24 09:43:08 the last ruby asshats i've dealt with have been comical Dec 24 09:43:32 maven, gradle, make, ant, bash, and whatever other ridiculous crap people come up with Dec 24 09:43:33 our dev-ops guy loves ruby Dec 24 09:43:37 do you folks use ruby and is it worth it JakeWharton ? what about parse.com and delete all that web service layer? thoughts? Dec 24 09:43:48 we use ruby for frontend stuff Dec 24 09:43:56 hard to beat it for web dev Dec 24 09:43:56 yeah they all love ruby cuz they get $200k for wacking off with jackistrano Dec 24 09:44:03 web dev maybe but web services Dec 24 09:44:05 JakeWharton: but it has bad GC Dec 24 09:44:12 from what I recall from school Dec 24 09:44:12 we run it on the JVM Dec 24 09:44:16 oh Dec 24 09:44:29 get this JakeWharton at one company i was with they couldnt deploy a new release of the ruby webservices onto aws for 3 MONTHS! Dec 24 09:44:41 on AWS I forgot to mention Dec 24 09:44:43 3 months Dec 24 09:44:48 3 ruby guys Dec 24 09:44:50 it was insane Dec 24 09:44:56 and they get $$$$ /year? Dec 24 09:45:08 I thik if ruby is that fragile..then forget it Dec 24 09:45:22 back in the day, I made this - https://docs.google.com/presentation/d/1hW_gZaLTK7898KLf1fCFRCe4tVuXzIsAsoSvlWmTCOA/edit?usp=sharing Dec 24 09:45:28 i think you developers are the fragile ones Dec 24 09:45:44 I just don't see what it has, especially now everyone going to single page angular Dec 24 09:46:08 first of all JakeWharton what's you developers? aren't you one? 2) the ops guys could not deploy ANYTHING not even a textual change for 3 months Dec 24 09:46:21 devs had already devved by then but they could not deploy Dec 24 09:46:30 i don't see how that's ruby's problem though Dec 24 09:46:44 that's a management problem Dec 24 09:46:59 it is ruby's problem Dec 24 09:47:04 that errors are opaque Dec 24 09:47:18 that simple things take forever Dec 24 09:47:23 even asp.net is better than that Dec 24 09:47:30 hi! can someone point me where can I find out if current android ndk supports all features of c11 (or how much of it)? Dec 24 09:47:31 ruby is just hipster Dec 24 09:47:36 you said the devs had devved. therefore ruby's not the problem. Dec 24 09:47:37 and most of ruby is css Dec 24 09:47:50 ...er, what? Dec 24 09:48:03 lewellyn the devs HAD devved...on the android side and waiting for ruby webservices to catch up Dec 24 09:48:03 HunterD: it's safe to say that its support is no better than gcc, i think :) Dec 24 09:48:13 bottom line in our case the ruby guys were 1000% incompetent Dec 24 09:48:22 but just cuz they claimed to have ruby experience they got hired Dec 24 09:48:26 HevvyMetal: still sounds like a management issue, not an issue with the language. Dec 24 09:48:35 OK but again that's not Ruby's fault Dec 24 09:48:55 I just think ruby (to me) seems opaque and brittle Dec 24 09:48:59 yes management was at fault Dec 24 09:49:01 for sure Dec 24 09:49:07 but I don't see it as being a dropkick Dec 24 09:49:19 get this JakeWharton on my last project a guy claimed to have 8 years of android expreince and the manager bought it what do you think? Dec 24 09:49:21 8 years? Dec 24 09:49:25 of android Dec 24 09:49:29 what does everyone here think? Dec 24 09:49:38 languages are tools. they're only as effective at completing a task as the craftsman is. Dec 24 09:49:39 I think I have 7 years Dec 24 09:49:52 Can't remember Dec 24 09:49:57 Well according to google first public was Sept 2008 Dec 24 09:50:05 so that's about 6 years Dec 24 09:50:08 for public Dec 24 09:50:16 we have a guy here said he started doing android 6 months before Google bought it Dec 24 09:50:32 now anyone who even has, 6 years, is gonna get at least $250k thepoosh maybe more Dec 24 09:50:40 they'd be working at samsung, htc, google, etc Dec 24 09:50:41 not me Dec 24 09:50:47 I started 3 years ago Dec 24 09:50:50 right Dec 24 09:51:03 years of experience != skill Dec 24 09:51:06 so would you believe a resume of some guy with "8" years of android going for < $250k Dec 24 09:51:12 exactly the guy had only 2 apps!!! Dec 24 09:51:15 November 5th, 2007 was the first version available Dec 24 09:51:16 for his supposed 8 years Dec 24 09:51:21 that sounds like BS Dec 24 09:51:24 6y7 Dec 24 09:51:27 it was bs Dec 24 09:51:31 I have only 1 app Dec 24 09:51:33 but the manager bought it Dec 24 09:51:38 should i have brought it up? Dec 24 09:51:40 JakeWharton: you have ABS Dec 24 09:51:46 well you have some libs at least Dec 24 09:51:47 I think that's good enough Dec 24 09:51:55 And 5000 downloads! Dec 24 09:52:00 YAY!!! Dec 24 09:52:03 I have Glide Dec 24 09:52:03 what app is that JakeWharton ? Dec 24 09:52:10 sort of Dec 24 09:52:12 The best app ever Dec 24 09:52:17 is that the title? Dec 24 09:52:20 Targets Android 1.1 Dec 24 09:52:22 well you can't get hired you don't have 3 apps on the app store JakeWharton Dec 24 09:52:25 LOL Dec 24 09:52:28 and you dont use jenkins Dec 24 09:52:34 :D Dec 24 09:52:38 everyone uses that so that's a requirement ;) Dec 24 09:52:49 and qira too Dec 24 09:54:11 so ne good thoughts on MVC packages for android? Dec 24 10:11:56 The API came out before the first phone Dec 24 10:14:07 I guess that was the November 2007 API release Dec 24 10:19:36 I write android for 1 year :> Dec 24 10:20:09 but at this company they hired freelancer once Dec 24 10:20:13 to implement one feature Dec 24 10:20:20 he had like 5 years of android ? Dec 24 10:20:25 Over 2 years here, but Android never writes back Dec 24 10:20:29 I've never seen just a crappy code :D Dec 24 10:20:56 ok there was another one Dec 24 10:20:59 that was worse Dec 24 10:21:21 when I think of him sometimes one thing comes to my mind -> random Dec 24 10:21:33 that guy loved to put some random for some reason Dec 24 10:21:36 in many places Dec 24 10:36:20 hmmm crappy code is crappy Dec 24 10:36:47 some people just start coding bad in one place and inertia helps them get the next job Dec 24 10:41:09 if you have a progress dialog in place can the user press the back key on the phone? Dec 24 10:42:53 HevvyMetal: from? Dec 24 10:43:13 i read about 8 years of exp story Dec 24 10:43:32 looks like it is east europe Dec 24 10:44:38 so even 7 years of android dev exp - is android overlord Dec 24 10:52:44 has anyone heard of Giftiz? Dec 24 10:52:59 or AdBuddiz? Dec 24 11:10:19 yea if you set that dialog to be dismissable, ChrisUK Dec 24 11:12:27 user can also always press the back button to close the app Dec 24 11:14:52 how to do dev on one screen? Dec 24 11:15:13 what's the best way to organize emulator, debugger, code editor? Dec 24 11:15:32 just alt tab through them all full screen? Dec 24 11:15:54 hey guys, having problems getting eclipse to build the NDK hello-JNI... on linux Dec 24 11:16:12 doesn't seem to be compiling the .so Dec 24 11:17:42 lasserix, depends on size of the screen Dec 24 11:17:48 I have them side-by-side but I have a 32" monitor Dec 24 11:17:50 spent an hour fiddling, nothing is fixing it. Dec 24 11:18:01 19:6 moniter Dec 24 11:18:06 smellymoo, first get compilation working in command line Dec 24 11:18:08 i am stuck on my laptop Dec 24 11:18:09 use IDE after that Dec 24 11:18:13 until the morning anyways Dec 24 11:18:22 lasserix, multiple desktops with maximised window on each? Dec 24 11:18:30 I am stuck on laptop Dec 24 11:18:32 till the morning Dec 24 11:18:43 Mavrik. ok. Dec 24 11:18:51 not allowed to set up my work station since the house is packed full of relatives Dec 24 11:18:56 do ndk-build and see what the error is. Dec 24 11:19:09 although i am very tempted to use this 60' inch moniter to the left of me Dec 24 11:19:15 sure, it was... wait, I'll check. Dec 24 11:20:10 cannot stat ‘./obj/local/arm64-v8a/libhello-jni.so’: No such file or directory Dec 24 11:20:10 make: *** [libs/arm64-v8a/libhello-jni.so] Error 1 Dec 24 11:20:17 so it failed to compile I guess. Dec 24 11:23:52 Mavrik, any ideas? Dec 24 11:24:08 smellymoo, yes, read the full output Dec 24 11:24:13 not just last one line. Dec 24 11:24:16 There's an error written in there. Dec 24 11:24:39 Anyone know if it is possible to store alpha channel as color resource in xml? Dec 24 11:26:16 Mavrik, no error was stated anywhere, the line before was compiling to .so, so I guess it failed... hmm, is there a verbose... Dec 24 11:30:00 so what do you guys reall think of kotlin Dec 24 11:30:26 Are the different roboto weights available to use? Dec 24 11:30:30 like normal heavy etc etc Dec 24 11:32:35 after my view is recycled, the mapview isnt moving to the specified coordinates specified by map.moveCamera http://stackoverflow.com/questions/27524404/movecamera-triggered-by-button-onclicklistener-not-moving-camera-after-view-that Dec 24 11:33:33 Mavrik, there is no info. it just says that. Dec 24 11:33:55 you should certanly get a compile error unless you're doing something really dumb Dec 24 11:34:02 try doing V=1 ndk-build and see what compiler invokes Dec 24 11:39:54 Anyone know if it possible to specify Roboto font weights? Dec 24 11:40:29 lasserix, use font-family Dec 24 11:40:48 and all the robotos are available in 4.0 and up? Dec 24 11:45:20 Mavrik, really nothing useful being said. Dec 24 11:45:57 hey guys can anyone take a peek why my object won't serialize? https://gist.github.com/leviyehonatan/1dcbb146fe34838ca534 Dec 24 11:47:51 Mavrik. am I supposed to make the build.xml first?.. followed 3 step by step guides, it just doesn't make the .so Dec 24 11:48:05 smellymoo, what build.xml? Dec 24 11:48:14 native builds are controlled by jni/Android.mk and Application.mk files Dec 24 11:48:27 ndk-build with V=1 WILL give you output of what gcc is doing Dec 24 11:48:30 error WILL be in there. Dec 24 11:48:34 Mavrik, f' knows, was stabbing in the dark from a step by step guide for eclipse. Dec 24 11:48:52 is it ok to pass an activity-context to an app-utils static function? Dec 24 11:49:13 adkins, as long as it doesn't cache it yeah Dec 24 11:49:18 adkins, if it does, pass application context Dec 24 11:49:23 Mavrik, yeah, well WILL, doesn't make it compile or do what you expect. it ain't I can show you the output. Dec 24 11:50:00 Mavrik: what do you mean if it doesnt cache? do you mean as long as it is not a member of AppUtils-ClasS? Dec 24 11:50:20 adkins, no, as long as that method doesn't keep the reference to it somewhere Dec 24 11:50:24 which would cause a memory leak Dec 24 11:51:05 Mavrik: how can it keep it if it is not a member? Dec 24 11:52:10 i can imagine if it would call another function in that class with the passed context. Would be kept for a short while then Dec 24 11:52:11 Mavrik, http://pastebin.com/5knBz4F5 Dec 24 11:54:38 adkins, I don't understand your question. Dec 24 11:55:09 smellymoo, first two lines. Dec 24 11:55:09 Android NDK: Could not find application project directory ! Dec 24 11:55:10 Android NDK: Please define the NDK_PROJECT_PATH variable to point to it. Dec 24 11:55:15 Mavrik: thats the function: http://pastebin.com/RJGNfU0y Dec 24 11:55:21 in the utils class Dec 24 11:55:31 adkins, yes? Dec 24 11:55:43 i pass different activity-contexts to that function Dec 24 11:55:55 yeah, that should be safe Dec 24 11:56:03 since the context isn't retained anywhere in there. Dec 24 11:56:20 Mavrik, no, that is from running build with no path, was trying to get the help page, shouldn't have included that. look down a few lines to where I run it properly. Dec 24 11:56:28 smellymoo, you have to run ndk-build from within your app directory. Dec 24 11:57:09 Mavrik, yup, did, look down a bit. Dec 24 11:57:24 Mavrik: ok, thanks. but still want to understand you better. If i dont do like mContext=context in that function to store that context in the member mContext of AppUtils-Class.....how can it be still referenced if i dont do it like this? (just curious) Dec 24 11:57:37 smellymoo, is your target set to something before android-15? something missing 64-bit ARM support? Dec 24 11:57:50 adkins, it can't :) Dec 24 11:58:00 ok good ;) Dec 24 11:58:06 adkins, I was just warning you that you should not pass activities to static functions that do exactly that :) Dec 24 11:58:28 adkins, as long as that doesn't happen it's perfectly fine to use activity contextx Dec 24 11:58:33 ok, thx i wouldnt do that ;) Dec 24 11:59:28 Hey guys. I noticed the "Getting Started" tutorial switched from recommending Eclipse to Android Studio. So which one do I use? Dec 24 12:00:29 threenuc, AS if you're starting now and have no old projects Dec 24 12:00:45 Mavrik, ok thanks Dec 24 12:00:45 Or you want to do most of your app in C++ Dec 24 12:00:47 Mavrik: another question: if i pass an activity to another class (non static) is there something i should consider? maybe passing it as final WeakReference or something? Dec 24 12:01:01 Mavrik: ... you can make android apps in c++? Dec 24 12:01:24 adkins, it depends again if that class will keep the activity around or not after the activity goes away :) Dec 24 12:01:34 Mavrik, will look :). Dec 24 12:01:37 weakreferences are usually not a good idea Dec 24 12:01:53 smellymoo, it looks like it's trying to look for an object file for ARM64 build and it can't find it... Dec 24 12:02:00 threenuc, you can build part of them yes. Dec 24 12:02:10 thepoosh, it's horrible and will make you have yourself and your pets. Dec 24 12:02:15 er, threenuc Dec 24 12:02:21 Mavrik: and the other part is written in XML or something? Dec 24 12:02:31 nop, still Java :P Dec 24 12:02:53 Meh. I already know C++ :c Java is dumb Dec 24 12:03:09 I'm sure Java dislikes you too son :P Dec 24 12:03:17 T-thanks dad Dec 24 12:03:58 By the way do you recommend learning Java first or learning Java along with android dev? Dec 24 12:04:49 threenuc: I learned Java (from knowing C++) along with android development Dec 24 12:05:32 welp, thanks, gonna adev now Dec 24 12:05:39 threenuc, well... I guess you can do both, but Android docs won't really explain Java concepts used in the API for you Dec 24 12:05:43 so that's hard mode I guess :) Dec 24 12:05:44 you've just got to know when a problem you're facing is a java problem (so look up general java docs) or an android issue (so look up android docs) Dec 24 12:07:07 Mavrik: lets say i have some non-activity class like a ClickListener which i pass my MainActivity to in constructor and keep it in a member(m_MainActivity), for triggering in the function onClick the function m_MainActivity.doSomething(). Dec 24 12:07:08 How do i avoid that this member is kept if MainActivity gets destroyed/goes away? hope its not too complicated explained. If so i make it more clear with some code Dec 24 12:07:43 adkins, you just make sure that class isn't kept anwyhere else Dec 24 12:07:55 adkins, if you create a new instance of that class just to assign it to a view that's part of the activity Dec 24 12:08:05 it'll get collected as activity gets collected since nothing else holds a reference to it Dec 24 12:08:41 Mavrik: oh ok the object of that ClickListener-Class has just to stay in MainActivity and cant be used in another class/activity? Dec 24 12:09:20 adkins, yes, or if it's used/passed somewhere else, that "else" either isn't supposed to live through the activity lifecycle or it's not supposed to hold on to that object longer Dec 24 12:09:22 if that makes sense Dec 24 12:11:13 more or less i guess ;) -probably yes ;) But i can assign that ClickListener-Object to other views as long as they are in the same MainActivity-Class right? Dec 24 12:13:46 Mavrik: Dec 24 12:14:15 adkins, yep Dec 24 12:14:28 Mavrik: alright, thanks a lot dude Dec 24 12:24:38 Mavrik: ? Dec 24 12:24:48 oh, you were talking to cpp guy Dec 24 12:24:50 nvm Dec 24 12:47:18 Mavrik "it looks like it's trying to look for an object file for ARM64 build and it can't find it" - so how do you mean? checked the checksum of the download of ndk and it matches, but when I extracted it it did have 600 errors reported. normal? Dec 24 12:53:38 damn just discovered viewholders and recyclerview Dec 24 12:53:42 killer performance increased Dec 24 12:53:45 -d Dec 24 12:54:57 Happy Christmas! Dec 24 12:56:14 16 hours til Dec 24 12:57:49 Happy belated Christmas 2013 to capella then Dec 24 12:59:34 capella: now is the time to remember high fibre diets and Mr. Hankey Dec 24 12:59:38 *Hanky Dec 24 12:59:49 marrrk: ^ Dec 24 13:00:19 🎅 Dec 24 13:00:42 I love Towlie <3 Dec 24 13:00:58 (Wanna get high?) Dec 24 13:01:00 I am talking about Mr. Hanky!!! Dec 24 13:01:12 and I ALWAYS know where my towel is Dec 24 13:02:05 is this a "see how much i know south park" contest ? =D Dec 24 13:02:43 . o O ( It was about then, that I noticed that the girl scout, was about three stories tall and hailed from the jurassaic period ) Dec 24 13:02:45 no, the "always know where your towel is" is from the hitchhiker's guide Dec 24 13:03:06 capella: defaq? Dec 24 13:03:07 thepoosh: not the "14:00 < capella> I love Towlie <3 / 14:00 < capella> (Wanna get high?)" Dec 24 13:03:16 she said ... "I'm gonna need 'bout tree-fiddy" Dec 24 13:03:21 well, that is from the re-run episode Dec 24 13:03:27 LOLLL Dec 24 13:06:43 Are any of the non-standard/normal font weights for roboto available natively in the android sdk to use in apps? Dec 24 13:07:14 Roboto... Dec 24 13:07:57 Come on, emancipate yourself from fontal slavery Dec 24 13:08:27 LOL Dec 24 13:08:34 no one but you can free yourself Dec 24 13:08:50 lasserix: http://stackoverflow.com/a/13329907/1056359 Dec 24 13:14:30 oh great Dec 24 13:14:36 more fragmentation styles to make Dec 24 13:14:47 thanks thepoosh Dec 24 13:15:16 marrrk... have you ever been to a website that offers free fonts? Dec 24 13:15:33 there are many. Dec 24 13:15:34 i'd rather be a font slave and not get lost in the sea of font noise Dec 24 13:15:47 ahh, get your point. Dec 24 13:15:53 maybe if i were making an app that it mattered Dec 24 13:15:56 like a quotes app sure Dec 24 13:16:33 In what app would it not matter? Dec 24 13:17:20 keyboard app Dec 24 13:17:31 probably want font to be system font since the keyboard will be Dec 24 13:18:00 since even if the keys were styled the output wouldn't and that would be kinda weird Dec 24 13:18:14 besides i think roboto is fine Dec 24 13:18:29 Keyboard! Dec 24 13:18:58 KEYBOARD Dec 24 13:21:42 Google always said "don't be evil". Then they made Roboto. Dec 24 13:22:27 marrrk what do you have agaisnt roboto? Dec 24 13:22:42 i think how the genymotion emulator matches my laptop battery level Dec 24 13:24:19 Mavrik, fucking computers. it was the when I extracted the NDK it lost some files. bastarting computer wasting my time. Dec 24 13:24:47 hey guys did you how can i user elevation and translationZ properties on API versions before 21 Dec 24 13:24:49 ? Dec 24 13:25:28 It seems as though they have improved Roboto recently. Maybe there is some hope after all. Dec 24 13:27:11 http://ivanukhov.com/roboto/ Dec 24 13:28:43 abara: You can't Dec 24 13:29:36 abara: Just wait two years before you use this revolutionary feature. Dec 24 13:32:28 app crashes with QHD displays. what changes are required to support QHD devices? Dec 24 13:32:45 i love uhd... Dec 24 13:34:19 none of you guys can take a minute on my code that won't serialize to json using gson? Dec 24 13:34:36 come on, lets be there for each other! Dec 24 13:34:57 for now QHD support is required but it will be better if the fix will work with UHD too. any guide or tutorial available anywhere? Dec 24 13:35:12 i don't do gui Dec 24 13:35:19 on any platform Dec 24 13:35:37 meh - arstechnica seems down Dec 24 13:36:19 yep down here too Dec 24 13:36:45 https://gist.github.com/leviyehonatan/1dcbb146fe34838ca534 Dec 24 13:36:57 look at it, its so beautiful Dec 24 13:37:06 but doesnt write json properly Dec 24 13:42:35 Somebody experience with android-beacon-lib or estimote? Dec 24 13:54:08 mmmmmmm bacon.... Dec 24 13:54:23 set that margin indent down to like 4 Dec 24 13:54:31 thepoosh: can't believe you didn't solve my puzzle yet Dec 24 13:54:51 the GSON onw? Dec 24 13:54:57 one Dec 24 13:55:29 Nick-S: Why are you using gson? Don't you know that GSON uses reflection? Dec 24 13:55:40 ?! Dec 24 13:55:51 what are you talking about?! Dec 24 13:57:37 Nick-S: How are you even running that on an Android device? Dec 24 13:58:08 marrrk_: its running... everyone's using it, its the default retrofit covnerter for json Dec 24 13:58:45 GSON Dec 24 14:01:17 Nick-S: Have you tried the same code without inner classes? Dec 24 14:02:32 Hello guys, I have a working project, but I need one thing to perfection it. I have a list view with items containing an imageview. I load the images from storage device, now I just read the file in the main thread. Which is not the way it should. What's the best way to load it asynchronously while the item can be out of scope of the list view? Dec 24 14:03:16 marrk Dec 24 14:03:21 marrrk: well no Dec 24 14:03:26 Number5: You can try with Picasso? Dec 24 14:03:56 Number5: Sorry, I did not intend to put a question mark at the end of a suggestion. Dec 24 14:04:28 yeah picasso is beautiful Dec 24 14:04:59 Nick-S: Does that mean that it doesn't work even if you put the classes outside? Dec 24 14:05:00 marrrk, I've seen this library, but it's a bit overkill for what I want. I already do a lazy download, which works well. It's just that when the images are downloaded, I want to read the images from the storage asynchronously . Dec 24 14:05:15 marrrk: i haven't tried Dec 24 14:05:50 Number5: What makes it overkill? It just makes your life easier. Dec 24 14:06:37 Number5, use a executor with futures, or rx, or something that allows you to keep a reference to the queued load task and cancel it as the view gets recycled Dec 24 14:06:53 Yes, indeed. But I already wrote my own adapter and everything in it. except that asynchronous read from file. Dec 24 14:07:43 Well then make an ugly asynctask if you want to make your life unnecessarily difficult Dec 24 14:08:21 Mavrik, yes that administrative task needed to keep track of references is interesting. I recall using weak references... hmmm I'll check it out. Dec 24 14:09:25 marrrk, my piece of code works great and efficient, using a queue to load next image etc.. Dec 24 14:09:47 um, using weakreferences doesn't sound right Dec 24 14:09:48 anyway, thnx for your suggestions Dec 24 14:09:58 you want to hold a strong reference so you can dequeue a waiting task Dec 24 14:10:21 anyway, thank you. Dec 24 14:24:14 Hi. I'm building an android phonegap chat application. What's the most efficient way of storing the chat history? Is it efficient to use a remote database or? Dec 24 14:25:27 Hi Dec 24 14:26:11 anyone success about support javascript for Android Studio? Dec 24 14:41:58 MalekAlrwily, afaik you need IDEA Ultimate for that Dec 24 14:44:32 hi all, need some help diagnosing a sig 11, only occurs on some emulators Dec 24 14:46:35 I believe the sig 11 fault occurs when it’s performing a https post. Works fine on 4.4.2, but not on other 4.x or 5.x versions Dec 24 14:47:07 hmm Dec 24 14:47:36 12-24 09:41:52.730: A/libc(2152): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x8e000000cc in tid 2196 (Thread-158) Dec 24 14:51:37 fwiw occurs in an asynctask while retrieve https Dec 24 14:56:26 Mavrick: thank you Dec 24 15:04:12 hi! I have problems with mounting obb on different devices. onObbStateChange(String path, int state) not being called, with message about bad permissions related to mounting. Problem sometimes solves with completely unloading app from memory Dec 24 15:04:43 any clues? Dec 24 15:07:25 i see that the AS layout element attributes that are automatically generated aren't showing properly. They're not on separate lines.. is that something happening only on my AS installation? Dec 24 15:07:34 for ex: I get exactly this: Dec 24 15:07:44 android:layout_height="wrap_content" /> Dec 24 15:08:01 instead of: Dec 24 15:08:03 https://www.irccloud.com/pastebin/XeWiwJj6 Dec 24 15:08:11 is there a fix for this? Dec 24 15:09:54 supay, the way AS formats your code is set in code style settings in preferences Dec 24 15:11:15 hello...I'm interested in hardware accelerated video decoding using androind ndk for android 2.3+...could i do it with ffmpeg? Dec 24 15:11:28 Mavrik: im not sure which setting to change to fix this? but i see a lot of settings for the XML code style. thanks. i guess its all trial and error now Dec 24 15:12:09 supay, there's an option "Import Android XML style" next to it :) Dec 24 15:12:20 hmm appears nothing to do with https, at leats not directly - I’m getting to the debug in the work queue below. is there a recomemnded way to share code here vs copy paste? Dec 24 15:13:29 YiamiYo: look at for example kodi, or plex Dec 24 15:13:33 Mavrik: im dont see this option.. im on the latest Android Studio (v 1.0.2) Dec 24 15:14:27 supay, the blue "Set From -> predefined -> Android" ? Dec 24 15:15:08 Mavrik: ah, yes.. i have that. thanks a ton! :D Dec 24 15:15:20 anyone knows how to deal with ServiceConnection leaked on a start_sticky service? Dec 24 15:24:30 Sitting in an airport with my flight delayed... Dec 24 15:24:40 Where are you flying to? Dec 24 15:24:56 Back to Tampa from Syracuse Dec 24 15:30:40 is mediacodec accessible directly from the ndk or only through jni? Dec 24 15:31:40 Hi everybody. I implement some simple image editing/sketch drawing app. I have a rotation/scaling feature and the currently selected image has additional "focus" elements around it http://i.imgur.com/i22waUq.png The "focus" elements(corners) implemented using transparent RelativeLayout with images aligned to the respective sides. My problem is that when image is scaled so it's bigger than parent element(RelativeLayout as well) Dec 24 15:31:40 my focus-layer stops to grow( http://i.imgur.com/aXoiciu.png ) because its maximum size constrained by the parent's size. How can I make child RelativeLayout or View bigger than parent? Dec 24 15:36:13 Oh, I love those code changes that not only make code more readable but also improve performance. Dec 24 15:44:49 Hey guys, is there a recommended way of turning a sqlite row into a POJO? Right now, I’m manually getting all the column values and then individually setting each field. Dec 24 15:46:08 TacticalJoke: you're looking for an orm Dec 24 15:46:37 There are many to pick from Dec 24 15:47:21 check out ormlite and sugarorm, but google can show you lots of different ones Dec 24 15:50:36 oh cool, thanks for pointing them out Dec 24 16:12:29 Hello, I'm using new Canvas(bitmap); to draw on a bitmap, I'm drawing a group of circles with colors, the question is how do I replace a circle with the original part of the image that was there? I tried PorterDuff modes but I had no success, any idea how could I acheive that ? Dec 24 16:14:10 i wonder why i can't see my app icon on my action bar. im using a blank activity with fragment. all my xml Dec 24 16:14:28 i wonder why i can't see my app icon on my action bar. im using a blank activity with fragment. all my xmls* are using Holo Light with dark action bar Dec 24 16:15:14 (sorry about repost, pressed return key accidentally) Dec 24 16:26:39 supay: Are you using showHome in your actionBarStyle? Dec 24 16:27:35 TacticalJoke: i haven't created any actionBarStyle as of yet.. im not sure if it has been autogenerated Dec 24 16:29:40 Take a look in /res/values/styles.xml or /res/values/themes.xml. Dec 24 16:29:53 Look for "android:displayOptions". Dec 24 16:31:17 TacticalJoke: i dont have a themes.xml, only a styles.xml.. and its empty. Dec 24 16:31:19 https://www.irccloud.com/pastebin/8GFnxy7E Dec 24 16:32:39 Oh, you're using AppCompat? Dec 24 16:33:12 nope, i dont think so Dec 24 16:33:16 I haven't used it lately. I wonder whether "Theme.AppCompat.Light.DarkActionBar" doesn't show an icon by default (because the whole material thing). Dec 24 16:33:20 of^ Dec 24 16:34:37 android:theme="@style/AppTheme" Dec 24 16:35:14 shit Dec 24 16:35:15 yes Dec 24 16:35:27 could i fix it by using some other theme? Dec 24 16:36:13 You could use Theme.Holo.Light.DarkActionBar. Dec 24 16:36:24 I'd try that and see whether the icon comes back. I'm guessing it will. Dec 24 16:36:59 supay: Note that, as far as I understand it, *not* showing an icon up there is now the typical thing (at least in "material design"). Dec 24 16:37:35 oh, i see.. i was worried that i was doing something wrong.. will try Theme.Holo.Light.DarkActionBar and tell you what happens Dec 24 16:37:35 supay, yeah if you are on API 21, no app icon Dec 24 16:37:40 add it back with this: Dec 24 16:37:42 ah.. well i am on api 21 Dec 24 16:38:00 supay: But you should get an icon with Holo. Dec 24 16:38:27 1: use the supportActionBar 2: getSupportActionBar().setIcon(R.drawable.ic_launcher); Dec 24 16:38:50 TacticalJoke: "Cant resolve symbol Theme.Holo.Light.DarkActionBar.." Dec 24 16:39:56 TacticalJoke, on api21 the theme alone wont get you the icon, you have to add it in the activity startup Dec 24 16:40:44 supay: What is your minSdkVersion? Dec 24 16:40:46 bringing app themes forward in Android is a mess Dec 24 16:40:55 regreddit: Not in my experience. At least, on the 5.0 emulator, I see the icon. Dec 24 16:40:57 TacticalJoke: 2.3.3 Dec 24 16:41:37 API 11? Dec 24 16:41:42 10? Dec 24 16:42:00 10! :) Dec 24 16:42:07 you seem surprised Dec 24 16:42:21 so you are using AppCompat and the support library? Dec 24 16:42:28 no, i support back that far Dec 24 16:42:33 Holo isn't available for that API level. Dec 24 16:42:38 How to run a java code in gradle task? Dec 24 16:42:43 Why is your minSdkVersion so low? Dec 24 16:42:50 the video series im learning from says that 2.3.3 is a good min sdk Dec 24 16:42:50 im getting ready to cut that to 15 though Dec 24 16:42:52 ah Dec 24 16:43:03 thats pretty old Dec 24 16:43:06 supay: Generally speaking, you shouldn't be setting it lower than 15. Dec 24 16:43:09 im not sure if im using AppCompat or how.. i started learning Android today :/ Dec 24 16:43:11 That just causes you pain. Dec 24 16:43:14 oh Dec 24 16:43:15 i see Dec 24 16:43:23 Set it to 15+ unless you have a really good reason. Dec 24 16:43:32 15 or > opens up more flexibility,a nd you still support > 6,000 devices Dec 24 16:43:38 regreddit: i added -- getSupportActionBar().setIcon(R.drawable.ic_launcher); -- to the onCreate method in MainActivity.java Dec 24 16:43:41 that didn't seem to help Dec 24 16:44:00 supay: Set to 15 and then use Holo. The icon should return. Dec 24 16:44:01 supay, https://developer.android.com/about/dashboards/index.html Dec 24 16:44:15 ah, alright Dec 24 16:44:23 R.drawable.ic_launcher Dec 24 16:44:26 supay: Though it's probably best just not to have an icon. :D Dec 24 16:44:28 needs to exists Dec 24 16:44:40 that is a reference to your icon resource Dec 24 16:44:45 really? icon looks cool.. haha, i dunno if "without icon" is the best practise now Dec 24 16:45:00 thats just happens to be what its called in the project i have open right now :) Dec 24 16:45:02 I think it's recommended now. Dec 24 16:45:12 Googling, though (because I haven't read the material design stuff very deeply yet.) Dec 24 16:45:17 ).* Dec 24 16:45:21 yeah the new design puts a menu there Dec 24 16:45:22 hey, 9.1% of devices still run gingerbread Dec 24 16:45:35 slackers ;) Dec 24 16:45:37 would it really be advisable to make the min sdk = 15? Dec 24 16:45:39 capella: lol :D Dec 24 16:46:19 It's a bad idea to let a dropping 9.1% of users make your development painful. Dec 24 16:46:45 regreddit: well, the icon resource does exist.. :/ it still isn't showing Dec 24 16:46:57 TacticalJoke: fair enough! :D Dec 24 16:46:58 It also limits your app. There's stuff you just can't do (or can't do easily) if you're supporting ancient versions of Android. Dec 24 16:47:04 anyone know how to use java in gradle task? Dec 24 16:47:10 i think i read somewhere theres a reason why there are so many Gingerbread devices atill showing up Dec 24 16:47:17 its a somewhat misleading number Dec 24 16:47:29 maybe some embedded device, i cant remember Dec 24 16:48:00 the chinese chromecasts maybe Dec 24 16:48:26 yep, thats so true.. just finished syncing up the project after changing minSDK.. lets see if it works Dec 24 16:49:01 still says "Cannot resolve symbol.. Theme.Holo.Light.DarkActionBar" Dec 24 16:49:16 MalekAlrwily, the Application Plugin Dec 24 16:49:36 regreddit: please explain Dec 24 16:49:50 http://www.gradle.org/docs/current/userguide/application_plugin.html Dec 24 16:49:56 thank you Dec 24 16:50:06 the docs will explain it better than i ever could Dec 24 16:50:26 :) Dec 24 16:50:29 GB ... "The new XP" :D Dec 24 16:50:32 supay: To be sure, try this: @android:style/Theme.Holo.Light.DarkActionBar Dec 24 16:50:51 It should be this: