**** BEGIN LOGGING AT Fri Dec 26 02:59:58 2014 Dec 26 04:01:07 lasserix http://www.azcentral.com/story/news/local/mesa/2014/12/25/mesa-authorities-capture-bear-abrk/20891131/ :D Dec 26 04:12:15 I am always confused about the difference between confronting bears and making noise/being "big". Dec 26 04:29:34 in what way Agamemnus ? Dec 26 04:36:44 it seems the same to me Dec 26 04:37:31 and? Dec 26 04:40:34 and nothing Dec 26 04:40:44 "avoid confronting bears, make noise and be big" Dec 26 04:40:49 seems contradictory Dec 26 04:43:59 no it isn't Dec 26 04:44:00 the idea is that they don't get close enough to be confrontational. Dec 26 04:44:29 avoid confronting bears but if the bear gets interested in hyou, make noise and be big Dec 26 04:44:39 i dont see what is contradictory Dec 26 04:44:52 eg, sneak past yoru bosses office, if s/he wakes up, make noise and be threatening Dec 26 04:45:22 did you read about that darwin guy taht got eaten by grizzliez in alaska? Dec 26 04:47:23 no Dec 26 04:47:43 hevvymetal Dec 26 04:47:49 that is confrontational Dec 26 04:47:58 what is? Dec 26 04:48:02 making noise Dec 26 04:48:05 and looking big Dec 26 04:48:24 you are not a native english speaker i take it Agamemnus Dec 26 04:48:33 Yes I am Dec 26 04:48:41 but that's definitely confrontational Dec 26 04:49:03 it depends on your definition of confrontational Dec 26 04:49:18 so at what point do you go from making noise and being big Dec 26 04:49:19 it is confrontational but you didnt START the confrontation Dec 26 04:49:24 to being confrontational Dec 26 04:49:34 the idea is, not getting mauled by a bear Dec 26 04:49:40 if the bear confronts you, make noise and be big Dec 26 04:49:45 do not start the confrontation Dec 26 04:49:50 does that make any sense? Dec 26 04:49:52 i'm not sure Dec 26 04:49:56 what if they look at you Dec 26 04:50:00 is that confronting you? Dec 26 04:50:04 no Dec 26 04:50:05 I feel like we need a demonstration Dec 26 04:50:12 you first Dec 26 04:50:17 i'll give you tips in the field Dec 26 04:50:18 someone should dress up as a bear Dec 26 04:50:18 Agamemnus best your check the 'how not to be eaten by the a bear FAQ' Dec 26 04:50:31 1) do not go to bear country Dec 26 04:50:52 google bear movie eaten in alaska Dec 26 04:51:12 * HevvyMetal feeds Agamemnus to the bears Dec 26 04:51:29 that's very sad. Dec 26 04:51:49 Agamemnus have some bear spray though Dec 26 04:52:08 but dont get it on yourself, because diluted it can attract them :) Dec 26 04:52:15 shit Dec 26 04:52:27 so this guy was experienced Dec 26 04:52:29 oh yeah, make sure the wind isn't in your face either Dec 26 04:52:31 and he got eaten by a bear Dec 26 04:52:39 and his girlfriend too Dec 26 04:52:43 maybe they were just murdered Dec 26 04:52:48 and the bear is a cover story Dec 26 04:52:50 haha Dec 26 04:52:57 have you heard the song dire wolf? Dec 26 04:53:05 no Dec 26 04:53:10 the dire wolf collects his due while the boys sing round the fire Dec 26 04:53:12 don't murder me Dec 26 04:53:14 Agamemnus no, from what i remember the guy was comfy around bears, they were comfy around him, but a new one came into the group Dec 26 04:53:16 i beg of you don't murder me Dec 26 04:53:21 pleeeeease don't murder me Dec 26 04:53:25 i see Dec 26 04:53:31 dire wolf is so epici if you undersand the story Dec 26 04:53:33 why didn't he think of this? Dec 26 04:53:40 he was an idiot Dec 26 04:53:44 i see Dec 26 04:53:49 why didnt he put an electric fence around his campsite? Dec 26 04:53:51 see idiot above Dec 26 04:54:11 poor gf she was already ready to bug out Dec 26 04:54:18 then she gets eaten by the dire wolf Dec 26 04:54:22 or bear Dec 26 04:54:27 six hundred pounds of sin Dec 26 04:54:29 http://en.wikipedia.org/wiki/Grizzly_Man#cite_note-Russell-9 Dec 26 04:54:48 basically the last part Dec 26 04:55:10 go listen to dire wolf on youtube and read the lyrics tell me what you think Agamemnus g00s Dec 26 04:55:16 just google dire wolf Dec 26 04:55:25 i don't like music unless it has no lyrics Dec 26 04:55:28 it's pretty interesting tune try to listen to the studio version Dec 26 04:55:28 or if it's Dido Dec 26 04:55:30 Is it Dido? Dec 26 04:55:41 dunno what dido is but the lyrics to dire wolf are important Dec 26 04:55:47 just google the lyrics and read them then Dec 26 04:55:59 greatful dead Dec 26 04:56:12 grateful* Dec 26 04:56:48 http://artsites.ucsc.edu/GDead/agdl/direwolf.html Dec 26 04:57:03 so in this instance, being in #android-dev, google is the dire wolf Dec 26 05:03:57 heh ucsc Dec 26 05:04:05 i would read their intepretation per se Dec 26 05:04:12 why is google the dire wolf in this case Agamemnus ? Dec 26 05:04:46 i see dire wolf (the song) as being intereting because the perspective of the singer keeps singing Dec 26 05:04:52 keeps changing rather Dec 26 05:04:59 from 3rd person to 1st person to 3rd person again Dec 26 05:05:12 because you operate on google's platform Dec 26 05:05:25 and the terrible violence is masked by the overall country upbeat tune and opaque lyrics Dec 26 05:05:27 and to make it big you must skirt the rules hoping google ignores them Dec 26 05:05:40 err skirt the rules in what way Agamemnus ? Dec 26 05:05:42 hoping the direwolf doesn't eat you Dec 26 05:05:48 quasi porn? Dec 26 05:05:52 The #2 free app is that war game. Dec 26 05:05:59 what war game? Dec 26 05:06:02 It shouldn't be allowed Dec 26 05:06:03 how does that skirt the rules? Dec 26 05:06:12 why should it not be allowed? which game in particular? Dec 26 05:06:16 Hold on.. Dec 26 05:06:39 Game of War Dec 26 05:06:51 The video has a scantily clad woman riding around on a horse Dec 26 05:07:03 That clearly violates Google's rules Dec 26 05:07:36 "Apps that focus on sexual or suggestive references or include sexualized images or pornography" Dec 26 05:07:43 "or include sexualized images" Dec 26 05:08:01 that seems an unfortunate aspect of the gaming business Dec 26 05:08:02 Note that the top performing games on google play almost entirely have a woman with big booms Dec 26 05:08:13 It is "Not permitted on Google Play" Dec 26 05:08:21 I meant, boobs. Not booms. Dec 26 05:08:25 ha Dec 26 05:09:00 they add nothing to the game except for sexualizing the images... Dec 26 05:09:31 usually they aren't even in the game itself either... Dec 26 05:09:53 on the other end Dec 26 05:10:10 it is crazy how temple run and temple run knock offs are huge today Dec 26 05:10:40 i sometimes look at games with a few million downloads and physically shake my head Dec 26 05:10:57 temple run was the original awesome game for mobile Dec 26 05:11:02 and yes there is a lot of deceptive boobs Dec 26 05:11:14 but i'm surprised google says that because you CAN do porn on android afaik and make it 18+ Dec 26 05:11:19 there is tons of porn on android Dec 26 05:11:19 but the boobs make google billions Dec 26 05:11:27 sure and video games in general Dec 26 05:12:06 so make some big boobs games and don't worry about the dire wolf Agamemnus Dec 26 05:12:25 until it eats me? Dec 26 05:12:36 i just love that one line so much "in the black and bloody mire, the dire wolf collects his due while the boys sing round the fire" Dec 26 05:12:44 i see Dec 26 05:12:45 it says so little but implies so much (violence) Dec 26 05:13:06 google just says that as lip service Dec 26 05:13:06 to me, it is all a huge allegory Dec 26 05:13:14 sure it's allegorical Dec 26 05:13:20 about what tho Agamemnus ? heroin? something else? Dec 26 05:13:37 who is the dire wolf? Dec 26 05:13:54 about anything Dec 26 05:14:02 the dire wolf could be a slave owner Dec 26 05:14:10 ok yeah the dead songs are like that they are vague enough to be interpretable Dec 26 05:14:14 sure a bad boss Dec 26 05:14:21 ok what else does it bring to mind? Dec 26 05:14:43 they certainly have slave owner songs (cumberland blues, tennesee jed, etc) Dec 26 05:14:59 that chick Dec 26 05:15:39 Amanda Seyfried Dec 26 05:16:28 wolf Dec 26 05:16:30 riding hood Dec 26 05:16:31 etc Dec 26 05:18:41 that's all i got Dec 26 05:18:50 i guess drugs must be part of it Dec 26 05:19:12 who's amanda seyfries? Dec 26 05:19:23 well i'm not sure drugs are part of it but since a lot of songs are about drugs i'm not ruling it out Dec 26 05:19:49 anyway i live teh dire wolf Dec 26 05:19:57 an actress Dec 26 05:20:02 yeah a new one? Dec 26 05:20:08 dire wolf was written around 72 Dec 26 05:20:12 what makes her a dire wolf? Dec 26 05:20:27 she is not Dec 26 05:20:36 she is little red riding hood Dec 26 05:20:37 not what? what's the connection? Dec 26 05:20:51 so you think dire wolf is about a girl Dec 26 05:21:01 it might be i dunno Dec 26 05:21:59 this ucsc stuff is not worth reading lols Dec 26 05:22:05 i never liked that site Dec 26 05:22:31 i'm just saying Dec 26 05:22:39 a dire wolf Dec 26 05:22:46 yeah? Dec 26 05:22:56 brings to mind littl red riding hood Dec 26 05:23:11 what about the dire wolf and the little girl? just curious Dec 26 05:23:22 there was a wolf Dec 26 05:23:26 how you interpret it..also did you listen to the music version or just read the lyrics? Dec 26 05:23:26 in the story Dec 26 05:23:28 ok Dec 26 05:23:35 did not listen Dec 26 05:23:52 wolf ate her Dec 26 05:23:54 well you can listen i guess if you want to, but, aside from them both having a wolf in the story, how is it similar? Dec 26 05:23:57 and grandma Dec 26 05:24:17 i forgot about grandma but yeah aside from that go on? Dec 26 05:24:28 come on, it's Christmas, dont' make me think :D Dec 26 05:24:55 well some day i'm gonna record that song Dec 26 05:25:08 i see Dec 26 05:25:10 as part of my "killer tunes" project Dec 26 05:25:14 songs about murder and stuff Dec 26 05:25:18 how literal Dec 26 05:25:25 dire wolf, mack the knife, etc Dec 26 05:25:29 yeah I try to be subtle you know Dec 26 05:26:27 is anyone here familiar with init.d and permissions? Dec 26 05:31:53 vaguly Dec 26 05:39:30 Hi all. I am trying to compile android but i am getting this error here when doing the compile: "including hardware/ril/libril/Android.mk ... build/core/base_rules.mk:134: *** hardware/ril/libril: MODULE.TARGET.SHARED_LIBRARIES.libril already defined by device/xyz/xyz" Dec 26 05:39:31 Can anybody tell me how to fix this problem ? Dec 26 05:41:44 it is saying it is already defined Dec 26 05:41:45 so.... Dec 26 05:41:50 remove the extra oen Dec 26 05:41:52 one Dec 26 05:43:38 so what kind of music do you like Agamemnus ? jazz? i like a lot of music without lyrics Dec 26 05:44:36 heh, I was gonna guess you're a rapper Dec 26 05:44:56 no Dec 26 05:45:44 jazz is fine Dec 26 05:45:46 i don't do a lot vocally but I guess what little I sing is more like speaking than singing so kinda rappish in a very broad usage of that term but not like "black" music Dec 26 05:46:06 I like Two Steps from hell and Dido Dec 26 05:46:14 and such Dec 26 05:46:23 ah kewl never heard of them Dec 26 05:46:31 jazz, not all jazz though. I feel jazz is a little to windy Dec 26 05:46:43 you've probably heard a Two Steps from Hell song or 10 Dec 26 05:46:46 too* Dec 26 05:46:49 heh Dec 26 05:46:52 windy Dec 26 05:46:54 windy in what way? Dec 26 05:47:06 takes too long to get to the point, and never gets there Dec 26 05:47:10 that reminds me of george benson's album "breezin" Dec 26 05:47:12 hah Dec 26 05:47:14 HevvyMetal: like Dire Straits ? Dec 26 05:47:15 damn you guys type too much Dec 26 05:47:22 https://soundcloud.com/drphaser/ipanema Dec 26 05:47:28 well that is a jazz tune i recorded Dec 26 05:47:43 Two Steps From Hell provide the music for many movies and series Dec 26 05:47:47 I like Acid Jazz Dec 26 05:47:48 it's just the intro + verse/chorus for a loop so that's why it stops abruptly Dec 26 05:47:58 Agamemnus: thanks a lot for the Tip. removed the android one and leaved the vendor ril one and the error disappeared. Dec 26 05:48:10 if you have seen an action movie you have heard Two Steps From Hell music Dec 26 05:48:15 xperia: great! Dec 26 05:48:23 what you are talking about is modal jazz Agamemnus and yeah it's true but that makes a lot of peole hate jazz even tho thats just one category Dec 26 05:48:51 whats a good two steps from hell tune i should listen to Agamemnus ? Dec 26 05:48:54 i like ipanema.. Dec 26 05:49:08 in general or my rendition? Dec 26 05:49:11 they're to wake you up in the morning, two steps from hell Dec 26 05:49:12 its kinda breezy Dec 26 05:49:19 i heard it before i think Dec 26 05:49:21 well done Dec 26 05:49:32 it's the most commonly covered tune of all time Dec 26 05:49:35 well tahnks :) Dec 26 05:49:45 let me get you one that i like.. Dec 26 05:49:49 it didn't really come out the way i wanted but i at least salvaged it Dec 26 05:49:51 ok :) Dec 26 05:50:14 it is from The Sims Dec 26 05:50:20 The Sims has a lot of jazz Dec 26 05:50:29 for some reason Dec 26 05:50:46 there is a lot of interesting music in video games Dec 26 05:50:59 https://www.youtube.com/watch?v=ASj81daun5Q Dec 26 05:51:00 a lot of it is 30's ragtime or jazz Dec 26 05:51:20 like the dig dug theme Dec 26 05:52:04 elevator music Dec 26 05:52:24 what is elevator music? Dec 26 05:52:29 oh ya Two Steps From Hell does music for video games too Dec 26 05:52:31 there is some good jazz, but most jazz is shopping mall music Dec 26 05:52:33 but it's not elevator music Dec 26 05:52:44 this two steps from hell tune you linked i wouldnt call jazz Dec 26 05:52:50 no i didn't say it was Dec 26 05:52:51 it's more of a soundtracky type thing Dec 26 05:52:53 oh ok Dec 26 05:52:55 Hi Dec 26 05:52:55 np Dec 26 05:52:58 it's orchestral Dec 26 05:53:13 a lot of different instruments Dec 26 05:53:14 yeah Dec 26 05:53:23 orchestral porn Dec 26 05:53:29 :P Dec 26 05:53:30 something like that Dec 26 05:53:41 is there a way to track the bug report/errors of the application once the application is installed on the device Dec 26 05:54:01 do you like jordan rudess Agamemnus ? Dec 26 05:54:02 niru from the developer dashboard Dec 26 05:54:05 he's all about the orchestral porn Dec 26 05:54:05 I mean is there any way to send the report to server and also have a local copy on the device Dec 26 05:54:15 HevvyMetal: I like this kind of jazz .. https://www.youtube.com/watch?v=n0PwxDtN22Y Dec 26 05:54:18 i dunno why my computer so glitchy with audio tonight Dec 26 05:54:46 cool i'll chk in a sec shmooz gotta refill my cup here :) Dec 26 05:54:51 keeep it real Dec 26 05:55:26 that jazz is the original hardcore ! Dec 26 05:56:48 it was a monster mash Dec 26 05:57:02 never heard of jordan rudess Dec 26 05:58:23 i see....hmm Dec 26 05:59:25 weird Dec 26 05:59:40 back to orchestral porn Dec 26 06:00:02 i mean, like with more than just a keyboard :P Dec 26 06:05:46 hey jal Dec 26 06:13:45 now I listen to Drum'n'Bass mostly Dec 26 06:14:22 don't like Dub Step much Dec 26 06:14:37 the compiling of my android failed again. got this strange error message => "drivers/media/video/exynos/fimc-lite/fimc-lite-core.h:298:32: error: inlining failed in call to always_inline 'find_flite_format': function body not available Dec 26 06:14:39 " can anybody tell me how to fix this ? Dec 26 06:14:47 Agamemnus does two steps do most of their recording / composition with synths, or with choir / orchestra ? Dec 26 06:15:17 pretty cool. totally not jordan rudess though lol wut Dec 26 06:21:35 man i cant believe one browser js is taking up 12% cpu lul Dec 26 06:21:53 i bet shitty js coders are responsible for 10+ NPP Dec 26 06:22:01 unreal heh Dec 26 06:22:40 ne1 want to see some jordan rudess porn? Dec 26 06:22:47 g00s I don't know I think it's orchestral Dec 26 06:22:52 like a bunch of people Dec 26 06:23:40 http://www.twostepsfromhell.com/page35/index.html Dec 26 06:24:01 orchestral is an arrangement sorta not necessarily a genre Agamemnus Dec 26 06:24:26 did anyone listen to any of my other tunes? Dec 26 06:25:48 wow a 110+ orchestra Agamemnus ? any audio for that? Dec 26 06:28:04 how much are tickets? Dec 26 06:28:15 "In 2010 Rudess started a software company called Wizdom Music. " interesting Dec 26 06:28:19 sounds super fappy hobbit raping stuff Dec 26 06:28:36 yeah rudess has some interesting audio apps g00s Dec 26 06:28:45 oh let me link you to the rudess porn Dec 26 06:28:45 mostly for iOS, of course Dec 26 06:28:59 HevvyMetal i listen to dream theater, no need Dec 26 06:29:21 no you need Dec 26 06:29:25 check this out Dec 26 06:29:26 https://www.youtube.com/watch?v=XKXuTHv5088 Dec 26 06:29:59 0:40 is great Dec 26 06:32:06 where do they use the taiko in that disney two steps from hell hell thing Agamemnus Dec 26 06:40:40 Agamemnus two steps did the soundtract for interstellar, cool Dec 26 06:40:45 or part of it Dec 26 06:42:11 nice ;) Dec 26 06:43:51 I'm trying to make a custom button with a circle shape. If oval is used instead of ring for shape everything forks fine. If ring is used I can see onyl a text and no background http://paste.ofcode.org/nyd3SJqJW39nUF5hMBbkmW Can someone tell me why I can't use a ring shape? Dec 26 06:46:17 ask gollum? Dec 26 06:52:07 wow, and the soundtrack for star trek too Dec 26 07:06:57 did anyone listen to any of my other tunes? Dec 26 07:08:30 i thought star trek was cool Dec 26 07:18:50 http://www.express.co.uk/life-style/life/486826/Vagina-exercise-app Dec 26 07:19:09 is there an android version? Dec 26 07:30:00 all the cool apps start out on ios Dec 26 07:32:34 work less hard, make more money Dec 26 07:32:49 no brainer Dec 26 07:33:00 kegel app ? Dec 26 07:33:00 sure Dec 26 07:34:51 thats gonna be one smelly smart phone Dec 26 07:35:08 g00s work less hard and make more money how g00s? Dec 26 07:35:36 by targeting a platform with only a few devices, used by a more wealthy demographic Dec 26 07:37:06 g00s like.. iOS? Dec 26 07:37:14 thats what i meant Dec 26 07:37:54 so are you going to switch to iOS or what's your thinking there g00s? Dec 26 07:38:09 i can't because i need bluetooth rfcomm for my project Dec 26 07:38:37 what about BT does iOS not support? Dec 26 07:39:01 you can't use rfcomm on iOS unless you are MFi Dec 26 07:39:11 hats MFI? Dec 26 07:39:13 google it Dec 26 07:39:13 whats rfcomm? Dec 26 07:39:17 google tat too Dec 26 07:39:19 i dunno what you are on abuot Dec 26 07:39:19 :) Dec 26 07:39:20 no Dec 26 07:39:28 most ios supports bt(le) Dec 26 07:39:33 and most androids support btle Dec 26 07:39:41 i dunno what ur problem is and im not googling Dec 26 07:39:51 u paste kneegrow Dec 26 07:39:51 HevvyMetal you don't know much about BT apparently Dec 26 07:39:59 yeah i guess not Dec 26 07:40:17 so u paste ur problem knee grow Dec 26 07:40:31 they can both do bt and somewhat btle Dec 26 07:40:35 you just sux :) Dec 26 07:40:41 jk Dec 26 07:43:40 http://www.usatoday.com/story/tech/gaming/2014/12/25/xbox-live-playstation-network-hack/20895113/ Dec 26 07:45:09 good Dec 26 07:45:15 more time to play my jigsaw game Dec 26 07:45:31 https://play.google.com/store/apps/details?id=com.flyingsoft.safari.jigsaw.free Dec 26 07:47:12 I'm trying to use MediaRecorder - anyone with experience in that + Opencv here? Dec 26 07:55:42 no Dec 26 07:56:11 Hi Dec 26 07:56:43 How to get my java files in gradle? Dec 26 07:56:58 Is there something like $someDir ? Dec 26 08:17:45 Merry Xmas to you all Dec 26 09:07:53 Hi guys, I'm trying to display an activity even when phone is locked. How to do this ? Dec 26 09:11:16 iunno Dec 26 09:28:01 Anyone know any good JavaScript without WebView examples Dec 26 09:29:13 you mean a javascript engine ? Dec 26 09:31:18 I am not sure. Ran across info on V8 but not how to post data to other views Dec 26 09:31:45 what view ? Dec 26 09:32:07 Textview to start Dec 26 09:32:52 why dn't you use something like rhino ? Dec 26 09:33:45 Why would I do that when V8 and use is included Dec 26 09:33:53 Jse Dec 26 09:34:07 Man this is weird Dec 26 09:34:16 i don't know, just sayin' :) Dec 26 09:55:30 Hi Dec 26 09:56:12 How to make my gradle task only run when buildType is release? Dec 26 09:56:32 make it depend on a release-only task Dec 26 09:57:14 JakeWharton: like assempleRelease? Dec 26 09:57:34 sure, depending on what it has to do Dec 26 09:57:42 Thank you Dec 26 10:06:06 How can apk start not with dex\n035\0 ? Dec 26 10:06:16 *dex Dec 26 10:08:08 LGCover.apk 's classes.dex start with 0x1 + 0x18 + $application/octet-streamre8Z/ME37zDtlrFxkicajrj+nkg=@lge.comk—pEncryption-Method: AES128CBC;padding=RFC2630;plaintextlen=0000378580 Dec 26 10:21:52 yoavst, looks like it's encrypted :) Dec 26 10:22:26 and android support encrypted dex? Dec 26 10:22:37 can't seem to find info about that Dec 26 10:26:12 If you control the software on the device, you can make it support whatever you want Dec 26 10:26:36 the strange thing is that other LG apks are not enctrypted Dec 26 10:26:45 encrypted* Dec 26 10:30:44 yoavst, they can patch android as they see fit :) Dec 26 10:32:32 so it is impossible to decompile the dex? Dec 26 10:33:17 depends on the encryption. tl;dr probably. Dec 26 10:33:45 well, not impossible, but not worth it more like. Dec 26 10:34:20 hip Dec 26 10:34:49 yoavst: thing is, it still needs a local decryption key to run, doesn't it... if you can get your hands on that, you could make it work... Dec 26 12:00:34 getting a funny forceclose Dec 26 12:00:42 can somebody help me? unable to identify the problem Dec 26 12:02:24 It's usually easier to get help if you tell people what the issue is Dec 26 12:03:02 haha.. just sharing the logs.. for some reason, pastebin wont open for me Dec 26 12:03:05 https://www.irccloud.com/pastebin/6gCB9dTK Dec 26 12:05:17 SimonVT: ^ any help? :) Dec 26 12:06:31 You're not passing the right parameters to your ArrayAdapter constructor Dec 26 12:07:50 oh, okay.. Dec 26 12:08:01 that helps pinpoint the problem.. let me take another lok Dec 26 12:08:02 look* Dec 26 12:09:08 it currently looks like -- nameListAdapter = new ArrayAdapter(getActivity(), R.layout.name_list, R.id.nameListView, fa ); Dec 26 12:09:52 What does the documentation tell you the third parameter should be? Dec 26 12:11:02 this Android course by Google commented "ID of textview to populate" Dec 26 12:11:16 Is the id of your texview "nameListView"? Dec 26 12:11:25 OMG Dec 26 12:11:31 you are a genius sir Dec 26 12:11:34 thank you very much :) Dec 26 12:12:38 i wonder how you understood that the problem was with my ArrayAdapter constructor's parameters from that log message.. :/ Dec 26 12:13:46 I just know how ArrayAdapter works :) Anyway, for some reason, it's a common mistake Dec 26 12:13:55 Not sure why Dec 26 12:14:27 haha, alright.. thank you again :) probably due to lack of reading docs (like me) Dec 26 12:19:01 anything related with ArrayAdapter is a common mistake -_- Dec 26 12:19:06 it's a hideous piece of API :) Dec 26 12:19:10 really? Dec 26 12:19:26 why on earth would people that work at Google be suggesting that? Dec 26 12:20:51 To teach you not to cargo-cult :P Dec 26 12:21:56 lol Dec 26 12:22:54 suppose i want the listview to have a sub item text as well.. what adapter would be best suited for that kinda thing? Dec 26 12:23:33 supay_afk, your own. Dec 26 12:23:34 or do i need my list_item.xml file to have a vertical linear layout that contains two textviews ? Dec 26 12:23:40 my own? Dec 26 12:23:44 yes. Dec 26 12:23:59 anything beyond a single field of text, you're better off implementing your own adapter where you control the data Dec 26 12:24:03 yes to "my own?" or to "vertical linear layout.." Dec 26 12:24:05 you extend BaseAdapter and that's it Dec 26 12:24:08 okay.. Dec 26 12:24:30 great! :D im screwed! :D Dec 26 12:25:04 O.o Dec 26 12:25:09 because..... ? Dec 26 12:25:44 this stuff looks so difficult Dec 26 12:25:54 is it true that 12 year olds are releasing hit apps nowadays? Dec 26 12:26:01 because that would make me feel very shameful right now Dec 26 12:28:42 Implementing 2 additional methods it difficult? Dec 26 12:30:55 ok.. its like this.. i kinda know how to get the wheel on the car's axle.. but can't assemble the rest of the car Dec 26 12:30:59 does that make sense? Dec 26 12:34:42 learn java Dec 26 12:35:05 i learned java around 6-7years ago Dec 26 12:35:12 extremely fking rusty Dec 26 12:35:12 :( Dec 26 13:09:49 Has anyone here been able to use ffmpeg in native code here? Dec 26 13:11:38 Hey guys, I just wanted to ask if it's possible in preference activity, to use variable as preference, I mean EditTextPreference. I want to use variable, because it's changes every time user open application. Dec 26 13:14:42 hey, how accurate is geofencing? Dec 26 13:16:42 i think very.. Dec 26 13:16:43 Hey Dec 26 13:17:39 which version of java should I use on android developement pc? openjdk or oracle's jdk? java version 7 or 8? Dec 26 13:17:42 hackable: an app could know what building it currently is in? but how exactly would that work, on the gps level. Dec 26 13:17:53 vompatti: you can get the bundle Dec 26 13:17:53 (i'm running arch linux and wish not to use IDEs) Dec 26 13:18:02 its kind of a hassle setting it up separately Dec 26 13:18:12 not to use ide's? :/ Dec 26 13:18:23 I prefer terminal and vim Dec 26 13:18:39 to code android? Dec 26 13:18:41 why vim? Dec 26 13:18:45 anyway Dec 26 13:18:55 vim is awesome once one figures it's secrets Dec 26 13:19:05 i guess you'd want Oracle's JDK (latest) with the latest Android SDK Dec 26 13:19:20 so oracles jdk and java version 8? Dec 26 13:19:24 vompatti: sure, to code for python and perl and c etc.. Dec 26 13:19:41 vompatti: you dont want to be drawing an engines design on paper when you have cad Dec 26 13:19:52 supay: I haven't yet faced project which my tools cant handle Dec 26 13:20:27 vompatti: ah! so you haven't tried to drag and drop gui elements.. dont worry, you're about to hit an obstacle soon enough :P Dec 26 13:20:53 kidding. and im an android noob. but i just think its a primitive approach (imho) Dec 26 13:21:01 but cheers to the vim dedication Dec 26 13:21:25 supay: I have, but only good drag-n-drop editor I know is visual studio's form editor which I haven't used in years now Dec 26 13:22:05 kudos Dec 26 13:22:14 so oracles java version it is then, thanks Dec 26 13:22:32 and the android-sdk.. obviously Dec 26 13:23:37 yes, I have that already. Was just wondering the java version thing Dec 26 13:28:58 vompatti,java 8 support now for android? Dec 26 13:34:47 if anyone knows i thought it was just java 7 for android Dec 26 13:35:18 perlsyntax: What is the question? Dec 26 13:58:33 HevvyMetal what? Dec 26 13:58:44 i was asking is java 8 is support i thought it was a easy question. Dec 26 13:59:48 That if i understand if i am right. Dec 26 14:03:35 Hello boys Dec 26 14:03:43 and girls Dec 26 14:03:47 whoop whoop Dec 26 14:03:55 :) Dec 26 14:06:27 Not much here. Dec 26 14:14:45 Have any of you bumped your head against the fact that android will use a connected bluetooth headset mic only for phone calls ? and not for apps like a sound recorder ? Dec 26 14:15:05 Any solution to that problem ? Dec 26 14:20:38 Hi everybody Dec 26 14:23:13 in my application I'm redirecting the user to the android gallery to select a photo and then on the onActivityResult function I'm retrieving the path of the selected picture, and I'd like to show a Dialog how ever I'm getting an error that says : "Activity has leaked window that was originally added here onactivityresult" and that's my activity is being destroyed and I don't know why ! Dec 26 14:31:48 with using android NDK and eclipse, I have got the c++ not showing errors for the includes of .h files from the NDK, but it won't compile (not finding the .h references I am using) So I assume I need to put the directory of of the .h files in the .mk right? how do I do that? Dec 26 15:03:46 so, how do you set the include directory in use in a .mk (for NDK) Dec 26 15:12:04 MediaRecorder question - how do I find out how long a particular mediarecorder has been recording for? Is there some callback I can implement? Dec 26 15:19:37 can you not just time it by checking which time you started? Dec 26 15:31:07 anyone tried to use ActivityOptions together with TaskStackBuilder? Something really weird seems to go on with it.. Dec 26 15:31:57 this is the code I am using: http://pastebin.com/yB63v4m4 Dec 26 15:32:59 it results in activity A being closed, recreated and then somehow "overlayed" by the second activity. A is visible under the views of activity B.. Dec 26 15:34:23 also if the activity has no parent defined in manifest, it will just close the old activity without open a new one. Dec 26 15:48:20 Why does my onResume https://gist.github.com/anonymous/a640fe41164d4b0107d2 method throw: "android.view.InflateException: Binary XML file line #11: Error inflating class fragment" but onCreate does not. Dec 26 15:49:12 I'm using FragmentActivity from the support library. Is it simply because I'm calling setContentView in onResume ? Should I call setContentView on create and then do the checks or ? Dec 26 16:01:06 neredsenvy: yes Dec 26 16:01:12 setcontentview only onCreate Dec 26 16:01:24 kk Dec 26 16:01:55 I figured. Tho I'm still having a problem with AlertDialog not disappearing onResume Dec 26 16:02:47 well technically you could do that outside onCreate, but would be some hacky Dec 26 16:03:03 alertdialog onresume? Dec 26 16:04:00 onCreate checks if user has internet connection if not shows AlertDialog with a button (Settings) that takes user to Wifi settings once he connects and comes back to the app the dialog is still shown. Despite user already having a connection. Dec 26 16:04:35 If I say [someTextView.setText("Foo\nBar\nBaz");], can I determine the size of the spaces between the lines? (I don't want to determine the spaces between wrapped lines, so android:lineSpacingExtra is out of the question.) Dec 26 16:05:02 I basically want to set the paragraph spacing (where wrapped lines use the default spacing). Dec 26 16:05:37 neredsenvy: then dismiss the dialog :? Dec 26 16:06:35 neredsenvy: OptionDialog.dismiss(); Dec 26 16:06:35 OptionDialog being whatever the dialog is called Dec 26 16:07:04 Ashiren no it's working now I figured out what the problem was. Basically when you take user to the Wifi settings and they connect to internet it takes a few seconds for connection to be established so if I just enable the wifi press connect then back button right away it takes me back to onResume this again checks for internet connection but since that has not connected yet it still shows the dialog. Dec 26 16:07:24 ah Dec 26 16:07:36 Need to create some kind of delay in onResume Dec 26 16:08:05 Wonder if there is a way to check if device is in process of connecting to a network Dec 26 16:08:27 neredsenvy: Couldn't you simply show a "No connection detected. Click here to retry." view in your layout? Dec 26 16:08:35 Make them refresh. Dec 26 16:08:47 http://developer.android.com/training/monitoring-device-state/connectivity-monitoring.html Dec 26 16:09:02 activeNetwork.isConnectedOrConnecting(); would imply it checks if its connecting Dec 26 16:11:47 Maybe better option would be something that notifies your activity that connection has been established I could wait 10 and if I came to 10s prompt the dialog again or the wait would be interrupted by established connection. Dec 26 16:14:54 spent a wasted day trying to get NDK-build to fucking build... *sigh* Dec 26 16:17:57 and how is it Dec 26 16:29:20 why is eclipse so shit. Dec 26 16:29:38 then dont use it [solved] Dec 26 16:29:51 alternative on linux? Dec 26 16:30:03 android studio? Dec 26 16:30:17 does it work on linux? Dec 26 16:30:23 of course Dec 26 16:30:34 its intellij idea made for android Dec 26 16:31:02 and it's opan saurce <3 Dec 26 16:31:05 great. after this project I will ditch the shit that is eclipse. Dec 26 16:31:37 eclipse is slow as aids and makes me angry every day. so shit. Dec 26 16:32:00 you're making IBM angry now Dec 26 16:32:43 erm, good. Dec 26 16:33:19 it's worse than using Qbasic. Dec 26 16:33:21 i heard they use Eclipse for their enterprisey software too Dec 26 16:33:35 like CRM and stuff Dec 26 16:33:36 makes sense. *losers* Dec 26 16:34:27 I am actually thinking fondly of Qbasic on a 100MHZ comp, after using eclipse.. I can actually feel myself getting older. Dec 26 16:35:02 Unfortunately, Android Studio manages to be slower than even Eclipse. Dec 26 16:35:04 you'd see massive productivity Dec 26 16:35:47 TacticalJoke: mostly because its intellisense and extensive language inspection features. disable them or get an SSD Dec 26 16:36:51 It's kinda sad that a lot of people's advice is "get an SSD". That's not the sign of a well-built IDE. Dec 26 16:37:11 man... why is everything getting slower as we get more powerful computers? coding QBasic was faster! Dec 26 16:37:31 it's not IDEs or Java's fault actually Dec 26 16:37:40 Is there some kind of platform that makes creating Android app back-ends simpler? So I don't have to write a database application from scratch? Dec 26 16:37:48 IT'S KILLING ME! - eclipse. Dec 26 16:38:13 sharperguy: you mean business logic of your app, or server-side development? Dec 26 16:38:19 onr: server side Dec 26 16:38:41 All I really need is an interface to a database so I imagine someone did something to make that simpler Dec 26 16:38:42 sharperguy: try Django Dec 26 16:39:28 ah I've used Django before actually. I was mainly using it for web development but I guess it can be used for this as well. Python is nice as well Dec 26 16:40:05 yeah, and it has well-supported extensions to build REST APIs quickly Dec 26 16:41:02 Hi everyone!! Dec 26 16:41:06 hi Dec 26 16:41:59 Please suggest me resources to learn about animations in android(mainly for gui design)!! Dec 26 16:42:16 did you try official docs? Dec 26 16:42:39 sharperguy: give Parse.com a try Dec 26 16:42:47 yeah, but looking for something better.. Dec 26 16:42:50 Does anyone know if I can force an app i'm working on to only use outlook for email? The app composes the email (sender, subject, body) and prompts the user to pick a client. I need outlook only if possible Dec 26 16:43:27 Didn't Facebook buy Parse.com? Dec 26 16:43:36 yes they did Dec 26 16:44:24 i wouldn't trust facebook to keep my data Dec 26 16:44:44 Users of the app will be sending sensitive info that can only be sent using the company server through outlook. Dec 26 16:45:12 btnClickMe: you mean outlook.com? the service? Dec 26 16:45:50 hmm i don't want FB stealing me app idea :) Dec 26 16:46:07 AHH! why the fuck won't eclipse / NDK-build include anything from any possible way of setting my include-path! Dec 26 16:46:51 smellymoo: BTW, IntelliJ IDEA can import Eclipse Android projects. I think Android Studio can do it as well Dec 26 16:49:10 onr, that sounds less painful. Dec 26 16:49:25 onr i'll have to confirm. I was told outlook but they may have some other client they use in android. Dec 26 16:49:28 but for linux I only saw eclipse mentioned? Dec 26 16:50:38 smellymoo: Android Studio works well on Linux Dec 26 16:51:31 ok :D. will do that next. onr. Dec 26 16:51:58 smellymoo: AndroidStudio doesn't support building NDK apps i guess Dec 26 16:52:01 but anyone able to help me figure out why everything is crapping out just with 1 include? Dec 26 16:52:07 btnClickMe: i can't think of a way to force users to use a particular mail client Dec 26 16:52:45 damn that's what I figured Dec 26 16:52:46 Yeah, no NDK in Android Studio and IntelliJ IDEA Dec 26 16:53:36 btnClickMe: Are you sure it's Outlook the client and not Outlook the service? Dec 26 16:54:17 btnClickMe: If you want to open a specific 3rd party app, this might help http://stackoverflow.com/q/18285893/815540 Dec 26 16:54:29 Waiting on a reply from someone to confirm Dec 26 16:54:38 ill check it bhargavg Dec 26 16:56:45 Can anyone tell me why Google doesn't preinstall Google Play/Play Services into the emulator automatically, and where in the heck I'm supposed to get it to test my application? Dec 26 16:57:41 qkzoo1978, you send the app to your emulator directly. no need for google play. Dec 26 16:58:04 I understand that smellymoo, but my app requires Play Services, and it's not installed. Dec 26 16:58:32 I want to set the line spacing of a TextView's text. If I set android:lineSpacingExtra, this sets line spacing for wrapped text. Is there a way of doing this without wrapped text being affected? Dec 26 16:58:37 I never used emulator lol. Dec 26 16:58:53 And I'm surprise every time I hear someone uses emulator. Dec 26 16:59:00 I just want lines (e.g., "One\nTwo\nThree") to be affected by the line spacing. Dec 26 16:59:02 I need to, as I don't have a pre 4.x device to test on. Dec 26 16:59:27 qkzoo1978, erm... Dec 26 17:00:12 when it requires them, doesn't it link to them directly over tcp-ip to do it, you do not need it installed? Dec 26 17:00:32 it's an api no? Dec 26 17:00:50 can't say I know what I am talking about. Dec 26 17:02:18 I thought, but when I run my app, I get the "This app won't run without Google Play Services, which are missing from your phone" message in my app (which is a message from the library??) it presents a button that says "Get Google Play Services" but when you click it it crashes, because it tries to open a "Market://" link, which causes an issue because the market: isn't installed. Dec 26 17:04:08 maybe http://stackoverflow.com/questions/17831990/how-do-you-install-google-frameworks-play-accounts-etc-on-a-genymotion-virt Dec 26 17:04:16 genymotion > android emulator Dec 26 17:09:25 qkzoo1978, wow, that's dumb coding from google: "hey lets make a message to warn you that you don't have something, lets use that thing you don't have to download the thing you don't have" Dec 26 17:10:52 eclipse is making me so angry I might go outside and hit random strangers while screaming. Dec 26 17:11:46 smellymoo, yes, a irritating vicious circle! Dec 26 17:29:51 is there any possibility of loading data from sqlite into nurik wizardpager??? Dec 26 17:43:55 Should my onResume method call super.onResume and if so should it be on first line because it seems it's doing everything twice https://gist.github.com/anonymous/53dd098919410754ed2d I will get Connected outputted twice in Logcat same for Waiting.. Dec 26 17:46:44 take it out, see what happens Dec 26 17:47:19 neredsenvy: [Use Log.d("neredsenvy", "onResume called.");] to check whether onResume is being called twice. Dec 26 17:48:13 Sorry, I mean "take it out of the thread's callback". Dec 26 17:48:45 g00s I get an exception thrown so it needs to call super.onResume what I don't understand why it calls onResume when application is started as well as when I come back to application from settings menu Dec 26 17:49:40 TacticalJoke It shows that onResume created two extra threads both doing same thing.. created Thread retry two times Dec 26 17:51:54 Activity.onResume is called every time an Activity comes to the foreground. Dec 26 17:53:32 I added Log.w(.., ".." + retry.getId()); to get threads id to confirm if it's called twice Dec 26 17:54:20 TacticalJoke did you see this from today http://www.reddit.com/r/androiddev/comments/2qfqyz/google_wrongly_removed_my_app_and_put_a_strike_on/ Dec 26 17:54:24 And I get Thread: 22,.. Thread: 24.. so two threads are created. Dec 26 17:54:48 Sorry if this is too broad a question, but I'd like to try a list/detail sort of app that can navigate like the youtube app where I can slide part of the detail view down (the playing video on youtube app) and it runs in a thumbnail in the bottom corner while i can see the list again. Could someone point me to some components/classes/whatever I should be looking into to get started with this? Dec 26 17:55:22 First time I've seen it, g00s. Looks troubling. :/ Dec 26 17:55:23 Any recommendations on where to get old cheap handsets for testing, or is ebay the answer? Dec 26 17:55:42 neredsenvy: What exactly are you doing when Activity.onResume is being called twice? Dec 26 17:57:10 qkzoo1978, ebay, craigslist, pawn shops (maybe), cell phone stores Dec 26 17:57:40 have you guys seen more user engagement with g+ or fb sign in? Dec 26 17:58:11 TacticalJoke Trying to track it down but https://gist.github.com/anonymous/8e0e9e789c127b06b44c not sure why it's being called on application start. Dec 26 17:59:23 TacticalJoke In onCreate I bring up a dialog so activity goes to background this dialog takes you to settings window when you enable wifi and come back to activity you bring it into foreground this is when onResume should be called it is but it's called twice. Dec 26 18:00:20 TacticalJoke Back I dcd Dec 26 18:01:31 TacticalJoke i'm kinda worried that soon google is going to tka emy app down also Dec 26 18:02:10 neredsenvy: Are you saying that you show a dialog in front of your main activity when your main activity starts, and this dialog has an "Enable Wi-Fi" button which, when clicked, takes the user to Android settings? Dec 26 18:02:22 g00s: Is there anything particular about your app that might get it taken down, or are you just worried in general? Dec 26 18:03:01 a couple of years ago, a company X helped me integrate my app with their HW. they were very helpful, but it was not an 'official company X' Dec 26 18:03:25 now they will be coming out with an official version. i bet they will even use the same graphics assets they gave me Dec 26 18:03:50 i'm worried that somethingin the play store listing, or perhaps duplicate assets across the apps will trigger some shitstorm Dec 26 18:04:21 now if i gt into trouble, i can ask company X to help because its all good from me / them perspective Dec 26 18:04:37 but getting hold of google might be another story Dec 26 18:04:53 Google Play seems ridiculous with these take-downs. :/ Dec 26 18:05:04 its google, and their attitude Dec 26 18:05:09 Maybe your worst-case scenario is having to change the graphics? Dec 26 18:05:13 their systems are built around not wanting to deal with humans Dec 26 18:05:46 but i'm also worried about the play store listing. nobody would find the app unless they searched for certain terms that will be shared with the identical version Dec 26 18:06:34 even the fucking package name has www.xxxyyy.zzz - yyy is a string they would have in their package / description Dec 26 18:06:49 back in 2011, who would have thought ? Dec 26 18:07:04 if they were pulling this shit back then, i would have just said fuck it to android, its not worth the anxiety Dec 26 18:07:11 Yeah. Dec 26 18:07:17 you pour your life into something and then some algorithm decides, fuck you Dec 26 18:07:46 I think people should come together (especially high-profile developers) and try to force a change from Google here. Dec 26 18:07:50 Because the status quo is absurd. Dec 26 18:08:35 it also seems like a lot of these are happening now when you update your app Dec 26 18:08:41 kinda worried about updating my app :| Dec 26 18:10:26 TacticalJoke Look at the Messages class I first call hasConectivity to check if there is a working interenet con if there is not I call requestConnection which builds an AlertDialog with setPositive button once you click that it opens a new activity with intent being ACTION_WIRELESS_SETTINGS Dec 26 18:11:45 So yes I bring a AlertDialog to front if app has no connection. But once you click a button on that it takes you out of the app to settings Dec 26 18:11:55 this should not call onResume Dec 26 18:12:18 neredsenvy use a snackbar Dec 26 18:12:24 Activity is created, and resumed. User moves to settings, pausing the activity. User returns to your activity, resuming it Dec 26 18:12:37 Working as intended, developer haven't read up on activity lifecycle Dec 26 18:13:02 Why is it created and resumed at the same time ? Dec 26 18:13:04 0.o Dec 26 18:13:10 i have two activites (A and B) which want to receive messages from a service. Activity A starts and binds to it, receives messages. If i then start Activity B and do NOT start the service again, but only bind to the service, it doesnt get messages. Dec 26 18:13:12 If i start the service again in Activity B it gets messages too. Since a service cant be started more than once i guess it would be ok, but its somehoww ugly. What should i consider if i only want to bind but not start again? Dec 26 18:13:14 It's created because it doesn't exist Dec 26 18:13:18 It's resumed because it's in the foreground Dec 26 18:13:49 So basically when you start an application both are called and it would then make sense to check for connectivity on in onResume Dec 26 18:14:13 Don't confuse application and activity Dec 26 18:14:32 But yes, starting an Activity creates it if it doesn't exist, and moves it to the foreground (resumes it) Dec 26 18:14:38 neredsenvy: Note that you can learn about all this by adding Log.i calls in onCreate, onDestroy, onStart, onStop, onPause, onResume, and so on. Dec 26 18:14:45 https://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle Dec 26 18:17:25 g00s: The way it's going, unless things get better then we might have to consider Google Play to be simply unreliable. Dec 26 18:17:38 Anyone familiar with C# enough to help me identify a delay issue in my code? Dec 26 18:17:55 TacticalJoke there is really no decent way to distribute outside of Play Dec 26 18:18:00 can someone please give me some assistance with the Wearable.MessageApi.sendMessage(mGoogleApiClient, mPeerId, PATH_WITH_FEATURE, rawData); Dec 26 18:18:01 I'm thinking about avoiding google play all together Dec 26 18:18:09 how can I catch it at the other end ? Dec 26 18:18:10 release the app from it's own website Dec 26 18:18:24 then i would have to set up payment, etc Dec 26 18:18:48 DC'd, internet is annoying. neredsenvy, here is a library for snackbars. https://github.com/nispok/snackbar/blob/master/README.md Dec 26 18:18:58 ty Dec 26 18:20:00 It has a mode for it to stay indefinitely until you tell it to go away so you could make it stay there until the internet is connected with a button taking the user to the WiFi settings. Dec 26 18:20:34 g00s: "Update: The app got reinstated after Google manually approved it!" Dec 26 18:20:58 anxiety--; Dec 26 18:22:38 TacticalJoke that guy got lucky. the operative word, being *luck* - element of chance Dec 26 18:23:00 anyone here give me a couple of minutes to chat about wear and configurations Dec 26 18:23:28 does the config send to the watch who then makes a config file (per say) and then changes are then updated to that config file Dec 26 18:27:04 is there a way to use NumberPicker in older android versions prior to V11? preferably back to android 8 but at least android 10 Dec 26 18:27:30 LetterRip: if it's not in the support library, you can always look at alternate implementation libraries, like BetterPickers Dec 26 18:27:40 ok Dec 26 18:28:07 (Personally I've have good luck with betterpickers, though there is a bug, or was the last time I looked, between the release and the material supportv7 lib Dec 26 18:28:25 which I fixed with a patch linked to from their support list on github and compiling the lib myself) Dec 26 18:28:37 whats the dependency for play services? Dec 26 18:28:40 just a namespace collision, nothing terribly difficult to deal with Dec 26 18:29:15 drinfernoo: context? Dec 26 18:29:33 trying to use g+ signin Dec 26 18:30:06 i have compile 'com.google.android.gms:play-services:+' Dec 26 18:30:40 dragorn don't use that wide of a dynamic version Dec 26 18:30:50 oops, not dragorn drinfernoo Dec 26 18:30:58 autocomplete ftl :) Dec 26 18:31:02 oh lol Dec 26 18:31:13 something like 23.0.+ is fine Dec 26 18:31:53 k Dec 26 18:32:33 specifically GoogleApiClient.Builder isnt resolving Dec 26 18:37:24 I seem to have a strange problem with my overflow button not showing correctly on the toolbar. Not sure what is causing it. I do expand the toolbar on a button press but that shouldn't affect the overflow position. Dec 26 18:37:30 Here are the images of it. https://unsee.cc/bodapetu/ Dec 26 18:37:54 Any ideas? Dec 26 18:38:40 it says "unknown method Builder" Dec 26 18:39:41 Builder isn't a method Dec 26 18:40:04 It's a class Dec 26 18:41:31 so classy Dec 26 18:49:10 i know Dec 26 18:49:15 but thats the error i gwt Dec 26 18:49:17 get Dec 26 18:49:49 I doubt that, if you're using it as a class Dec 26 18:50:08 Put a gist showing how you are using it. Dec 26 18:52:34 https://gist.github.com/anonymous/51fa9e67629f9666ca8a Dec 26 18:52:56 You're missing "new" Dec 26 18:53:05 Yup Dec 26 18:53:14 yup Dec 26 18:53:17 i found it lol Dec 26 18:54:16 next question Dec 26 18:54:29 hello peoples Dec 26 18:54:43 the addConnectionCallbacks(this) and addOnConnectionFailedListener(this) dont work Dec 26 18:55:07 im implementing ConnectionCallbacks and OnConnectionFailedListener Dec 26 18:55:58 HevvyMetal: Hello! Dec 26 18:56:14 hi Radther_ Dec 26 18:57:21 Are the videos on this page not working for anyone else? http://www.google.co.uk/design/spec/components/progress-activity.html#progress-activity-types-of-indicators Dec 26 18:58:07 https://gist.github.com/anonymous/58990986bad31122fcf5 Dec 26 18:58:24 TacticalJoke: I'm just seeing black boxes with playbuttons Dec 26 18:58:31 Yeah. Dec 26 18:58:41 not for me on mobile Dec 26 18:59:12 K. Thanks. Dec 26 18:59:13 TacticalJoke: Right clicking and saving them seems to work though. Dec 26 19:08:09 any freelance android developers? Dec 26 19:08:18 i'm a freelancer and just curious who else here is an android freelancer Dec 26 19:08:58 I'm using Linux. I installed the genymotion plugin, but it doesn't run. Where does it install? Dec 26 19:09:37 to your hard drive probably Dec 26 19:09:40 >:) Dec 26 19:10:00 Thanks Dec 26 19:10:05 :-o Dec 26 19:10:27 find / -name genymotion -print& Dec 26 19:10:54 Cool, thanks Dec 26 19:11:14 my cli skills are lacking :/ Dec 26 19:11:25 yeah so are mine Dec 26 19:11:46 that's a command from 40 years ago but i'm sure it still works fine on linux Dec 26 19:12:03 Seems to be working, still working Dec 26 19:12:09 yeah it is hardly fast Dec 26 19:12:17 i dunno if there is a faster search on linux these days Dec 26 19:12:29 maybe in gnome or whatever there is a faster one Dec 26 19:12:52 You running on a *nix? Dec 26 19:12:56 hell no Dec 26 19:13:03 i hate *nix Dec 26 19:13:08 lol Dec 26 19:13:21 do i look like a broke communist cheapskate to you? >:) Dec 26 19:13:29 lol I hardly know you Dec 26 19:13:38 well don't assume anything aight Dec 26 19:13:46 ;) Dec 26 19:13:48 I'm running Lubuntu, love it :) Dec 26 19:14:04 whats lubuntu? just normal ubuntu? Dec 26 19:14:11 i really hate linux Dec 26 19:14:17 Ubuntu + LXDE desktop. Dec 26 19:14:27 oh joy ANOTHER new desktop for linux Dec 26 19:14:35 Mac ftw, not that I want an OS war. Dec 26 19:14:42 what are you doing in android channel then ;P Dec 26 19:14:45 Ya, beats Vista that was on here. I am a cheapskate. Dec 26 19:14:54 so LXDE is something new to relace KDE and Gnome?? Dec 26 19:15:07 I'm an android developer ktwo Dec 26 19:15:10 No, just another variant. I have Eclipse setup in just fine. Dec 26 19:15:26 but when I develop on android i always use windows Dec 26 19:15:31 AS runs on it too, but I haven't used it yet. Dec 26 19:15:34 so LXDE is a variant of KDE or GNOME? Dec 26 19:15:59 I think the only reason I would run linux is if i had to for NDK stuff...not sure if I have to for ndk tho but I havent done any NDK either so Dec 26 19:16:01 LXDE is it's own desktop, though it does borrow parts from Gnome. Dec 26 19:16:10 meh Dec 26 19:16:18 so if you develop for android, you can't hate linux Dec 26 19:16:20 if you like linux you can keep your linux Dec 26 19:16:23 yes I can hate linux Dec 26 19:16:27 especially desktop linux Dec 26 19:16:44 damn, still searching! Dec 26 19:16:47 just because android uses linux doesn't mean I have to use it on my desktop Dec 26 19:16:52 yeah the find command is very slow Dec 26 19:17:00 go to #linux and ask them about a faster find Dec 26 19:17:10 Too late, I'm already committed! Dec 26 19:17:20 well you'll note that I added the & Dec 26 19:17:25 then you have to rephrase your hate statement since linux is not a desktop or anything like that Dec 26 19:17:26 that was for a reason ;) Dec 26 19:17:53 linux is great for underpowered computers with 2G of ram how's that? Dec 26 19:18:07 Linux has it's uses like for chromebooks. Dec 26 19:18:16 chromebooks are a fuckin gjoke Dec 26 19:18:27 i see no advantage to a chromebook compared to a tablet and a keyboard Dec 26 19:18:30 wtf good are they? Dec 26 19:18:38 my TV runs linux tho Dec 26 19:19:00 All are good for their intended purposes. Dec 26 19:19:05 microsoft had a good ad campaign with their don't be scroogled stuff Dec 26 19:19:16 for the price of a chromebook you can get a real windows pc Dec 26 19:19:16 I got given at uni and it's actually not that bad, good for taking notes and that but my macbook is small and light enough that I just bring that instead. Dec 26 19:19:41 no girl is gonna fuck a guy wtih a chromebook :) Dec 26 19:19:50 oh...you have one of those...free computers...lulz :) Dec 26 19:19:58 Well you can get a full windows 8 x86 tablet for $100 Dec 26 19:20:14 shit they suck so bad they giving them away Dec 26 19:20:16 HevvyMetal: Please watch your language Dec 26 19:20:26 sure np sorry Dec 26 19:20:40 meanwhile chromebooks are especially useless for us, because you can't even run Eclipse or AS on one Dec 26 19:21:05 For us maybe, but for grandma who wants to just check her email they're great. Dec 26 19:21:13 I can install AS on mine if I wanted to. I have linux booted on it. Dec 26 19:21:23 maybe but once again any tablet or windows pc would do that just fine Dec 26 19:21:25 Probably wouldn't run the best though. Dec 26 19:21:30 acer has lots of <$300 windows machines Dec 26 19:21:41 but hatever if you want a chromebook you can use one Dec 26 19:21:52 i use windows mostly and mac somtimes linux almost never Dec 26 19:22:06 I was given the chromebook don't mean I use it. Dec 26 19:22:15 see Dec 26 19:22:24 so you paid the chromebook tax at your uni Dec 26 19:22:25 Lol, most of my PCS are 5+ years old, almost all running Linux, of some variant. Dec 26 19:22:30 you should ask for a refund Dec 26 19:22:32 goddamn, dont say linux when comparing to mac or windows. linux is just a kernel, and just by using your Android, you are using linux Dec 26 19:22:36 It's currently in a draw somewhere, but at uni since we were given them they are everywhere, Dec 26 19:23:02 sure so yu can't even sell them for anything Dec 26 19:23:06 what uni Radther_ ? Dec 26 19:23:11 Coventry. Dec 26 19:23:14 Uk. Dec 26 19:23:18 ok Dec 26 19:23:20 ok made it through the code errors, now im getting "12-26 11:21:36.254 I/GLSUser (1522): GLS error: INVALID_KEY *my email*@gmail.com oauth2:https://www.googleapis.com/auth/plus.login" Dec 26 19:23:23 never heardof it Dec 26 19:23:24 but cool Dec 26 19:23:31 ktwo at one point in time, drivers for android linux kernel wouldn't even work on standard linux kernel, so its more unclear whether android was linux Dec 26 19:24:39 maybe thats still the case :| Dec 26 19:24:49 HevvyMetal: https://fbcdn-sphotos-b-a.akamaihd.net/hphotos-ak-xpa1/t31.0-8/c0.166.851.315/p851x315/1559511_671290579579979_398693605_o.jpg Our building looks like a spaceship. Dec 26 19:25:02 why wouldnt they work on standard linux g00s? Dec 26 19:25:10 kewl Radther_ :) Dec 26 19:25:27 you mean dont work on x86? Dec 26 19:25:37 Radther_ what campus is that ? Dec 26 19:25:50 i would thikn that they would but not necessarily things like the LTE radio or whatever Dec 26 19:26:16 so any post holiday sales on komplete and stuf? Dec 26 19:26:18 Coventry University EC Dec 26 19:26:21 oops wrong chan Dec 26 19:26:21 oh coventry, ak Dec 26 19:26:45 its all fun and games until that building falls over and kills someone Dec 26 19:26:50 does that mean i have the wrong sha1 in my developer console? Dec 26 19:27:17 it looks like an acid trip tho Dec 26 19:27:24 HevvyMetal: It's pretty well built, cost them £50 million to build. Dec 26 19:27:35 definitely cooler than just a rectangle Dec 26 19:27:39 yeah I imagine it cost a lot Dec 26 19:27:43 why did they make it so fancy? Dec 26 19:27:52 is it free education there? Dec 26 19:28:07 must be good to be in the UK and be a student on the dole and free education if they have it hehe Dec 26 19:28:28 Unfortunately the original architect didn't realise the building would increase popularity of the uni and now the building is too small so they are building another one. Dec 26 19:28:37 It is definitely not free. Dec 26 19:28:49 is it a public or private school? how much $/year? Dec 26 19:29:11 But I do get a loan that I only have to pay when I'm working. Dec 26 19:29:34 It's a university, and about £9000 a year. Dec 26 19:29:44 that's quite a lot Dec 26 19:29:58 university means masters and phd or undergad? Dec 26 19:30:06 that's like $15k/yr here right? Dec 26 19:30:16 is it pretty famous or is it a brand new school? Dec 26 19:32:13 does it have 3d tennis courts and swimming pools that look like something from star wars? Dec 26 19:33:46 All three. Dec 26 19:33:46 And yeah about that. Dec 26 19:33:46 The uni got ranked the most modern university of the year in 2012 and is doing pretty well in the rankings but the uk is quite small so no where is anymore popular then anywhere else except for london. Dec 26 19:33:47 Probably. Dec 26 19:33:48 Also my internet is about to fail... Dec 26 19:36:06 Hello everyone (Again) Dec 26 19:38:01 Anyone know why my overflow is not in the top corner. It appears to have moved down slightly and I can't work out why. https://unsee.cc/bedupori/ Dec 26 19:38:01 Hmm. Since I switched to using adb wirelessly, every now and then when I deploy my app on my device I'm getting that "Skipped 30 frames! The application may be doing too much on the UI thread" message. Dec 26 19:38:08 Is there any correlation between wireless adb and that? Dec 26 19:38:24 It happens only when the app is first run. Dec 26 19:38:43 If it only happens during the initial deploy i'd consider it irrelevant Dec 26 19:38:50 TacticalJoke: I'll try setting up wireless ADB now and report back with any findings, assuming it works. Dec 26 19:39:18 you dont have to be rooted to do wireless adb btw Dec 26 19:39:34 links to the 3d tennis and pool Radther ? Dec 26 19:40:06 Radther: I can't reproduce it every time, to be fair. I guess it's not a big deal, as dragorn said. (As far as I can tell, it's only with the deploy, and only occasionally.) Dec 26 19:40:11 i thought coventry sounded a bit hobbitish and look on the map there is even a Bagginton! Dec 26 19:40:20 the baginses are there Dec 26 19:41:28 HevvyMetal: Here is the swimming pool. http://3.bp.blogspot.com/-aRESS6BGTiM/TpTt3Btf0qI/AAAAAAAAAIc/uRCx_hXm5fk/s1600/Blitzball_stadium.jpg Dec 26 19:41:38 The blue ball in the middle is the water. Dec 26 19:41:47 Suspended in mid air.. Dec 26 19:41:57 i'm surprised they don't show it on http://www.coventry.ac.uk/life-on-campus/student-life/sport-coventry/ Dec 26 19:42:06 pretty cunning photography there Dec 26 19:43:47 they do a amateurish job on the girl in the blue top to make it seem like it's not really porn Dec 26 19:43:52 even tho it is Dec 26 19:44:16 ... Dec 26 19:44:56 you dont think so? Dec 26 19:45:19 vhttp://www.coventry.ac.uk/Global/06%20Life%20on%20Campus%20section%20assets/Student%20Life/sports%20and%20rec%20section%20(new)/main%20Header.JPG?height=230&width=700&mode=crop Dec 26 19:45:27 http://www.coventry.ac.uk/Global/06%20Life%20on%20Campus%20section%20assets/Student%20Life/sports%20and%20rec%20section%20(new)/STC-294.JPG?height=208 Dec 26 19:46:04 on the 2nd one, the girl just happens to be leaning over just enough and there is a mirror behind her that just happens to show her butt and chest in the same photo Dec 26 19:46:23 but its blurry enough that it seems like a candid shot and not something that was deliberately staged to ensnare male students Dec 26 19:46:44 it's a smashing job really in it's subtlety and cunning Dec 26 19:46:56 You appear to be very bored... Dec 26 19:47:48 How do I find the ip address of my device on Lollipop. It doesn't appear to be in the about section. Dec 26 19:47:57 Wait, nvm. Dec 26 19:48:27 Guys, wrote a really simple app and Im getting some android Fatal exception, would anyone be willing to check out a few lines of code for me? Dec 26 19:48:45 Go for it. Dec 26 19:49:19 drose379, I suggest you read through the error first. Dec 26 19:49:48 http://pastie.org/9799823 Dec 26 19:50:00 I only messed with the onCreate method Dec 26 19:50:23 Its a NoClassDefFoundError ... never heard of it Dec 26 19:51:15 which line is the error? Dec 26 19:52:37 i've got platform sdk api 17 but the latest SDK, how can i create a project using api 17 ? (i don't want to download (can't) the latest sdk platform) Dec 26 19:52:50 Radther Does it tell me Dec 26 19:52:59 Im really new to Android Studio so Dec 26 19:53:29 Build Failed: android-sdk-linux/tools/ant/build.xml:483: The SDK Build Tools revision (19.0.0) is too low for project 'firstApp'. Minimum required is 19.1.0 Dec 26 19:53:37 drose379: Please paste the exception stack-trace. Dec 26 19:53:47 If you are using AS then in the red error log at the bottom one of there should be a blue link somewhere that will take you to the line. Dec 26 19:54:58 http://pastie.org/9799827 Dec 26 19:55:10 Theres the errors Dec 26 19:55:16 drose379, for the future: pasting 50 lines of code without the error message or stack trace is a good way of being ignored ;) Dec 26 19:55:32 And stop developing on Samsung crap Dec 26 19:55:57 drose379, you're hitting this issue: https://code.google.com/p/android/issues/detail?id=78377 Dec 26 19:56:06 which is incidentaly the first Google hit when you paste that error in GOogle. Dec 26 19:56:19 and the second hit is... solution! Dec 26 19:56:20 http://stackoverflow.com/questions/24809580/noclassdeffounderror-android-support-v7-internal-view-menu-menubuilder Dec 26 19:56:48 http://www.quickmeme.com/img/09/09e3acd86335891570af806d48ec033c7351d15531f3d400e51b016b2ddb5e39.jpg Dec 26 19:57:24 how do i increase the touch area of ClickSpans within a spannable? Dec 26 19:58:06 I am looking at StackOverflow, and the answer there is not really descriptive: http://stackoverflow.com/questions/26180129/expand-touch-area-of-clickablespan Dec 26 19:58:16 Thanks maverik Dec 26 19:58:56 TacticalJoke: How did you set up wireless adb? I run the commands and it shows the device twice(one for the usb and one for the wireless) so it works but as soon as I unplug the cable they both disappear. Dec 26 19:59:43 I plugged in the device, used "adb tcip 5555", and then said "adb connect ", I think. Dec 26 19:59:50 tcpip* Dec 26 19:59:55 That's what I did. Dec 26 20:00:17 After disconnecting, does "adb devices" list anything? Dec 26 20:00:22 Disconnecting the cable, I mean. Dec 26 20:00:26 Nope, clear. Dec 26 20:00:34 http://paste.ubuntu.com/9625785/ I want to change the "@id/" field of a dynamically added Viewtext "wlikes" everytime one is generated. how do I do that? Dec 26 20:00:40 Maybe try "adb connect " again now that you're disconnected. Dec 26 20:01:10 TacticalJoke: That worked, thanks. Dec 26 20:01:25 :) Dec 26 20:02:09 Now to fix the overflow menu. Dec 26 20:03:09 Anyone going through my code? Dec 26 20:03:22 PersonX, you're doing something very very very wrong O.o Dec 26 20:03:31 IDs don't change. Dec 26 20:03:47 They're generated and baked into your app, if you have to change them you're doing something wrong :) Dec 26 20:04:10 if you're dynamically creating views you need to track the instances you made Dec 26 20:04:19 Mavrik, so when multiple items are generated from the same layout for a listview, are the ids repeated? Dec 26 20:04:27 yes Dec 26 20:04:28 PersonX: Yes Dec 26 20:04:37 listview gives you an instance of the container for that row Dec 26 20:04:47 and you can use findviewbyid on that instance to find the view inside that container Dec 26 20:05:07 any way I could alter the id of a single element from the layout everytime the layout is printed onto screen? Dec 26 20:05:14 No. Dec 26 20:05:17 no. you dont' alter IDs Dec 26 20:05:21 YOU. DO. NOT. CHANGE. IDs. Dec 26 20:05:22 EVER. Dec 26 20:05:34 Not even once. Dec 26 20:05:49 okay well then can I get the ID of that one element? Dec 26 20:06:31 R.id.element_id. Dec 26 20:06:43 you don't "get" it, you always know what the id is :P Dec 26 20:06:55 I'm very new, i'll need context. basically a full example would be really nice. Dec 26 20:07:23 and that R.id.element_id is for selecting stuff, no? Dec 26 20:08:10 for this line "mViewHolder.wlikes = detail(convertView, R.id.wlikes, myList.get(position).getLikes())" could I get the ID of the element generated from this? Dec 26 20:09:22 hm, i forgot - if you dynamically create a view w/o ID, does its instance state get saved ? Dec 26 20:09:46 g00s, no, having an ID is a prerequirement Dec 26 20:09:55 Mavrik ah thanks Dec 26 20:09:55 g00s, but after API 16 or 17 you can generate IDs programatically Dec 26 20:10:46 is it possible to give certain IDs to a viewtext while adding it dynamically? Dec 26 20:10:58 *a certain ID Dec 26 20:11:46 PersonX, you're doing it wrong. Dec 26 20:12:00 could someone shout a few cool libs worth checking out? (apart from retrofit, aa, uniimgloader, eventbus) Dec 26 20:12:02 Until you know what you're doing, ID is only for referring to stuff in XML. Dec 26 20:12:11 XniX23, half of AndroidArsenal :) Dec 26 20:12:23 XniX23, RxJava/RxAndroid probably Dec 26 20:12:34 the problem is knowing which half :D Dec 26 20:13:54 Alot of stuff is very situational. Dec 26 20:13:59 I like the Crouton library to replace Toasts Dec 26 20:14:16 I want to know what is the best method to transfer data from Android wear for further analysis Dec 26 20:14:55 Mavrik yeah i liked nispok snackbar, that worked out well for me Dec 26 20:15:04 Mavrik, okay then what I'm doing right now is there's a like button with a viewtext above it and the button is an image and it contains text that is equal to the id of the viewtext above the like button, so I get the text of the like button and use it as a reference to select the viewtext and increment its value by one. can you suggest an alternate method? Dec 26 20:15:14 although my snacks never look like the ones in the screenshots, don't know what up with that heh Dec 26 20:15:33 g00s, mhm, even though none of the implementations of snacks is able to take transparent navbar into account :/ Dec 26 20:15:45 oh oh Dec 26 20:17:41 g00s: Mine look like they do in the screenshots. Dec 26 20:17:52 Does anyone know of an effective ad network (for installs) where you can target age? Dec 26 20:17:59 I am wasting money on 3 year olds Dec 26 20:18:15 Maverik , do you still have that link you just sent me Dec 26 20:18:20 I can't seem to figure this out Dec 26 20:20:13 Radther really? mine are like a small rectangle, but the screenshots they go from edge to edge Dec 26 20:20:30 even when i attached to RV / LV Dec 26 20:21:09 Agamemnus maybe your app is attracting 3 year olds :| Dec 26 20:21:19 lol Dec 26 20:22:09 anybody have a really good FAB library to speak of? Dec 26 20:22:19 g00s: https://unsee.cc/ziretosu/ Dec 26 20:22:20 that comes in a jar? lol Dec 26 20:22:20 if it contains my little pony then it might be not only 3 years olds Dec 26 20:22:28 There it is. Dec 26 20:23:07 drinfernoo, uh... anything UI related will come with resources which don't go into JAR Dec 26 20:23:17 Mavrik, thanks, was will take a look at them, i believe most of the libs are useful there but most of them solve some small specific problem about ui or smth Dec 26 20:23:18 Radther oh, are you on android 5.x ? Dec 26 20:23:19 Now get to 21st century, learn to use Gradle. Dec 26 20:23:25 -was Dec 26 20:23:28 g00s: Yeah. Dec 26 20:23:29 ugh Mavrik, I can't :( Dec 26 20:23:34 XniX23, yeah, that's why it's hard to recommend them :/ Dec 26 20:23:41 Radther ok, i'm testing on 4.4. maybe it looks different on 5 Dec 26 20:23:50 I'm coding on AIDE, which doesn't maven Dec 26 20:23:57 Strange though since we seem to be using the same library. Dec 26 20:24:04 XniX23, stuff like SystemBarTintManager is awesome, but depends on your app :) Dec 26 20:24:12 Radther mine look exactly like the ones in gmail. maybe i didn't set it up right ? Dec 26 20:24:20 drinfernoo, you can't distribute UI stuff that uses resources in a JAR. Dec 26 20:24:27 you know those little ones that float up, and then float down Dec 26 20:25:02 OK, so could I clone the library, and build it as a library project? Dec 26 20:25:15 g00s: On gmail for me they fill the whole screen... Dec 26 20:25:23 In the same was as my app. Dec 26 20:25:45 I had tried that with a couple things, but I couldn't figure out where to put the projects, and how to include them Dec 26 20:26:34 wear Dec 26 20:27:38 Mavrik, well crouton seems quite good for general project, dont know what rxAndroid does yet but sounds like something i would like using lol Dec 26 20:28:13 mhm :) Dec 26 20:28:35 XniX23, also this saved my ass several times: https://github.com/mitmel/SimpleContentProvider Dec 26 20:29:13 if I include a local library project, should it go in the same folder as my project? or in libs? app? Dec 26 20:29:49 How to select a sibling element inside a listitem when a button inside it is clicked? Dec 26 20:30:16 hey y'all Dec 26 20:30:24 anybody know of any good navigation SDKs (a la google navigation or waze)? Dec 26 20:31:24 How to select a sibling element inside a listitem when a button inside it is clicked? Dec 26 20:31:40 Mavrik, ? Dec 26 20:31:53 PersonX: Dec 26 20:32:08 Define "select". Dec 26 20:32:19 PersonX: .getParent().findViewById(R.id.sibling) is a quick-and-dirty solution Dec 26 20:33:46 groxx , so I'll just have to view.getParent().findViewById(R.id.sibling)? Dec 26 20:34:20 if I am using a spinner control and I want to get the index of the currently selected item would I call "getSelectedItemPosition" Dec 26 20:35:05 PersonX: that'll let you find a sibling view, yeah. but TacticalJoke does have a point: what exactly do you mean by "select"? Dec 26 20:35:05 mhm Dec 26 20:35:32 i'm dying with hotspot on a train, thanks again and cya :D Dec 26 20:36:13 ChrisUK: I believe so yeah. Dec 26 20:37:18 groxx, I meant I have a button inside a listitem and a textbox with id "text1" inside that listitem, i want to change the text of this textbox when I click that button. Dec 26 20:37:37 ok thanks ill give it a try :) Dec 26 20:37:43 TacticalJoke, ^^ Dec 26 20:37:54 PersonX: Dec 26 20:37:58 ugh, sorry about that. Dec 26 20:38:45 I'd use a custom ViewGroup. My custom ViewGroup would already have called findViewById and cached the result. Dec 26 20:39:07 groxx, so.. any suggestion? Dec 26 20:39:11 Or the viewholder :) Dec 26 20:39:25 TacticalJoke, i'm very new, i'll need examples or a tutorial Dec 26 20:39:43 PersonX: if you're not already using viewholders, that's probably the simplest way. otherwise you can find the list's item-row and get its holder, which will cache your lookup Dec 26 20:40:14 alright then, lemme look into viewholders :) Dec 26 20:40:16 PersonX: Maybe you should take a step back and go through some more basics of android development. Dec 26 20:41:48 Radther, I dont like to 'learn' and 'memorize' things related to programming when I can find it all online just a click away. I was always like this and people consider me good at what I do. :) Dec 26 20:41:53 PersonX: since for some reason they're still not mentioned in the listview tutorial / docs, google should find a bajillion results to explain the concept Dec 26 20:43:06 groxx, that's what I am going through right now. :) Dec 26 20:43:06 PersonX: You're using the view-holder pattern, right? If so, you would've already called findViewById, if I'm not mistaken. Dec 26 20:43:20 PersonX: Or you could post your adapter class if you want. Dec 26 20:43:36 TacticalJoke, I'm not using it yet, I don't even know how to use it. I'm just starting to learn about it. Dec 26 20:44:36 I can't believe this Dec 26 20:44:42 PersonX: Ok, well I'll just leave this here. It teaches by making you do things and does a pretty good job at it. http://www.bignerdranch.com/we-write/android-programming.html Dec 26 20:44:57 should I put the button for g+ sign in in settings? or somewhere else? Dec 26 20:45:01 http://www.appbrain.com/stats/android-cpi-per-country Dec 26 20:45:08 can it go in a PreferencesFragment? Dec 26 20:45:17 this almost looks like fraud Dec 26 20:45:27 Radther, thanks.! :) Dec 26 20:45:31 i'm lucky to get 9 cPM and I'm paying basically 40 Dec 26 20:45:41 and they're saying the average is 100+ Dec 26 20:46:05 india, .63 average per install? Dec 26 20:46:19 per click india gives you a fraction of a cent, who are they kidding Dec 26 21:02:25 Agamemnus: The average is probably raised by some really popular apps. Dec 26 21:15:43 or, they are lying Dec 26 21:18:23 Agamemnus: Well if it is that a couple of app do really well then they don't need to lie. Technically it is true but it isn't actually representative of what you will actually get, Dec 26 21:24:19 hey Dec 26 21:24:38 does anyone know if the watch should wake up if you send an update config to it from the phone ? Dec 26 21:27:22 I'm trying to add Map markers to my Map object in separate Thread however when I run the thread line 12 throws a Not on the main thread exception. https://gist.github.com/anonymous/a83d2fad8104512f6497 Dec 26 21:27:59 If I don't use Thread than no exception however it's sluggish. Dec 26 21:40:35 neredsenvy: probably because you're re-querying for the ids and re-creating the bitmaps every time. cache them. Dec 26 21:40:59 How do I cache the bitmaps Dec 26 21:41:34 groxx Can you link a docs on doing this Dec 26 21:41:53 neredsenvy: same way you do anything else. put it in a variable, only create it when the value is null. Dec 26 21:46:49 can you get a drawable from Picasso? Dec 26 21:47:27 Why would you want a Drawable? Dec 26 21:48:45 to set it as background for a layout Dec 26 21:51:29 Just use a Target which gives you a Bitmap and then wrap it in a BitmapDrawable Dec 26 21:53:45 example? Dec 26 21:54:10 I'm trying to move a FAB up when the keyboard is shown, whats the best way to do this. I have found some solutions but they either don't work or require extending Relative layout in a somewhat hacky way. Dec 26 21:57:32 drinfernoo: I think he means something like this. http://stackoverflow.com/questions/20181491/use-picasso-to-get-a-callback-with-a-bitmap Dec 26 22:02:04 how do you get a bitmap from a target? Dec 26 22:02:30 It's a paramter in the callbacks Dec 26 22:20:38 anyone know if there's an easy way to configure android's lint to ignore e.g. google play services? Dec 26 22:26:18 Is there a way you can know from which folder is your app pulling resources. Ie. which drawable folder is being used ? Dec 26 22:29:45 * lewellyn glares at android studio Dec 26 22:30:07 how do you change the "system directory"? Dec 26 22:30:51 i don't want it in %USERPROFILE%. i installed it to another drive and chose another drive for the sdk for a reason. i KNOW there isn't enough space for it to grab the sdk in %USERPROFILE%... :( Dec 26 22:31:46 do i have to uninstall the app every time i want to build and run it on my device? Dec 26 22:32:09 uninstall the last versions in my device Dec 26 22:32:34 suppose i want to make some tiny changes to the app, then i have to uninstall it manually and then adb install again? Dec 26 22:32:44 levo: nope. you can `adb install -r file.apk` to replace it. that'll only work when a "normal" install would work - when the version is >= current version, and the signature is the same. Dec 26 22:33:19 groxx: thanks a bunch Dec 26 22:38:20 gah. i moved %USERPROFILE%\.AndroidStudio and symlinked it. but i still can't download the sdk. why the hell doesn't it download it into a temp dir in the sdk install location since *obviously* i chose someplace with more space than my %USERPROFILE% volume? :( Dec 26 22:51:33 so i told android studio to stick the SDK into D:\Android\SDK and it apparently downloads to %TEMP%, extracts to %TEMP%, and then *copies* to the destination. Dec 26 22:51:35 how... inefficient. Dec 26 23:08:49 lewellyn, try a bind mount Dec 26 23:09:20 FlipBill: the problem is that it creates a few randomly-named directories. i can't predict what it will try to extract into. Dec 26 23:09:36 i deleted my hibernation file so i could install the sdk. such fail. Dec 26 23:09:56 oh. Read too fast, sorry. Thought it was ignoring symlink. Dec 26 23:09:58 (hibernation + swap files take up > 33% of my boot volume) Dec 26 23:10:31 also just notice you are using Windows notation for paths. Dec 26 23:10:44 So my comment was irrelevant Dec 26 23:10:51 I guess Dec 26 23:11:03 Are you folks all using an SSD with Android Studio? Dec 26 23:11:19 TacticalJoke, I am. Dec 26 23:11:21 well, not really. you can mount a filesystem into a directory path. even if it has another mountpoint. :) Dec 26 23:11:32 TacticalJoke: no, my ssd is my boot volume and only 120 GB. Dec 26 23:11:41 When people complain about Android Studio's slowness, someone usually suggests getting an SSD. Dec 26 23:12:01 I don't like the idea of buying new hardware to run a new IDE without crazy lag. Dec 26 23:12:13 TacticalJoke, I was running in a VM, but that was SSD based. Quite slow. Dec 26 23:12:51 Moved to dedicated box for the purpose. Seems adequate. But I do heavy duty editing outside the IDE Dec 26 23:13:11 TacticalJoke: i have a larger hybrid drive i use for dev tools. at the time, > 250 GB SSD was insanely expensive so i went with a 120 + a 500. Dec 26 23:13:19 I use emacs with auto-revert-buffer. Edit in IDE when I want hand-holding. Dec 26 23:13:38 but yeah. so far android studio is underwhelming versus eclipse. :P Dec 26 23:14:06 lewellyn: Are you currently switching? Dec 26 23:14:22 I have vague memories of Eclipse being brutally slow. I worked from CLI until recently. Dec 26 23:14:24 i expect to stick with eclipse as long as i can. :P Dec 26 23:14:36 FlipBill: eclipse likes ram. i have plenty of ram. Dec 26 23:14:48 FlipBill: It used to be. It's way faster now. Dec 26 23:14:56 And way faster than Android Studio on my computer. Dec 26 23:15:00 and yeah. as the jvm improved, eclipse automatically did too. Dec 26 23:15:27 I think a lot of people using Eclipse for Android development were using the ADT bundle, which featured a two/three-year-old version of Eclipse. Dec 26 23:15:47 I suspect that this explains a good amount of the "Zomg, Android Studio is amazing" comments. Dec 26 23:15:55 It all runs faster than my brain, so I shouldn't complain. Dec 26 23:16:08 I find it not so slow to be aggravating. Dec 26 23:16:24 But maybe I haven't pushed it hard enough. Dec 26 23:17:12 My builds run 10 or so seconds. Dec 26 23:17:21 TacticalJoke: i stuck adt on my existing eclipse. my only complaint about adt was that it was obviously not done by people who knew eclipse well. Dec 26 23:18:32 i mean, blackberry's "android converter" plugin (it made an APK and stuck it in a signed BAR file) was fewer clicks in spite of doing way more. that's a sign that they needed someone to architect a solution, not just try again and hope to do better. :P Dec 26 23:19:57 related to all this... it's a bit irritating still that the sdk manager is oblivious to the ndk. :P Dec 26 23:24:29 though, i suppose that since you can't use AS for NDK code, that makes sense. :P Dec 26 23:24:43 hey look. yet something else that you still need Eclipse for! :/ Dec 26 23:27:12 i seriously have few good things to say about it though, tbh. it's got as many ui bugs as eclipse did a decade ago. :P Dec 26 23:27:39 and i still can't figure out how to get vi keybindings. Dec 26 23:27:53 I don't really understand why people prefer it to Eclipse. I guess Gradle is powerful (but extremely slow, in basically every way). Dec 26 23:28:21 because new and improved! Dec 26 23:28:40 but i expect a lot of it is entrenched eclipse hate by people who have only used it in passing. Dec 26 23:29:04 it's hard to like any ide you've only used in passing. they all have "quirks". Dec 26 23:30:14 to pull in another popular IDE that's wholly unrelated, Visual Studio has a really fun thing in that they like to display comments as bold rather than the italics of almost every other ide. Dec 26 23:30:36 It's been so long since I've used VS. Dec 26 23:30:38 I miss it a lot. Dec 26 23:30:59 using an ide is give and take. you have to change a bit and you have to change it a bit. the defaults almost certainly will be ill-suited. Dec 26 23:31:22 but AS doesn't even appear to have the capabilities to change :/ Dec 26 23:31:55 In which ways are you trying to change it? Dec 26 23:33:18 well, i can't set vi keybindings... the code style settings are anemic... i apparently can't integrate it with my gitlab... i can't do NDK code within it... Dec 26 23:33:26 Ah. Dec 26 23:33:40 I think there is a vim plugin for IntelliJ. Dec 26 23:33:48 i consider all of these to be basic functionality in an ide these days. Dec 26 23:33:56 i couldn't find it in the plugins thing. Dec 26 23:35:15 oh. "vim". it didn't come up for "vi". Dec 26 23:35:25 You know what irks me? Designing the UX of an IDE is so easy. Dec 26 23:35:30 * lewellyn is also opinionated about vim vs vi. Dec 26 23:35:36 The details are hard, but the UX can be absolutely simple. Dec 26 23:35:48 Visual Studio gets the simplicity right. Dec 26 23:35:55 yes. and some eclipse distros do as well. Dec 26 23:36:24 stock eclipse is designed to be able bolt a kitchen sink or few into. Dec 26 23:36:40 I never really used vi. Dec 26 23:36:46 I used gVim a lot. I was kinda obsessed. Dec 26 23:37:10 i am not finding a comparison of vrapper vs ideavim. slightly surprising, actually. Dec 26 23:38:34 however, i expect ideavim isn't nearly as full-featured, just because vrapper eventually needed a full site for itself. Dec 26 23:39:18 You know another thing I dislike about AS -- the icons. Dec 26 23:39:22 i'll install it later. thanks for the pointer. now's not a good time to be arguing with AS more than i have to. Dec 26 23:39:22 They're so ugly and non-intuitive. Dec 26 23:39:30 Such as that one for minimizing/docking a pane. Dec 26 23:39:46 i really dislike that the scrollable dropdowns in various parts of the ui *close* if you try to use your mouse wheel to scroll them. Dec 26 23:40:01 Oh, that's annoying. Dec 26 23:40:11 instead you have to target that ittybitty custom scrollbar. Dec 26 23:41:29 it'd be less annoying if it *always* worked one way or the other, too. :/ Dec 26 23:42:55 relevant: drop down the menu on the Keymap settings. i don't even know why that can't be extended to no-need-to-scroll, but that one shows the brokenness with the mouse wheel. :( Dec 26 23:42:56 You and I will be burned at the stake for heresy. Dec 26 23:43:36 The funny thing is that I kinda hate Eclipse. I use it because it's the least bad option (for me, anyway). Dec 26 23:43:51 i'm very picky about my tools and am very critical when people try to start from scratch when they already have a mostly-round wheel. effort is usually better spent on rounding it more rather than getting yet another mostly-round wheel. Dec 26 23:43:57 It'd be so easy for a new IDE to sway me. And yet the "Omg, amazing, brilliant, superb" IntelliJ has been such a let-down. Dec 26 23:44:04 Yeah, I'm the same. Dec 26 23:44:53 yes. eclipse does lots of things well. partially because for a long time, it HAS been the only competent entrant. the overall suite, especially in a default configuration, may suck. but it does enough just right that it makes any replacement irritating. Dec 26 23:45:28 I'm hoping they make Android Studio great in the future. Dec 26 23:45:42 well, it'll never be great for NDK developers, almost certainly. Dec 26 23:45:46 Or Microsoft comes and saves us with VS. Dec 26 23:46:02 Don't you think they'll implement NDK support? Dec 26 23:46:26 jetbrains vs c has been an ongoing "maybe. someday. that's hard though. we do java." Dec 26 23:46:54 which, again, is another point in the eclipse column. hell you can do COBOL and PHP side-by-side in eclipse. :P Dec 26 23:47:01 True. Dec 26 23:47:34 If Microsoft owned Android, we'd all be super-happy developers. Dec 26 23:47:37 you're unlikely to WANT to, as your brain will become slush, but the platform doesn't artificially limit you. Dec 26 23:47:39 The IDE would be the best thing ever. Dec 26 23:47:59 heh. only if they brought back the VC 6 IDE. :) Dec 26 23:48:02 SDK documentation would be brilliant. Examples everywhere. Dec 26 23:48:36 I think I used VC6. It had MDI mode, right? Dec 26 23:48:50 it had lots of modes. :P Dec 26 23:48:50 On a side note, I don't miss MDIs. Dec 26 23:48:59 that was the transition era. Dec 26 23:49:01 Though mIRC is an MDI. Dec 26 23:49:14 haha. mirc. he's still developing that? Dec 26 23:49:19 Seems so. Dec 26 23:49:39 i haven't used mirc since like 1995. at one point, it was the irc client which ran best in os/2. Dec 26 23:50:34 I'm getting so tired of Reddit. I'm making a Reddit app and I spend hours every day looking at little fragments of Reddit. Dec 26 23:50:44 It's so tedious after a while. I kinda want to stop thinking about that site entirely. Dec 26 23:51:02 But then I'm like "Hmm, wonder what's on Reddit". Dec 26 23:51:18 i still fail to see the appeal of reddit. Dec 26 23:51:21 but then again, i'm old now. Dec 26 23:51:37 Have you been to /r/programming? That's occasionally good. Dec 26 23:51:48 no. i'm old and would just tell them to get off my lawn. Dec 26 23:52:08 I'm not sure how to define 'old'. Hmm. Dec 26 23:52:13 15:49 lewellyn: i haven't used mirc since like 1995. at one point, it was the irc client which ran best in os/2. Dec 26 23:52:27 in internet years, i'm ancient from that statement alone :D Dec 26 23:52:37 I was using IRC in 1995 and I recently hit 30. Dec 26 23:52:52 Wait, maybe '96. Dec 26 23:52:54 97 * Dec 26 23:52:58 on os/2? :) Dec 26 23:53:05 On Windows, I think. Dec 26 23:53:15 Okay, OS/2 is a different kettle of fish. Dec 26 23:53:26 it took a few fixpacks before warp did tcp/ip well, especially in win-os/2 Dec 26 23:53:55 bbiab Dec 26 23:54:07 i swear i spent six months fighting with crap trying to get the tcp stacks working right. Dec 27 00:02:49 lewellyn: yeah but were you dialing into BBS's with your Commodore 64 ? Dec 27 00:03:12 shmooz: i didn't have a modem till i got a 2400 for my 386. Dec 27 00:03:15 * shmooz kicks lewellyn off his lawn Dec 27 00:03:32 lO"$",8,1 Dec 27 00:03:39 lI Dec 27 00:03:41 :) Dec 27 00:03:53 too bad irc doesn't do petscii Dec 27 00:05:53 what project ru workin on Dec 27 00:06:33 project Mayham Dec 27 00:07:09 "may ham"? that sounds tasty, though future! :D Dec 27 00:07:37 yeah but it's been sitting around since May Dec 27 00:12:42 there's a mouse in the kitchen what am I gonna do !? Dec 27 00:13:24 I'll try giving it apple pie Dec 27 00:23:36 hi Dec 27 00:34:30 when Dec 27 00:36:55 His name is Robert Paulson. Dec 27 00:36:59 Paulsen* Dec 27 00:40:46 That was more of a StrategicJoke Dec 27 00:40:54 *rim shot* Dec 27 01:10:32 is there any way to get Android Studio to stop making .iml files that match the parent directory name? or, to get them to stop being added to .idea/modules.xml ? it's annoying, and requires all git users to share the same folder name :( Dec 27 01:13:25 groxx: have you considered putting those files on ignore in .git? Dec 27 01:14:07 p_l: I have. the problem is that those files are added to .idea/modules.xml which should be shared in git. if you remove them, the project can't be opened by new developers. Dec 27 01:14:53 I mean, sure, I could just .gitignore everything that's even remotely AS related. but then the "new dev setup" process has to be figured out from scratch every time. Dec 27 01:16:37 can't you import purely based off of gradle Dec 27 01:16:45 I'm just naively hoping it supports that Dec 27 01:17:05 missingno: I haven't had any luck doing that. it keeps importing a broken project. Dec 27 01:20:26 Has anyone used Chartboost? Dec 27 01:20:32 I'm thinking of trying them next Dec 27 01:22:12 missingno: or maybe I did just get it working... ugh. hard to be sure, since it's obviously retaining some metadata. Dec 27 01:24:04 Google Play: are consumables managed products? Dec 27 01:30:55 ladies Dec 27 01:31:02 any google folk still hang around this bitch? Dec 27 01:38:07 no Dec 27 01:38:26 figures Dec 27 01:38:40 google folks are partying with cocaine/heroin on hookers' boobs Dec 27 01:49:47 I'm like THIS close to re-write god damn android service handling Dec 27 01:49:55 shit is so fragile its not funny Dec 27 01:50:11 I cant tell you how many devices I've seen where something gets corrupt in preferences Dec 27 01:50:17 and a service fails to start Dec 27 01:50:20 and shit starts to boot loop Dec 27 01:52:32 I just tried installing Android Studio and found that it comes with a bunch of 32-bit binaries... Is there any decent Android development environment that I can use on a pure 64-bit Linux system? Dec 27 01:57:33 tomcres: is 32 bit a problem? Dec 27 02:04:42 Yes. I don't want to re-install Gentoo and re-compile my entire system just to add 32-bit compatibility for Android Studio. It's not like Debian, where you just do a dpkg --add-architecture and update APT. Dec 27 02:07:01 I have a MainActivity and I add a ListFragment . While I'm on the ListFragment if onListItemClick happens on a list item I replace the ListFragment with a Fragment. replacement Code is like : transaction().replace().addToBackStack(null).commit(). Dec 27 02:07:33 the new fragment appears *but* when I click the back button... im on my Home Screen :/ Dec 27 02:08:02 Isn't that the correct way for the backstack ? **** ENDING LOGGING AT Sat Dec 27 02:59:59 2014