**** BEGIN LOGGING AT Wed Dec 04 02:59:58 2013 Dec 04 02:59:59 when i see screenshots it looks like the old android plugin Dec 04 03:00:12 oh nooooo, i'll have to go down the gradle route? :( Dec 04 03:00:29 yes, it is using gradle Dec 04 03:00:36 same as AS Dec 04 03:01:39 wonder if i can build it with java 1.7 ... couldn't with IJ12.x ... :) Dec 04 03:02:30 this guys accent is great http://www.jetbrains.com/idea/features/android-tutorials.jsp Dec 04 03:03:18 all the rolling r's Dec 04 03:03:19 hahaha that is pretty funny Dec 04 03:03:26 kinda sounds computerised Dec 04 03:06:09 lame, that video was for 12.1.3 Dec 04 03:07:50 * pfn waves goodbye to kauai Dec 04 03:07:59 pfn get to see the volcano / Dec 04 03:08:29 no, but volcanoes aren't all that cool unless they're doing something Dec 04 03:08:47 and when they're doing something don't really want to be seeing them Dec 04 03:08:57 oh, i thought it was always having flows Dec 04 03:09:05 but hard to see during the day Dec 04 03:10:30 does someone maybe knows a replacement for InitialContext ? Dec 04 03:11:57 that's on the big island Dec 04 03:12:29 and there, the lava is flowing but not anywhere accessible to the public, it's in a restricted area Dec 04 03:12:49 DenRaf, I assume you want leap, use the novell lib Dec 04 03:12:52 ldap Dec 04 03:13:06 * pfn sail away & Dec 04 03:16:37 pfn makes sense. movies is all bullshit about lava Dec 04 03:16:46 pfn, which novell lib? Dec 04 03:16:48 oh EMBEDDED DATABASE ACCESS is only for the ultimate edition Dec 04 03:16:49 you can get on fire standing near lava Dec 04 03:18:19 about to test the ballmer peak Dec 04 03:19:41 but since I suck at coding it might cancel itself out Dec 04 03:20:37 ballmer peak? DEVELOPERS DEVELOPERS DEVELOPERS! Dec 04 03:20:53 LOL Dec 04 03:21:18 leed's coming out of left field like hes got an alarm on that Dec 04 03:21:35 Hi, i was wondering if someone would have 5 minutes to answer a few questions about egit? the eclipse channel is useless! Dec 04 03:21:58 I learned it today in like 1 Dec 04 03:23:39 so as long as I can google faster than you can type i might be able to help Dec 04 03:24:42 type* Dec 04 03:24:54 hi, anybody knows the location politics of the apps? Dec 04 03:28:09 My app's 60% downloads are from my country, why is this? Dec 04 03:28:32 the target of my app is not my country Dec 04 03:28:56 haha maybe somebody over there blogged abou tit or something Dec 04 03:29:03 HE GONE Dec 04 03:30:41 on first glance I thought "the politics of the apps" sounded like a pretty good read Dec 04 03:31:07 is my app in disadvantage in USA against apps published in USA? Dec 04 03:32:56 what language is it written in? Dec 04 03:33:05 and maybe somebody online wrote a blog about it or something Dec 04 03:33:45 it has no language, is a game Dec 04 03:34:04 * XXCoder1 headdesk Dec 04 03:34:09 who knows man. I'd hate to speculate that if that's really the case because I'd probably lean toward yes at least at first, but once it gets more popular it won't matter Dec 04 03:34:10 but the default language is english-usa Dec 04 03:34:31 in the console developer Dec 04 03:36:19 i was wondering if someone would have 5 minutes to answer a few questions about egit? Dec 04 03:36:52 i did but not anymore i'm about to reach the peak Dec 04 03:37:17 ohhh Dec 04 03:37:26 I learned it today in like 1 --- that was directed at me? Dec 04 03:38:12 uh-oh, Eeeeeee is climaxing Dec 04 03:38:22 im bout to explode with code Dec 04 03:38:31 basically the question I had was, is egit all I need to check in my code to github? Dec 04 03:38:34 is code code for something? :P Dec 04 03:38:56 means go out back and smoke a fat doobie Dec 04 03:39:06 i already have a github account. if I create a repo on github, can I then push it with egit? Dec 04 03:39:25 are you familiar with git? Dec 04 03:39:41 somewhat, yeah Dec 04 03:39:46 hrm Dec 04 03:39:52 i know how to use the basic functions of git on the command line Dec 04 03:39:57 that question would lead me to believe ortherwise Dec 04 03:40:18 let's put it this way Dec 04 03:40:19 you'll be fine then Dec 04 03:40:29 i know how to push it to a repo using the command line Dec 04 03:40:44 go test it out for yourself Dec 04 03:40:48 but i don't know if I can use egit to track changes and what have you through eclipse, as you would with tfs in VS Dec 04 03:41:43 you can (i totally made that up) Dec 04 03:42:09 but looking through the options it would seem that way, have you looked? Dec 04 03:42:37 bbl Dec 04 03:42:47 i'm gonna go code one in my backyard Dec 04 03:43:04 yeah I have looked but I wasn't sure if it was related to this: http://eclipse.github.com/ Dec 04 03:43:49 * Eeeeeee shakes head Dec 04 03:43:50 I assume it is, but the fact that it says "Download Git and GitHub for Eclipse" makes me wonder... as I already have git by way of Gi Bash Dec 04 03:44:01 it is, i'm gone bro Dec 04 03:44:20 and these guys won't help you 99% guaranteed Dec 04 03:44:33 thanks anyway Dec 04 03:44:36 np Dec 04 03:44:58 if you'll please fill out a customer survey before leaving we'd appreciate it Dec 04 03:50:01 g00s_: have you installed it yet ? Dec 04 03:50:17 bankai_ ya, can't really tell the difference yet Dec 04 03:50:54 what i'm confused by, is what will AS have that plain intellij won't Dec 04 03:51:46 google are updating a lot, so maybe there's a lot of fixes and tweaks in AS that IJ don't get until later? Dec 04 03:54:44 Well parcelable is officially easier than having an application class and passing around position variables Dec 04 03:55:17 i never use application class Dec 04 03:55:40 but dont pass stuff around as parcelale either ;) Dec 04 03:55:58 too late already am hehe Dec 04 03:57:27 is there any better way though Dec 04 03:57:43 At first I did application class with passing list positions, now I'm using a stripped down parcel of my pojo Dec 04 04:02:24 AS will have gradle bugs that help watse your ballmer peaks lol Dec 04 04:03:00 lol Dec 04 04:03:18 so im back at square one, looking for a way to best stay my json files for later usage in a list view, but atleast i now use parcels Dec 04 04:03:39 O.o Dec 04 04:03:58 the activeandroid orm just wasnt gonna work Dec 04 04:05:10 hi Dec 04 04:05:34 hello Dec 04 04:05:47 Anyone wants to dev a game with me? Dec 04 04:05:54 sure Dec 04 04:06:00 that was easy right? Dec 04 04:06:04 ya Dec 04 04:06:05 you should make an MMO! Dec 04 04:06:14 you didn't even have to introduce yourself Dec 04 04:06:15 I'm actually making a platformer Dec 04 04:06:27 2d Dec 04 04:06:28 awww thats not a good first project! Dec 04 04:06:34 It's not my first Dec 04 04:06:44 desmin88: what's wrong with using a db for them ? Dec 04 04:06:46 It just needs a lot of work, so I can use a partner Dec 04 04:06:51 ok well then your way past the MMO stage ;) Dec 04 04:07:16 bankai_: theres no issue' Dec 04 04:07:20 i just dont like activeandroid Dec 04 04:07:34 So eeeeeeeeeeeee Dec 04 04:08:10 Alright I can see no one's interested. Dec 04 04:08:17 write your own wrapper then :) Dec 04 04:08:48 im probably just going to use a sqlite db + content provider Dec 04 04:09:28 <_Auron_> I'm too busy Dec 04 04:10:29 ill develop it with you for cash. Dec 04 04:10:37 lol Dec 04 04:10:53 take that deal before he takes it off the tables Dec 04 04:11:05 Ok how much? Dec 04 04:11:15 USD 100/hr Dec 04 04:11:18 ^^ Dec 04 04:11:24 and thats actually cheap from what ive heard Dec 04 04:11:25 90 Dec 04 04:11:30 some people do 600+ hr for consulting Dec 04 04:11:39 you just got into a bidding war Dec 04 04:11:42 lel Dec 04 04:11:44 should've taken it to pm Dec 04 04:11:47 amatuer Dec 04 04:11:53 I will pay 3.50 per hour but after the app is done. Dec 04 04:12:06 * _Auron_ explodes in laughter Dec 04 04:12:07 lol Dec 04 04:12:12 srsly Dec 04 04:12:13 lol Dec 04 04:12:16 :D jk i would just outsource it, hire desmin Dec 04 04:12:17 tree fiddy Dec 04 04:12:27 lone Dec 04 04:12:28 LONE Dec 04 04:12:30 YOU GOTTA DEAL Dec 04 04:12:41 3.50/hr after app is done Dec 04 04:12:43 thats a joke Dec 04 04:12:49 it has to be Dec 04 04:12:51 send me what you have developed so far Dec 04 04:13:04 3.50 an hour for every hour after production -- you're going to be rich ... Dec 04 04:13:06 Ok eee Dec 04 04:13:08 so i can rip you off Dec 04 04:13:10 sit back and watch the money roll in, buds Dec 04 04:13:12 but dum steel pls Dec 04 04:13:17 dun Dec 04 04:13:25 i mean so i can take a look and quote you more accurately Dec 04 04:13:27 bankai_: lol Dec 04 04:13:38 LOL Dec 04 04:13:53 <_Auron_> heh Dec 04 04:13:57 but dum steal plz dun? Dec 04 04:14:00 is that code? Dec 04 04:14:02 dun steel Dec 04 04:14:06 pls Dec 04 04:14:12 i steel. Dec 04 04:14:13 does not compute Dec 04 04:14:13 bro Dec 04 04:14:16 don't send it Dec 04 04:14:32 anyone on guru.com ? now there's some insane asking prices there Dec 04 04:14:38 you're english must not be good. the whole joke was you offered that low, and then i took it to rip you off Dec 04 04:14:52 sheesh dead crowd tonight eh Dec 04 04:15:07 "Please can someone make me an app for android,iphone, windows etc that does simple GPS calculations...." and all done for $250 ....no way!! Dec 04 04:15:10 banai_ seriously Dec 04 04:15:40 Lmfao Dec 04 04:15:41 bankai_: tizen too Dec 04 04:15:46 I once made an app for #=$130 lol Dec 04 04:15:47 Who said that Dec 04 04:15:52 took me 2 days so not that bad Dec 04 04:16:07 you're doing the community an injustice by charging so little Dec 04 04:16:18 <_Auron_> I made $250 doing a sheet of pixel art once Dec 04 04:16:27 long story short i came upon an encrypted app somehow and traced it back to its source on odesk Dec 04 04:16:35 So you guys sell apps? Dec 04 04:16:36 it was like 300 Dec 04 04:16:39 unencrypted rather Dec 04 04:17:01 andre: for 3.50*100 Dec 04 04:17:28 he lone send me the app anyway and I'll look at what you got Dec 04 04:17:49 lone_wanderer101: what is that forumla for/ Dec 04 04:17:59 or send me some pics Dec 04 04:18:21 if it's viable i know people that might buy it from you Dec 04 04:18:48 monies andre Dec 04 04:19:17 made from an app Dec 04 04:19:20 thats not a lot Dec 04 04:19:22 350$ Dec 04 04:19:28 shit Dec 04 04:19:33 I mean I have never made anything Dec 04 04:19:34 lfmao Dec 04 04:19:35 not where you are Dec 04 04:20:13 is monies the plural form of money? Dec 04 04:20:21 wtf Dec 04 04:20:24 Never knew that Dec 04 04:20:25 lol Dec 04 04:20:26 nice joke Dec 04 04:20:29 no for real Dec 04 04:20:30 it is Dec 04 04:20:32 lmfao Dec 04 04:20:36 I just google'd it Dec 04 04:20:39 ... Dec 04 04:20:47 wtf Dec 04 04:20:48 monies Dec 04 04:20:49 monies is plural Dec 04 04:20:56 yeah I just found out about it Dec 04 04:21:15 Wtf so when I say I got $100. " Damn that's a lot of monies" Dec 04 04:21:21 Thats what your supposed to say after all? Dec 04 04:21:23 wtf Dec 04 04:21:35 yeah andre, from now on always say monies Dec 04 04:21:51 lol Dec 04 04:21:54 lone_wanderer101: do you have any apps on the play store Dec 04 04:21:54 people will respect your edginess Dec 04 04:21:55 ? Dec 04 04:21:59 don't say it in business meetings Dec 04 04:22:10 lol Dec 04 04:22:14 you can't really say google it after it slips out Dec 04 04:22:23 lmfao Dec 04 04:22:39 lone_wanderer Dec 04 04:22:49 have any github projects or coce samples? Dec 04 04:22:53 code Dec 04 04:23:18 https://github.com/videolan/vlc Dec 04 04:23:22 wtf Dec 04 04:23:24 ... Dec 04 04:23:26 A little side project Dec 04 04:23:38 lol Dec 04 04:23:40 LOL Dec 04 04:23:46 SO YOU'RE THE GUY Dec 04 04:23:48 THE MADE VLC Dec 04 04:23:53 MY GOD BIG FAN Dec 04 04:24:01 lmfao Dec 04 04:24:02 you're hired bro Dec 04 04:24:06 you can't take credit for that bro Dec 04 04:24:09 thats bogus Dec 04 04:24:23 bro show some respect andre Dec 04 04:24:36 Eeeeeee: Alright respect Rafël guys Dec 04 04:24:38 g00s_ said, I don't want any part of this Dec 04 04:24:39 Bow to your god plebs! Dec 04 04:24:46 Who btw is running the proj. Dec 04 04:25:22 I remember 2 years ago g00s was about to kick me out of here. Dec 04 04:25:33 lol he has ops? Dec 04 04:25:40 Idk I think so. Dec 04 04:25:45 or threatened you and you believed it Dec 04 04:25:48 classic Dec 04 04:25:49 no Dec 04 04:25:53 I never threatened Dec 04 04:25:54 off topic Dec 04 04:25:54 Until this guy, can't remember his username (started with an S), saved me Dec 04 04:25:59 he threatened Dec 04 04:26:19 lol Dec 04 04:26:23 The only people I remember from here are g00s p _ l and Jake Dec 04 04:26:28 lol Dec 04 04:27:05 i used to be like you Dec 04 04:27:39 Lol. I honestly think I still don't know android that good. Dec 04 04:27:42 don't kickban me plz!!! Dec 04 04:28:09 i've been here for like a week Dec 04 04:28:12 People kept refering me to learn some other language and start of with Java that I quit.lmfao Dec 04 04:28:22 I've been here for 4 years Dec 04 04:28:32 I reregistered from agy2154 to my real name Dec 04 04:28:35 and have learned from this channel not the gdocs Dec 04 04:28:46 Eeeeeee: I learned from both Dec 04 04:28:57 holy shit Dec 04 04:28:58 4 years Dec 04 04:29:02 yea Dec 04 04:29:05 I got no where though Dec 04 04:29:12 I've been here for 40 minutes Dec 04 04:29:26 !bot Dec 04 04:29:29 !help Dec 04 04:29:31 we get it you made vlc Dec 04 04:29:45 lone wa Dec 04 04:29:45 Yeah Dec 04 04:29:48 lone Dec 04 04:29:54 do you have a play store page? Dec 04 04:29:57 send me your game Dec 04 04:30:02 ya Dec 04 04:30:11 i'm interest as well Dec 04 04:30:14 ed Dec 04 04:30:21 "Believe everything you see on the Internet". -Abraham Lincoln Dec 04 04:30:36 so crazy Dec 04 04:30:38 he was a prophet Dec 04 04:30:48 srsly I said it and you guys actually belived it lol Dec 04 04:31:00 hey dipshit Dec 04 04:31:05 haha Dec 04 04:31:07 we're fucking with you Dec 04 04:31:29 Nah you belived it lol Dec 04 04:31:29 but we are serious about about seeing what you actually do Dec 04 04:31:33 chill Eeeeeee Dec 04 04:31:35 lol Dec 04 04:31:46 lol Dec 04 04:31:58 im cool as a cucumber Dec 04 04:33:37 need i remind you he almost sent me his awhole game earlier Dec 04 04:33:37 lol Dec 04 04:34:01 Almost? Dec 04 04:34:10 I still will send if you want.. Dec 04 04:34:18 screen shots? Dec 04 04:34:21 honestly if it's worth a shit Dec 04 04:34:28 i can get someonre to buy it Dec 04 04:34:58 and if it's at that level Dec 04 04:35:03 hi, testing, anyone able to read this? Dec 04 04:35:06 Ok whos' getting 600$ and hour for what? Dec 04 04:35:07 It is 1337 Dec 04 04:35:12 androidnewb: I am Dec 04 04:35:17 You are signed in and on the channel Dec 04 04:35:18 Welcome Dec 04 04:35:19 thanks! Dec 04 04:35:45 c001 b000 l33t sp3ak Dec 04 04:36:13 if it Dec 04 04:37:16 oh god, he got in at last Dec 04 04:37:25 Leeds! Dec 04 04:37:30 MMy old nemesis! Dec 04 04:37:33 I remember leeds from years ago too Dec 04 04:37:36 leeds bum me $300 \ Dec 04 04:37:52 welcome back g00s Dec 04 04:37:55 i got a serious money maker here Dec 04 04:38:58 JakeWharton around by any chance? i tried intellij 13 CE and can't tell the difference between that and AS. do you know ? Dec 04 04:39:09 uh... almost none Dec 04 04:39:31 they have, and always will be, the same thing Dec 04 04:39:38 JakeWharton ok, so as google keep updating AS, does that percolate into updates to the android plugin then ? Dec 04 04:39:41 lol Dec 04 04:39:42 Wow Jake Wharton. Dec 04 04:39:46 yeah Dec 04 04:40:00 Action bar sherlock guy? Dec 04 04:40:02 they're merge into and from each other Dec 04 04:40:02 Wow Dec 04 04:40:33 wow such action bar sherlock wow many jake wharton. Dec 04 04:40:48 so AS and intelliJ are like the 2 snakes eating each other tail :) Dec 04 04:41:27 heh, yeah. pretty much Dec 04 04:42:10 intelliJ will always seem like the better choice because it costs money Dec 04 04:42:34 Eeeeeee: depends on how advanced you are Dec 04 04:42:44 JakeWharton what are you going to use from this point forwards ? Dec 04 04:42:46 I'm still a scrub at android so I'm sticking with eclipse. Dec 04 04:42:55 advanced with money or brains? :P Dec 04 04:42:59 brains Dec 04 04:43:08 AS for gradle-based Android projects. IJ for everything else. Dec 04 04:43:19 oh, so there may be some gradle differences then Dec 04 04:43:21 thought we just established there's no difference Dec 04 04:43:32 ah Dec 04 04:43:50 Google is developing the Android plugin in Android Studio therefore changes will appear there first Dec 04 04:44:15 Eeeeeee: whats the difference between graddle and default? Dec 04 04:44:20 ok, so if i want to use the latest gradle plugin it seems like i should use AS then Dec 04 04:44:31 you've been at this 4 years you tell me Dec 04 04:44:41 headaches? Dec 04 04:45:22 i started like right before gradle, and literally headaches Dec 04 04:45:39 i'm loving it Dec 04 04:45:49 more so because I don't know gradle though Dec 04 04:46:00 no time like the present to learn Dec 04 04:46:07 no i agree Dec 04 04:46:11 So basicly the deafult is ANT? Is Gradle more efficent? Does it provide a preformance advantage during runtime? Dec 04 04:46:14 some guy almost cursed me out in here Dec 04 04:46:30 because i was so new and he had been on eclipse forver and wanted to know what i knew Dec 04 04:46:51 AndreYonadam: Yeah ant is pretty much the worst "build system" in the world Dec 04 04:46:52 "hey google's forcing this stuff on me" Dec 04 04:46:59 hah Dec 04 04:47:06 when I first tried Gradle I though it was a disaster, getting used to it now Dec 04 04:47:14 and liking it even more every time i try it out Dec 04 04:47:21 i'm surprised it lasted as long as it did, to be honest. it's so unusably terrible Dec 04 04:47:23 agreed Dec 04 04:47:41 If I'm not having problems with ANT should I stick with it? Dec 04 04:47:54 probably Dec 04 04:47:56 I used Maven before, that was nice, but always broken in Eclipse Dec 04 04:48:11 at least try it Dec 04 04:49:28 but my argument is that there's a reason Google's making a mass push towards it Dec 04 04:49:53 xavd went over their motivation in the io talk Dec 04 04:50:00 Gradle > Maven/Ant > Eclipse ;) Dec 04 04:50:09 LOL Dec 04 04:50:09 er caps Dec 04 04:51:12 lol is one of rare acceptable all caps Dec 04 04:51:36 i swear it happens at the most awkward times Dec 04 04:51:52 maybe I should just run with sometimes :P Dec 04 04:52:18 remap CL to something benign? Dec 04 04:52:34 you can remap Common Lisp to something benign? Dec 04 04:53:01 in most cases Dec 04 04:53:05 I'm still really confused. Dec 04 04:53:14 get used to it Dec 04 04:53:27 your older programmers will explain it to you once you get out of college Dec 04 04:54:24 ... in my times, colleges tended to teach lisp. And those are still my times, so something had gone wrong ;) Dec 04 04:54:31 I will use anything that works Dec 04 04:54:38 Am i a whore? Dec 04 04:54:43 they actually do Dec 04 04:54:49 DarkSlay3r: yes. next question? Dec 04 04:54:57 ah, apparently his internet doesn't actually work Dec 04 04:54:59 DarkSlay3r: as long as "anything" doesn't involve PHP, you're fine? Dec 04 04:55:08 but its usually the older ones that talk about it a lot Dec 04 04:55:36 Eeeeeee: Structure and Interpretation of Computing Programs was, for a time, a rather popular textbook in some places Dec 04 04:55:45 unfortunately, Java came Dec 04 04:55:57 we did Ada Dec 04 04:56:14 uh, we did Pascal :( Dec 04 04:56:19 So what the heck does a tool like ANT do, is it when you export the app only? Or is it the software that checks all your code? Dec 04 04:56:34 Is it what renderes the R.java? Dec 04 04:56:41 ANT builds APKs Dec 04 04:56:48 using the SDK Dec 04 04:56:53 among many other things Dec 04 04:57:15 it's advantage over eclipse is that you can run it from the command line Dec 04 04:57:30 so, if you have a build server, it can use ANT Dec 04 04:57:51 AndreYonadam: ANT get's a file called build.xml, and it contains instructions what to do to get certain goals done Dec 04 04:58:05 Android SDK includes plugins and template build.xml to make APKs Dec 04 04:59:22 ant/maven/gradle all let you define things about how to build your project, where stuff is, how to sign it, etc. Dec 04 04:59:31 has anyone sat there for 5 minutes trying to adjust eclipses panes assuring yourself there must be some code that unlocks them into optimal position Dec 04 04:59:33 p_l: that makes some sense. So like maven would use an alternative to that xml file? Dec 04 04:59:34 maven also has dependency control Dec 04 05:00:02 gradle is the most modern option, and pretty easy to use Dec 04 05:00:07 AndreYonadam: maven has a bunch of other crap, and is a bit... different Dec 04 05:00:30 thanks for elaborating a bit even though this looks like it is kinda out of my scope. Dec 04 05:00:39 * Leeds uses vim and ant Dec 04 05:01:03 * DarkSlay3r fears Leeds Dec 04 05:01:10 how old are you leeds Dec 04 05:01:17 ha Dec 04 05:01:30 ancient Dec 04 05:01:32 not meant to be a joke Dec 04 05:01:47 rather forward though Dec 04 05:01:52 I am more correctly titled The Venerable Leeds Dec 04 05:01:53 * DarkSlay3r makes a stone idol of Leeds Dec 04 05:01:55 i meant he adopted vim Dec 04 05:02:18 hehehe Dec 04 05:02:23 typical :P Dec 04 05:02:27 he is the stone idol of irc isn't he Dec 04 05:02:48 I just turned 18 a couple weeks ago Dec 04 05:02:48 like Ent Leeds ;) Dec 04 05:02:51 on vets day Dec 04 05:03:32 Idk I hope to get to what you guys are talking about soon. lol. Dec 04 05:03:33 i'll probably hop on the bandwagon eventually too Dec 04 05:03:36 it's good to have a day to remember animal doctors Dec 04 05:03:37 like maven and all that stuff Dec 04 05:03:47 Eeeeeee: no, you should be wary when you encounter a Finn that remembers using BBSes and VAXen Dec 04 05:03:50 just experiment Dec 04 05:04:07 regarding stone idols of IRC, that is Dec 04 05:04:12 i'll assume that means sexual stuff and gtfo Dec 04 05:04:15 p_l: never used a VAX, did use BBSs Dec 04 05:04:30 did use bbs but not much Dec 04 05:04:32 Venerable_Leeds: are you finnish? :> Dec 04 05:04:33 lol don't know of VAXen Dec 04 05:04:40 p_l: nope, just getting started! Dec 04 05:04:41 its end have more or less ended Dec 04 05:04:44 Dec 04 05:04:44 I just use what ever works Dec 04 05:04:54 No problems... no tampering Dec 04 05:05:19 ^^^^wtf Dec 04 05:05:24 Everyone in here is leeds? Dec 04 05:05:32 tbh, first IRC server was on a Sun Dec 04 05:06:05 i need more proof he's the all knowing before i take the bow Dec 04 05:06:29 well, I was a Sun (employee) Dec 04 05:06:39 hehe Dec 04 05:06:47 Eeeeeee , are you one of the knights that say Eeeeee ? Dec 04 05:07:11 I cant remember when I started using irc but definitely in least late 90s Dec 04 05:07:26 stopped early 2000s and started again few years ago Dec 04 05:07:34 '95 or so for m Dec 04 05:07:36 video games Dec 04 05:07:39 every time someone addresses Eeeeeee I just thing the're really excited about android development Dec 04 05:07:45 *think Dec 04 05:07:50 LOL Dec 04 05:07:50 lol Dec 04 05:08:02 I need a more catchy username. Dec 04 05:08:04 honestly it was E Dec 04 05:08:30 Eeeeeee i'm so excited Dec 04 05:08:37 not you Eeeeeee Dec 04 05:08:47 i'll just assume leeds is the silent one Dec 04 05:08:57 I was Liverpool, many years ago... then I was Leeds, which stuck - I haven't actually *lived* in Leeds since 1998 or so Dec 04 05:08:58 so you must be somene else Dec 04 05:09:09 there he is Dec 04 05:09:09 THE BRT Dec 04 05:09:13 busted Dec 04 05:09:33 all my nicknames started with e Dec 04 05:10:11 regarding perception of age on internet, you know something is wrong when people who used to develop VMS on VAX think they should get off your lawn Dec 04 05:10:37 Don't even know what those two are Dec 04 05:11:09 hey guys i've been meaing to ask this Dec 04 05:11:29 i mean I'm normally the lurker on the inertnet Dec 04 05:11:47 what's up with the sheer amount of lurkers in this channel lol Dec 04 05:12:05 Eeeeeee: SHH!! Dec 04 05:12:10 You'll wake them Dec 04 05:12:19 hi Dec 04 05:12:21 lol Dec 04 05:12:27 maybe they're trying to learn by osmosis Dec 04 05:12:27 How long have you guys been doing android development? Dec 04 05:12:30 oh no... Dec 04 05:12:33 It's begun Dec 04 05:12:42 that's what I'm doing Jake Dec 04 05:13:07 AndreYonadam: M3 SDK / Android Developer Challenge I Dec 04 05:13:08 Eeeeeee: Fear the flood Dec 04 05:13:21 * Ent_XXCoder puts his roots down Dec 04 05:13:23 and rides it Dec 04 05:13:28 lol Dec 04 05:13:32 Too many people talking at once... madnees Dec 04 05:13:33 did I awaken a ,monster Dec 04 05:13:36 too much information Dec 04 05:13:37 kroot won ADC I if memory serves Dec 04 05:13:40 too fast Dec 04 05:14:01 * Ent_XXCoder inits buffer_overflow on follower_of_Leed Dec 04 05:14:07 JakeWharton: thats pretty cool that you started that early Dec 04 05:14:15 lol Dec 04 05:14:17 guys this is a problem. Dec 04 05:14:22 there were many months of inactivity in the first two years Dec 04 05:14:25 AndreYonadam: JakeWharton is awesome Dec 04 05:14:32 Yeah I know Dec 04 05:14:34 I go back to November 2008, by the looks of my ~/android directory Dec 04 05:14:37 I used to use ABS Dec 04 05:14:37 Fear and admire him Dec 04 05:14:40 i have a choice to make, watch the entirery of LOST on netflix in a week, or actually have a life for the next week. Dec 04 05:14:48 desmin88: LOST Dec 04 05:15:11 desmin88: draw out ideas lol Dec 04 05:15:24 desmin88: Life is overrated Dec 04 05:15:34 being a marketer I really have to say good job Jake Dec 04 05:15:40 I used abs in my prev app. Good stuff. Dec 04 05:15:47 desmin88: false dualogy Dec 04 05:15:47 you're like the brand in this community Dec 04 05:15:54 you can space it across few weeks Dec 04 05:16:42 desmin Dec 04 05:16:42 enjoy life Dec 04 05:16:44 JakeWharton: I've done this like 4 times, its becoming a problem. Dec 04 05:16:46 because they're all dead Dec 04 05:16:52 I would laugh my ass off if they somehow lost all LOST shows. "Damn they lost Lost!" Dec 04 05:16:57 ooops did i forget to say spoiler alert? Dec 04 05:17:01 they're not all dead Dec 04 05:17:05 don't worry I just saved you a week Dec 04 05:17:08 desmin88: watch LOST? I've only been through 3 times myself Dec 04 05:17:16 the bear is god :P Dec 04 05:17:20 You guys have jobs in a CS related field? Dec 04 05:17:22 i loved lost Dec 04 05:17:23 JakeWharton: yeah Dec 04 05:17:29 right up to the last episode Dec 04 05:17:33 then I hated it forever Dec 04 05:17:35 it'll be a long while before i watch it again Dec 04 05:17:39 they. are. not. all. dead Dec 04 05:17:43 nobody seems to get that about the ending Dec 04 05:17:49 Still watch preseason 3 though Dec 04 05:18:41 interesting tidbit: kate is rubbing her wrists in the pilot coming out of the forest due to the cuffs Dec 04 05:18:45 oh they were just havong a slumber party my bad Dec 04 05:19:23 Does the Action bar now come in the android support library? Dec 04 05:19:28 AndreYonadam: yes Dec 04 05:19:50 Eeeeeee: technically they will eventually die in the island world, they are all 'alive' in the sideways flash world Dec 04 05:19:51 I bet someone at Google got slapped behind the head Dec 04 05:20:12 interesting tidbit: desmin88 is in love with kate Dec 04 05:20:23 jk we all were Dec 04 05:20:40 desmin88: well, they are all dead... because "everybody dies" Dec 04 05:20:42 follower_of_Leed: slapped for adding it in the Support library? Dec 04 05:20:54 LOL Dec 04 05:20:55 AndreYonadam: the action bar is one of the v7 support libraries Dec 04 05:21:01 well eventually everyone dies Dec 04 05:21:01 for not adding Action Bar support from the get go Dec 04 05:21:03 ohh snap Dec 04 05:21:06 thats beast Dec 04 05:21:31 ohh Dec 04 05:21:40 wtf thats stupid Dec 04 05:22:30 DDOS 4 LIFE Dec 04 05:22:30 why is everyone leaving? Dec 04 05:22:36 FEEL MY WRATH Dec 04 05:22:39 AndreYonadam: Are you surprised that people die? Dec 04 05:22:54 lol. thats higher than the normal average rate Dec 04 05:23:32 Anyone want to do a good deed today? Dec 04 05:23:36 maybe Dec 04 05:23:38 a good leed? Dec 04 05:23:39 depends Dec 04 05:23:46 promote my app Dec 04 05:23:51 AS LONG AS WE GET TO CALL IT A LEED Dec 04 05:23:51 sure shoot Dec 04 05:23:57 https://play.google.com/store/apps/details?id=com.wolfden.android.heartswallpaper Dec 04 05:23:59 write an article and ill post it on my blog and give you a free backlink Dec 04 05:24:09 It's not flashy but it's cute Dec 04 05:24:19 sure to make your SO happy Dec 04 05:24:34 dude I'm a professional marketer Dec 04 05:24:42 if you need some I cane help out Dec 04 05:24:46 just not for this one... lol Dec 04 05:24:53 follower_of_Leed: do you have any article I can post? Dec 04 05:24:55 Lol Dec 04 05:24:57 lol Dec 04 05:25:03 Not really Dec 04 05:25:12 k Dec 04 05:25:31 follower_of_Leed: I'll write something up for you on techdigy.com once I finish my HW Dec 04 05:25:35 started gathering as many pre-16 year girl blogs as you can Dec 04 05:25:39 we'll do this. Dec 04 05:25:50 might be a low point of my career Dec 04 05:25:51 Thanks AndreYonadam i appreciate that. Dec 04 05:25:56 sure np Dec 04 05:26:12 Eeeeeee: Your expertise are appreciated Dec 04 05:26:23 i was joking Dec 04 05:26:37 No you weren't Dec 04 05:26:38 I was just thinking about it Dec 04 05:27:04 damn followerOfEeeeee all your apps are free Dec 04 05:27:12 social media is where yo upush this Dec 04 05:27:15 not blogs Dec 04 05:27:18 And, do any of you guys know if, at google, they would punish you in some shape, way, or form if you modified the software on the laptop that they gave you for business? Dec 04 05:27:40 .... Dec 04 05:27:45 oh man, AS 0.3.7 is shitting itself badly Dec 04 05:27:53 AndreYonadam: I like free stuff, so i try to make my stuff free Dec 04 05:27:57 rephrase that because it might have been the stuppidest thing i've ever heard Dec 04 05:28:15 Eeeeeee, Too be completely honest, it probably was :P Dec 04 05:28:21 It was meant to be more or less rhetoric Dec 04 05:28:22 actually Dec 04 05:28:26 rereading it Dec 04 05:28:26 no Dec 04 05:28:36 I am confused Dec 04 05:28:38 if they gave yo ua droid i would hope they expected you to root it ;D Dec 04 05:28:48 Eeeeeee, Me too xD Dec 04 05:29:27 but i won't ever forget when they offered a promotion through through play along time ago Dec 04 05:29:29 the error dialog from AS 0.3.7 import is so long, i can't even get to the OK button Dec 04 05:29:32 and made deals with movie companies Dec 04 05:29:43 blocked every rooted phone from using their app Dec 04 05:29:45 I was just thinking of them giving these secured work laptops to people that are paid to find exploits for google. Dec 04 05:29:47 after we had paid for the movie Dec 04 05:29:50 dur Dec 04 05:30:00 Yay, update for my app is out. Dec 04 05:30:06 It'd be like giving metaphorical candy to a 30 year old baby and telling them not to eat it. Dec 04 05:30:12 Or whatever age the employee might be xD Dec 04 05:30:18 email me a version Dec 04 05:30:19 Now I can go back to working on weird obscure crap. Dec 04 05:30:28 lol Dec 04 05:30:51 And there's finally a video preview for the app. Dec 04 05:31:23 link me Dec 04 05:31:23 Sadly using stock youtube music, but oh well, have to fill two minutes with something. Dec 04 05:31:35 https://play.google.com/store/apps/details?id=net.spifftastic.ascension2 ← Same place as last time. Dec 04 05:32:22 audiojungle.net :P Dec 04 05:33:09 Awesome app Dec 04 05:33:24 ooo Dec 04 05:33:28 Haven't seen audiojungle before Dec 04 05:33:30 Well Dec 04 05:33:31 the music!!!! Dec 04 05:33:32 lol Dec 04 05:33:32 Not really, at least Dec 04 05:33:41 i told you it put me to sleep before Dec 04 05:33:47 not anymore Dec 04 05:33:53 That is a sick live wallpaper Dec 04 05:34:03 Brilliant idea to make an app to modify how it behaves. Dec 04 05:34:18 Too bad I don't have an Android phone to try it, yet ;P Dec 04 05:34:18 yeah their range of sites is how you make money on any client project Dec 04 05:34:30 no matter how low the budget Dec 04 05:34:37 It's just a settings app with a launcher shortcut. Dec 04 05:34:57 hes being modest Dec 04 05:34:58 how cute Dec 04 05:35:10 I also lack an Android phone, so I just end up stealing other people's phones and asking my testers to do stuff for me Dec 04 05:35:19 * followerOfEeeeee is green with envy Dec 04 05:35:24 lol sucks seeoing youtube ads in front of your paid ap Dec 04 05:35:25 that's Dec 04 05:35:27 fucking gay Dec 04 05:35:41 ^ That ain't modest Dec 04 05:35:42 Also mildly disturbing Dec 04 05:35:52 Hard to avoid with youtube musics. Dec 04 05:35:54 What i have to watch an ad and pay money! Dec 04 05:36:01 No Dec 04 05:36:36 that's the ultimate slap in the face if you're familiar with LPO Dec 04 05:37:18 Nilium: how long did it take to push out v1? Dec 04 05:37:22 This audiojungle site is full of terrible things. Dec 04 05:37:49 v1 of v2 or v1 of v1? Dec 04 05:37:56 v1 of v1 Dec 04 05:37:58 Two weeks. Dec 04 05:38:13 try themeforest if you have web customers Dec 04 05:38:20 First week was mostly learning Java and Android APIs. Dec 04 05:39:32 Awesome Dec 04 05:39:56 That was three years ago, mind. Dec 04 05:40:27 And now I feel old. Dec 04 05:40:27 Again. Dec 04 05:40:27 Damn kids not knowing what Doom is. Dec 04 05:40:38 lol Dec 04 05:40:41 first lan party Dec 04 05:41:01 we're young consider the conversations they were having earlier Dec 04 05:41:04 ing Dec 04 05:41:40 Eeeeeee: I'm not sure what to feel Dec 04 05:41:58 rofl Dec 04 05:42:01 i just noticed your name tbh Dec 04 05:42:26 just like wow this guy has an unusually long name Dec 04 05:44:23 lol Dec 04 05:44:48 Well, now I know that audiojungle is where bad music goes to die Dec 04 05:44:50 i lost track earlier Dec 04 05:45:25 no shit Dec 04 05:46:00 ever watched pawn stars, or insert generic show heer that reuses songs over and over Dec 04 05:46:39 well they paid as much for that song as the song you just listened to Dec 04 05:47:39 how are all the cool kids storing their pojos nowadays Dec 04 05:47:58 they cal them jimi hats Dec 04 05:48:01 Doesn't matter all that much since ads don't show up in my app video if viewed on a device Dec 04 05:48:16 haha Dec 04 05:48:24 I guess banner ads just don't work in the play store or something Dec 04 05:48:45 called respect Dec 04 05:49:13 the walking dead is callling my name Dec 04 05:49:22 cya guys Dec 04 05:51:36 All I need to do is simply save a pojo and recall it later, and all these available orms suck Dec 04 05:54:21 submitted as 0.3.7 bug report :( Dec 04 05:54:31 unusable, have to roll back to 0.3.6 or something Dec 04 05:54:42 whats wrong with it? Dec 04 05:56:18 the error dialog was so big i couldn't see the OK button :) Dec 04 05:56:31 attached idea.log to report Dec 04 05:56:34 lol Dec 04 05:56:38 just would not import my project Dec 04 05:57:01 AS and Idea 13 CE were fine Dec 04 05:57:05 AS 0.3.6 Dec 04 06:00:29 pfew, did Eeeeeee pass out? Dec 04 06:00:44 the reign of Eeeeeee has ended for a few minutes Dec 04 06:01:19 lol Dec 04 06:01:24 thought i quit irc Dec 04 06:01:37 bout to watch walking deaxd Dec 04 06:01:42 LOL Dec 04 06:02:13 Later guys Dec 04 06:02:16 back to work Dec 04 06:02:49 i will dominatge the conversation even in my absence Dec 04 06:08:38 Debating whether I want to re-submit my app to r/androidapps because I decided to put it on sale for the update Dec 04 06:08:49 what is your app Dec 04 06:09:22 https://play.google.com/store/apps/details?id=net.spifftastic.ascension2 ← That. Linked it earlier too. Starting to feel kind of bad about linking it. Dec 04 06:10:13 I submitted it to r/androidapps two months ago when I launched version 2, so I'm not sure if that's too short a time to wait to post it when I'm doing a sale. Dec 04 06:10:28 just do it Dec 04 06:11:02 So I went from consistently getting ~10 downloads a day on amazon's marketplace, and all of the sudden get 371 day 1, 196 day 2, and 132 the next day, what could cause such a burst? Dec 04 06:11:51 Well, one time when I had something like that out of nowhere, it was because Japan found my app. Dec 04 06:11:51 And Japan really liked it for some reason.. Dec 04 06:11:57 * Nilium can't really explain it. Dec 04 06:12:16 lol Dec 04 06:12:34 Well my virtually nonexistent ad revenue has skyrocketed to "barely existent" Dec 04 06:13:03 Ad revenue seriously sucks on android Dec 04 06:13:32 ads + paid version w/o ads Dec 04 06:13:37 cant be too bad Dec 04 06:13:44 It is lol. Dec 04 06:14:02 It's a shame there's no good way to do a live wallpaper with ads. Dec 04 06:14:13 My first app, I made $3 for 50000 ad views with mmedia Dec 04 06:14:18 lol. Dec 04 06:14:25 thats shit Dec 04 06:14:30 ikr Dec 04 06:14:32 * Nilium is still pondering the etiquette of re-submitting the app. Dec 04 06:15:23 ok peeps Dec 04 06:15:29 why does every orm suck Dec 04 06:15:38 I hate that I can't decide what's good/bad behavior on reddit Dec 04 06:15:49 Nilium: you'll get downvotes either way Dec 04 06:15:51 I have made $21.54 from this app, I have been making ~$2 a day since the spike, so for about 3 days, but about $6/mo I think Dec 04 06:15:53 just post Dec 04 06:16:42 I can't unless I can reason it out in my head. Dec 04 06:17:07 ... Dec 04 06:17:14 That's my little bit of insanity. Dec 04 06:17:18 you dont say Dec 04 06:17:52 For that same app's paid version, I priced it at $5, which is obviously overpriced, but people bought it anyways and I recuperated my losses. Dec 04 06:17:59 $5 for just removing ads Dec 04 06:18:07 lol Dec 04 06:18:27 I already made back the cost of development, if I just go with IntelliJ being my only cost. Dec 04 06:18:46 I spent 2 days on this app, spent a few weeks on these other apps and they never get downloaded Dec 04 06:18:52 k fuck it im not going to do this part atm Dec 04 06:19:15 diesmin88 what? Dec 04 06:19:32 trying to save pojos Dec 04 06:19:43 is that english? Dec 04 06:20:00 plain old java objects Dec 04 06:20:16 do people really say that? Dec 04 06:20:19 yes. Dec 04 06:21:07 there are plenty of orms out there, but they all kinda suck Dec 04 06:21:26 desmin88, what's your use case? how much data? Dec 04 06:22:08 Users can save posts that are in the form of pojos, then sort a listview by saved items. Each post has 6 strings. All I need is to remove/add/getall Dec 04 06:22:48 JakeWharton: ? Dec 04 06:22:53 i'd just use SQLite for that, it's not very complex Dec 04 06:22:53 yo Dec 04 06:22:56 hi Dec 04 06:22:59 good morning Dec 04 06:23:04 and no, I've not found and android ORM i like either :( Dec 04 06:23:06 urgh Dec 04 06:23:09 good evening Dec 04 06:23:13 just found out about your project hugo Dec 04 06:23:14 i just hate persistence on android in general. Dec 04 06:23:15 hey JakeWharton Dec 04 06:23:17 cool beans Dec 04 06:23:27 the god speaks. Dec 04 06:23:29 romainguy: what team are you working with now? Dec 04 06:23:40 saw your G+ post Dec 04 06:23:58 hello romainguy. nice to see you hanging around in here still providing the occasional guidance. Dec 04 06:24:08 thepoosh: well... Dec 04 06:24:21 JakeWharton: if I declare the app as debuggable="false" it still loggs everything? Dec 04 06:24:29 JakeWharton: I even have a couple of cool visual effects I'd like to blog about Dec 04 06:24:50 * thepoosh is excited Dec 04 06:24:54 thepoosh: more context please Dec 04 06:25:00 "it" == ? Dec 04 06:25:00 https://github.com/JakeWharton/hugo/blob/master/README.md Dec 04 06:25:13 sorry Dec 04 06:25:43 v1.0.0 only the "debug" build type logs. in the yet unreleased v1.0.1 any build type that is marked as debuggable will log Dec 04 06:25:55 hmmmm Dec 04 06:25:59 ok Dec 04 06:26:00 cool Dec 04 06:26:02 thanks Dec 04 06:26:07 you shouldn't be flipping that bit manually anyways! Dec 04 06:26:13 hmmm Dec 04 06:26:29 the Gradle build system has built types to do that for you. by default the "debug" build type is debuggable and the "release" type is not Dec 04 06:26:34 for some odd reason, my boss decided this should be flipped manually Dec 04 06:26:56 do Gradle builds work on Eclipse also or is it specific to Android Studio? Dec 04 06:27:11 only Android Studio/IntelliJ IDEA support them Dec 04 06:27:15 oh Dec 04 06:27:21 so we still work on Eclipse Dec 04 06:27:29 never got the chance to do the switch Dec 04 06:27:37 ah, how are you using Hugo then? Dec 04 06:27:42 dunno Dec 04 06:27:49 just saw the project yesterday Dec 04 06:28:01 and thought I should ask you about it a bit before integration Dec 04 06:28:14 it wont work in Eclipse? Dec 04 06:28:26 correct. it only works with the Gradle build system because it hooks deep into the build pipeline to only do the bytecode rewriting for debug builds Dec 04 06:28:45 well Dec 04 06:28:50 ok Dec 04 06:29:14 Every orm wants to automatically map my model class, when I only need a few fields >.< Dec 04 06:29:19 we still haven't managed to successfully export our projects from Eclipse to Android Studio Dec 04 06:29:37 desmin88: mark them as transient Dec 04 06:29:38 desmin88: what are you trying to do? Dec 04 06:29:51 JakeWharton: i always forgot about that one.. Dec 04 06:30:02 what ORM are you using? Dec 04 06:30:16 none at the moment Dec 04 06:30:20 hmmm Dec 04 06:30:30 I like GreenDao Dec 04 06:30:43 they will allow you to add fields that wont make it to the DB Dec 04 06:30:45 I don't like the autogen Dec 04 06:31:03 hmmm Dec 04 06:31:46 [A3G1S]: here? Dec 04 06:31:56 <[A3G1S]> hey Dec 04 06:31:59 sup dude? Dec 04 06:32:02 been some time Dec 04 06:32:06 just got to work Dec 04 06:32:08 speaking of Android Studio and Gradle... it looks like they link against the public API jar which means you can't override package scoped methods inside of android.* Dec 04 06:32:15 Is there any way to centralize the submenu of an action item if it is on the split actionbar? See, http://i.troll.ws/f19a4976.png Dec 04 06:32:22 <[A3G1S]> ah nice, I am vacation today Dec 04 06:32:25 <[A3G1S]> no work Dec 04 06:32:32 <[A3G1S]> needed some rest :P Dec 04 06:32:41 napster: no, the PopupMenu is anchored to the action item that owns it Dec 04 06:33:08 <[A3G1S]> how you doing thepoosh ? Dec 04 06:33:09 [A3G1S]: well, it IS Chanukah Dec 04 06:33:22 ok, we had a major bug in our systems the other week Dec 04 06:33:34 JakeWharton: but anchored by the left bottom to the top of the actionItem. :P Dec 04 06:33:36 just finishing all the git merges to put everything into master Dec 04 06:33:37 <[A3G1S]> Chanukah ? Dec 04 06:34:03 [A3G1S]: http://en.wikipedia.org/wiki/Hanukkah Dec 04 06:34:16 Thanks JakeWharton Dec 04 06:34:35 <[A3G1S]> some festival Dec 04 06:34:51 <[A3G1S]> good Dec 04 06:34:52 yep Dec 04 06:34:56 us crazy jews Dec 04 06:35:15 Although the submenu's parent can't be distinguished if we look at the picture. :) Dec 04 06:35:23 <[A3G1S]> so u bought n5 thepoosh ? Dec 04 06:35:33 we baught a moto X Dec 04 06:35:40 <[A3G1S]> nice Dec 04 06:35:41 and I cracked the front screen of my S4 Dec 04 06:35:52 <[A3G1S]> i am trying to get n5 Dec 04 06:36:00 shouldn't be too hard Dec 04 06:36:05 you have connections in the US? Dec 04 06:36:06 <[A3G1S]> but they dont have stock Dec 04 06:36:26 Google are out of devices? Dec 04 06:36:29 <[A3G1S]> google is selling n5 officialy in India Dec 04 06:36:35 <[A3G1S]> Dec 04 06:36:35 <[A3G1S]> Leaves warehouse in 3 - 4 weeks. Learn more Dec 04 06:36:45 <[A3G1S]> this is what it says on play store Dec 04 06:36:46 poop Dec 04 06:37:05 <[A3G1S]> for 16GB black device Dec 04 06:37:12 <[A3G1S]> they have 32GB white in stock Dec 04 06:37:17 <[A3G1S]> but i just want black Dec 04 06:37:21 <[A3G1S]> so I gues Dec 04 06:37:24 <[A3G1S]> i have to wait Dec 04 06:37:31 why would you care about the cover?! Dec 04 06:37:47 it'll be covered in a hard cover anyway Dec 04 06:37:53 So many indians... Dec 04 06:37:57 <[A3G1S]> well i dont wanna move around with white colored device Dec 04 06:38:03 <[A3G1S]> and i dont like hard cover Dec 04 06:38:12 <[A3G1S]> lone_wanderer101 look at our population Dec 04 06:38:12 why would you care about the color?!?! Dec 04 06:38:18 <[A3G1S]> i do Dec 04 06:38:27 * thepoosh is baffled Dec 04 06:38:35 <[A3G1S]> white seems a bit girly to me Dec 04 06:38:36 <[A3G1S]> :P Dec 04 06:38:44 Its an indian thing Dec 04 06:39:04 <[A3G1S]> haha Dec 04 06:39:08 <[A3G1S]> kind of Dec 04 06:39:59 what ever Dec 04 06:40:23 JakeWharton: thanks for the help, maybe one day when we manage to move over to Android Studio we'll integrate this Dec 04 06:40:24 :P Dec 04 06:40:36 i hope so Dec 04 06:41:20 it's just the initial exporting of the project that is just no understandable to me Dec 04 06:41:34 searching for a Gradle something Dec 04 06:41:43 root gradle.build Dec 04 06:41:48 you'd have better luck creating a new build.gradle from scratch Dec 04 06:41:48 something like that Dec 04 06:42:00 where can I read about this? Dec 04 06:42:09 there's a slew of samples Dec 04 06:42:12 tools.android.com Dec 04 06:42:29 * thepoosh is going to take a look Dec 04 06:43:17 yeah, read http://tools.android.com/tech-docs/new-build-system/user-guide Dec 04 06:43:30 examples at the bottom of http://tools.android.com/tech-docs/new-build-system Dec 04 06:43:56 g00s: thanks a bunch Dec 04 06:45:11 * g00s uninstalls AS 0.3.7 and crawls back to idea 13 ce Dec 04 06:45:38 i never could get updates in AS to be dev channel, they always went to canary Dec 04 06:46:13 JakeWharton, just read through your Dagger slides. is U+2020 coming soon? Dec 04 06:46:19 yes Dec 04 06:46:39 wut is U+2020 Dec 04 06:46:52 a unicode character Dec 04 06:47:22 need to get the chamap utility .. Dec 04 06:48:04 † Dec 04 06:48:16 heh Dec 04 06:48:17 with vim: u2020 Dec 04 06:48:17 cool, looking forward to it Dec 04 06:49:51 no way to invoke super method reflectively. uugggghhhhh Dec 04 06:49:56 Android fights at every turn Dec 04 06:51:13 g00s, https://en.wikipedia.org/wiki/Unicode_input#Hexadecimal_code_input Dec 04 06:51:49 alex_PP i forgot how to type in special characters Dec 04 06:51:55 thx Dec 04 06:54:09 so is IntelliJ 13 CE support based on some older version of AS ? Dec 04 06:54:17 *android support Dec 04 06:55:03 g00s: I think AS essentially has a bit more integrated and alpha branch of 13's Android Plugin, but I haven't tested recently Dec 04 06:55:36 hey guys, check out this story about Rubin http://www.nytimes.com/2013/12/04/technology/google-puts-money-on-robots-using-the-man-behind-android.html?_r=0 Dec 04 06:55:46 p_l hmm Dec 04 06:58:13 g00s: yes Dec 04 06:58:36 just as AS isn't based on 13 final but a version from a few weeks ago Dec 04 06:58:43 YAY! I got it working! Dec 04 06:58:46 ok Dec 04 06:59:13 g00s: only stories I want are about Rob Ford Dec 04 06:59:18 so AS seems like: newer android parts, older ide parts …. CE 13 is newer ide parts and older android parts :| Dec 04 06:59:58 i kept 0.3.6 full install, i'll roll back to that Dec 04 07:02:23 alex_PP art wolfe came out with a new book on composition; i have high hopes :) http://www.amazon.com/Art-Photograph-Essential-Stronger-Compositions/dp/0770433162 Dec 04 07:04:12 g00s, looks nice, i'm about to embark on a colour theory adventure though Dec 04 07:04:32 alex_PP orly? taking a class? or color correcting ? Dec 04 07:06:15 reading, painters learn a fair chunk of it, suppose i could benefit from it too Dec 04 07:08:18 alex_PP this is one of 'bibles' my friend at adobe recommends http://www.amazon.com/Photoshop-Workflow-Quartertone-Quandary-Enhancement/dp/0988280809 Dec 04 07:08:30 photoshop centric; color management Dec 04 07:14:04 looks interesting Dec 04 07:14:15 just bought LR5 Dec 04 07:14:24 not used it yet, no time!! Dec 04 07:15:01 Harold Mante talks a lot about color Dec 04 07:16:55 i'll try to find it Dec 04 07:18:55 alex_PP http://rockynook.com/book/245/the-photograph%2C-2nd-edition.html Dec 04 07:21:15 that also sounds good Dec 04 07:22:19 what's the best way to get a unique list of BUCKET_ID and BUCKET_DISPLAY_NAMEs for photos in the MEdiaStore? Dec 04 07:22:29 (i'm building a gallery app and i'd like to show the albums) Dec 04 07:25:48 is it literally just a list of folders in the photos directory? Dec 04 07:30:07 I wish i could subgroup my layout folder Dec 04 07:30:10 it is growing huge. Dec 04 07:30:32 yeah … kinda lame Dec 04 07:31:20 desmin88, prefix everything Dec 04 07:31:27 activity_blah Dec 04 07:31:31 fragment_foo Dec 04 07:31:35 view_bar Dec 04 07:31:54 yes Dec 04 07:38:50 hello, i am thinking of building a web application, and i'm trying to find the best way to do it. I want it to run on android and ios, so a webapp seems most reasonable. My question however is, is there a way to do notifications like facebook's native android app? Dec 04 07:39:54 i was thinking web sockets could be an option, but i don't know how that interacts with low power modes and application switching Dec 04 07:40:35 eww a webapp Dec 04 07:40:53 any pointers? (is there a reasonable way to do this like webapp/cross platform or am i forced to go native and build two distinct apps, any good cross platform native programming framework, etc?) Dec 04 07:41:03 you should go native Dec 04 07:41:49 Hi, I have a problem with my app availability on different android versions. In the first version of app I had in my manifest minsdk 18, in next version I have changed it to 11, but still some users using android 4.1.2 or 4.0.3 are not able to download the app. any suggestions? Dec 04 07:41:52 ok, so what is the best way to handle the two platforms? Dec 04 07:42:12 create two separate apps for each? Dec 04 07:43:09 ok, that's really awful but it will have to be like this Dec 04 07:43:29 ok, time to load up on energy drinks... programming marathon approaching Dec 04 07:43:34 i almost immediately remove webapps Dec 04 07:43:58 * Zharf too Dec 04 07:43:59 is there any other place besides manifest where I should change minsdk required for the app? Dec 04 07:44:53 what does the developer console say your min sdk is Dec 04 07:47:58 oh, this is funny. so import project in AS and specify 'use custom gradle wrapper' … it goes and downloads 1.9-rc3 but then says 1.8 is required Dec 04 07:49:00 :) Dec 04 07:49:26 I wonder what the gradle support is like in idea13 Dec 04 07:50:07 how do i find the latest version of the gradle plugin ? Dec 04 07:50:30 do i just go to maven central and look for com.android.tools.build ? Dec 04 07:50:54 seems like 0.6.3 is still the latest, but this error has me suspect there is some misconfiguration of dependencies here Dec 04 07:52:36 aha Dec 04 07:52:58 in the app bundle, under the gradle plugin, they included gradle 1.9-rc3 Dec 04 07:53:10 didn't they fix this shit in the last release? Dec 04 07:53:27 just declare 0.6.+ in the build Dec 04 07:53:43 there isn't a 0.7.0 i take it Dec 04 07:54:10 no Dec 04 07:54:12 so yeah, AS 0.3.7 is shipping with the wrong gradle version; and when i try to point it to my own install of 1.8 it blows up too Dec 04 07:54:34 just wanted to try a few things to attach to the bug report Dec 04 08:02:35 Zharf: I cannot find where is it written in developer console? Dec 04 08:05:51 g00s: it did NOT like my android projects and i'm a bit pissy i am 'forced' to gradle them Dec 04 08:06:12 bankai_ oh, what happened? Dec 04 08:06:20 oh CE 13 Dec 04 08:06:41 ya Dec 04 08:07:25 i might run them side by side, i have a few projects that i don't want to change Dec 04 08:08:28 bankai_ honestly, may as well go to gradle Dec 04 08:08:50 unless your build process is unusual and causes it to fail Dec 04 08:09:46 i'll gradle the new stuff, leave the old stuff for now Dec 04 08:10:10 has anyone else run into the issue with fastscroll not working sometimes on 4.4? Any known solutions? Dec 04 08:12:56 torniker, click on the app name, choose apk from the left side, click on the app version Dec 04 08:13:43 Zharf: I have fixed it.. it was in build.gradle file the old version of minsdk Dec 04 08:14:15 that's where I was going to go if you had found the minsdk from the dev console :) Dec 04 08:14:26 Zharf: Thank you Dec 04 08:25:40 google earth still doesn't have full screen mode on mac O.o Dec 04 08:27:58 Building AOSP for N5 (with binaries and everything) was successful. However I have no GSM networks: Dec 04 08:28:00 E/RILD ( 1994): dlopen failed: dlopen failed: could not load library "libvss_nv_iface.so" needed by "libril-qc-qmi-1.so"; caused by library "libvss_nv_iface.so" not found Dec 04 08:28:03 any ideas? Dec 04 08:29:45 Bitmap too large to be uploaded into a texture Dec 04 08:29:47 how can I avoid this? Dec 04 08:29:52 trying to load an image captured by the camera Dec 04 08:30:04 scale it? Dec 04 08:37:22 looks like the workaround for fast scroll on 4.4 is just to manually set it to always visible for now. hmm. Dec 04 08:44:18 so, Android stopped allowing overriding package-private methods even if you are in the same package but when you are in different dex files Dec 04 08:44:39 maybe a security feature ? Dec 04 08:44:41 at least that's what it looks like is happening Dec 04 08:45:06 and the log message certainly indicates such... but that sucks Dec 04 08:48:07 JakeWharton, they didin't appreciate your work :( Dec 04 08:48:26 JakeWharton, is this with api19+? Dec 04 08:48:31 since 4.1 Dec 04 08:48:42 mhm.. Dec 04 08:48:44 dalvik logs then crashes. art logs and then hangs Dec 04 08:49:18 doesn't abs do something like that though? Dec 04 08:49:25 to the support library Dec 04 08:49:37 which is bundled in your app as just another class file Dec 04 08:49:43 ah right Dec 04 08:49:48 now i'm trying to do it to the framework Dec 04 08:52:05 hi Dec 04 08:52:22 I create two bitmaps like this: Bitmap bitmap = Bitmap.createBitmap(editText.getDrawingCache()); Dec 04 08:52:46 on documentation for createBitmap() : The new bitmap may Dec 04 08:52:48 * be the same object as source, or a copy may have been made Dec 04 08:53:18 is there a way to create two bitmaps from the same editText.getDrawingCache() and to be shure they are not the same object? Dec 04 08:53:26 sure* Dec 04 08:58:49 A lot of times when making changes to layout files I get this : java.lang.ClassCastException: android.view.View cannot be cast to android.widget.TextView . The way to solve this is to simply rebuild the project in Eclipse and launch it again (no code changes). Doesn't ADT rebuild the project before launching it ? Dec 04 08:59:07 maybe not very efficient, but create bitmap by hand and then copy the pixel values via a buffer? Dec 04 09:00:41 does each new call on Bitmap.createBitmap( source ) using the same source will guarantee that a new object is returned? Dec 04 09:01:23 Zgary: I'm also stuck at bitmapping, do u know how to scale images down? Dec 04 09:01:39 I work with libgdx for 3d Dec 04 09:01:55 sounds advanced Dec 04 09:01:55 :) Dec 04 09:02:10 I dont know much about android's way of handling images Dec 04 09:02:12 ... Dec 04 09:02:38 it is a bit.. but I like 3d graphics Dec 04 09:02:55 okay, thnx anyway :) hope someone here can help u out Dec 04 09:03:02 same for you Dec 04 09:03:05 :) Dec 04 09:06:24 Zgary you should ask your questions in libgdx Dec 04 09:06:27 #libgdx Dec 04 09:06:42 I need the most efficient way to get a copy of a bitmap, this copy will be passed to ndk where it will be processed using multithreading. the entire process from pressing my button on the interface and the final result must not take more than 300 ms.. that's why I need fast copy. I try in java side first to have see how fast it can go. If good I will not do my copy in ndk Dec 04 09:06:50 I use android code for this part Dec 04 09:07:00 zgary: as i interprete, copy creates a deep copy, so this could work: Bitmap bitmap = Bitmap.copy(editText.getDrawingCache().getConfig(), true); Dec 04 09:07:01 grabbing image from a textView Dec 04 09:07:19 zgary connect to the #libgdx room here on freenode man Dec 04 09:07:45 this is not related to libGDX Dec 04 09:07:55 the image is processed in 'android' side Dec 04 09:07:58 okj Dec 04 09:08:02 libGDX will load when ready Dec 04 09:08:31 i tried bitmap.copy Dec 04 09:09:17 it acts wierd, the timings for each 'compute button' press are something like 9 ,45 , 7 , 53, 10, 43 miliseconds Dec 04 09:09:45 *when compute only does the copy part Dec 04 09:09:53 *all other code commented Dec 04 09:10:27 y Dec 04 09:10:36 sry wrong cmdline Dec 04 09:14:39 hmm, just tested again and the timings on bitmap.copy are less than 30 ms (also oscilating from 4 ms to 27) but is better now Dec 04 09:14:56 I think i will stick with it for now, see if it holds under 30 ms Dec 04 09:15:34 Hi, I have a silly question: I am about to create a Google developer account which I am going to use to publish apps in Google Play under my "organization" name. I am wondering what to put in the first/last name sections... are these visible to the users anywhere? I don't actuallly want to my real name to be visible to the users anywhere.. Dec 04 09:19:41 I did my account some time ago.. forgot those details XD Dec 04 09:19:53 *did not published yet Dec 04 09:33:04 Hello! I need to access a file that is part of the camera group. My application seems unable to do this only on Android 4.4. Anybody who knows what changed? Dec 04 10:01:53 Hello, I've noticed to emulate an activity with a GLSurfaceView I'm required to set an EGL config with `setEGLConfigChooser(8, 8, 8, 8, 16, 0)`, but my actual device doesn't seem to support that config and is ok with whatever default is set. Does anyone else have this problem? Anyone have examples of using the config chooser? Dec 04 10:02:54 Disgrntld, is it possible your device doesn't like the 16-bit depth buffer? Dec 04 10:03:05 I find it hard to believe a device wouldn't support ARGB8888 for output :) Dec 04 10:03:16 it's an ADP1 believe it or not, so old as dirty Dec 04 10:03:19 dirt* Dec 04 10:03:33 I'm not using the depth buffer, so let me give that a shot Dec 04 10:03:50 Disgrntld, if you're not using the depth buffer, set it to 0 to not burn memory :) Dec 04 10:05:47 Anyone who use /dev/video directly in applications? Dec 04 10:06:44 is /dev/video even available? afaik most Android devices don't have V4L2 up? Dec 04 10:06:51 Noted about the depth buffer config, however I'm still getting graphical errors. I did find this: http://brandnewreality.com/blog/android-egl-querying-your-gl-driver/ , which seems to imply my phone only has those 3 configs available, but those all look way worse than whatever default config that works fine on the device Dec 04 10:06:58 Mavrik: yes it is Dec 04 10:07:12 Mavrik: and it could be read with Android 4.3. Dec 04 10:07:45 Mavrik: the group is camera. Can I have my user belong to that group? Dec 04 10:08:31 what is "your user"? Dec 04 10:08:38 Mavrik: actually, I just saw the ellipses, so I guess there's more configs... I suppose I'll run that and just try to find a config that both emulator and actual device support. Dec 04 10:08:41 obviously you're doing something that's not really Android related on some custom firmware. Dec 04 10:08:55 Disgrntld, it's possible you only have RGB555 support Dec 04 10:09:07 Mavrik: this is a stock Nexus 7. Dec 04 10:09:08 Disgrntld, but honestly I haven't worked with such ancient hardware :) Dec 04 10:09:17 heh, well thanks for the help, man Dec 04 10:09:26 luc4, then there is no "your user" Dec 04 10:09:32 there's just UID assigned to your app Dec 04 10:09:42 Mavrik: yes, uid Dec 04 10:10:10 obviously, the reason your UID isn't in camera group is because you're not allowed to access camera without Android permissions and meditation Dec 04 10:10:21 I had implemented Parcelable on this class... at some point a coworker probably thought "screw this, I'll just comment this code and serialize it to json and back using gson" and removed all my code related to this Dec 04 10:10:23 so without root you won't be able to get access. Dec 04 10:10:25 -.- Dec 04 10:10:26 Mavrik: it was on 4.3 Dec 04 10:10:37 no, it wasn't Dec 04 10:10:43 Mavrik: yes, it was Dec 04 10:10:45 if it was, then it was JUST on your firmware on YOUR device Dec 04 10:10:52 or a few other devices. Dec 04 10:10:53 Mavrik: no, stock 4.3 Dec 04 10:11:12 there is NO standard that would require /dev/video device to be available on an Android device Dec 04 10:11:28 Mavrik: not interested on other devices, just this. Dec 04 10:11:28 or permisisons to be set in any predetermined way that do not interact with Android services Dec 04 10:12:02 Mavrik: just asking if anyone knows what changed since 4.3. Something must have changed. Dec 04 10:12:21 Mavrik: on this subject of course :-) Dec 04 10:12:25 Zharf, slap him :) Dec 04 10:12:48 luc4, honestly, having /dev/video available looks like a security oversight that was patched :) Dec 04 10:12:58 having root access will let you reenable it Dec 04 10:13:35 Mavrik: ok, that I know. But I'd prefer to be able to avoid that. Dec 04 10:14:57 Mavrik: I mean, it was possible, now it is not. Just would like to find the reason why is happens. Reading a camera device seems not a security issue... Dec 04 10:15:20 uh Dec 04 10:15:32 reading a camera device without asking for OS permission is a security issue :) Dec 04 10:16:02 Mavrik: who said that? I can ask OS and user permission, that is perfect for me. Dec 04 10:16:03 and OS permisisons are handled by the Dalvik part of the OS via camera server Dec 04 10:16:13 not with direct /dev access :) Dec 04 10:16:18 so that's what changed probably :) Dec 04 10:16:58 Mavrik: ok, so it was a severe bug in 4.n with n < 4. Now it was fixed. Ok. Dec 04 10:17:20 Mavrik: thanks. Dec 04 10:18:44 Mavrik: one last question: doesn't this look what I need? http://developer.android.com/reference/android/Manifest.permission_group.html#HARDWARE_CONTROLS Dec 04 10:19:26 Mavrik: also this: http://developer.android.com/reference/android/Manifest.permission_group.html#CAMERA. But it might simply indicate access to the MediaServer. Dec 04 10:19:50 it's just access to the media server really Dec 04 10:20:02 Android is designed to mediate access to camera via camera server and check if apps can access it Dec 04 10:20:03 Mavrik: and the first one? Dec 04 10:20:27 Mavrik: but that camera is not accessible through the media server. That is my problem. Dec 04 10:20:30 anything you see on this list is related to Dalvik part of Android and Android Java APIs Dec 04 10:20:53 Mavrik: the camera permission was exactly what was allowing me to work on 4.3. Dec 04 10:20:56 there's no real API or documentation on how linux-part of OS can be accessed Dec 04 10:21:01 interesting. Dec 04 10:21:04 Mavrik: I guess it adds the uid to the gid. Dec 04 10:21:55 Mavrik: I know there is not, but who cares? :-) if it is possible to do it I would like to do it :-) that is the information I'm looking for. Dec 04 10:24:06 mhm, it's just hard to find and they change this stuff regulary :/ Dec 04 10:26:01 Mavrik: yes. I'll work on this. Anyway, if I wanted to do this in a custom firmware, do you have an advice on the best way to read? Like changing ueventd? Dec 04 10:26:52 what's the price for a developer's license? Dec 04 10:27:01 to publish at google play Dec 04 10:28:14 That's secret. Also impossible to find out via Google. Dec 04 10:28:27 (It's totally not the first result) Dec 04 10:28:30 Also, $25 Dec 04 10:28:39 There, I said it. Dec 04 10:28:40 >_> Dec 04 10:28:43 <_< Dec 04 10:28:45 COFFEE Dec 04 10:35:23 tst Dec 04 10:35:26 test Dec 04 10:35:37 test test Dec 04 10:35:39 ok Dec 04 10:35:50 permission denied Dec 04 10:36:18 dang Dec 04 10:40:11 luc4, sadly no, I think cyanogen/#android-root people will have more answers around that -_- Dec 04 10:44:12 can anyone give me some pointers with using Dagger? Currently I have an AppModule that @Provides two singletons, for local storage and remote RPC calls. Since pretty much everywhere in my app is using at least one of these things, my @Module(injects={}) list is getting pretty long. Dec 04 11:46:06 Guys, how to implement auto-update system for custom application? Dec 04 11:46:15 Not rooted android tablet. Dec 04 11:46:28 I cannot get my text view to stick to the top of the LinearLayout it's in. I do not understand why. Dec 04 11:47:29 Here it is: https://gist.github.com/i-am-the-slime/9e7d566a24e3cbaee12b Dec 04 11:58:50 Hello Dec 04 12:21:07 Hi, I'm working on an app that has to be backwards compatible to Android 2.2 and I have an issue with our AlertDialogs showing a dark background by default for gingerbread, but white for ICS Dec 04 12:21:49 can anyone help me with replacing a fragment of a tabbar/viewpager? Dec 04 12:22:25 What would be the easiest way to style the AlertDialog so that it looks like ICS (we are using ActionBarSherlock and android-holo-colors), so the rest of the app has the holo theme Dec 04 12:33:41 what's android's position on settings that affect the UI. more specifically the kind that would change the UI in previous activites. Dec 04 12:35:57 Hi all, I have a Samsung S3 and on the website of samsung, there is: bluetooth 4.0 (LE) so LE is supported but on the developer website of android, some classes are added in API leven 18 but my device isn't updated to 18 (+) yet, does this mean I can't develop/test it on my s3? Dec 04 12:41:59 FrancescoV, support for LE came to Android with 4.3 Dec 04 12:42:17 FrancescoV, before that you had to use either Samsung's or HTC's proprietary API's Dec 04 12:42:23 which of course don't work on other devices Dec 04 12:52:58 Mavrik, tnx Dec 04 12:57:42 I have a UI Design question. When I use a tabbar/viewpager and each of that view is showing a list to some detail view. should I still show the tabbar in the detailview? or should I only provide the up navigation button to get back home? Dec 04 12:58:50 Alright, I have a horizontal linear layout with three items in it. The second one somehow does not stick to the top and I can't make it. Why oh why? Dec 04 13:07:10 When I set the top margin to be -23dip it works Dec 04 13:29:20 cluster4: it's purely a design choice by the sounds of it, but if it were me, i'd only show the tab bar with the lists, not the detail Dec 04 13:33:17 gsteinert: thanks! that's what I needed to know. I'm not an Android user, so I don't know what is common. If your intuition says it shouldn't show, I'll implement it that way Dec 04 13:39:54 cluster4: go through http://developer.android.com/design/index.html Dec 04 13:40:22 cluster4: if you can, get an android phone and use a few of the high quality apps for a while to get a better sense of the OS and design language Dec 04 13:40:37 funkbox: I did, also watched the I/O talks. none of them covered the case of combining a tabbar with up navigation Dec 04 13:40:59 what does "up" do ? Dec 04 13:41:13 funkbox: I meant hierarchical navigation Dec 04 13:41:26 the design guidelines on the developer.google.com site say that only the top-level activity gets a nav drawer Dec 04 13:41:27 i think it's fine as long as you respect back/up Dec 04 13:41:35 and sub-activities get 'up' to that parent activity Dec 04 13:41:49 then google broke them w/ the play store, so... who knows. Dec 04 13:41:59 well if you have a strict hiearchy like gmail then yes Dec 04 13:42:07 not even - go read the design docs Dec 04 13:42:09 but if you have categories and subcategories then no Dec 04 13:42:12 unless they've changed since the last time I did Dec 04 13:42:14 It's do as we say not do as we do Dec 04 13:42:45 that's the general rule i follow Dec 04 13:43:11 it doesn't really make sense to have a strict child to have the same visual weight that a nav drawer implies Dec 04 13:43:34 ok, so now their docs are a little different Dec 04 13:43:41 i generally use the docs as guidelines Dec 04 13:43:51 not as THIS IS THE WAY IT MUST BE Dec 04 13:43:54 than I remember seeing them last time Dec 04 13:44:48 funkbox: I don't quite follow. By "yes", you mean you would show the tabbar on every view? Dec 04 13:45:11 cluster4: what is the content of the nav drawer and what is the content of the tabs Dec 04 13:45:16 dragorn: I don't use a nav drawer, I use a tabbar instead Dec 04 13:45:24 okay, what is in the tab bar? Dec 04 13:45:43 funkbox: lists of items, which all have a detail view Dec 04 13:45:55 ahh Dec 04 13:46:07 cluster4: master/detail view? Dec 04 13:46:09 funkbox: and some detail views have even a deeper hierarchy Dec 04 13:46:11 how many items are in the list? Dec 04 13:46:28 funkbox: 10-20 Dec 04 13:46:36 cluster4: it's hard to provide design advice without knowing the specific use case Dec 04 13:46:59 are they bound at max 20? how often do users switch between them? how many of those 10-20 have even further drill downs ? Dec 04 13:47:21 funkbox: after watching the I/O talks I'm pretty sure that the tabbar with viewpager is the best choice Dec 04 13:47:48 funkbox: but I'm not sure if the tabbar is something global, or only shown on the highest level Dec 04 13:47:55 cluster4: problem with that is that it's very difficult to go from like item 2 to item 18 Dec 04 13:48:09 i would probably do a master/detail view OR a navigation drawer Dec 04 13:48:19 cluster4: what is the actual content? Dec 04 13:48:28 funkbox: meaning that, when I navigate down in the hierarchy, should I still be able to switch tabs? or should I then need to go up (or back) to switch tabs again Dec 04 13:48:58 funkbox: navigation drawer is not recommended for only 3 items Dec 04 13:49:09 cluster4: but you said you had 10-20 Dec 04 13:49:27 funkbox: 10-20 per each tab Dec 04 13:49:30 ahh Dec 04 13:49:57 and each of the items, how detailed are those views? Dec 04 13:49:59 Can someone help me on Andriod Studio (import library) issue ? Dec 04 13:51:08 cluster4: the guidelines are guidelines, not strict rules. i would go with whatever your users would find the most usable. check out similar apps and see how they approach the problem Dec 04 13:51:13 funkbox: one or two images, some text, statistics in a table Dec 04 13:51:47 Hi, I am trying to access a GridLayout child's LayoutParams and its columnSpec.span, however the span variable is not public. Are there any other methods of accessing a Support GridLayout child's columnSpan? :) Dec 04 13:51:51 yeah, tabbar with master/detail below seems like it would work nicely Dec 04 13:52:07 funkbox: thanks. I wasn't sure if showing the tabbar globally would break some (written or unwritten) guidelines Dec 04 13:52:28 cluster4: if that top level navigation is that important then sure Dec 04 13:52:41 cluster4: are the 3 top level categories all of the same type of content? Dec 04 13:52:51 cluster4: a navigation drawer wouldn't be the worst thing Dec 04 13:52:52 funkbox: no, they are not related Dec 04 13:53:13 i would probably prefer a navigational drawer since it would provide less visually complex layout Dec 04 13:53:23 nav drawer w/ master detail Dec 04 13:53:42 Anytip on how to update Gradle for ADT ? Dec 04 13:53:42 funkbox: hm ok, I'll look into that Dec 04 13:54:07 funkbox: thanks Dec 04 13:56:23 Any1 can help me with IRC bouncer? Dec 04 14:16:19 Morning Dec 04 14:32:37 how can I set the parent activity of an activity at runtime? Dec 04 14:37:15 not sure that you can Dec 04 14:40:33 Anyone used Google Analytics v3 in their Android project? Dec 04 14:43:13 theblang: yes Dec 04 14:46:46 dragorn: so how would i implement arbitrary nested navigation? Dec 04 14:47:33 funkbox did you run into any problems when first getting it to work? the getting started guide is so simple, but I'm not seeing any data in the web interface. Dec 04 14:48:11 theblang: took a little while. also, there's some weirdness with SSL crashing the app if you're using something like okhttp alongside Dec 04 14:49:33 funkbox I first tried it in my app yesterday at about 4:00 pm. Dec 04 14:49:48 yeah it took a while to show up Dec 04 14:49:50 but it does show up Dec 04 14:49:57 I think it takes around 24h Dec 04 14:50:46 cluster4: override or fake the up button Dec 04 14:59:14 hi all Dec 04 14:59:23 hey Dec 04 14:59:38 on Android 4.2 is possible in any way (reflection for example), to write apn setting ? Dec 04 15:00:09 guys, how to implement auto-updating private application? (not in Google Play) Dec 04 15:00:34 I'll try to use CWAC-Updater but it doesn't support Gradle and I can't build it :( Dec 04 15:10:41 Woozly, not sure if it would work, but you may be able to create a service that can be started when you find a newer apk, the service downloads it and maybe start an installer for it? Dec 04 15:11:26 I have some strange error about Syntax analize error Dec 04 15:11:27 app checks for updates periodically, if there is one, it starts the service to grab the apk, and then install it Dec 04 15:18:58 hi all.. Dec 04 15:19:02 hi Dec 04 15:20:32 if I have only 2 activities: loginActivity and mainpageActivity. I want the user to be presented with the loginActivity if the user SharedPreferences say the user is not logged in. Other wise I want to directly show mainpageActivity Dec 04 15:21:04 in the manifest, I would need to have the loginActivity as android.intent.action.MAIN, yes? Dec 04 15:22:40 also theres something I don't understand. If in my manifest I now declare that the mainpageActivity has a parent activity that is the loginActivity, would that not allow the user to jump back to the loginActivity even though the user has already completed login? Dec 04 15:23:15 Anybody having issues with 9-patch and android studio? http://stackoverflow.com/q/20338706/1304308 Yesturday it claimed my NinePatchDrawable was a StateListDrawable, today it says LayerDrawable. Dec 04 15:23:46 also, even if i don;t declare loginActivity as parent of mainpageActivity, it would still allow the user to go back using the back button, since i will use an intent to push the user to the mainpageActivity from the loginActivity Dec 04 15:24:01 Swiftwork: Better call Todd Dec 04 15:24:02 http://imgur.com/r/funny/vgjgaCi Dec 04 15:24:46 hi my fellow android ladies and gentlemen.. i need some help with camera flash Dec 04 15:25:33 hey all! X) Dec 04 15:25:41 DarkSlay3r: Todd told me Android Studio is the best and the worst thing in the world, however this did not help my situation much. Dec 04 15:26:10 I like eclipse Dec 04 15:26:18 DarkSlay3r: get out Dec 04 15:26:20 i've been trying real hard to find working example code of a camera app that takes picture and uses flash. the closest i've found is http://stackoverflow.com/questions/6068803/how-turn-on-camera-flash-light-programmatically-in-android, but even that doesn't seem to work Dec 04 15:26:22 I will use android studio when it works Dec 04 15:26:27 I could also do with a hand with camera-related jiggery pokery.. Dec 04 15:26:35 Swiftwork, uh... do you have your 9-patch defined somewhere inside a drawable xml? Dec 04 15:26:37 i'm revoking your developer membership Dec 04 15:26:38 CallumTaylor: Thanks for your i18n help Dec 04 15:26:45 Noooooo Dec 04 15:26:56 since you get Layer drawable if you define drawable with tag and StateListDrawable if you define it with states Dec 04 15:27:03 does anyone know a link to find code for how to use flash with camera on android ? Dec 04 15:27:17 Mavrik: that was my first thought, but alas no such file is found Dec 04 15:27:37 janmayan77, http://developer.android.com/guide/topics/media/camera.html Dec 04 15:28:20 thanks, Mavrik. i already read that page. Dec 04 15:28:37 there's no code on how to turn on flash when taking picture and turn it off after taking a picture there Dec 04 15:29:26 of course it is Dec 04 15:29:30 you click on "Flash mode" Dec 04 15:29:36 and you get the API call. Dec 04 15:29:58 http://developer.android.com/reference/android/hardware/Camera.Parameters.html#FLASH_MODE_AUTO Dec 04 15:30:10 there's quite literally a reference to it Dec 04 15:30:22 on the stack overflow link i posted earlier, i have code to turn on camera flash led. but when i use it, my picture callback method doesn't get called anymore, so i can't turn off flash after taking the picture Dec 04 15:30:50 i, I'm trying to compile aapt from git on my dev box, but I can't seem to find a makefile or any documentation. Anyone know where I might find some literature? Dec 04 15:30:52 i see… Dec 04 15:30:57 Hi, rather Dec 04 15:31:06 in my case i want the user to be able to control whether to use flash or not Dec 04 15:32:00 and? Dec 04 15:32:08 set flash mode accordingly. Dec 04 15:33:20 im getting: E/MemoryHeapBase(769): error creating ashmem region: Too many open files, though I am watching my fd's every 2 secs and they only go up to 57, whats up with that?! Dec 04 15:33:26 great! i'll try this out. thanks! Dec 04 15:34:09 this is while streaming from the camera, using the libstreaming library, after about a min Dec 04 15:36:53 CallumTaylor: What do you use a text delimiter on your docs string spreadsheet? Dec 04 15:37:01 tab Dec 04 15:37:34 save as a TSV because it's a lot easier Dec 04 15:37:40 Hi all, somebody used ZBar before? https://github.com/ZBar/ZBar/tree/master/android Dec 04 15:39:06 CallumTaylor: I know field delimiter is TAB but not sure what docs uses for text Dec 04 15:39:22 \t Dec 04 15:39:32 wait Dec 04 15:39:33 what do you mean? Dec 04 15:40:15 i'm saving as csv - using libreOffice but customizing the settings to use tab instead of , Dec 04 15:40:23 right Dec 04 15:40:35 but i have 2 options Dec 04 15:40:48 one for field delimiter which i know should be tab Dec 04 15:41:01 then text delimiter - not sure what this does Dec 04 15:41:04 o.O Dec 04 15:41:06 erm Dec 04 15:41:10 is it optional? Dec 04 15:42:24 Nope Dec 04 15:42:39 strange, i've never used libre office so I'm not sure Dec 04 15:42:55 try using tab for both, see what it comes out like when you open the result in a text editor Dec 04 15:43:39 Ah i figured it out Dec 04 15:43:58 It's to handle \n Dec 04 15:44:09 oh ok Dec 04 15:44:14 makes sense Dec 04 15:44:23 should be called "row" delimiter then Dec 04 15:44:30 yeah Dec 04 15:45:01 hi all! Dec 04 15:45:11 NO Dec 04 15:45:32 it's possible to write/read apn settings on Android >= 4 ? (in any way, with reflection for example) Dec 04 16:00:05 hi men, when I do: startActivity(new Intent("com.example.snugglechess.ChessBoard")); it says there's no activity found to handle intent, even though i'm looking right at it. any tips on what I could be doing wrong ? Dec 04 16:02:23 opr: did you put it in your manifest? Dec 04 16:02:31 dragorn, yep Dec 04 16:10:30 Intent(String) takes an action, not a class name Dec 04 16:10:50 you should be using intent(context, class) to start your activity Dec 04 16:11:50 Hello Dec 04 16:27:01 What's up with SpannableStringBuilder implementing the GraphicsOperations interface? "Please implement this interface if your CharSequence can do quick draw/measure/widths calculations from an internal array." Dec 04 16:27:06 Why is that interface hidden? Dec 04 16:27:55 SpannableStringBuilder is ridden with performance bugs, so if I want to implement my own Editable as a workaround, I can't even implement GraphicsOperations. Dec 04 16:31:08 Hi all, I have an exception and would like to know how it comes: http://pastebin.com/A0NEcdiV Dec 04 16:31:50 You've got the wrong value in a meta tag Dec 04 16:31:54 in your manifest Dec 04 16:34:23 Dark-Side: tnx, works now but it's strange, it's a project where I haven't worked on for 2-3 months and now I get this error (fixed now) Dec 04 16:36:17 I'm just going to implement my own Editable, screw SpannableStringBuilder. I don't really want to write any more Java code, but replacing this monstrosity might just be a little less work than implementing my own native UI. Dec 04 16:43:28 I've been using the GridLayout Support library in my package but, as with my previous NinePatchDrawable issue, the Layout Editor is complaining. It says java.lang.ClassNotFoundException: android.support.v7.gridlayout.R$dimen however the application works fine and only the preview is broken. I swear Android Studio runs on my life force... Dec 04 16:49:59 is there a better calendar than android-times-square? Dec 04 16:50:07 Trying to detect if Internet is available. I have a NetworkInfo object that tells me it's connected. the toString() shows a state of CONNECTED/CONNECTED, and when I inspect mState, it says connected. But when I call "getState()," it returns "DISCONNECTED." Anyone have a clue what is going on here? Dec 04 17:03:59 hey! does anyone have any suggestions for getting audio working on the mac android emulator? it seems the argument "-useaudio" is no longer an option in the version of qemu i'm running? Dec 04 17:05:25 hey, I'm having trouble getting my s3 mini to be recognized by adb, where can i find the drivers for it? Dec 04 17:05:38 samsung site is absolute trash and impossible to navigate Dec 04 17:06:06 bfig: xda-dev and shady file hosters might be a good place Dec 04 17:06:41 Ge0rG, what is that? isn't there an official place to look for them? Dec 04 17:07:27 i bought an unlocked phone, and it asks me to go search the phone by carrier... even if i do that, the model seems to be outdated, it is not shown at all on any of the main carriers Dec 04 17:09:04 bfig: was there a driver CD with the phone? Dec 04 17:09:14 * Ge0rG is only using adb on linux so far, so no real idea about the drivers Dec 04 17:09:39 i doubt it... Dec 04 17:09:41 jaynewstrom: depends on the use-case you're trying to solve Dec 04 17:09:51 but apparently i have to install specific drivers so my phone gets recognized Dec 04 17:10:59 JakeWharton: need a way to choose a date. Sounds like we will end up putting it in a dialog or another activity. It would be nice if it seamlessly integrated with Gradle as well. Dec 04 17:11:05 guys, does Android have externalstorage if it haven't sdcard or other cards? Dec 04 17:11:18 I have device, which has /mnt/sdcard/ but sdcard is empty Dec 04 17:11:44 I want to download some files to external storage, but what If device doesn't have sd card? Dec 04 17:12:38 whew, needed to look at the sqlite.db file for my app on a non-rooted phone. that was an adventure. Dec 04 17:12:40 <|0xD34D|> woozly: unless this is something to do with app development, you should probably go ask in #android Dec 04 17:17:20 jaynewstrom: We don't even use that control anymore. Dec 04 17:17:52 If you make a PR to update the build system to Gradle I'll push to Central. Dec 04 17:18:00 JakeWharton: Ohh, do you recommend something else? Dec 04 17:19:10 No, we just aren't using it. Dec 04 17:19:19 We don't have a date picker anymore. Dec 04 17:19:55 JakeWharton: I see. Well, I'll keep exploring, and if I end up upgrading to gradle, I'll send a PR Dec 04 17:23:42 Hey guys Dec 04 17:28:41 quick simple question guys... I'm still ne wto this Dec 04 17:30:14 shared prefs will allow me to save my listview items once i close my app right? Dec 04 17:30:23 jaynewstrom : times square already produces aar's, so you can install it locally and use it in a gradle project Dec 04 17:30:32 The TextView/DynamicLayout/Editable/SpanWatcher code is just so incredibly entangled, there's no way to swap out anything. Dec 04 17:30:58 At times I think it would be easier to roll my own TextView with GLES. Dec 04 17:31:16 or just allow other activities access to one? Dec 04 17:40:00 hi, i got problems with Exception handling Dec 04 17:40:08 im doing this Dec 04 17:40:16 try{ bm = Bitmap.createScaledBitmap(bm, 1600, 1600, false); } catch(OutOfMemoryError e){ Log.v("PhotoManager","OOM ERROR"); } catch(Exception e){ Log.v("PhotoManager","EXCEPTION"); } Dec 04 17:40:40 I always got outofmemory error, but the Log is never displayed Dec 04 17:40:47 u know why ? Dec 04 17:41:06 OutOfMemoryError isn't an exception, it's an error Dec 04 17:41:24 catch(OutOfMemoryError e){ Log.v("PhotoManager","OOM ERROR"); Dec 04 17:41:40 its not the way to do it ? Dec 04 17:42:07 Oh, right Dec 04 17:42:11 I always got the error but code on catch isnt executed Dec 04 17:43:21 what's the best way to get a unique list of bucket_ids for images in the MediaStore? Dec 04 17:44:08 mactar, I think you can't catch the OOM exception Dec 04 17:46:31 Mavrik: I think I cant catch CreateScaledBitmap function at all, because memory catch with BitmapFactory.decodeFileDescriptor function was working great Dec 04 17:46:55 broken function Dec 04 17:47:00 broken bitmaps !!!! Dec 04 17:47:50 mactar, thing is, it's entirely possible that the process of catching exceptions creates a new OOM condition Dec 04 17:48:04 Nah, you can catch OOM's Dec 04 17:50:21 its like Exception inception Dec 04 17:53:02 You can catch OOMs, but are you guaranteed that the catch block is actually executed? Dec 04 17:53:13 It's a runtime error and an unchecked exception for a reason Dec 04 17:53:40 http://stackoverflow.com/questions/20382418/saving-and-relodaing-listview-entries Dec 04 17:54:46 you're going to have to use a database, MrMeTooo ... Dec 04 17:54:50 When creating/decoding bitmaps you can be fairly sure, since they're usually large allocations Dec 04 17:55:02 you can catch OOM Dec 04 17:55:21 catch it, free up some memory, and try again Dec 04 17:55:35 If you get OOM on a 1byte allocation, it'll probably blow up before the catch is reached.. When you attempt a 10 MB allocation.. It'll reach the catch Dec 04 17:55:38 although you should really reconsider your app design Dec 04 17:56:08 sonOfRa I've done alot of research database and SharedPrefs are what i'm seeing the most Dec 04 17:56:55 sharedPrefs are for preferences Dec 04 17:56:58 databases are for data Dec 04 17:58:29 Why does ArrayAdapter require a List rather than a Collection? I want to use it with an ArrayDeque... Dec 04 17:58:45 make sence Dec 04 18:00:31 kbwt, because ArrayAdapter is very basic. Roll your own adapter. Dec 04 18:00:34 kbwt, Collection doesn't specify get(int index) Dec 04 18:00:39 I think arrayadapter might need that Dec 04 18:01:24 Also things like indexOf might be used in the internals of ArrayAdapter. You can always take a look at the source of ArrayAdapter Dec 04 18:03:09 mhm, they also do filtering and some other stuff Dec 04 18:03:23 extending BaseAdapter requires you to implement 3 methods. Dec 04 18:03:37 Yes, as I thought. ArrayAdapter uses get(index) internally, so you can't use it with Collection, as the interface doesn't supply that method Dec 04 18:03:53 indexOf is used as well Dec 04 18:06:22 Anyone used picasso to load Facebook profile images? Dec 04 18:06:34 python- dictioary, javascript - JSON, java - ?? Dec 04 18:06:44 hashmap Dec 04 18:07:09 seand, lol? Dec 04 18:07:20 Alina-malina: what? Dec 04 18:07:29 is it called hashmap? Dec 04 18:07:31 or it was not for me? Dec 04 18:07:41 Alina-malina: yes, hashmap is an implementation of map Dec 04 18:07:55 so json = hashmap right? Dec 04 18:08:20 no. java has a json implementation too Dec 04 18:08:40 http://developer.android.com/reference/org/json/JSONObject.html Dec 04 18:09:05 but Map is similar in concept, it stores key-value pairs Dec 04 18:09:14 I dc'd, does anyone know why Picasso won't load profile images from facebook? I get the .error(…) drawable Dec 04 18:10:55 Does Picasso work when the response is a 301 Dec 04 18:12:20 It leaves that up to the http client I believe Dec 04 18:18:18 explodes: it should. Dec 04 18:18:27 i assume you didn't modify the default config Dec 04 18:21:38 i did not Dec 04 18:21:47 https://github.com/square/picasso/blob/master/picasso/src/main/java/com/squareup/picasso/OkHttpDownloader.java Dec 04 18:21:49 line 106: Dec 04 18:22:04 if (responseCode >= 300) { … disconnect and return null … } Dec 04 18:22:14 then set a client manually Dec 04 18:22:53 redirects are followed inside OkHttp Dec 04 18:22:57 up to 20 Dec 04 18:26:04 whelp, the Picasso part right here doesn't use OkHttp Dec 04 18:26:12 HttpURLConnection connection = openConnection(uri); Dec 04 18:26:22 um Dec 04 18:26:26 look at the class name Dec 04 18:26:44 It uses OkHttp if you added OkHttp as a dependency Dec 04 18:27:20 Look at line 106, JakeWharton Dec 04 18:27:39 look at line 88 Dec 04 18:27:41 SimonVT: so add OkHttp to my project? Dec 04 18:27:57 and then look at the type of the 'client' field Dec 04 18:28:01 JakeWharton: Ah, I see Dec 04 18:28:07 Well, yeah.. OkHttp is optional Dec 04 18:28:13 but you should use it Dec 04 18:28:13 Unless you add it it isn't going to be used Dec 04 18:28:19 Dang, ok Dec 04 18:28:42 hey JakeWharton, can picasso scale an image by only width or only height keeping the aspect ratio intact? Dec 04 18:28:56 Hi All Dec 04 18:28:57 I was just reading that if I have a device hooked to my computer with debugging on but have the filesystem mounted to my computer I can not save into the android/data folder? Dec 04 18:29:09 seand, I use "StretchyImageView" for that, and it works well Dec 04 18:29:20 has somebody experience with using javax.* classes in android? Dec 04 18:30:12 explodes: this? http://stackoverflow.com/a/12675430/1100355 Dec 04 18:30:32 jonc: sounds about right, apps cant access external storage while its mounte Dec 04 18:31:01 seand: yea, it keeps the width you specify but stretches vertically Dec 04 18:31:20 actually, it may stretch width, too Dec 04 18:31:27 never used it that way, though Dec 04 18:32:10 SimonVT: So, is OkHttp going to be used automatically if i have the dependency, or do I need to configure picasso somewhere? Dec 04 18:32:13 what i'd like to do is resize an image to the width of the parent container and keep the height to whatever it would be at that scale Dec 04 18:32:44 seand: StretchyImageView => layout_width = match_parent, layout_height = wrap_content Dec 04 18:32:51 k, thanks Dec 04 18:34:35 hey guys Dec 04 18:34:43 is there a compatibilty library for OnDragListener Dec 04 18:34:45 ? Dec 04 18:35:29 JakeWharton: Do I need to set configuration to use OkHttp with Picasso? Dec 04 18:35:34 no Dec 04 18:35:48 damn. cuz I'm still getting an error with these images Dec 04 18:36:36 no compatibilty? Dec 04 18:41:36 Hi. Dec 04 18:42:52 FabianH: no. set min sdk to 14 Dec 04 18:43:09 i need drag and drop Dec 04 18:43:37 FabianH: okay Dec 04 18:43:42 min sdk to 14 Dec 04 18:44:26 it's not too horrible w/o the drag apis, but with them it's simperl Dec 04 18:45:45 is it possible to make a fragment or listview scrollable? please forgive my noob :) Dec 04 18:45:51 https://code.google.com/p/android-drag-and-drop-basic/source/browse/src/edu/sbcc/cs123/draganddropbasic/DragAndDropBasicActivity.java?r=942b651010cc6cad4376df1651123982c1a7474f Dec 04 18:45:54 how about this Dec 04 18:52:52 is it possible to make a textview scrollable? Dec 04 18:53:21 also, are the layout and classes listed separately in the reference docs? Dec 04 18:57:00 tcb^ll3r: just wrap your textview inside a scrollview.. Dec 04 18:57:52 http://stackoverflow.com/questions/1748977/making-textview-scrollable-in-android Dec 04 19:03:38 donmatthew: thank you. i'm just working on understanding the relationship between classes and layouts. Dec 04 19:04:17 np, me too :) Dec 04 19:05:04 okay so i'm not very experienced with gradle and stuff but i know my part of the deal, but tl;dr after removing actionbar-pulltorefresh as a module and adding it in gradle as a dependency i get a build error during dexing regarding some class/interface from android-support-v4 Dec 04 19:05:05 findViewById() seems to be the very first step to understand the relationship ^^ Dec 04 19:05:20 i'm on the verge of ripping my hair out Dec 04 19:05:27 donmatthew: thanks you:) Dec 04 19:06:08 so anyone know how to resolve issues with gradle building? Dec 04 19:08:00 tcb^ll3r: use android's first app guide otherwise... pretty good Dec 04 19:08:07 for basic purpose Dec 04 19:09:34 donmatthew: i'm trying to learn how to use the documentation. ex: android:scrollbars = "vertical", where is this xml attribute located in docs. Dec 04 19:10:31 tcb^ll3r: in the docs for the class it applies to... theres a table of XML elements for each widget class Dec 04 19:10:44 s/elements/attributes Dec 04 19:12:17 gsteinert: appreciated Dec 04 19:13:56 Is there a specific permission to allow to create a socket Dec 04 19:14:01 on a non rooted device? Dec 04 19:16:33 DenRaf: INTERNET? Dec 04 19:20:22 n3f: thanks! Dec 04 19:24:43 http://pastebin.com/FuuaJLXW https://gist.github.com/Yatekii/9ea3e1d692221fef1349 can anyone spot the mistake? :S Dec 04 19:26:04 http://stackoverflow.com/questions/20382418/saving-and-relodaing-listview-entries/20382594?noredirect=1#comment30435283_20382594 Dec 04 19:26:27 anyone know a simple way to add sqlite to a to-do list app Dec 04 19:28:25 MrMeTooo: just create a new SqLiteHelper like in here: https://gist.github.com/Yatekii/40d97eca4c815b39bedf you can then retrieve a db from it and operate on it with rawQuery() Dec 04 19:31:02 i found this http://www.vogella.com/articles/AndroidSQLite/article.html Dec 04 19:34:26 hi Dec 04 19:35:10 i want to refresh a list view like the android contact list does when we type a search text in edittext Dec 04 19:35:15 i am making a contact search Dec 04 19:35:23 with a Edittext at top Dec 04 19:36:03 hi Dec 04 19:36:08 anyone here ? Dec 04 19:36:39 pfn ? Dec 04 19:36:59 chinu Dec 04 19:37:13 Less spam Dec 04 19:37:20 more research Dec 04 19:37:37 http://stackoverflow.com/questions/14663725/list-view-filter-android Dec 04 19:37:38 is tthere any cleanup that needs to be done with a VideoView ? I'm noticing that it leaks my Activity Dec 04 19:38:49 did SO just make some changes?? Dec 04 19:39:08 yea looks like the header is new Dec 04 19:41:01 hmm guys how do I properly escape strings in android-java? :S Dec 04 19:43:31 Yatekii: escape them for what Dec 04 19:43:45 seand: inserting em in sqlite Dec 04 19:43:55 Yatekii: same as regular java Dec 04 19:44:04 funkbox: definitely not. Dec 04 19:44:18 Yatekii: you pass them in as args to the method, and use ? in the query Dec 04 19:44:26 tried some namespaces that were advised and they were unknown in android studio. Dec 04 19:44:35 seand: didn't work for me Dec 04 19:44:42 Yatekii: paste your code Dec 04 19:44:45 that's why I changed every single query Dec 04 19:44:49 uff Dec 04 19:44:59 lemme see if I got the old code Dec 04 19:47:04 well I do not have the old code anymore but I had selection alike this: "? = ?" and selectionArgs like this {"parameter_name", "parameter_value"} Dec 04 19:47:10 still no gradle experts around? Dec 04 19:47:15 and yes, I am sure it was exactly like that :) Dec 04 19:47:33 i'm so fucking sick of this message and i don't have a fucking clue what to do abou it Dec 04 19:47:35 java.lang.IllegalArgumentException: already added: Landroid/support/v4/app/FragmentManager$OnBackStackChangedListener; Dec 04 19:48:10 Yatekii i don't use ? for the param name, i just use it directly in the string Dec 04 19:48:24 how do you mean that? Dec 04 19:48:25 but yes, that's the idea Dec 04 19:48:31 can you give me any idea? Dec 04 19:48:33 "COLUMN_NAME = ?" Dec 04 19:48:36 taht one did definitely not work Dec 04 19:48:43 I handed it to some guys in this channel Dec 04 19:48:53 even them did not know what was wrong hmm Dec 04 19:49:08 hmm ah maybe I can just replace the value and not the column name Dec 04 19:49:18 but that would be very weird IMO Dec 04 19:49:26 why Dec 04 19:49:29 I'm having some trouble building an NdefMessage that will be received by NfcAdapter with ACTION_NDEF_DISCOVERED. The docs say that in order to fire that action, the message must have as its first record either a URI, MimeType or SmartPoster record. My message only has one record, an NdefRecord.createUri(...) entry - yet it's coming across as ACTION_TECH_DISCOVERED, the next fallback if NDEF_DISCOVERED doesn't match. anyone familiar Dec 04 19:49:29 but maybe it checks for a ? after = Dec 04 19:49:41 it doesn't do that Dec 04 19:49:47 dunno why not just implement some general placeholder like in sprintf() in php Dec 04 19:49:53 that woulda been awesome Dec 04 19:49:57 works great ove rthere Dec 04 19:50:05 just not with sqlite in java :( Dec 04 19:50:06 so sad Dec 04 19:50:17 i use MessageFormat.format() or something to populate the table and column names in the string Dec 04 19:50:20 then ? to bind values Dec 04 19:51:34 hmk Dec 04 19:52:14 actually I don't have to escape columnnames since they are never with special characters and since it's local I do not have to fear injections Dec 04 19:52:45 and if some mate injects some shit into my phones music library I can pay back anyways :P Dec 04 19:55:14 new String[] {track.getAbsolutePath()} this writing is just a 100% riddiculous :P Dec 04 19:58:25 ahhh, i see. scrollbars att is inherited from view, and thus not listed in textview docs Dec 04 20:07:14 never imaged how difficult a to-do app could be Dec 04 20:09:52 MrMeTooo: what features does/will your app have Dec 04 20:11:45 seand click actionbar icon to add a new note...... type desired note.....click actionbar icon to save and add new item to listview Dec 04 20:12:02 SimonVT still there ? Dec 04 20:12:11 with layoutInflator Dec 04 20:12:28 Yep Dec 04 20:12:46 SimonVT so, AS 0.3.7 wont import a project i have. google dev says " As a workaround, open the Project Structure dialog and specify the path of the Android SDK to use. Please let me know if that helped." Dec 04 20:12:50 MrMeTooo: lol, that's not hard. it probably just seems that way because you have to figure out how to do each little thing Dec 04 20:13:01 but how can i even get to that if i can't import the project :| Dec 04 20:13:20 is there some other preference in AS where the SDK is specified ? i used to keep it in local.properties Dec 04 20:13:29 MrMeTooo: once you make a few more apps you'll probably churn them out like it's nothing Dec 04 20:13:56 Dunno, ask him.. I haven't updated yet Dec 04 20:14:27 ok thx Dec 04 20:14:29 On my Nexus 7 the VideoView widget is leaking mSurfaceHolder->mPlayer$TimeProvider every time. My activity count climbs by 1 each time i open the activity. Is there anything special that has to be done to cleanup a VideoView ? Dec 04 20:15:42 so i launched my app in the simulator (android studio) and saved stuff in-app....how do i look at this data on my computer? Dec 04 20:17:59 or rather the actual apk? Dec 04 20:21:14 SimonVT what are you using right now ? Dec 04 20:22:45 0.3.6 Dec 04 20:23:12 good move :) Dec 04 20:23:24 i'm a beta tester today ;) Dec 04 20:23:25 Just been too lazy to update Dec 04 20:23:51 SimonVT do you have your update thing set to canary or something else ? Dec 04 20:24:20 Uh, no idea Dec 04 20:24:25 Whatever it's set to by default Dec 04 20:24:29 canary Dec 04 20:24:31 Never changed anything Dec 04 20:24:46 sounds like a mac user :D Dec 04 20:25:08 thats ok, i am too :) Dec 04 20:25:39 i think thats why my box has been stable since i got 10.7.4 … i just leave it alone ;) Dec 04 20:25:48 I'm having some trouble building an NdefMessage that will be received by NfcAdapter with ACTION_NDEF_DISCOVERED. The docs say that in order to fire that action, the message must have as its first record either a URI, MimeType or SmartPoster record. My message only has one record, an NdefRecord.createUri(...) entry - yet it's coming across as ACTION_TECH_DISCOVERED, the next fallback if NDEF_DISCOVERED doesn't match. anyone familiar Dec 04 20:25:53 I just click update when I get a popup Dec 04 20:27:22 it's possible to use an api of apilevel 19 on android 4.2 ? Dec 04 20:28:20 no Dec 04 20:28:26 Is there a way to link UI task handler and the task one without passing it from first to second task? If I instantiate both with new Handler(Looper.getMainLooper()) they can't comunicate each other Dec 04 20:31:25 ech0s7: do you comprehend what the apilevels mean? Dec 04 20:32:18 yes tophyr i missing that api level 19 is android 4.4 now i have read Dec 04 20:32:30 ech0s7: ah gotcha ok cool :) Dec 04 20:32:51 i wasn't trying to be mean, it's just that that question didn't really make any sense lol Dec 04 20:34:40 gdrc: static variables, though i try to stay away from those as much as i can Dec 04 20:35:03 Hello Dec 04 20:35:15 What is the irc for cyanogenmod development? Dec 04 20:35:48 #cyanogenmod, #cyanogenmod-dev Dec 04 20:36:04 thank you, i tried cm-dev, and it didn't work Dec 04 20:36:27 <|0xD34D|> michael__: here's all the info you need http://wiki.cyanogenmod.org/w/CM_IRC_channels Dec 04 20:36:53 Thank you Dec 04 20:38:02 No lmgtfy? I'm disappointed Dec 04 20:38:20 Also, I do have a seperate question that would be better suited here Dec 04 20:39:01 I've only ever messed with tablets, so don't have as much experience with phones Dec 04 20:39:50 michael__: also you can probably do /list in your irc client to get a list of channels Dec 04 20:39:52 How likely is it that a cdma phone would not identify with the service after installing a custom rom? Dec 04 20:40:08 Why visual studio starts with "FrameLayout" ? Dec 04 20:40:24 <|0xD34D|> michael__: that's probably a question for #android-root Dec 04 20:40:38 Ok. Dec 04 20:40:58 The irc client blocked /list saying it would use up too much network traffic Dec 04 20:41:08 what client are you using Dec 04 20:41:41 Konversation, it blocked it and asked if I wanted to override Dec 04 20:42:21 Hey guys, I'm having trouble embedding zxing in my code, does anyone know a good tutorial or something? Dec 04 20:43:16 tophyr: so Dec 04 20:43:45 gdrc: ? Dec 04 20:43:51 CasW, does http://wiki.cyanogenmod.org/w/Doc:_adding_your_own_app help? It's cm specific, but the steps should be similar Dec 04 20:44:15 how should I link the two Handler object in the different thread? Dec 04 20:44:43 michael__: No, I'm not making a ROM, I'm making an application ;-) Dec 04 20:44:51 if you don't want to pass references directly to each object then static variables are your only other option Dec 04 20:45:10 or member variables i guess, if they're in the same class and instance Dec 04 20:45:20 ok i'll pass in the constructor Dec 04 20:47:46 Does simple apps could "live without fragments" ? Dec 04 20:47:55 how can I get or reset the background drawable of an actionbar? Dec 04 20:48:37 trying to follow the accountmanager process like a rat caught in a maze. What's the latest location of http://developer.android.com/training/id-auth/custom_auth.html ? Right now, it just points to using play services; and I can't seem to find the 'updated' (is it by any chance deprecated?) document. Dec 04 20:49:28 bluesm: sure - you can write just simple activities more-or-less like writing a website [customizing with different layouts for different screen widths] if that's simpler. Dec 04 20:49:55 kbs: I just don't understand fully fragments... Dec 04 20:51:02 bluesm: you're in good company at least Dec 04 20:51:20 tophyr: Company ? What do you mean ? :P Dec 04 20:51:28 well maybe not "good". "plentiful" Dec 04 20:51:39 bluesm: i mean you're not alone in not understanding fragments, heh Dec 04 20:51:52 tophyr: :P Dec 04 20:52:09 I personally believe there's more than one way to skin the cat that fragments tries to slice; you can have some success by just tweaking layouts; and a simpler codebase. [gridviews tend to be reasonably ok at simple adaptive layouts, if that's sufficient.] Dec 04 20:52:14 hehe, me too. i shamefully admit buying a book just on android fragments; i get them in isolation but cant figure out how to make an app for various screen sizes that uses different configurations of them Dec 04 20:52:15 tophyr: You say, it is not easy concept ? Dec 04 20:53:07 i think the concept is fairly simple but their implementation is a royal pain in the ass Dec 04 20:53:16 How can I use cookies in a webview postUrl() call? Dec 04 20:53:27 tophyr lots of things in android are a royal pita Dec 04 20:53:39 g00s: +1 Dec 04 20:53:43 nmy budy shows me his WP code, and i'm like wut thats it ? Dec 04 20:54:34 one nice tool to help in some cases with concurrency is RxJava - for very certain scenarios Dec 04 20:54:49 windows phone code should be amazing, they've had all this time to learn from the mistakes of the android and ios apis Dec 04 20:54:52 its all about this complex state, frags, activities, services Dec 04 20:54:55 too much bs Dec 04 20:55:03 and then throw in concurrency ;) Dec 04 20:55:32 agree - over-engineered; and i'm not sure you get enough bang for the complexity buck :-) Dec 04 20:55:39 g00s: on the different configurations etc, i ended up writing a framework that borrows the concept of delegates from iOS. every fragment i have defines an interface. any activity that might contain that fragment, *must* implement that interface (enforced by some overrides and type checking). the fragment doesn't have to worry about talking to specific activities then, it just calls getInterface().onWhateverHappened() Dec 04 20:56:06 i'll see what my employer thinks about publishing it FOSS Dec 04 20:56:25 at least for us, it made fragments vastly simpler and easier to use Dec 04 20:56:42 nice Dec 04 20:56:57 i would just be happy to have matching function calls on objects... setBackgroundDrawable but no GetBackground drawable? bah Dec 04 20:56:58 tophyr and java 8 will have optional methods in interfaces, if you ever run into that hassle Dec 04 20:57:17 g00s: ooh that'd be nice Dec 04 20:57:54 Does simple apps could live without fragments? Dec 04 20:58:18 jk Dec 04 20:58:25 explodes: yeah, you don't *need* fragments. they're just another functionality-reuse tool. Dec 04 20:58:36 I know I was just reiterating a prior question Dec 04 20:58:47 It was just worded beautifully is all Dec 04 20:58:59 haha wasn't it Dec 04 20:59:36 my 0.02 - android uis and frameworks should look more towards the web for techniques on managing adaptive layouts :-) Dec 04 21:01:18 i hope some day the tooling helps me comprehend the visual architecture of my app better; i always get lost in my folder of res/layouts knowing what goes to what, what is used (or reused where) , how the app is structured navigation-wise ... Dec 04 21:01:41 g00s: agreed Dec 04 21:01:48 my layout folder is getting so big and confusing Dec 04 21:02:09 i wonder if the google engineers are so smart, have such a large working memory, that they can hold the whole thing in their huge brains at once and never see this issue Dec 04 21:02:51 many google apps don't seem to understand how intent flags work... Dec 04 21:02:56 and then there is gdrc Dec 04 21:02:59 oops, g00s Dec 04 21:03:00 :) Dec 04 21:03:10 f2prateek: how do I create the aar? I haven't used maven before, and I've never built an aar myself. Dec 04 21:04:03 where's that guy who wanted to build a new android ide when you need him Dec 04 21:04:15 he was here a long time ago Dec 04 21:04:22 on windows ? heh Dec 04 21:04:47 if you're asking me i'm on a mac Dec 04 21:05:10 i don't remember his nick, but he wanted to build a new one from scratch Dec 04 21:05:40 yeah i dont remember. was it WindowsNT ? Dec 04 21:05:44 or something like that Dec 04 21:07:56 [Speaking of very specific solutions for adaptive layouts - in great frustration I coded a view that works not too shabbily for large masses of text. https://github.com/kbsriram/typesetview - great fun to write, and not very much code to boot.] Dec 04 21:08:02 I feel like an idiot. I had 4 identical views so I essentially copying the view code and xml's 4 times when I could just be changed 1 thing and it would load different data Dec 04 21:15:46 nice, kbs Dec 04 21:16:02 thank you :-) Dec 04 21:17:24 i agree, looks pretty nice Dec 04 21:19:18 is there a way I can grab the actionbar's current background drawable? if not, is there a way I can grab it via resources if I know the apropriate theme? Dec 04 21:21:18 there needs to be some centralized list of third-party android code Dec 04 21:21:26 libraries, classes and gists Dec 04 21:21:38 i don't think that exists already, does it? Dec 04 21:22:30 jaynewstrom: `mvn clean install` form the root of the project, it will install to your local repo and then in your build.gradle; compile 'com.square:android-times-square:{version}@aar' Dec 04 21:22:41 double check the artificat name and use the latest version Dec 04 21:24:00 f2prateek: I just cloned, and I get an error: "led to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.7.0:generate-sources (default-generate-sources)" Dec 04 21:24:07 smit: check Widget.Holo.ActionBar in https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/styles.xml Dec 04 21:24:29 the solid variant uses ab_solid_dark_holo and ab_solid_light_holo Dec 04 21:24:51 I cut off "failed" at the beginning of that Dec 04 21:27:26 g00s kbs desmin88: http://screencast.com/t/idGaWNaU Dec 04 21:27:45 what the fuck Dec 04 21:28:40 jaynewstrom: no idea what that could be from Dec 04 21:28:46 tophyr: why do you need the layout-* and values-* variations Dec 04 21:29:03 different layouts for different screens and apis Dec 04 21:29:21 in most of those folders there's really only one or two files that override something specific, but there's a ton of em Dec 04 21:31:21 tophyr: how do you test on all the different devices? are you using the simulator or do you have devices in all those different sizes? Dec 04 21:32:03 tophyr omg; how the hell do you make heads / tails out of that Dec 04 21:32:26 f2prateek: could it be my maven version or something? Dec 04 21:32:40 I have Apache Maven 3.1.1 Dec 04 21:32:50 use 3.0.5 Dec 04 21:32:51 yeah, we've tested on all of those. that's generally how we figure out that we need something adjusted.. "oh, on this random device it looks like shit" --> can we make a change to layout to fix w/o breaking others? yes = cool, no --> override Dec 04 21:32:59 the plugin isn't compatible with 3.1 yet Dec 04 21:33:31 f2prateek: I just used homebrew to install, how should I install maven on latest mac os Dec 04 21:33:51 tophyr: so i'm guessing you're not an independent dev Dec 04 21:34:02 tophyr i wonder … using gradle, you can have multiple res/ directories … if you could use that to break things into maybe several categories Dec 04 21:34:06 seand: btw, it's working now, thanks so much! Dec 04 21:34:14 Yatekii: sweet Dec 04 21:34:18 three of us on my team Dec 04 21:34:26 + 2 testers Dec 04 21:34:43 thanks so much, seand! Dec 04 21:34:46 sure Dec 04 21:34:57 g00s: i haven't looked into that but it'd be neat to be able to group stuff together Dec 04 21:34:59 jaynewstrom: there's a couple of stackoverflow threads that might help Dec 04 21:35:36 This is what I had used (3rd answer down) http://stackoverflow.com/questions/8826881/maven-install-on-mac-os-x Dec 04 21:35:55 f2prateek: thanks Dec 04 21:37:27 seand: thanks for the response... android.R.ab_solid_dark_holo is not accessable in code. any ideas? Dec 04 21:38:18 android.R.drawable.ab_solid_dark_holo Dec 04 21:38:37 http://www.haveibeenpwned.com/ Dec 04 21:39:00 f2prateek: that seemed to work. Thanks a bunch Dec 04 21:39:06 g00s: mother fuckin adobe Dec 04 21:39:16 yeah those mother fuckers indeed Dec 04 21:40:01 i have some inside sources there; a very scary culture wrt security Dec 04 21:40:46 i wanted to by "the dam book' by stephen krogh but it needs Adobe motherfucking Reader Dec 04 21:40:54 and i had to say no Dec 04 21:41:09 obviously. "hey let's store decryptable passwords instead of hashes, and let's also write our own cipher implementation and not peer-review it, that sounds like a great idea guys" Dec 04 21:41:25 anyone an idea on how to tackle this one: Missing system class: sun.rmi.server.Activation$ActivationSystemImpl_Stub Dec 04 21:41:46 DenRaf: how are you encountering that? Dec 04 21:42:11 creating a jboss 4.2 client Dec 04 21:42:25 compiled all the javax dependencies Dec 04 21:42:28 oops, peter krogh. http://thedambook.com/organizing-your-photos-with-lightroom-5/ Dec 04 21:42:33 Why would I get this error: Dec 04 21:42:41 this is the guy who tells the pros how to organize their photos Dec 04 21:42:42 JavascriptInterface cannot be resolved to a type Dec 04 21:42:47 but don't get around this one Dec 04 21:43:10 My Eclipe Android Builder Target is 4.2.2 API Level 17 Dec 04 21:43:15 smit: it's probably private then. why do you need to access it? Dec 04 21:43:27 g00s: that data breach does give me immense shaedenfreude however. i work for docusign, an electronic signature company (obviously very heavy on security) and our main competitor is echosign, an adobe subsidiary Dec 04 21:43:51 hehe ! Dec 04 21:44:44 our sales guys' jobs got a lot easier when they realized they could point out "hey, you remember hearing about that 153-million-user data breach? yeah, that was the competition." Dec 04 21:44:58 seand: i need to change the background color of the actionbar and then I need to set it back to what it was. I can do getActionbar().setBackgroundDrawable(), but there is no getBackgroundDrawable() so I'm looking for workarounds Dec 04 21:45:01 Why we can assign "onclikc" event from xml ? Dec 04 21:45:20 bluesm: it's been there forever. i don't like using it. Dec 04 21:45:31 use butterknife for onclick events dawg. Dec 04 21:46:05 ugh, this one guy in the mining pool is pulling double the next lowest and taking a shit ton of shares Dec 04 21:46:14 smit: you'll probably have to download the android drawables for whatever theme you're using and set them yourself... then you can change from that to the new background color and then back to the original Dec 04 21:46:50 smit: at least, that's how i would do it Dec 04 21:46:57 seand: bah, that will probably mess with custom themed phones, tho. Dec 04 21:47:02 tophyr: class is embedded in the library Dec 04 21:47:24 Hey guys, I made a custom Layout that extends RelativeLayout. When I go into my xml to use this CustomLayout, and I try to drag stuff around it behaves like a linear layout. Any ideas? Dec 04 21:47:36 seand: perhaps there is a way to use TypedValue and resolveAttribute to ask for it. Have not figured it out, yet, though. Dec 04 21:48:05 smit: i'm betting that's private but you could try Dec 04 21:48:11 i mean, that particular attr Dec 04 21:48:14 tophyr the sales guys job should be pretty easy too,the list is always in flux but adobe is always there http://www.zdnet.com/blog/btl/adobe-tops-kaspersky-labs-list-for-top-ten-pc-vulnerabilities/49093 Dec 04 21:48:24 thats an old list Dec 04 21:48:28 DenRaf: no idea then sorry mate Dec 04 21:48:48 g00s: yeah they don't have a particularly hard time in general i think lol Dec 04 21:48:55 seand: yeah, seems to be. bah. thanks for your help. Dec 04 21:50:08 smit: what did you mean about custom themes? how do those work with any apps that have their own theme? Dec 04 21:51:57 seand: i think he just meant that by packaging the stock android drawable with your app, you'll be emulating the standard behavior, but only *one* standard behavior. diff devices might have diff "standard" looks, so your app will be "different" then Dec 04 21:52:03 """ Dec 04 21:53:30 seand: a device manufacturer could change all the drawables for a theme. so if I copy the ones in AOSP and put them in my app, they may not match what is on the phone. Then, in my case, I would change the actionbar background to the drawables in my apk and that won't match what it was when the app launched (the phones drawables) Dec 04 21:53:45 seand: if I had my own theme and an entire set of drawables then it wouldn't be a problem. Dec 04 21:54:11 thanks, tophyr, much better description. Dec 04 21:54:38 tophyr, smit: what's the correct way to theme your app, then? Dec 04 21:55:28 hey guys Dec 04 21:55:36 i have a huge problem with android studio.. Dec 04 21:55:37 SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable. Dec 04 21:55:40 i get this error.. Dec 04 21:55:57 shrug. the way you're doing it isn't the worst. if you don't have access to the drawable via the system APIs (i haven't been paying attn to why you can't use the drawable via android.R) then the route you're going is really the only option Dec 04 21:56:26 just keep in mind that it may look off if the device has a different theme. Dec 04 21:57:06 my problem is that I'm changing it and I then need to change it back to what it was, not back to a 3rd state that I shipped with my app. Dec 04 21:57:19 ahh. yeah i just found that line Dec 04 21:57:30 static themes seem to work well Dec 04 21:58:06 i was actually asking about my own app, which i've created drawables from http://jgilfelt.github.io/android-actionbarstylegenerator/ to color it Dec 04 21:58:27 hold on im curious, will dig into AB Dec 04 22:01:25 seand: i may need to use a generator, but that seems like overkill... I just want to change the actionbar color to alert the user to a temporary state change and then back to normal when done. Dec 04 22:03:27 smit: have you tried setting the AB's bg drawable to null? Dec 04 22:03:28 smit: couldn't you overlay a view that fills up the entire actionbar and has a background? Dec 04 22:03:39 cool , rxjava-android had a new release Dec 04 22:03:56 looking at the code, it seems like setting it to null may simply revert it to default (isntead of making bg disappear) Dec 04 22:04:10 seand: no, it's got buttons and stuff Dec 04 22:06:04 tophyr: thanks for checking... it turns the background white when set to null. Dec 04 22:06:16 actually i take that back, if the bg's are all null then it calls setWillNotDraw(true) on the framelayout Dec 04 22:06:24 oop, you just tried Dec 04 22:07:05 heh, I tried that earlier... Dec 04 22:08:11 I officially hate everything about apps! Dec 04 22:08:52 about android app development maybe? Dec 04 22:09:26 except onclicklistner Dec 04 22:09:30 I cant get rid of this fucking android studio error.. i hate android studio.. Dec 04 22:09:43 A lot of things about the android api bug me. Dec 04 22:09:44 it's just useless for me, i didn't get my project running on it Dec 04 22:10:35 FabianH what error ? Dec 04 22:10:50 smit: well if you wanna get into reflection, here is the relevant code in ActionBarContainer: https://gist.github.com/tophyr/7796505 Dec 04 22:10:55 i had a doosy with 0.3.7 but worked it out with alr Dec 04 22:10:56 . Define location with sdk.dir in the local.properties file Dec 04 22:11:03 i did that and it's not working Dec 04 22:11:10 i can't import my project.. Dec 04 22:11:29 FabianH hold on Dec 04 22:12:07 ActionBarContainer --> ((ActionBarImpl)getActionBar()).mContainer, you'll have to use reflection to verify that getActionBar() returns an instance of ActionBarImpl (package-prot class) and to get the field mContainer (private field) Dec 04 22:12:29 FabianH o haha, you commented on my bug Dec 04 22:12:36 thanks, tophyr. Dec 04 22:12:39 https://code.google.com/p/android/issues/detail?id=63223 Dec 04 22:12:46 yes, it started with that bug -.- Dec 04 22:12:52 simply hate it Dec 04 22:13:04 i would rather not have to use reflection... it may not work in the future. ugh. Dec 04 22:13:14 sound like we all hate apps Dec 04 22:13:15 smit: what i might do instead of all that is come up with a color scheme for the app (evernote's AB, for example, is green no matter what the theme is) and then go from color_scheme_default -> temp_color -> color_scheme_default Dec 04 22:13:17 i'm gonna ask the dev list for as a last shot Dec 04 22:13:50 FabianH its clear to me, these guys dont do any installation testing at all. this is the 3rd release that was busted in a basic way importing a project or something, there was gradle 0.6.2, ugh Dec 04 22:13:51 yeah, tophyr, I think if I have to I will just generate my own theme using a theme generator and then I can set backgrounds all day long. Dec 04 22:14:01 yes.. Dec 04 22:14:23 Hi, what I'm doing wrong: Cursor cursor = database.rawQuery("SELECT * FROM " + MySQLiteHelper.TABLE_WORDS + " ORDER BY RANDOM() LIMIT 1", null); ? It throws Null pointer exception, I don't why, the same query works locally in sqlite. Dec 04 22:14:26 tophyr: but I will be annoyed the entire time I'm doing that. Dec 04 22:14:26 they integrate 1020381231 23 new features but can't do a stable build.. Dec 04 22:14:28 i think that's definitely the best option Dec 04 22:14:36 hahah Dec 04 22:15:08 I have to develop with eclipse, even though it's now better at all.. Dec 04 22:15:16 FabianH funny too that the Updates thing is broken and won't persist subscribing to the dev channel - you are forced on canary Dec 04 22:15:22 the only thing that's better is that it runs like stone Dec 04 22:16:36 FabianH: no you don't. intellij is great Dec 04 22:17:03 i tried now 4 hours to get android studio running.. Dec 04 22:17:05 and i quit.. Dec 04 22:17:10 FabianH: not android studio, intellij Dec 04 22:17:14 i tried couple of times, but i failed Dec 04 22:17:29 isn't that almost the same? Dec 04 22:17:30 :O Dec 04 22:17:41 FabianH: no, intellij is stable Dec 04 22:17:48 i thought intellij 13 ce is based on an older version of the AS android bits Dec 04 22:17:53 which would scare me ;) Dec 04 22:17:58 even if the framework / editor is more stable Dec 04 22:18:10 i'll try intellij :) Dec 04 22:18:11 thank you Dec 04 22:18:53 tophyr: thanks for taking the time to look into it. Dec 04 22:19:27 i always get interested in how to strongarm android into doing things i want it to, heh Dec 04 22:20:28 i think you're entirely safe with a custom theme. lots of apps have custom colors Dec 04 22:20:48 agreed, it's safe, but not as forward compatible as it could be... Dec 04 22:21:20 i think it's more forward compatible Dec 04 22:21:23 yeah forward compatibility is an issue... but holo is so nice, how much will they really change in the future Dec 04 22:21:23 and, if my app can look like the other apps on their phone I think that's a good goal. Dec 04 22:21:36 by choosing your own colors and look you're making the decision for yourself Dec 04 22:21:51 using 100% default look, your app could look like ass with the next release Dec 04 22:22:17 instead (if your design skills are as good as mine, at least) it could look like ass, now! Dec 04 22:22:22 oi http://money.cnn.com/2013/12/04/technology/security/passwords-stolen/index.html Dec 04 22:22:26 tophyr: by using 100% default look, won't it be perfectly future-compatible? Dec 04 22:22:53 the rest of the android system tries so hard to allow for super flexibility... it's just a shame, that's all... if a device manufacture develops a sweeter look my app will still just look the same. Dec 04 22:23:10 is there any good java tutorials for android ? Dec 04 22:24:18 smit: no device manufacturer is going to develop a sweeter look. lol Dec 04 22:24:23 Hi! So now I'm hooking my Samsung Galaxy S4 on a debian 7.2 and lsusb doesn't see it. lsusb lists the other devices (keyboard, hard disk) on usb. This Samsung is seen without a problem on a laptop with debian 7.0. Any idea? Dec 04 22:24:32 future compatibility !== good visual design, i guess is my point. future compat could change something that might break some UI dependency Dec 04 22:25:06 seand: hah Dec 04 22:25:29 ios6 -> ios7 is a fantastic example. apps that were designed to use default looks, colors and view sizes on ios6 barely worked at all on ios7 Dec 04 22:25:48 also +1 seand lol Dec 04 22:25:58 MrGate: Seen this? http://developer.android.com/training/index.html Dec 04 22:26:09 and oh oh http://arstechnica.com/tech-policy/2013/12/googles-copyright-win-against-oracle-is-in-danger-on-appeal Dec 04 22:26:41 When I hook it, I get the usb connected beep on the phone, but nothing on debian 7.2 linux. Dec 04 22:26:51 ya JamesNZ im looking for tutorials based around user interface design etc Dec 04 22:28:58 tophyr: yeah, that makes sense Dec 04 22:30:15 Does Runnable is kind of delegation n? Dec 04 22:31:10 bluesm: rephrase your question, it was hard to understand Dec 04 22:32:22 tophyr: I mean, that "Runnable interface" is made for passing the "function" to be executed, around. Dec 04 22:33:00 tophyr: We use it for delegation... That is getting something done by provided method Dec 04 22:33:05 ? Dec 04 22:33:14 correct Dec 04 22:33:38 it's used for any kind of arbitrary "here, perform this task" use Dec 04 22:34:42 Thanks :) Dec 04 22:42:05 If you call MediaExtractor.seekTo() (http://developer.android.com/reference/android/media/MediaExtractor.html#seekTo%28long,%20int%29), is executed async or can I just continue with reading the buffer right away? Dec 04 22:42:21 hi all Dec 04 22:42:48 i'm having a problem. When I try to edit a layout file, eclipse hangs indefinitely when it tries to open the layout editor. Dec 04 22:43:18 The status bar shows "Loading data for Android 4.4 100%". I have the latest ADT plugin Dec 04 22:44:04 I tried editing in another text editor, but the same thing occurred while I was editing a different XMLM file (styles.xml I think) Dec 04 22:52:05 how do I get a ListView to let the user scroll a little further, so that the top item isn't cut off? Dec 04 22:53:58 kbwt: wrap it inside a scrollview Dec 04 22:54:28 donmatthew: The ListView already handles scrolling internally. Dec 04 22:54:49 kbwt: why do you need this? are you sure your not clipping your item's view? Dec 04 22:55:07 donmatthew: The docs even say: "You should never use a ScrollView with a ListView, because ListView takes care of its own vertical scrolling. Most importantly, doing this defeats all of the important optimizations in ListView for dealing with large lists, since it effectively forces the ListView to display its entire list of items to fill up the infinite container supplied by ScrollView. " Dec 04 22:55:30 kbwt: ahh true.. it should scroll automatically Dec 04 22:55:37 ? Dec 04 22:56:25 smit: I have a ListView which contains TextViews (chat messages), and I want it to scroll to the bottom every time a new chat message is added. However the chat message at the top is often only half visible (depending on the height of the ListView) Dec 04 22:58:39 So I see two options: either increase the scrollable height by the portion of the height of the topmost visible item that is visible (is that possible with ListView?), or shrink the ListView's height to force that item further to the top Dec 04 23:00:26 I can't just constrain the height of the ListView to multiples of the text height, because height of TextView with 2 lines != height of TextView with 1 line (due to floating point calculations in the font layout) Dec 04 23:03:16 Can android studio show documentation Dec 04 23:04:35 But for some reason ListView developers seem to be extremely insistent on not providing me with the actual (pixel) scrollY position Dec 04 23:04:47 instead only providing the index into the data set of the first/last visible items Dec 04 23:12:03 Why the "android" class is lowercase started ? Dec 04 23:12:13 ? Dec 04 23:12:18 that's a package Dec 04 23:13:41 guys whats the best way to save settings for an app? Dec 04 23:13:49 kbwt: Ah. So collection of classes and another packages... the naming convention is "lowercase "? Dec 04 23:14:42 bluesm: It's supposed to be a unique name, normally it's a "reverse" domain name like com.google.android Dec 04 23:15:26 kbwt: Oh. Right... :) Dec 04 23:15:33 kbwt: Thank you very much :] Dec 04 23:15:37 bluesm: http://docs.oracle.com/javase/tutorial/java/package/namingpkgs.html Dec 04 23:22:02 What is the clock (accurate clock) I could poll ? To get the accurate ? Dec 04 23:22:26 I suspect is better to "poll" the clock, every 1000 ms (to get unixtimestamp) Dec 04 23:23:18 than incrementing something after 1000 ms.. Since the unix timestamp should be much more accurate (especially when I have loaded CPU) Dec 04 23:23:21 Am I right ? Dec 04 23:23:32 bluesm: what are you actually trying to do? Dec 04 23:24:09 evanc: Timer, counting down your task... (Without background thread) Dec 04 23:24:28 use Handler.postDelayed(..) Dec 04 23:24:44 or android.os.CountDownTimer Dec 04 23:24:56 evanc: To Poll unix timestamp ? Dec 04 23:25:02 stop thinking like that Dec 04 23:25:43 evanc: Why ? Assume then I need create game, I need super accuracy... Dec 04 23:26:08 evanc: I wonder just if my reasoning about accuracy is correct. Dec 04 23:26:28 I had no idea what you were talking about when you talked about accuracy, but try looking at SystemClock Dec 04 23:27:02 but if you want something to run in approximately N milliseconds, use Handler Dec 04 23:27:30 note that Android is not a real-time OS, so trying to ger "super accuracy" is futile Dec 04 23:27:57 evanc: What "real time OS " does mean ? Dec 04 23:29:13 evanc: Am I able to find out who "clicked" first... When connection between bluetooth android devices ? Dec 04 23:30:54 android library question -- is it possible for me to create a library and export it as a *jar* if it depends on other projects that are 'android library' projects? Dec 04 23:36:54 hello, I am trying to send and receive multicast messages in an android application. Currently I sending works and I can receive messages that I send on the device, however I am unable to receive messages from other devices on the network. Do any of you have an idea why this would be? Dec 04 23:37:40 I think it might have to do with joining a multicast group Dec 04 23:37:44 but I am not sure Dec 04 23:38:11 currently my program does not join a multicast group Dec 04 23:40:52 shigeru: even if you can do it, you'll lose the resources Dec 04 23:42:42 evanc like its a weird situation where the library project that my project depends on uses something in res/ but i dont actually care about it in my project Dec 04 23:42:58 so its fine if my project cant access the library project's resources Dec 04 23:53:27 I'm perplexed by the the sample "basickeystorehelper" - the manifest indicates minsdk="8" -- but the code seems to be using an api-18 only package with no apparent Build.xxx based sections. What am I missing here? Is there some magic support that's available in older versions? Dec 04 23:53:27 https://android.googlesource.com/platform/developers/samples/android/+/master/security/keystore/BasicAndroidKeyStore/BasicAndroidKeyStore/src/main/java/com/example/android/basicandroidkeystore/KeyStoreHelper.java Dec 04 23:57:21 Oh, I guess it probably throws an Exception before it gets to the unfortunate bits. So, minsdk="8" is just misleading I guess. Dec 04 23:58:33 good evening everyone Dec 04 23:58:45 no no it's morning Dec 04 23:58:46 On my Nexus 7 the VideoView widget is leaking mSurfaceHolder->mPlayer$TimeProvider every time. My activity count climbs by 1 each time i open the activity. Is there anything special that has to be done to cleanup a VideoView ? Dec 04 23:59:03 the world is round bankai so pretty sure its morning and evening somewhere all the time :) Dec 04 23:59:25 change your greeting then, you might wanna cover night and afternoon too Dec 05 00:02:10 Generally, I recommend against a greeting in a channel with 400+ people :) Dec 05 00:02:16 just think if everyone did it Dec 05 00:02:25 the channel would be full of nothing but greetings Dec 05 00:03:11 greetings, afks, farewells ... Dec 05 00:03:33 JesusFreke: hi Dec 05 00:03:37 bankai_:hi Dec 05 00:03:40 everybody gets a hi Dec 05 00:03:57 everybody gets high too Dec 05 00:03:58 If everybody gets a hi, no-one gets a hi Dec 05 00:04:38 Blah. I'm having a real hard time handling essentially the same view but 4 different variants of it Dec 05 00:06:34 what's wrong with it Dec 05 00:07:19 Well just the best way to handle it without creating a shit ton of essentially the same classes Dec 05 00:07:28 Every view in my app is a "feed" which just lists pulled data Dec 05 00:07:58 I'm going to have a mainactivity which shows the 'latest' feed info Dec 05 00:08:08 Then a nav drawer where you can switch to individual Dec 05 00:08:22 I have no idea what is the best way to structure this all Dec 05 00:09:40 it can't be that the are the views visually identical, and the only difference is in the data backing each view, right? Dec 05 00:11:37 kbs: what? Dec 05 00:12:07 evanc: responding to desmin88 Dec 05 00:12:10 kbs: Everything is virtually identical except the list item displays different info Dec 05 00:12:17 kbs: oh haha Dec 05 00:14:19 desmin88: dunno - if it makes sense, maybe just modify/filter the list(grid)adapter that's backing the list(grid)view might be one thought Dec 05 00:15:16 i can pretty readily change out the backing dat Dec 05 00:15:32 data* Dec 05 00:15:43 i just dont want to have to remake a bunch of classes for each 'view' Dec 05 00:19:41 ah well. Don't understand what else is going on I suppose, I was just wondering that maybe all that's needed [in effect] is one view and one adapter; and the controls merely work on that one adapter. But likely you have a more complicated situation. Dec 05 00:25:19 well I have 4 classes because its a master detail view Dec 05 00:26:17 is including the v4 support library in my project to only use LocalBroadcastManager worth it? Or would it be better to just use the system broadcast manger to make the app smaller? Dec 05 00:26:40 can't you just proguard the rest away? Dec 05 00:27:07 damccull: heh. I've wondered about that many times - out of curiosity, what are you using it for? An event publishing bus? Dec 05 00:27:28 kbs using it to send data from a service to the ui. Dec 05 00:27:33 aha Dec 05 00:27:51 not sure why, really. I'm binding to the service, so I should be able to pass data throught that right? I'm new to the whole service thing Dec 05 00:28:12 desmin88: not sure how proguard works, so not sure baout that :) Dec 05 00:28:18 ah, so not quite a fully de-coupled event bus I guess. Dec 05 00:28:42 damccull i'd only use LocalBroadcastManager if you are thinking maybe in the future you would like an easy path to broadcasting system wide Dec 05 00:28:49 kbs: service connects to mud server, sends messages with new content back to the UI via the broadcastmanager Dec 05 00:29:08 g00s: ok, so i should figure out how to pass messages directly through the binding instead then? Dec 05 00:29:10 it lbm doesn't even have cool stuff like receiver priorities Dec 05 00:29:19 i'd use otto, or green robot Dec 05 00:29:29 i'll google those Dec 05 00:29:40 i like green robot because of some features it has Dec 05 00:29:48 (priorities, etc) Dec 05 00:30:07 hmm Dec 05 00:30:08 but lately, in my app, i've been using RxJava as a unified event mechanism Dec 05 00:30:18 interesting Dec 05 00:30:36 why RxJava? Dec 05 00:31:03 fwiw - I've finally [at least to my satisfaction ;-)] arrived on a "small and simple" system that works pretty much off Handlers for event publishing, and does prioritized queues within a service; which seems about the right place for me. I can put out some gists if you're curious Dec 05 00:31:18 i was looking for a pipe / filter sort of library, but rxjava is much more. Dec 05 00:31:39 kbs yeah, i try to stick to the provided stuff too Dec 05 00:31:47 you can go a long way with Handlers Dec 05 00:32:09 i even hacked a subject based event bus around UriMatcher Dec 05 00:32:09 quick question, trying to follow up android google maps API demo's and using a function that calls: mMap.setOnMyLocationButtonClickListener(this); in google example it works no errors, in my code after i added i am getting: The method setOnMyLocationButtonClickListener(GoogleMap.OnMyLocationButtonClickListener) in the type GoogleMap is not applicable for the arguments (MainActivity) Dec 05 00:33:01 what is the Money type in android? Dec 05 00:33:03 i use almost identical code to google, and my MainActivity also implements LocationListener like in google example, so why "this" does not work for me? Dec 05 00:33:04 Decimal? Money? Dec 05 00:33:16 explodes: float? Dec 05 00:33:20 if anyone knows would appretiate any info/suggestion Dec 05 00:33:24 damccull float for money? Dec 05 00:33:27 is that smart Dec 05 00:33:30 no Dec 05 00:33:32 explodes: no idea :) I don't do money Dec 05 00:33:40 use BigDecimal for money Dec 05 00:33:44 k Dec 05 00:33:45 ints or bigbecimal Dec 05 00:33:50 yeah Dec 05 00:34:00 DmitrySokolov: you using apiv2? Dec 05 00:34:25 big/b/ecimal, lol Dec 05 00:34:52 yep api v2 Dec 05 00:35:59 it used to work on the tablet i was developing for, but now that i connected a cellphone app is crashing right away Dec 05 00:36:39 apperently its something to do with getLastLocation() so I am trying to reimplement it with using the google eample for finding your own location Dec 05 00:36:47 which should solve this issue Dec 05 00:36:50 but having problems with it Dec 05 00:37:10 Location myLocation = mLocationClient.getLastLocation(); Dec 05 00:37:14 gives null error Dec 05 00:37:30 even thou i made sure to get it to update, as per google code Dec 05 00:37:31 are you implementing the interface for that method DmitrySokolov? Dec 05 00:37:57 yep, i think its what was missing, so i implemented it, and it seemed to fix the issue Dec 05 00:37:59 MainActivity implements .... Dec 05 00:38:04 but still didnt fix the main one Dec 05 00:38:13 not sure why Location myLocation = mLocationClient.getLastLocation(); still returns null Dec 05 00:38:29 DmitrySokolov: does it "return" null? or are you getting a NullPointerException? Dec 05 00:38:52 If you're getting a NullPointerException, that means the mLocationClient field is null Dec 05 00:38:54 wow greenrobot is amazing! how have I not heard of this before? Dec 05 00:38:55 null pointer exception, which if google is right = happens when it cant get a last location or its too inacureate Dec 05 00:39:29 DmitrySokolov: where does the NPE happen, per the stack trace? Does it happen in your class, or in Location classes? Dec 05 00:39:54 (* damccull : g00s loves playing with shiny new toys :-) Dec 05 00:40:02 when i get to setUpMap() and it reaches Location myLocation = mLocationClient.getLastLocation(); Dec 05 00:40:08 kbs: heh. So do I. Dec 05 00:40:25 DmitrySokolov: you're familiar with what a stack trace is? ;) Dec 05 00:40:48 not sure i am, you mean LogCat trace? Dec 05 00:41:19 yes, the stack trace you get in logcat, along with the error message Dec 05 00:41:33 that tells you exactly where the exception occured Dec 05 00:41:43 yeah its pointing me to Location myLocation = mLocationClient.getLastLocation(); Dec 05 00:41:51 yeah, then mLocationClient is null Dec 05 00:41:59 then mLocationClient wasn't created correctly Dec 05 00:42:16 is it possible that you are trying to use it before it is created? Dec 05 00:42:23 i'll recheck it pretty sure i create it the same way google maps demo does it Dec 05 00:42:45 like, maybe you are trying to use it in "onCreate" but you are creating it in "onResume" or something Dec 05 00:43:02 i think you might be right notmystyle, rechecking Dec 05 00:43:20 Why is the height computed by StaticLayout always 1 pixel too large? Dec 05 00:43:25 Is this a known bug? Dec 05 00:44:01 ok nope, its created as a variable and initialized in onCreate, and only after that i am calling setUpMap Dec 05 00:46:08 i can upload my code if that would help clear things out Dec 05 00:46:38 It'd be easier to be able to see it Dec 05 00:47:19 ok 1 sec Dec 05 00:48:02 http://pastebin.com/kFwXkgaS Dec 05 00:48:16 its a bit messy since i started to try and incorporate googles code into it Dec 05 00:48:52 okay Dec 05 00:49:51 You have MainActivity extend FragmentActivity, but does it need to extend MapActvity (or FragmentActvity) Dec 05 00:50:07 I haven't worked much with maps but I seem to remember something around this Dec 05 00:50:13 it need to extend FragmentActivity Dec 05 00:50:28 public class MyLocationDemoActivity extends FragmentActivity Dec 05 00:50:28 implements Dec 05 00:50:28 ConnectionCallbacks, Dec 05 00:50:28 OnConnectionFailedListener, Dec 05 00:50:28 LocationListener, Dec 05 00:50:28 OnMyLocationButtonClickListener { Dec 05 00:50:32 this is from the google code Dec 05 00:51:53 okay Dec 05 00:52:43 Anyone know of a licensing dialog library thats like the ones that google uses? Dec 05 00:52:58 I could build one but... ugh.. don't want to reinvent the wheel Dec 05 00:54:14 what device are you trying to run this on DmitrySokolov? Does it have the Google API version of the SDK? Dec 05 00:54:26 And location stuff is enabled in the manifest? Dec 05 00:54:52 For example, I know the early kindle fire devices did not support Maps API Dec 05 00:55:24 I don't see any obvious issues from the code you pasted, sorry Dec 05 00:57:37 yep it have Google Play Services and its 4.4 SDK Dec 05 00:58:36 google code demo works on it Dec 05 00:58:40 and my app worked on the tablet Dec 05 00:58:45 but my app refuses to work on the phone Dec 05 00:58:50 and from the best of my knowledge Dec 05 00:59:02 its because of GetLastKnownLocation() Dec 05 00:59:07 which was working on Tablet Dec 05 00:59:17 but not on a phone since location change more often and it returns null on it Dec 05 00:59:28 and since the implementation I was using did not use LocationListener Dec 05 00:59:30 how do you tell the rendering system that you're opaque? Dec 05 00:59:33 i had to implement the whole system for it Dec 05 00:59:50 which is what i tried to do in the code i sent you, using the Google Maps API demo code for it Dec 05 01:01:18 nvm Dec 05 01:02:12 Hey guys, what are the pros and cons in working for a startup vs corporate company? Dec 05 01:02:39 CocoStorm: depends on both startup and corporate Dec 05 01:02:53 p_l, what does it depend on Dec 05 01:03:03 CocoStorm thats a pretty broad question Dec 05 01:03:14 hmm okay let's start with Dec 05 01:03:28 CocoStorm consider, most startups fail Dec 05 01:03:36 What looks better on a CV for your first job, experience in a startup or corporate? Dec 05 01:03:43 CocoStorm: internal culture, work/life balance, company leadership, do they slavishly follow dumbest economic idea of XX century (aka "shareholder value") etc. Dec 05 01:03:49 Hey guys, what are the pros and cons in being right-handed vs left-handed? Dec 05 01:03:54 ↑ Dec 05 01:03:59 left handed people might be smarter Dec 05 01:04:08 spoken like a righty Dec 05 01:04:17 :) Dec 05 01:04:22 g00s: might be caused by right-handed forcing them to act right-handed Dec 05 01:04:31 also, statistically lefties die earlier ;) Dec 05 01:04:33 evanc: cracked has good section on that Dec 05 01:04:47 p_l: I heard that everyone who is left-handed dies. Dec 05 01:04:47 http://www.cracked.com/article_19808_5-reasons-being-left-handed-screws-you-life.html Dec 05 01:05:14 evanc: it depends. Dec 05 01:05:15 evanc: oh sure, everyone right handed dies too, though there are certain inconsitences (Lenin? :D) Dec 05 01:05:27 I am supposed to be left handed Dec 05 01:06:14 For a first job as an android developer is it better to work for a startup which pays minimal or for a corporate? Dec 05 01:06:20 I mean Dec 05 01:06:29 in terms of experience Dec 05 01:06:43 CocoStorm: given that both will hire you, pick the one you want to work for more Dec 05 01:07:20 evanc, For example if I later decide to work as a programmer at a bank, what would they think about a year's experience at a startup? Dec 05 01:07:26 it doesn't matter which one you work for; go with the one that you want more (based on product, work, team, compensation, etc) Dec 05 01:07:30 CocoStorm: they wouldn't care Dec 05 01:07:37 I see Dec 05 01:07:39 CocoStorm if you are going to work for a startup, you should ask important questions that probe their health Dec 05 01:07:54 you expect bigco to be there in 2 years, not a startup Dec 05 01:08:21 g00s, bigco? Dec 05 01:08:25 BigCo Dec 05 01:08:27 big company Dec 05 01:08:31 to be where Dec 05 01:08:35 CocoStorm: most importantly, corporate will actually pay Dec 05 01:09:04 corporate pays moer than startups Dec 05 01:09:08 so will startups (at least startups that you will want to work for (yes, it's kind of a tautology)) Dec 05 01:09:19 CocoStorm: depends on the corporate. And the startup. Dec 05 01:09:31 CocoStorm: this isn't as bimodal as you seem to think it is. Dec 05 01:09:53 CocoStorm search through hacker news on questions to ask at a startup interview Dec 05 01:10:01 CocoStorm: stop thinking of them as one or the other. Take whatever job you think you will like the best Dec 05 01:10:09 also, oftenstartups have crappy benefits Dec 05 01:10:11 though be mindful that HN is very... specific community Dec 05 01:10:13 sheltered, even Dec 05 01:10:16 g00s: with greenrobot, lets say I have a service running and it posts an event that my fragment wants to listen for....but then the fragment doesn't exist at the moment because the UI is closed and android killed it. Can that event be cached somewheres until the fragment returns? Dec 05 01:10:25 I got a job at a startup but they salary isn't great, even for a junior role... Dec 05 01:10:29 *the Dec 05 01:10:34 so I'm deciding whether to take it or not Dec 05 01:10:36 damccull yeah you make it sticky i think Dec 05 01:11:02 g00s: that seems to only cahce the most recent...I suppose I could make the service log these into an sqlite database and then when the fragment returns, check for data Dec 05 01:11:21 What p_l means is HN masturbates to startups and anything other than weird meaningless feel-good crap is pretty quickly rejected. Dec 05 01:11:24 evanc, ^ Dec 05 01:12:19 CocoStorm: tell them the salary isn't great and see if they'll bump it. If they won't, then think about whether you are willing to work for that much and react accordingly. Dec 05 01:12:25 HN reminds me of silicon valley Dec 05 01:12:55 g00s: it is full of SV types Dec 05 01:13:13 prolly why :) Dec 05 01:13:27 evanc, hmm, and if not then try and find a corporate job? Dec 05 01:14:09 damccull yeah, i would only use an event bus to communicate high level changes - not as a 'transport' of data that needs QoS guarantees Dec 05 01:14:09 g00s: SV as it stands includes some places where I'd hate to live (meaning they'd be probably just a step above North Korea, maybe China, though the latter is arguable) Dec 05 01:14:43 I would definitely be willing to work for that much so long it means that I have a better chance of going somewhere more prestigious evanc Dec 05 01:14:50 after a year Dec 05 01:15:25 CocoStorm ideally you might work at both. they are so different Dec 05 01:15:33 yeah Dec 05 01:16:04 g00s: ok. so is sqlite logging a good idea or is there a better way? Dec 05 01:16:08 if you are looking at a startup, you really have to research the founder Dec 05 01:16:15 what is his track record Dec 05 01:16:39 damccull hmm, not sure :( Dec 05 01:17:11 damccull could be Dec 05 01:17:16 g00s: ok. thakns. last question: can you write a custom java object to sqlite and get it back out the same? :) Dec 05 01:17:31 supremely important at a startup is the position you're in Dec 05 01:17:42 g00s: actually nm i odn't need to do that at all! ;D Dec 05 01:18:06 damccull i haven't used any of the ORMs; i just use the stuff thats provided Dec 05 01:18:22 what's ORM? Dec 05 01:19:04 i also haven't heard anything about db4o in a loong time Dec 05 01:19:16 damccull stuff like hibernate Dec 05 01:19:24 i see Dec 05 01:19:25 ok thanks Dec 05 01:19:38 relational / OO impedance mismatch, etc Dec 05 01:19:50 there is one for android Dec 05 01:20:05 but on resource constrained devices i don't like using these kinds of things ;) Dec 05 01:20:20 also, majority of ORMs suck :P Dec 05 01:20:54 damccull but persisting an object is pretty nebulous, many ways to do it Dec 05 01:20:56 I will just store data as text in many columns Dec 05 01:21:04 make my table look like my object Dec 05 01:21:53 maybe sqlite is fine Dec 05 01:24:46 Any good admob alterantive? Dec 05 01:30:53 http://community.nuance.com/blogs/expertsblog/archive/2011/10/19/why-95-of-apps-are-quickly-abandoned-and-how-to-avoid-becoming-a-statistic.aspx nice read if anyone is interested "Why 95% of Apps are Quickly Abandoned – and How to Avoid Becoming a Statistic" Dec 05 01:34:01 bankai_ http://www.amazon.com/Evil-Design-Interaction-Lead-Temptation/dp/1118422147 :) Dec 05 01:35:11 on my list, but looks good Dec 05 01:54:18 that is quite interesting Dec 05 01:56:34 expensive on the kindle though :S Dec 05 01:57:03 why use a factory method newInstance() to create a new fragment instead of just a constructor? Dec 05 01:57:28 damccull android has to be able to create your fragment Dec 05 01:57:35 so you need a noarg ctor Dec 05 01:58:24 So why can't I just overload the constructor? Dec 05 02:01:15 damccull: it looks cool Dec 05 02:01:23 if you use .newinstance ;) Dec 05 02:01:25 desmin88: lol is that it? Dec 05 02:01:37 im not sure of the reason actually Dec 05 02:04:22 desmin88: here is interesting read on it http://stackoverflow.com/questions/14654766/creating-a-fragment-constructor-vs-newinstance Dec 05 02:12:42 evening all Dec 05 02:12:54 anyone an idea on how to solve this: Missing system class: sun.rmi.server.Activation$ActivationSystemImpl_Stub Dec 05 02:13:14 tried rebuilding everything from source again Dec 05 02:13:26 (openjdk as source) Dec 05 02:13:31 but no luck Dec 05 02:15:34 g00s_: couldn't help myself, i bought it Dec 05 02:16:07 holy crap this is frustrating. I've got a textview inside a RelaiveLayout, and can not get it to wrap text properly... The width of the relativelayout is essentially set at runtime by one of the child views which determins it's own size from a an image that is set on it. If I set a width in dp, then it works, but having it set automatically, everything resizes properly, the text just doesnt wrap. Dec 05 02:18:29 bankai_ :O Dec 05 02:18:42 awesome Dec 05 02:20:04 i hope the formatting is OK on kindle; for that I usually stick to text-only stuff. Dec 05 02:20:21 i would check it out soon so if its not good you can return it Dec 05 02:20:43 my biggest peave with kindle stuff; they need to have a separate rating for kindle conversion quality Dec 05 02:21:04 lol yeah, i've only returned one book to amazon ( was a dodgy opengl book ) Dec 05 02:26:35 RxJava Subject + Obervable.ofType( … ) FTW ! Dec 05 02:31:48 what is the best option to create a client for an older jboss server? Dec 05 02:32:14 for normal java applications I use javax.naming and sum.rmi Dec 05 02:32:26 but these are not available on android Dec 05 02:34:08 wow, haven't done jndi in a long time Dec 05 02:35:32 havin fun learning droid tonight Dec 05 02:37:10 DenRaf using rmi, ldap, ? Dec 05 02:38:01 Wavesonics, pastebin.com what you have Dec 05 02:39:42 Eeeeeee, will in a sec, looking at it in Hierarchy Viewer, that TextView is just a honeybadger!! his width is WAY bigger than his parent even though he's set to match_parent Dec 05 02:40:30 whats hierarchey viewer? Dec 05 02:41:13 lol it's awesome Dec 05 02:41:17 google it Dec 05 02:48:10 Wavesonics takes two seconds to paste Dec 05 02:48:59 Eeeeeee, well, this is not personal code, also it's fairly complex Dec 05 02:49:02 so theres a lot of it Dec 05 02:49:06 lol Dec 05 02:49:09 rgr Dec 05 02:49:16 well found stuff on stackoverflow Dec 05 02:49:41 I've created a wrapper view so i can capture stuff in onMeassure and onSizeChanged Dec 05 02:49:50 right Dec 05 02:50:36 here's the link http://stackoverflow.com/questions/6940765/why-setting-text-from-onmeasure-does-not-affect-textview Dec 05 02:52:05 ok Dec 05 02:52:16 looks like it's getting 0s during the onMeassure step, so just calculates an unbounded width Dec 05 02:53:30 the 0s are likely due to the relaive layout not having any explicit dimensions Dec 05 02:53:44 so its still trying to figure out the dimensions Dec 05 02:53:45 is fill parent extending the width Dec 05 02:53:46 not sure... Dec 05 02:53:49 ah Dec 05 02:54:04 wrap content may help? Dec 05 02:54:14 pretty new so i'm just going by stuff on SO :P Dec 05 02:55:20 na wrap doesnt help :/ Dec 05 02:57:31 so it should be figuring on the dimensions of the image using onMeasure Dec 05 02:57:50 s/on/out Dec 05 02:58:38 how can I parcel a Date object in my parcelable? Dec 05 02:59:24 Wavesonics, that's my thinking anyway. afk use my name to get attention Dec 05 02:59:30 getTime() maybe **** ENDING LOGGING AT Thu Dec 05 02:59:58 2013