**** BEGIN LOGGING AT Sun Dec 07 03:00:00 2014 Dec 07 03:00:59 genex: at least someone attempted to create one, if everyone that came here about roms went there it would be bigger Dec 07 03:02:07 shmool: definately. do you do rom work? Dec 07 03:02:31 genex: no, I only do app dev Dec 07 03:05:36 Wish Google Chrome's "Clear browsing data" dialog allowed Enter to cause an OK click. Instead, it makes the combo box expand. #mildlyinfuriating Dec 07 03:05:56 Should be Ctrl+Shift+Del, Enter. Dec 07 03:13:25 TacticalJoke: yeah, I just ran into some of those 5.0 changes… apparently now you can't trick it into showing dividers between every view by setting areAllItemsEnabled() == true. Dec 07 03:31:13 Do you folks think it's worth learning functional programming? I've never touched it, really. Dec 07 03:31:36 TacticalJoke: Last time I touched Haskell, there was blood Dec 07 03:31:45 Everything is different now Dec 07 03:32:06 I was considering learning F# once, but I never got around to it. Dec 07 03:32:18 I guess Scala would be natural for Java people. Dec 07 03:32:25 I considered Lisp for a moment Dec 07 03:32:50 Then I learned qbasic Dec 07 03:32:51 I; Dec 07 03:32:58 if the open source .net broadens its adoption to linux, i bet f# will take off Dec 07 03:33:00 I'm a better person for it Dec 07 03:33:25 I started with QBASIC. :) Dec 07 03:33:30 seems like ms is doing the right things with the platform ;) Dec 07 03:33:39 Yeah, it's encouraging to see what MS is doing. Dec 07 03:33:54 They've become considerably less evil over the years, too, it seems. Dec 07 03:34:08 They've been humbled Dec 07 03:34:23 Yeah, Google is way more evil. :D Dec 07 03:35:29 There's always a newer evil Dec 07 03:35:46 The older evils should make a comeback Dec 07 03:35:50 Big Blue is trying Dec 07 03:36:34 In fact if IBM were Palpatine, Microsoft is Vader Dec 07 03:37:52 That Wikipedia thing always makes me feel guilty. Dec 07 03:37:59 Mozilla is doing it now, too. Dec 07 03:38:21 "If you just give us $5 everything will be okay." Dec 07 03:38:33 (Or something.) Dec 07 03:38:49 I found out that in order to flash a kernel to my S5, I need to have the bootloader unlocked, not just have Safestrap installed. Dec 07 03:38:52 I wonder whether Google is taking their funding away. Dec 07 03:39:21 Personal record for most time wasted ;D Dec 07 03:40:40 genex: is it an AT&T phone? Dec 07 03:47:57 Do you folks think functional programming is the future? Dec 07 03:48:11 I'm confused, Toolbar doesn't honor colorPrimary like the material docs suggest? that's pretty lame Dec 07 03:48:17 would have expected colorPrimary rather than background Dec 07 03:49:24 sure, I can understand why toolbar might not want to use it, since it's just a view and should be just styled like one, but still.... Dec 07 03:49:40 Whoa, Eric Lippert argued strongly against functional programming being the style of the future on SO. Dec 07 03:50:09 http://stackoverflow.com/questions/2835801/why-hasnt-functional-programming-taken-over-yet/2835936#2835936 Dec 07 03:50:51 I started with Commodore PET 32 BASIC at school, and then bought a VIC 20 and C-64 Dec 07 03:51:14 ermegerd Dec 07 03:51:29 Hi everyone, I have a potentially silly question. When I try to create a new directory in my res folder in Android Studio for layout-land, it just doesn't show up in the file tree. I can see it in my file explorer, but it does not show up in the IDE. I tried to put a new xml file in there and it seems that it's getting picked up when I run my app, it just doesn't show up in the project file tree in Studio. Dec 07 03:51:44 I skipped the pet and got an Apple II Dec 07 03:52:46 proto_tech: AS does some kind of grouping thing for resources. I wonder whether that's relevant here. (I haven't used AS much, though, so I don't know.) Dec 07 03:53:16 yeah there was the Commodore Apple and Atari gangs Dec 07 03:54:18 Pet had that little chicklet kbd iir Dec 07 03:54:22 and then Amiga came and blew them all away Dec 07 03:55:46 I think I figured out what's going on. In the design view of a layout there is a button to the left of the name of the preview device you are using. When you select it you get an option called "Create Landscape Variation" which creates this file, but it still doesn't show it in the file tree. I guess it's a bit cleaner that way. Dec 07 03:55:52 capella-s3: there were many different modes of PETS Dec 07 03:55:58 models Dec 07 03:56:20 some with the tape deck built in Dec 07 03:56:25 proto_tech: It should be displaying every resource file. Dec 07 03:56:34 Have you tried expanding every directory under /res? Dec 07 03:56:37 off topic but this was like the best a2 game ever http://en.m.wikipedia.org/wiki/Space_Eggs Dec 07 03:57:34 capella-s3: you can run it on a emulator like MESS Dec 07 03:58:13 Yah... I have it archived around here somewhere :) Dec 07 04:00:42 any one here just use vim for editing and build with ant? I'm interested in this route because I dislike eclipse and AS Dec 07 04:01:08 zmisc Leeds does Dec 07 04:01:33 but even many vim fans don't recommend vim for java / android Dec 07 04:02:04 feels good when you stop Dec 07 04:02:08 hmm I'd like to get some suggestions or advice so I can avoid mistakes Dec 07 04:02:12 i'm not sure what google's plans are for the ant stuff Dec 07 04:02:22 Mistake #1: Not using an IDE? :D Dec 07 04:02:29 heh Dec 07 04:02:49 zmisc: it's probably better to know how then not, I've never tried it though Dec 07 04:03:22 why does google maps need access to the calendar ? Dec 07 04:03:24 zmisc: What is it that you hate about Eclipse and AS? Dec 07 04:03:32 g00s: that's odd that vim fans wouldn't recommend it for android dev, but I'm sure there's a good reason Dec 07 04:03:41 zmisc java Dec 07 04:04:07 zmisc http://www.reddit.com/r/androiddev/comments/2iyt0y/vim_and_android/ Dec 07 04:04:21 TacticalJoke: I don't really care for IDEs in general Dec 07 04:04:27 That new maps wanted perms to everything Dec 07 04:04:33 *clicks link* Dec 07 04:04:50 The top post in that link is good. Dec 07 04:06:48 sorry chaps, I am here, but just finishing a game and off for a bike ride Dec 07 04:08:01 I probably should just get used to Android Studio Dec 07 04:08:59 I didn't come from a java background so vim used to be fine. Dec 07 04:09:24 the auto import of ide alone is worth the proce of admission Dec 07 04:09:28 Leeds: don't go! teach zmisc how to build his app using vim! Dec 07 04:10:28 I'm reading the docs on ant etc. I can get this working :) Dec 07 04:10:39 zmisc you should be using gradle Dec 07 04:10:46 2 bad decisions already ! Dec 07 04:10:49 Plus I actually enjoy reading docs Dec 07 04:11:11 Is there a vim plugin for AS? Dec 07 04:11:24 Hmm, there seems to be one for IntelliJ. Dec 07 04:11:41 I believe gradle is integrated in the IDE and not for stand alone use Dec 07 04:11:50 there's ideaVim I thin Dec 07 04:11:53 think Dec 07 04:12:42 I'm just going to get used to AS, it is pretty nice as far as integration goes. I just need to get comfortable Dec 07 04:13:15 zmisc: yes, open your mind and take it in Dec 07 04:16:38 who's eric lippert and why do we care? Dec 07 04:17:31 I think he was the main guy behind the C# compiler. Dec 07 04:18:36 and yeah, change takes time Dec 07 04:18:42 java8 is already a big-ish step into functional Dec 07 04:18:43 so is rx Dec 07 04:18:45 etc. Dec 07 04:19:29 as for C#, linq is all about FP Dec 07 04:19:37 Right. Dec 07 04:19:48 i can't get this idea "closure" fold / collapse to work easily :/ Dec 07 04:20:13 *intellij Dec 07 04:20:23 ctrl-minusx Dec 07 04:20:26 or cmd-minus Dec 07 04:20:47 at least that's what I have it mapped to in my setup Dec 07 04:20:54 pfn when i do that, it folds the whole damn function :) Dec 07 04:21:09 just makes everything { ... } Dec 07 04:21:10 dunno, it only folds whatever has a + in front of it Dec 07 04:21:16 at least it does for me Dec 07 04:21:28 You know, one thing I *don't* miss from C# is regions. Dec 07 04:21:35 People abused those so badly. Dec 07 04:21:51 g00s, and it seems to fold ok for me Dec 07 04:22:04 at least in scala Dec 07 04:22:05 :( wtf am i doing Dec 07 04:22:08 Anything between #region and #endregion was folded in VS by default. Dec 07 04:22:27 seems to work ok in java, too Dec 07 04:22:28 And some people put everything in their classes in regions. Dec 07 04:24:34 It's funny how pretty much every question in ##java is seen as a challenge. lol Dec 07 04:24:42 "How dare they ask that!" Dec 07 04:26:18 I tend to avoid the prog language channels because of the elitists Dec 07 04:27:13 and people mocking/making snide comments about legitimate questions as if everyone was as knowledgeable in java as them Dec 07 04:28:00 or #[insert programming language here] Dec 07 04:28:13 Yeah. Dec 07 04:28:15 fuck em Dec 07 04:28:21 Agamemnus, nope, verizon.. Dec 07 04:28:58 IMO, one should either try to help or stay silent. Those who mock newbies are awful people. Dec 07 04:29:28 mocking noobs is the only point of irc Dec 07 04:30:07 They turn people off and create self doubt in people for fear they will be mocked again. people that might otherwise be great coders in time Dec 07 04:30:17 Yah. Dec 07 04:30:26 plus its disrespectful to the community Dec 07 04:30:29 I think the smartest people often ask the dumbest questions. Dec 07 04:30:36 Because they wanna learn quickly. Dec 07 04:30:38 They just dive in. Dec 07 04:30:45 * pfn has never seen that Dec 07 04:30:49 and gives us that "asshole image" Dec 07 04:31:00 true Dec 07 04:31:03 You've never seen smart people asking dumb questions, pfn? Dec 07 04:31:22 not when they care about the subject at hand, not really, no Dec 07 04:31:46 I think people of any intelligence do/say/ask dumb things as we are all human Dec 07 04:31:51 The thing is, asking someone knowledgeable is often the fastest way, by far, of getting the answer. Dec 07 04:31:58 Hence, the smart ones ask really basic questions. Dec 07 04:32:04 They're smart enough not to waste hours googling. Dec 07 04:32:12 the basic questions take seconds Dec 07 04:32:20 it's the advanced topics that are always worth delving into with a mentor Dec 07 04:32:21 Depends on how we're defining 'basic'. Dec 07 04:32:21 I'm not even saying the question is dumb, people are mocked Dec 07 04:32:36 zmisc: True. Dec 07 04:32:45 To use, the Activity life-cycle is pretty basic, right? Dec 07 04:32:51 no matter what as if "they should already know that" Dec 07 04:33:01 Stuff such as Activity.onPause. Dec 07 04:33:11 pfn: some seemingly dumb questions can take a while of googling because you may know the terms required to google, but a beginner may not. Dec 07 04:33:11 yeah Dec 07 04:33:23 us* Dec 07 04:33:41 To a complete noob, it might take time to grasp all of that. Dec 07 04:33:50 Trolling in ##java with basic syntax Dec 07 04:33:50 I have no interest in working with complete noobs Dec 07 04:33:57 I think the smartest (or perhaps 'wisest') noobs will be lazy and ask someone. Dec 07 04:34:25 In fact, smart question askers ask a way-more-basic question than they really have. Dec 07 04:34:38 Because then they get fuller answers (which help them to verify their current understanding). Dec 07 04:34:40 everyone goes into different subjects with varying skill levels Dec 07 04:35:13 hah Dec 07 04:35:15 pfn: me either Dec 07 04:35:17 someone never read esr's smart questions Dec 07 04:35:29 I read that years ago. Doesn't he say something similar? Dec 07 04:35:33 no Dec 07 04:35:35 absolutely not Dec 07 04:35:44 its best to ask specific questions Dec 07 04:35:57 zmisc: Yes, but it's better to pretend you know less than you do. Dec 07 04:36:10 so you get specific and relevant answers Dec 07 04:36:18 it's just scary to dive when you can't see the pool Dec 07 04:36:21 For example, the answerer might assume you know more than you do, and then the answer is harder to apply. Dec 07 04:36:42 It's way better if the answerer assumes you know less than you do. Dec 07 04:36:44 TacticalJoke: so you're supposed fein stupidity? Dec 07 04:36:52 Not stupidity, but ignorance. Dec 07 04:37:04 :/ Dec 07 04:37:23 I don't believe I share that philosophy Dec 07 04:37:43 I'm not saying pretend to be a complete noob when you're not. Dec 07 04:38:12 I'm a pro with alsheimers Dec 07 04:38:13 But pretend to be less wise than you are. Then the answerer won't give you shorthand answers (which you may or may not understand). Dec 07 04:38:32 I thought this was a well-known thing? Dec 07 04:38:40 but when you pretend to be more ignorant you waste the valuable time of the person who is helping you Dec 07 04:38:43 No. Dec 07 04:38:59 You avoid that bad situation where they assume you know more than you do. Dec 07 04:39:20 ask to clarify if needed Dec 07 04:41:18 zmisc: That doesn't work if they assume you know more than you do. Dec 07 04:41:23 http://www.catb.org/esr/faqs/smart-questions.html Dec 07 04:42:28 if you're asking for them to clarify or elaborate you obviously don't match the skill level they assumed and will adjust accordingly Dec 07 04:43:16 zmisc: I think people tend to have biases. Dec 07 04:43:20 zmisc: the problem there is if you *think* you understand something, but you don't, and then work off what you *think* you understand and you could get stuff totally wrong Dec 07 04:43:32 If some noob comes in here and starts talking about something we know about, we naturally think they know it as well as we do. Dec 07 04:43:34 But they don't. Dec 07 04:43:44 SirLagz: Yeah, that's another important point. Dec 07 04:44:13 IMO, it's really, really important not to present as knowledgeable when asking questions. It's just a mistake to do so. Dec 07 04:44:51 definitely. Especially with the way some people react when they discover that you're not as knowledgable as they thought you were Dec 07 04:46:18 well I wouldn't fake my knowledge either. wouldn't it be most wise to act as if you possess the skills that you do actually have? that way nobody is running off false assumptions Dec 07 04:46:35 zmisc: SirLagz's point comes in there: your understanding could be totally flawed. Dec 07 04:46:36 zmisc: you mean the skills that you *think* you have Dec 07 04:47:47 getting heavy in here... must be a Saturday night Dec 07 04:48:33 Also, the Dunning-Kruger effect shows that, in many cases, people think they're way more knowledgeable than they are. Dec 07 04:48:58 capella-s3: sunday arvo where i am :P Dec 07 04:49:16 that's subjective. you can't stop people from being ignorant of their own skills. what if per say you act as if you're more ignorant and they elaborate to great extent on it based on those assumptions… Dec 07 04:49:17 … and they don't understand Dec 07 04:49:17 TacticalJoke: there's a name for that ?!? lol Dec 07 04:49:51 It also talks about people who *are* knowledgeable assuming that others are just as knowledgeable, I think. Dec 07 04:49:55 I bet most people do think they're more knowledgeable than they are Dec 07 04:50:05 Basically, skilled people think they're semi-okay while unskilled people think they're really good. Dec 07 04:50:29 I believe that's true Dec 07 04:50:34 You see it with stuff such as playing the piano. The expert complains about how bad his technique is; the noob thinks he's Mozart. Dec 07 04:51:00 TacticalJoke: I'm going to need to remind myself to read up on that lol Dec 07 04:51:15 This article was good the last time I read it, AFAIR: http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect Dec 07 04:51:34 TacticalJoke: thanks! :) Dec 07 04:51:35 :) Dec 07 04:51:53 * SirLagz goes back to whipping up some code before going out to lunch Dec 07 04:52:04 :) Dec 07 04:52:13 mmm lunch Dec 07 04:52:30 midnight snack here :D Dec 07 04:53:14 I get bipolar... when I fix stuff I'm a friggin God... when I get stuck I'm a complete fraud and *everyone knows* XD Dec 07 04:53:34 could be worse Dec 07 04:53:40 in fact it probably will be Dec 07 04:53:44 that's life Dec 07 04:53:44 capella-s3: This is interesting: http://en.wikipedia.org/wiki/Impostor_syndrome Dec 07 04:53:58 yep thats tbe thibg Dec 07 04:54:02 :) Dec 07 04:54:51 why do they call it impostor syndrome? Seems like 'fraud syndrome' would be mor accurate Dec 07 04:54:56 In IT one must temper the ego Dec 07 04:56:44 OK, so I'm pretty sure I have a good grasb of the basic of Android Development now Dec 07 04:57:09 I'm very glad that I learned web development first, before trying android. Dec 07 04:57:17 anyone know how i would do this in rx: fire off query (async) get result back as a set, and then use that to filter items from another observable? Dec 07 04:57:44 what does rx mean? Dec 07 04:58:41 .filter() just takes a predicate, so i don't think thats what i want ... otoh the query has to complete before the other observable begins to emit so that certain things can be dropped Dec 07 04:58:58 i'm stuck at rx 101 :( Dec 07 05:00:42 what is rx? Dec 07 05:00:46 rxjava Dec 07 05:01:00 * g00s wishes they had irc :( Dec 07 05:01:07 reactive exts? Dec 07 05:01:30 google tells me thats xamarin Dec 07 05:01:38 so what's the advantage of using this library? Dec 07 05:01:49 or whatever they call it in java, package? Dec 07 05:02:32 Is this kind of like promises? Dec 07 05:03:47 "The Play Store is finally going to enable a method to offer discounted purchases." Dec 07 05:03:57 omg! finally ! Dec 07 05:04:48 Hey guys, I'm struggling with EditTexts in a listview. I want to get their values and save them, preferably when they lose focus. Is there a recommended way of doing this? Dec 07 05:05:29 can you put editTexts in a listview O.o Dec 07 05:05:37 helichopter well you can set up a recycler listener Dec 07 05:05:56 your last chance to do somethng with that view before it goes into oblivion Dec 07 05:06:00 uh, or gets recycled Dec 07 05:06:39 g00s: so every time the view is about to get recycled, I save the text value? What about if the listview is short and I don't even need to to recycle views? Does the recycle method get called when I exit the activity? Dec 07 05:06:58 helichopter thats what i observed, for listview anyhow Dec 07 05:07:05 i haven't tested much with recyclerview Dec 07 05:08:17 g00s: thanks, I'll give it a try Dec 07 05:10:36 g00s, is there a collect in ex? Dec 07 05:10:38 rx Dec 07 05:10:46 pfn yeah Dec 07 05:11:02 https://github.com/ReactiveX/RxJava/wiki/Mathematical-and-Aggregate-Operators#collect Dec 07 05:11:05 Oh, you want to use the set as a predicate Dec 07 05:11:40 right, if its in the set, it gets filtered out Dec 07 05:12:17 capella-s3, couldn't get qicr to work? 😠 Dec 07 05:12:23 basically, the user saves a number of BT devices in db. when they want to find more, i'd like to filter out the ones already known Dec 07 05:13:20 g00s, anyway, some variation of flatMap and filter should do what you want Dec 07 05:13:45 ok thanks. flatmap ftw Dec 07 05:13:48 or just map Dec 07 05:14:21 g00s, learn a functional language, and going back to rx looks easy Dec 07 05:14:58 all the little rx operators are simple to understand, putting together a nontrivial pipeline is not my strength atm Dec 07 05:15:12 yeah, if i knew functional it would be easier Dec 07 05:16:11 pfn: not for freenode yet... just got back from moz portland and haven't tinkered yet Dec 07 05:16:55 capella-s3, I tried freenode, setting username=nick and password got me in ok Dec 07 05:17:27 sighs... gimme sec :p Dec 07 05:18:46 * zmisc is off to dreamland see you later dude Dec 07 05:24:31 hey capella-s3 Dec 07 05:24:36 hey pfn, g00s Dec 07 05:24:40 whats cookin? Dec 07 05:24:45 hey napalm Dec 07 05:24:56 hey Napalm , oh just getting beaten up by rx again Dec 07 05:25:02 * Napalm smiles, dropping the letter g makes me feel cool and hip Dec 07 05:27:38 g00s: it does that to everyone Dec 07 05:29:16 omg Dec 07 05:29:18 "Whereas a paramorphism models primitive recursion over an inductive data type, an apomorphism models primitive corecursion over a coinductive data type." Dec 07 05:29:24 Damn toilet is blocked. Dec 07 05:29:24 who dreams this shit up Dec 07 05:29:26 lol Dec 07 05:29:30 try { ... } finally { flush(); } Dec 07 05:30:32 * Napalm watches flush() throw IllegalBlockingException(wastePlumbing); Dec 07 05:31:28 Napalm reading a book? article ? Dec 07 05:31:44 just looked up some things onm Dec 07 05:31:48 on wikipedia Dec 07 05:32:00 lol Dec 07 05:34:35 bah I just failed to move some heavy tasks to the background :( Dec 07 05:34:55 shmool: did you hurt your back? Dec 07 05:35:03 :) Dec 07 05:35:08 stupid concurrency Dec 07 05:36:46 I think addTextChangedListener is trying to setAdapter before the task ends Dec 07 05:39:08 oh well maybe I'll just run it on ui and cover it all up with a splashscreen ;) Dec 07 05:43:07 or maybe I should try old school thread instead of Asynctask Dec 07 05:43:53 Asynctask seems to be behaving randomly Dec 07 05:48:44 nighty night everyone Dec 07 06:08:50 What is the proper way to display Latex in a view? Dec 07 06:09:07 lol Dec 07 06:09:20 setLatex() of course Dec 07 06:16:40 is that a thing? Dec 07 06:18:43 ah, fonts stuff Dec 07 06:18:50 I want to understand how GCM decides which app to send the notification to ? or basically which app's broadcast receiver to execute? cuz when I try to have same broadcast receiver with same action, category in 2 apps, it triggers the correct one only. Dec 07 06:20:06 also is it possible to execute the broadcast receiver of a particular app ? Dec 07 06:35:09 how does gcm know? it targets your package Dec 07 06:35:11 duh Dec 07 06:50:37 is there a way to force a device to boot normally, and not in 'safe mode'? Dec 07 06:59:14 don't hit ctrl-f8? Dec 07 07:04:15 a phone im talking about Dec 07 07:04:41 this phone has a non working volume down key, so android boots into 'safe mode' which wont let you install any apps etc Dec 07 07:10:56 how come a non working volume down key can cause that Dec 07 07:12:54 Does anyone know of any good Symbolic calculus libraries I can use for my calculator in Java? I want the user to be able to input a function such as 4x^2 as the input, and get the derivative (8x) as its output. Dec 07 07:16:09 Sculptor: good question. Dec 07 07:17:04 Hey , on pressing a button , I wanted the scrollview to scroll to scroll to top and I used scrollview.fullScroll(view.FOCUS_UP) but sometimes it doesn't work , any alternative forthis Dec 07 07:17:06 Sculptor: this is the only thing i can see that would be causing it. all the other hardware works fine. Ive even replaced the button and flex, but it still doesnt work, so it must be an issue somewhere else on the board maybe Dec 07 07:18:31 maybe it's a software issue Dec 07 07:18:38 If I have a service that constantly runs on background in its own thread, is there any value at calling bind service instead of simply calling the getInstance (given I use a factory pattern on the service) ? Dec 07 07:18:41 have you tried unistalling all aps, and wiping out cache Dec 07 07:22:45 its a fresh CM install Dec 07 07:22:51 it wont let me install any apps, because of safe mode Dec 07 07:23:26 wishie: did you try #cyanogenmod ? Dec 07 07:23:34 i am in there too Dec 07 07:32:19 I don't get why would I bind to a service instead simply called getInstance ? can someone explain me the subtility :) Dec 07 07:32:36 (talking about a long running service) Dec 07 07:34:00 oh ...mmm ... build crashed on me ... that's unusual Dec 07 07:35:02 meh drats ... this aint moznet ! Dec 07 08:25:42 Oh goody! An email from coca cola entitled "CONFIDENTIAL BUSINESS PROPOSAL PLEASE OPEN ATTACH FILE FOR DETAILS" Dec 07 08:30:49 capella well, what did it say !?!?! Dec 07 08:32:09 g00s: they want his credit card number, ccv and mother's maiden name Dec 07 08:32:17 just to make sure he's who he said he is Dec 07 08:32:20 It's put all my stuff in a secure place and now I need to send them money to unlock it all ... :/ so no one else can break into it Dec 07 08:32:35 seems legit Dec 07 08:32:47 I better do it Dec 07 08:32:59 oh man, cryptolocker ! Dec 07 08:33:13 the un-cola Dec 07 08:34:45 meh ... 3 hours of sleep since Friday ... I oughta crash Dec 07 08:40:34 in ben's rxjava presentation, he has stuff like Observable foo = new Foo().observe() ...... what is this ".observe()" thing ? Dec 07 08:44:20 Sounds like js Dom events getting tossed around java Dec 07 08:51:54 hi - i have an app that establishes a bt connection, i want to play notification sounds when establishing a connection successfully and when a connection error occurs - any suggestions where i get these sounds and what sounds to use? Dec 07 08:53:37 good morning Dec 07 08:54:29 dnl_tp you could use farting noises ... Dec 07 08:54:46 could you record them for me? Dec 07 08:55:01 my dog's are the best Dec 07 08:55:17 i think recording your thoughts might do it (sry) Dec 07 08:57:24 guys, is it possible to spawn a long running native arm app (compiled with NDK) as a background service from regular UI app and manage it? (by managing i mean start/stop, add/remove to/from autostart, basic services stuff without access to android API), just to be clear i'm a beginner with android, so i'm just looking for a way to go (some docs, resources, etc. would be awesome Dec 07 08:57:25 to get) Dec 07 08:57:25 dnl_tp anyhow, srly just google Dec 07 09:02:00 hello Dec 07 09:02:14 anyone? Dec 07 09:05:58 iksik: Nazgul: hi Dec 07 09:06:28 hello thepoosh Dec 07 09:08:50 iksik: what seems to be the issue? you must create a wrapper apk for your code and run it as a service Dec 07 09:09:10 thepoosh: the issue is, i'm a android noob ;D Dec 07 09:09:22 so i know what i need to do but i don't know how ;D Dec 07 09:09:23 well than, learn how to android Dec 07 09:09:44 my googling didn't worked as expected - low google-fu mana perhaps :( Dec 07 09:09:49 what did you expect me to say? Dec 07 09:10:23 do you need any tutorial how to jni? Dec 07 09:10:24 iksik: http://stackoverflow.com/a/7899818/1056359 Dec 07 09:10:27 thepoosh: for example: "Here You go iksik, this is a documentation url which describes how to deal with external processes from inside of regular android backgroudn service" :P Dec 07 09:11:13 there is plenty of documentation on how to start, run and maintain a service in android Dec 07 09:11:16 just read it Dec 07 09:14:24 hm Dec 07 09:15:50 sorry mate, it is what it is Dec 07 09:17:52 ok, that didn't helped, at all ;d Dec 07 09:20:05 iksik: it is possible yes, see IPC and AIDL file Dec 07 09:22:03 Marlinski: thank You Dec 07 09:38:24 Marlinski: hmm, and what if i don't need to exchange any data with external process? Dec 07 10:11:58 http://stackoverflow.com/questions/27338263/how-to-fast-transfer-files-from-server-to-android-phone-with-java?noredirect=1#comment43133524_27338263 Dec 07 11:27:15 dun dun dun Dec 07 11:36:07 da da da Dec 07 11:39:46 hey, I just made a little chrome extension (not yet on the chrome store), no permission requested. It lets you highlight the stats change in the developer console: see http://imgur.com/a/Kskxx for illustration. Feel free to test it, it's very simple at this time (and timestamp is still displayed as EPOCH ^^): https://drive.google.com/file/d/0B6r9cZpRn5qON0RYY2xhcHlQUEU/view?usp=sharing Dec 07 11:40:32 I was a bit tired of andlytics despite I acknowledge the great job, mainly because of more or less recent failures and also because it requests full control of the account Dec 07 11:41:46 everything will be "blue" the first time you use it, because there is no stats referenced, it's normal. Next time the console dev is updated, you will see what changed Dec 07 12:00:41 hello everyone Dec 07 12:01:36 hi Dec 07 12:01:37 I just had a small query, if I want to add support for older version of android like 2.1 then, how can I edit my app accroding to it? Dec 07 12:03:13 specifically the action bar Dec 07 12:07:00 you use compat Dec 07 12:07:02 libraries Dec 07 12:07:03 but dont Dec 07 12:07:08 dont do it Dec 07 12:07:10 let them die Dec 07 12:07:26 hi lasserix, how are you? Dec 07 12:07:59 good Dec 07 12:08:00 you? Dec 07 12:08:06 I am good Dec 07 12:08:23 should I specify the min sdk as 8 or seven then? Dec 07 12:10:04 Hello Dec 07 12:10:37 Sorry for the disturbing, I have some problems about initializing my EGL context with NDK Dec 07 12:10:49 I have a black screen, and I should have a white one Dec 07 12:11:08 Here is the code : Main.java http://sprunge.us/dNbd?java Dec 07 12:11:09 gourabmahapatra_: specify the minSDK you want to use Dec 07 12:11:15 Renderer.cpp : http://sprunge.us/DBQe?cpp Dec 07 12:11:21 nativeRenderer.cpp : http://sprunge.us/YJeh?cpp Dec 07 12:14:29 ok, but in the manifest.xml file there is no option at all? Dec 07 12:15:18 It is Dec 07 12:15:25 minSdkVersion="14" Dec 07 12:16:02 there is* Dec 07 12:16:26 gourabmahapatra_: 2.1 Dec 07 12:16:28 tho Dec 07 12:16:29 2.3 Dec 07 12:16:32 is probably bare min Dec 07 12:16:37 2.1 is too old dont bother Dec 07 12:16:40 seriousily, dont. Dec 07 12:16:50 and please dont support these Dec 07 12:17:01 the longer we supprt them as developer the longer they'll plague us Dec 07 12:17:06 let them die! Dec 07 12:17:17 gourabmahapatra_: you dont' set it in manifest anymore you set iin build.gradle Dec 07 12:17:26 if using Android studio Dec 07 12:22:32 okay, published to chrome store: https://chrome.google.com/webstore/detail/enhanced-developer-consol/djoghnkbhcnonnmcpnlfbkokgdmgamog (MIT License) Dec 07 12:22:39 aahh, yes. I found that under the configuration section of build.gradle Dec 07 12:23:06 adq: no screenshot, no download :p Dec 07 12:23:17 yeah it's fresh, will do that soon :) Dec 07 12:23:25 danijoo, http://imgur.com/a/Kskxx Dec 07 12:23:31 for quick illustration purpose. Dec 07 12:23:47 @lasserix: can you tell me what is the api version of gingerbread? Dec 07 12:23:53 2.3? Dec 07 12:23:56 No one cans give me a hint ? Dec 07 12:24:29 gourabmahapatra_: google.. Dec 07 12:25:30 some one help me understand uses-feature and uses-permission please Dec 07 12:25:49 uses-feature should be used along with uses-permission or what Dec 07 12:26:07 like i need a permission telephony but not necessary Dec 07 12:26:31 uses-feature android:required="false" will do the job Dec 07 12:26:35 t2mkn: uses-feature is an indicator if the phone can run the app Dec 07 12:27:08 like uses-feature for telephone will make the app not show up on tablets play store because you cant phone with them Dec 07 12:27:20 danijoo: so i have to use Dec 07 12:28:22 dunno Dec 07 12:28:29 never tried to use that permission Dec 07 12:28:30 danijoo ya thats the problem with my app. i want it to be available for tablets too Dec 07 12:28:56 t2mkn: then you have to remove the uses-feature Dec 07 12:29:12 but keep the permission to use the feature on telephones Dec 07 12:29:26 danijoo uses-permission is actually blocking the app for tablets Dec 07 12:29:33 1 Year ago I published an app which I thot was not going to go anywhere but it took off and is now somewhat popular. Now I wan't to update less permissions, performance, ui etc.. I would have way more work if I went and worked with the source code from then. I still have the key store key :? Can I ditch the old source code and recreate the application same package name ofc. Just brand new project from eclipse and use the original Dec 07 12:30:43 neredsenvy: yes, you can recreate the app completly from scratch Dec 07 12:30:44 yes neredsenvy Dec 07 12:30:52 just keep the same package name and key Dec 07 12:30:55 as long as you keep the same packagename Dec 07 12:31:09 and the key from the original ? Dec 07 12:31:10 t2mkn: uses feature determines what devices either need or dont need some feature Dec 07 12:31:14 neredsenvy: yes Dec 07 12:31:16 permission is what your app uses Dec 07 12:31:21 the key is important if you don't want your users to be warned Dec 07 12:31:28 which is really annoying or suspicious :) Dec 07 12:31:29 eg feature might be telophony, permission might be read SMS Dec 07 12:31:46 adq: i think the key is also neccessary for play store to accept it a an update Dec 07 12:32:04 maybe they changed something, but i never lost my keys (yet) Dec 07 12:32:13 Ok I have the key from original app I backed up that thing to 5 places xD Good to hear I can remake the app. I will have to document this code. Dec 07 12:32:13 lasserix yes, so if i dont need telephone always. so i should keep uses-feature require false Dec 07 12:32:35 yeah exactly Dec 07 12:32:40 that way it'll make it avail to tabelts Dec 07 12:33:22 When I first released the app I was like well maybe I and few close friends will use it I never imagined it growing into 4 digits xD Especially since apart from a small facebook post I didn't really advertise it xD. Dec 07 12:33:58 ...... why the NDKis so bad documented ? I'm looking for Android::GetSingleton Dec 07 12:34:13 neredsenvy: what app? Dec 07 12:34:39 It's just a local app to my country showing local ATM's Dec 07 12:34:46 ah Dec 07 12:34:49 nice Dec 07 12:35:06 lasserix got it. trying now. what about supports-screens tag. necessary or not ? Dec 07 12:35:22 uhh not sure have not used google it Dec 07 12:35:34 t2mkn: not neccessary Dec 07 12:35:37 No money from it but that's not really what I was aiming for was to be a good reference and with those numbers it's a pretty neat thing to put down on a list. Dec 07 12:35:41 android:anyDensity="true" Dec 07 12:35:42 android:xlargeScreens="true" Dec 07 12:35:42 android:largeScreens="true" Dec 07 12:35:42 android:normalScreens="true" Dec 07 12:35:42 android:smallScreens="true" Dec 07 12:35:43 android:resizeable="true" Dec 07 12:35:43 /> Dec 07 12:35:47 oops Dec 07 12:36:03 danijoo ok. i have added that any way. lets see. Dec 07 12:36:25 you can do it to precent installation on devices that are not listed in it Dec 07 12:36:43 if you dont add it, it just means that you support everything Dec 07 12:40:45 ... EGL is very complicated Dec 07 12:46:19 cool: just to inform that uses-feature "false" for telephone worked. its not available for tablets. danijoo lasserix thanks :) Dec 07 12:46:51 *sorry its now available for tablets Dec 07 12:51:14 please, where can I find the ndk's function documentation ? Dec 07 12:51:38 there is nothing useful on docs/ folders Dec 07 12:54:08 whats the proguard minifyme fix? Dec 07 12:55:47 Is it possible to have two layouts for one app. For instance if device is running < A4.x it would use standard blank layout... but if it's >= A4.x then it uses Flow Layout Dec 07 12:56:30 what is A4.x? Dec 07 12:56:32 This way there would not be a conflict but would that compile/run since flow layout is still included in the app once ran on a 2.3 device Dec 07 12:56:47 Android 4.0, 4.1, 4.2.2 .. Dec 07 12:56:50 oh Dec 07 12:56:51 yes Dec 07 12:57:20 you have a default layout folder "layout" thats used for layouts Dec 07 12:57:46 if you add another folder and name it something like layout-v15, this will be used for devices with api level >= 15 Dec 07 12:58:07 neredsenvy, http://developer.android.com/guide/topics/resources/providing-resources.html Dec 07 12:58:18 That is so cool ty. Dec 07 13:01:29 I'm overriding getView(). I want to work out if I need to create a new view by comparing if the layout used on the cached view is correct or not. How can I? Dec 07 13:01:53 ej: (cachedView == null) Dec 07 13:02:34 danijoo: that still leaves views that aren't null but have the wrong layout Dec 07 13:02:45 hello android, god bless you ;) Dec 07 13:02:51 ej if you want to handle multiple layouts implement getViewType() Dec 07 13:03:11 then you will always get the correct view Dec 07 13:04:28 do you mean create my own subclass of view that tracks the type? Dec 07 13:04:32 no Dec 07 13:05:01 lets say you have 2 different views, then you implement getViewTypeCount() and let it return 2; Dec 07 13:05:26 danijoo, http://i.imgur.com/UPka4hP.png :) adding screenshot right now Dec 07 13:05:35 and you implement getItemViewType(int position) that takes the current list position and returns either 0 or 1 depending on what view you want Dec 07 13:05:44 Do we have anything similar to momentJS on Android? :) Dec 07 13:05:58 ok, so I have a strange issue with my app.. Im starting to think its ROM related...what appears to cause my app to crash is "Could not find method android.widget.DatePicker.callOnValueChange" Dec 07 13:05:59 then the adapter will recycle the view for that two indepentendly and all you need to check is if(view==null) Dec 07 13:06:09 now, this is only happening on MIUI ROM based on Android 4.4.4 Dec 07 13:06:23 CM11 Based on Android 4.4.4 works fine Dec 07 13:06:35 thanks Dec 07 13:06:41 and MIUI based on 4.2.x and 4.1.x work fine.. and Android 4.0.x also works fine. Dec 07 13:06:58 ej, you need to tell the adapter which type (which is just arbitrary number) your content is Dec 07 13:07:07 how do I tell it? Dec 07 13:07:09 ej, that makes sure you're never getting wrong view in cachedView then Dec 07 13:07:30 "if (thingAtPositionHasViewA) return 1" Dec 07 13:07:39 "if (thingAtPositionhasViewB return 2" Dec 07 13:08:00 you just have to return different number for each different type of view you have Dec 07 13:08:03 details of the crash can be seen here: http://pastebin.com/yX74wBaQ Dec 07 13:08:48 I don't know how to get the type of view to differentiate them Dec 07 13:09:00 wishie: sounds rom dependend Dec 07 13:09:02 ej, uh Dec 07 13:09:09 especially since its a NoSuchMethodError Dec 07 13:09:10 ej, how don't you know that? Dec 07 13:09:26 danijoo: i agree, but i thought the datetimepicker was standard across the board.. Dec 07 13:09:32 ej, you said yourself that you have different views in getView Dec 07 13:09:42 ej, how do you know there? it's the EXACT same API. Dec 07 13:09:51 I'm creating the view by inflating layoutA or layoutB Dec 07 13:09:52 wishie: until someone decide to fuck arround with the source, yes :p Dec 07 13:09:53 is it something the ROM maker could 'forget' to include? Dec 07 13:10:34 he could have changed it in the rom for example Dec 07 13:10:42 ej, yes. Dec 07 13:10:42 rename it, removed it, whatever Dec 07 13:10:48 ej, so how do you know when to inflate A or B? Dec 07 13:11:14 by the content of the item at the position Dec 07 13:11:19 ej, exactly. Dec 07 13:11:35 ej, so do the same thing in getViewType :P Dec 07 13:11:47 just instead of inflating view just return a number that represents either "A" or "B" :) Dec 07 13:11:52 getItemViewType? Dec 07 13:12:23 yes, you need to implement getItemViewType(position) and getViewTypeCount() Dec 07 13:17:17 is there a way to set an onClick or onTouch listener for a table COLUMN? I could set a listener for every cell instead but that sounds stupid. Dec 07 13:18:51 that seems to work, thanks Mavrik, danijoo Dec 07 13:18:58 ok, i just tried a random "Reminder" app with a datepicker.. same crash Dec 07 13:18:59 np :) Dec 07 13:19:04 so now im 99% sure its the ROM Dec 07 13:27:36 Is there any way to know when brightness/sound level changes? Any broadcast (For API 16+) Dec 07 13:30:02 astroduck: not with broadcast, but something similar https://stackoverflow.com/questions/6896746/android-is-there-a-broadcast-action-for-volume-changes Dec 07 13:33:00 Ashiren: Are ContentObservers reliable? Because I was using themto track LG QPair's properties and they sometimes fail to observe the change. QPair works over bluetooth, I'm not sure how well they work on same device Dec 07 13:45:37 @lasserix: thanks for the info, but I have created a custom xml file for creating some actions as mentioned in the tutorial, but its shows me "should use app:showAsAction with the appcompat library with xmlns:app="http://schemas.android.com/apk/res-auto" ", why is that ? Dec 07 13:47:21 @lasserix: I have mentioned that this app's min sdk will be 11 i.e, gingerbread. and I didn't change anything else as mentioned in the tutorials that if you want to use android 2.1 and above then you have to change the statement there... Dec 07 13:51:00 @lasserix: can you please check if this is correct? link: "https://gist.github.com/anonymous/18754846d841c09f2979" Dec 07 14:01:11 dunno if you can use some app compats with .21 Dec 07 14:01:13 Hello I have downloaded the android bundled SDK adt-bundle-windows-x86_64-20140702.zip but when trying to use it I get this error http://imgbin.org/index.php?page=image&id=21235 , I've searched for solutions and none is working for me. Please help Dec 07 14:01:14 2.1 Dec 07 14:01:38 dunno that compile 'com.android.support:appcompat-v7:21.0.2' and minSdkVersion 11 are compatible Dec 07 14:02:19 epinky, if you're starting I suggest moving to Android Studio Dec 07 14:03:14 TaxmanBD: I'm taking the google starter free course in udacity Dec 07 14:04:36 @lasserix: It's compile 'com.android.support:appcompat-v7:21.0.2', I guess that is for the target SDK? Dec 07 14:04:55 @lasserix: which is API 21... Dec 07 14:07:31 TaxmanBD: going through this course, they always souligne that one should have 3 years of experience programming with java, why is java knowledge needed? android is java-based? Dec 07 14:07:54 epinky: android apps are mostly Java. Dec 07 14:08:28 epinky, yes to develop android, you're gonna need to know Java Dec 07 14:08:53 Hey guys I've got a question for you Dec 07 14:09:11 epinky, but 3 years seems exagerated, I'd say few months can get you going already Dec 07 14:09:13 quelqun_dautre: oue, but if I learn(trying hard) android I could learn Java also? Dec 07 14:10:51 I have created a Facebook share class following their official tutorial Dec 07 14:11:06 and I have also added a share button in my main.xml with an onClick listener Dec 07 14:11:33 My issue is that I want to create that onClick handler on my MainActivity.class Dec 07 14:12:02 or if possible write the button's onClick method inside the Facebook.class Dec 07 14:12:30 so my main.xml runs with main class but i want that specific element to have a click handler listening for it inside the other class: Facebook.class Dec 07 14:12:32 is this possible ? Dec 07 14:57:31 went to download crashlytics and fuck Dec 07 14:57:32 I'm using someone elses Service inside an IntentService I created. They say you have to disconnect from their Service when the IntentService is destroyed - which I'm doing - but Android Studio is saying there is a 'leak' from their Service now. Dec 07 14:57:34 looks like it got janked Dec 07 14:57:50 I'm not exactly sure what that means. Dec 07 14:58:08 you are using another apps service in your intent service? Dec 07 14:58:14 do you bind to their service? Dec 07 14:58:55 I just create a new instance of it, and then use the .connect() method Dec 07 14:59:25 what do you mean you create a new instance of it? Dec 07 14:59:25 and in the onDestroy callback of my IntentService I call .disconnect and set the instance equal to null Dec 07 14:59:40 what does "create" a new instance of theirservice mean in code? Dec 07 14:59:44 orderConnector = new OrderConnector(this, account, null); Dec 07 14:59:56 and orderConnector extends from service? Dec 07 15:00:05 orderConnector.connect(); Dec 07 15:00:25 you do know you cannot do = new ServiceOfAnyKind Dec 07 15:00:35 you have to bind to it Dec 07 15:00:40 use a serviceConnection Dec 07 15:00:51 and it returns you a binder which can be the service itself or something else Dec 07 15:00:51 I'm not sure, I haven't read through their code. I guess I'm using Service incorrectly. Dec 07 15:00:59 post your code? Dec 07 15:01:00 yeah Dec 07 15:01:08 have you noticed you never do = new Activity() Dec 07 15:01:25 same is true for services Dec 07 15:01:29 you have to use a serviceConnection Dec 07 15:01:39 and their service is in another app entirely ? Dec 07 15:01:50 meaning you dont have the source code in your app for their service? Dec 07 15:01:51 Well, in their examples, they do the exact same thing I do. The only difference is they are using an AsycTask inside the Activity Dec 07 15:01:59 ] Dec 07 15:02:04 I just wanted to move it into an IntentService Dec 07 15:02:17 it works fine, just gives me that warning. Dec 07 15:02:29 can you post some code or link to the example? Dec 07 15:02:35 it must not be a real service Dec 07 15:02:37 guys is it wise to use sugar ORM? is there anything easier and simpler Dec 07 15:02:55 sometimes peekService(), run in alarm broadcast receiver, returns null when the service is running (the service is connected to internet server and i see messages from before and after the failed peekService call). any idea what can be happening here? Dec 07 15:02:57 for instance: https://github.com/clover/android-examples/blob/master/paywithregisterexample/PayWithRegisterExample/src/main/java/com/clover/example/paywithregisterexample/MainActivity.java Dec 07 15:03:07 meadhikari: realm.io ? maybe Dec 07 15:04:01 meadhikari, I used SugarORM for the project I'm currently working on, but there was no built in way to get a cursor from the database, so I found it easier just to write all the SQL by hand - with the help from a book of course. Dec 07 15:04:24 It took a few hours, but I think it's worth it. Dec 07 15:04:55 My method calls are about on par with the simplicity or SugarOrms I would say too, once I wrote a helper class Dec 07 15:05:02 or = of Dec 07 15:05:03 oddalot: yeah orderconnector is a servic Dec 07 15:05:05 ]e connector Dec 07 15:05:14 ORMLite has build in CursorAdapters Dec 07 15:05:46 Honestly after reading through ORMLite it seemed like more trouble that it's worth just to write it by hand. Dec 07 15:06:21 I had to have some books and docs to help, it's a lot of boilerplate for sure, but it seems like an easier solution once you put in the initial work. Dec 07 15:06:33 took me 2 hrs to migrate and never looked back. But i think its a matter of taste Dec 07 15:07:32 I think its really sucks that sugarORM forces you to extend their classes (SugarRecord) Dec 07 15:07:35 lasserix, so in my IntentService I'm calling disconnect in the onDestroy() callback Dec 07 15:07:36 thats a nogo for me Dec 07 15:08:13 but i'm getting the warning about the leak, guess I don't understand Java well enough to get an idea of what's going on. Dec 07 15:08:41 are you sure ondestroy is being called? Dec 07 15:09:01 ormlite or sugarorm which is the way to go guys? Dec 07 15:09:09 flip a coin! Dec 07 15:09:19 try both and choose what you like Dec 07 15:09:25 thats the only way to decide Dec 07 15:10:14 flipped a coin going with SugarORM for now, thanks for the help guys Dec 07 15:11:11 yeah, I put in a Log.d and it printed out inside onDestory Dec 07 15:13:37 hmm Dec 07 15:13:54 doesn't really matter if it is leaked in onDestroy since it means the process is killed Dec 07 15:13:56 wh Dec 07 15:14:06 why not just disconnect at the end of your work in the intent service instead? Dec 07 15:14:13 Yeah, that's what I was thinking, but I just wanted to make sure. Dec 07 15:14:38 I actually did do that, it still leaks no matter where I call disconnect. Dec 07 15:15:00 ]it leaks when you call disconnect? Dec 07 15:15:01 But it's getting destoroyed correctly no matter how I disconnect anyway according to my tests Dec 07 15:15:23 Yeah, it's weird. I don't think I understand what's going on really. Dec 07 15:15:49 I'm thinking after a couple more weeks of studying java and looking through their source code I will know what is up. Dec 07 15:16:12 can you post your code? Dec 07 15:16:16 I come from a JavaScript background so I'm not used to memory leaks. Dec 07 15:18:43 I can post one method I guess... Dec 07 15:19:11 http://pastie.org/9766129 Dec 07 15:20:29 Today is the day gentlemen. The day I finally go back to the gym and get in shape. Dec 07 15:21:28 oddalot: Best of luck! Dec 07 15:21:50 thanks astroduck Dec 07 15:21:54 hehe Dec 07 15:22:01 what's the method? Dec 07 15:22:19 protip: run half a mile before you weight lift, and up to 2 or 3 miles after you finish weight lifting Dec 07 15:22:31 idea is your body is not a collection of muscles, but in reality one muscle Dec 07 15:22:32 oh yeah? why is that? Dec 07 15:22:42 cool, thanks. Dec 07 15:22:49 by doing running like that you are letting your body work as that "one" muscle Dec 07 15:22:50 I used to actually run a lot. Dec 07 15:22:55 which helps balance, stretch, etc Dec 07 15:22:59 But silicon valley has made me lazy Dec 07 15:23:11 plus i think it helps make you more lean when lifting Dec 07 15:23:18 if you can you should do some yoga in the morning Dec 07 15:23:26 that shit gets you ripped Dec 07 15:23:28 err cut Dec 07 15:23:29 i should say Dec 07 15:23:30 I HATE yoga Dec 07 15:23:37 it's so boring Dec 07 15:23:39 which kind? Dec 07 15:23:46 obv you haven't been doing the right kind Dec 07 15:23:49 just like hatha yoga i guess Dec 07 15:24:10 i'm just so inflexible and don't like doing static exercises Dec 07 15:24:16 that's why i like running Dec 07 15:24:19 ahh Dec 07 15:24:19 or did... Dec 07 15:24:26 kundinlini is good and i like ashtunga Dec 07 15:24:42 have you tried that bikrram? Dec 07 15:24:42 oh yeah, i went to my first kundilini class the other day Dec 07 15:24:56 but it wasn't really stetches and poses, we just meditated Dec 07 15:25:16 good way to start Dec 07 15:25:20 got to get the breathing down first Dec 07 15:25:22 its key Dec 07 15:25:26 to yoga and all exercise really Dec 07 15:25:45 bikrram seems like too much hastle, plus i'm from the south originally so i don't care to be in heated places. i lived in heated muggy places Dec 07 15:25:56 yeah thas why i never went for it Dec 07 15:26:49 I don't know, I'm just not that interested in much of the stretching and meditation really....it seems cool...but I like to keep things simple and running and just some basic weight stuff seems plenty for me Dec 07 15:27:57 anyway, peace out, thanks for the help! Dec 07 15:29:39 oddalot: are you throwing one of those exceptions? Dec 07 15:29:53 that method doesn't show much about the memory leak ;p Dec 07 15:31:45 I'm making a custom video player for API 16+ and using MediaMetadataRetriever.METADATA_KEY_VIDEO_ROTATION to orient activity properly, but that is available only in 17+. How is rotation done properly below API 17? Dec 07 15:41:23 I’m trying to connect to adb over wifi, I get a “unable to connect” message on a mac and win8 (currently installing adb in linux). I see that I’m listening with netstat -n|grep 5555 (on device), but nothing can connect to it, any ideas? Dec 07 15:50:15 how are you enabling adb over wifi&did you authorize your pc to connect to device on device with usb before enabling wifi Dec 07 15:51:01 fucking using next in xml between edit text causes inputwarning anyone deal with this shit before? Dec 07 15:51:20 acovrig: can you connect via usb? Dec 07 16:07:47 oddalot, javascript has lots of memory leaks Dec 07 16:08:11 they make webapps slow Dec 07 16:13:07 Hello. Dec 07 16:14:30 Hello, Unknown0BC. Type your question, or hit 'q' to quit. Dec 07 16:14:55 TacticalJoke dot com. Dec 07 16:16:54 :) Dec 07 16:20:03 Hmm. I can't tell whether a class that wraps another class and uses forwarding methods violates the SRP. Dec 07 16:20:24 Like, it doesn't seem to violate if it has a "getWrappedWhatever()" method. Dec 07 16:20:58 But if it instead has "foo() { return wrappedWhatever.foo(); }" stuff all over the place then I can't tell. Dec 07 16:22:01 It seems to have "two reasons to change" in that case. Dec 07 16:22:11 Problem is that *not* doing this leads to ugly client code. Dec 07 16:23:06 ETA for your reddit client release TacticalJoke ? :) Dec 07 16:23:57 System.currentTimeMillis() + n Dec 07 16:24:04 :D Dec 07 16:24:13 :) better than "ASAP" Dec 07 16:24:48 I'm hoping for "a few months". God knows, though. Dec 07 16:25:01 I hear that AS is possibly about to become 1.0. Dec 07 16:25:28 it's rc4 now Dec 07 16:25:58 true Dec 07 16:26:23 This is the indication that it might be about to be released: https://www.reddit.com/r/androiddev/comments/2ojakm/next_android_studio_update_to_be_10_stable/ Dec 07 16:26:54 no it isn't - that's a reddit thread Dec 07 16:27:08 s/is/contains/ Dec 07 16:27:34 I am releasing my reddit client tomorrow. Dec 07 16:27:52 O rly. Dec 07 16:28:10 just teasing ;) Dec 07 16:28:19 * Unknown0BC laughs like a goblin Dec 07 16:30:14 On a side note, Google's "change screen" is you gee el why. Dec 07 16:36:26 @lasserix: I am on this page here: "http://developer.android.com/training/basics/actionbar/adding-buttons.html", the concept of adding an up button..and I a confused on the part - enabling up button just below the manifest file section on the page... Dec 07 16:36:58 Damn I have to go. Dec 07 16:37:02 \0 Dec 07 16:37:15 thanks for sitting there and staring at me, I got all my answers... Dec 07 16:40:02 Isn't pairing enough to talk to another Bluetooth devuice? Is there a connect step after the pair? Dec 07 16:40:58 gourabmahapatra_: What is your question? Dec 07 16:42:01 I am unable to get the showing up button in the action bar portion in the tutorials: "http://developer.android.com/training/basics/actionbar/adding-buttons.html" Dec 07 16:42:56 hi I want to populate a list view with a custom adapter, but the adapters "getView" is never called, any idea why? http://pastebin.com/9fzJR2Y9 Dec 07 16:44:36 whatitis, lasserix: yes, I can access it over USB without any problems; for wifi, I tried just the adb tcpip 5555, then tried using a few apps (https://play.google.com/store/apps/details?id=com.rockolabs.adbkonnect), (https://play.google.com/store/apps/details?id=com.ttxapps.wifiadb), and lastly (https://play.google.com/store/apps/details?id=za.co.henry.hsu.adbwirelessbyhenry), if it’s a root issue; but it doesn’t connect, I can run netstat -n|gre Dec 07 16:44:36 5555 on the android to see that I’m in-fact listening on 0.0.0.0:5555 Dec 07 16:45:31 DarsVaeda: Are you certain it's not being called? Dec 07 16:45:38 darsvaeda, you may need to override getCount Dec 07 16:45:47 I tried to put a break on line 45 but it never gets there Dec 07 16:46:10 Try this: Log.d("DarsVaeda", "I got called."); Dec 07 16:46:24 where? Dec 07 16:46:27 At the top of getView. Dec 07 16:46:36 okay I'll try :) Dec 07 16:46:38 Or you could try "Log.e". Dec 07 16:46:40 More noticeable. Dec 07 16:46:50 DarsVaeda: Either the ListView isn't part of the content view, the adapter isn't being set, or the adapter is empty Dec 07 16:47:29 @TacticalJoke: can you please check this code at the bottom of the link.. Dec 07 16:47:31 http://pastebin.com/qWsPrSfn Dec 07 16:48:32 TacticalJoke, not seeing anything in the log Dec 07 16:49:00 gourabmahapatra_: Are you also calling "setDisplayHomeAsUpEnabled"? Dec 07 16:49:10 Wait, you are. Never mind. Dec 07 16:50:09 gourabmahapatra_: The up button is no more Dec 07 16:50:12 DarsVaeda: If you're not seeing it even with "Log.e", see SimonVT's answer. I'm guessing you're not adding anything to the adapter. Dec 07 16:50:12 Material design and all that Dec 07 16:51:14 My money is on an exception being thrown before the adapter is set Dec 07 16:52:00 (Oops, I should say "adding anything to the adapter's data source".) Dec 07 16:52:08 Ah wait, hah Dec 07 16:52:19 Yeah, the adapter is empty Dec 07 16:52:43 DarsVaeda: Extend BaseAdapter, implement it properly Dec 07 16:52:59 hmm okay Dec 07 16:53:09 gourabmahapatra_: What's happening? Is the up thing showing but not doing anything when clicked? Dec 07 16:53:17 the tutorial said don't extend base its easier ^^ Dec 07 16:53:22 DarsVaeda: Which tutorial? Dec 07 16:53:26 That tutorial sucks Dec 07 16:53:36 ArrayAdapter is just a thin (and lame) subclass of BaseAdapter. Dec 07 16:54:21 My feeling is that ArrayAdapter exists only as a convenience thing for really simple lists. Dec 07 16:55:05 TacticalJoke, my play balance was expiring, I just bought bacon reader 😛 Dec 07 16:55:05 Anyone got a link on how to render a spherical looking ball with drawables? Dec 07 16:55:18 lasserix, layer list Dec 07 16:55:19 Aww, you should've waited. :p Dec 07 16:55:31 Then again, if it was expiring... Dec 07 16:55:34 pfn you know of a example online? Dec 07 16:55:34 ArrayAdapter is awesome, as long as you never subclass it Dec 07 16:55:57 lasserix, nope, but just layer circles atop each other Dec 07 16:56:23 lasserix, or maybe a circular gradient Dec 07 16:58:48 SimonVT, only if you ever want to display a list of static items Dec 07 16:58:55 textual items Dec 07 16:58:59 never awesome... Dec 07 16:59:32 once again, another examples of tutorials giving the wrong idea Dec 07 17:03:17 ah it was even easier than extending...hopefully...as simonvt said I didn't populate it properly Dec 07 17:05:18 are toasts styled in material? Dec 07 17:05:22 are any of you from scotland? Dec 07 17:05:41 I do need a root app for adb over wifi on 4.3, right? Dec 07 17:05:57 no? Dec 07 17:07:46 pfn you use crashlytics? whats up with the whole fabricness? Dec 07 17:08:05 no, I dont Dec 07 17:08:17 lasserix: Aren't toasts evil, in any case? Dec 07 17:08:29 Nah i love toasts Dec 07 17:08:44 perfect say if you need to open some saved favorites or whatever and there are none to show Dec 07 17:09:07 got it working :) thanks TacticalJoke, SimonVT, whatitis Dec 07 17:09:08 The thing I dislike is that they're context-independent. If the user presses Home, the toast stays on the screen. Dec 07 17:09:21 DarsVaeda: Bear in mind that 99% of Android tutorials suck. Dec 07 17:09:25 Okay, I'm exaggerating. :) Dec 07 17:09:32 (It's really 98%.) Dec 07 17:09:47 I used the vegetal tutorial, usually they are pretty great Dec 07 17:10:25 but maybe I shouldn't be doing all this with high fewer :P Dec 07 17:10:46 I mean fever Dec 07 17:11:22 TacticalJoke: that's because the developer doesn't know what they're doing Dec 07 17:11:27 toast.cancel() yo Dec 07 17:11:59 tho the fucked up thing is how do you hold on to a reference of the toast Dec 07 17:12:08 like i put a reference as a field member, Dec 07 17:12:15 you just have to add a real array to the adapter and it works..makes sense ^^ http://pastebin.com/3BGW9q6x Dec 07 17:12:49 and do if (toastHolder != null) toastHolder.cancel but there's no way to auto null unless you add some funky delay callback which is just working on wishes (which will work most of the time but still) Dec 07 17:13:27 lasserix: Isn't a View in the layout simply superior? Dec 07 17:13:41 lasserix, what fabric Dec 07 17:14:14 pfn dunno the company that bought up or became crashlytics Dec 07 17:14:38 got a bunch of startup hype about DI kits or some shit Dec 07 17:14:50 TacticalJoke: not at all then you got to manage it Dec 07 17:15:09 lasserix, not idea, I have crashlytics in a couple work projects Dec 07 17:15:13 hate it Dec 07 17:15:18 oh Dec 07 17:15:20 I use Acra for my personal stuff Dec 07 17:15:24 thought you recomended it over acra Dec 07 17:15:24 haha Dec 07 17:15:26 okay Dec 07 17:15:30 good to know Dec 07 17:15:44 i use acra, was going to switch to crash because thought you said it was superier Dec 07 17:16:55 I've said I liked crashlytics analytics Dec 07 17:17:10 acralyzer probably has something similar, but I don't use it Dec 07 17:18:16 I host something simple on appengine Dec 07 17:20:11 Good evening chaps. Dec 07 17:21:01 What's an ideal tablet to purchase if you wish to develop for Amazon's Appstore? Dec 07 17:22:09 * Zeeshan_M already does development via two mobiles (HTC One and OnePlus One) and on a tablet (Samsung Galaxy Tab 3) Dec 07 17:22:19 Do you guys think this violates the SRP? http://pastebin.com/nZSRBFXj Dec 07 17:22:25 don't need another tablet then Dec 07 17:22:31 dunno what srp is Dec 07 17:22:36 Single-responsibility principle. Dec 07 17:22:43 (single responsibility principle) Dec 07 17:22:55 Oh, no Dec 07 17:23:18 I ask because it seems to do two "things": 1. Provides access to innerListing.whatever. 2. Does our own stuff (e.g., time stuff). Dec 07 17:23:39 We might have to change if either the inner listing changes or our own stuff changes. Dec 07 17:23:44 pfn, do I not need a device that is produced by Amazon so I can test my apps. under their ecosystem on a live device? Dec 07 17:23:46 We Dec 07 17:23:49 whose we? Dec 07 17:23:57 'We' being 'PresentablePostListing'. Dec 07 17:24:00 TacticalJoke: define the responsibility of this class? Dec 07 17:24:14 It's a post listing that can be presented to the user. Dec 07 17:24:24 Let me think... Dec 07 17:25:40 I dunno. I could say "it provides access to a post listing AND it provides metadata for that post listing". Dec 07 17:25:43 Is that one or two responsibilities? Dec 07 17:26:16 is the metadata part of providing access? Dec 07 17:27:53 As far as the UI code is concerned, the two are the same (I think). Dec 07 17:28:26 Zeeshan_M, Amazon app store is available for all devices... Dec 07 17:29:24 Note that I don't feel that this violates the SRP: http://pastebin.com/jXARFndL Dec 07 17:29:36 Oops, that should be "public *PostListing* getInnerListing() {". Dec 07 17:32:57 if you become a srp fundementalist you'll be turning every single variable into its own class Dec 07 17:33:48 Yeah, I think the SRP should be violates sometimes. Dec 07 17:33:52 violated* Dec 07 17:34:09 I think one example is something like String.valueOf. That's another responsibility for the String class, I think. Dec 07 17:34:23 In fact, I suspect that the String class has quite a few responsibilities. Dec 07 17:37:16 Given that I have a choice between code disclarity and potential SRP violation (which might be insignificant), I'll choose the latter. :) Dec 07 17:37:46 I guess I should try and see how far I can get before I need to consider getting something that runs FireOS and lets me natively test Amazon's own restricted APIs Dec 07 17:37:53 pfn: Thank you Dec 07 17:43:37 TacticalJoke: i think the question of SRP at this stage is premature for that class, really, it is a matter of when the responsibility of the class starts to bifurcate Dec 07 17:43:50 right now all those calls are essentially in the same clump Dec 07 17:44:33 but if the class becomes a) present some post b) manage the meta information about the post then SRP might be violated at which point you should fork it Dec 07 17:45:13 Yeah, that sounds about right. Thanks. :) Dec 07 18:05:54 @TackticalJoke: When I compile the code, 2 errors facing: cannot find symbol method openSearch() and openSettings() Dec 07 18:08:49 gourabmahapatra_: On which code? Dec 07 18:09:23 Zeeshan_M, what exactly do you want to achieve? just publish to Amazon? or more? Dec 07 18:09:26 gourabmahapatra_: those are dummy methods Dec 07 18:09:58 http://pastebin.com/yHW4DvAf Dec 07 18:10:14 gourabmahapatra_: openSearch and openSettings dont exist Dec 07 18:10:17 or you'd have to add them Dec 07 18:10:23 they are just examples of what you'd do Dec 07 18:10:29 when a user clicks search icon in action bar Dec 07 18:10:46 you'd, openSearch the search fragment or search view or google webpage or whatever you defined in the method openSearch Dec 07 18:11:08 Yeah. If you're just copy-pasting code from the tutorial into your project, that is not a good idea, IMO. Dec 07 18:11:10 you got your nose so close to the tree you dont even know you're in a forest anymore ;p Dec 07 18:11:21 You need to understand everything you're adding to your project. Dec 07 18:11:58 If a line of your code kills someone, you need to be like "Oops, yeah, I did wonder whether that line would kill someone someday". Dec 07 18:12:13 TacticalJoke: you sound like my qa guy Dec 07 18:12:14 (As opposed to "But the tutorial had that line".) Dec 07 18:12:19 Is it safe to use non-static baseadapter implementation in my activity? Dec 07 18:12:47 non-static inner class Dec 07 18:13:03 JakeWharton: SimonVT: any thoughts? yay nay? Dec 07 18:13:21 should my baseadapter implementations always be toplevel or static inner classes? Dec 07 18:13:27 why use an inner class? Dec 07 18:13:33 why not? Dec 07 18:13:38 code clarity Dec 07 18:13:39 the adapter only lives as long as the activity Dec 07 18:13:42 it is clearer Dec 07 18:13:55 more code in one location doesn't make it clear Dec 07 18:13:55 the activity basically has a title, a button or two and a list Dec 07 18:14:03 umm yes it does in this case Dec 07 18:14:16 hmmm Dec 07 18:14:31 thepoosh according to that logic you should never put touchlistner/clicklistners in the same class as the activities who house the views that use them Dec 07 18:14:40 sometimes that's true, if its a really complicated touchlistener Dec 07 18:14:55 othertimes i am not going to make a top level class just to implement onClick Dec 07 18:15:11 sure Dec 07 18:15:16 and to me a simple base adapter implementation is really not much more complicated than implementing onclick Dec 07 18:15:28 in any case, I don't see why the adapter should be static Dec 07 18:15:29 count, object, getview ? Dec 07 18:15:42 oh ok Dec 07 18:15:51 there is only one Dec 07 18:15:52 yeah thats the main thing i was wondering about Dec 07 18:15:57 and it's tied to the activity Dec 07 18:17:33 if my row is not enabled via the base adapter does that mean I can't set listeners on the views inside the row that will recieve events? Dec 07 18:17:41 thepoosh: yeah exactly Dec 07 18:17:59 i fucking hate my life now Dec 07 18:18:11 take a walk and smoke a joint Dec 07 18:18:14 making headers to a listview that are over complicated Dec 07 18:18:18 and are annoying Dec 07 18:18:25 there are plenty of libraries Dec 07 18:18:29 why are you doing it manually? Dec 07 18:18:33 yeah Dec 07 18:18:49 our apk is standing on 62K methods Dec 07 18:19:11 S3 and BouncyCastle are killing us Dec 07 18:19:32 add to that appcompat, play services and a few more Dec 07 18:19:37 we're screwed Dec 07 18:19:53 plus, promised my wife not to smoke joints Dec 07 18:19:54 let's look at this repo, https://github.com/47deg/android-swipelistview In the Download section is this really all I need to get up and running with that project included in my app? Dec 07 18:20:19 lasserix: Is it desirable to couple the adapter this much with the activity that uses it? Dec 07 18:20:22 Odaym: wat? Dec 07 18:20:28 Let's say, for example, you want to use that adapter in another activity someday. Dec 07 18:20:33 TacticalJoke: im not Dec 07 18:20:34 because I placed those lines in my app's gradle.build file and waited for sync to finish, it isn't finishing Dec 07 18:20:46 TacticalJoke: you are presuming tehre is much coupling Dec 07 18:20:58 if i really needed to rip it out i just cut and paste it out and it'd still work essentially Dec 07 18:21:10 It seems that there is a lot of the adapter needs an instance of an Activity. Dec 07 18:21:18 if* Dec 07 18:21:39 no it just makes the code concise Dec 07 18:21:57 g00s: morning Dec 07 18:22:08 good morning thepoosh Dec 07 18:22:19 lasserix fwiw my adapters are almost always nonstatic inner classes Dec 07 18:22:47 sarbs yeah okay Dec 07 18:22:49 thepoosh proguard solves method counts Dec 07 18:23:01 sarbs: thanks, this is after proguard Dec 07 18:23:08 no shit? Dec 07 18:23:10 we'll probably have to go multi dex Dec 07 18:23:42 it's way too fucking big Dec 07 18:24:17 anyone know if i can use a listview just to present items in a list, that is, not have the rows register for clicks at all, just the stuff inside them? Dec 07 18:24:45 what's wrong with onItemClick? Dec 07 18:25:02 lasserix: yes; you need to set some flag to do passthrough Dec 07 18:25:05 lasserix: which i forget offhand Dec 07 18:25:14 lasserix: but it's totally doable. You set the flag on the top level view for the row Dec 07 18:25:25 lasserix: hopefully that's enough to give you something to google it Dec 07 18:25:30 I thought you just returned false from Adapter.isEnabled(int)? Dec 07 18:25:47 there's a flag in the xml for the top view. Dec 07 18:26:24 clickable? Dec 07 18:27:32 ListView uses the "return false from Adapter.isEnabled" to make headers/footers non-clickable, I think. Dec 07 18:27:36 idea ^ Dec 07 18:27:55 Then again, that's selective non-clickability, I guess. Dec 07 18:28:06 dragorn: that seems waay to hacky Dec 07 18:28:19 yeah i see isEnabled Dec 07 18:28:38 i am just wondering if isEnabled false means a click listener on a textivew inside the row will also be nuetered Dec 07 18:29:04 dragorn: oh you mean i set something on the listview itself? Dec 07 18:29:17 This is how ListView does it with headers/footers: https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/widget/HeaderViewListAdapter.java#146 Dec 07 18:29:32 thePoosh I dont want the rows clickable, i may want one of the views in the rows to handle click events Dec 07 18:29:36 but not sure yet Dec 07 18:30:19 lasserix: basically, if you set the listView to not be clickable (via xml or java) the click events will go to the child views in the list Dec 07 18:30:29 so if you catch it you can do whatever you like Dec 07 18:30:51 but you can also ask in the onItemClick event where the click happened and handle it generically Dec 07 18:31:10 ahh k thanks cool Dec 07 18:31:11 p.s. I like the capital P for thepoosh Dec 07 18:31:18 np Dec 07 18:31:22 hehe Dec 07 18:31:38 probably need to goto sleep when camel case is creeping in my non coding Dec 07 18:32:11 for rows in a listview, what's the simplest and most intuitave touch interaction to delete a row from the list? Dec 07 18:32:17 Hi. What is a good guide on learning about ads on android apps, how put them there, limitations, restrictions, ... ? Dec 07 18:32:47 lasserix: swipe right ? Dec 07 18:33:00 yeah that is what i was thinking maybe Dec 07 18:33:17 I'm used to holding and seeing a delete thing at the top or whatever. Dec 07 18:33:32 I dunno how intuitive swiping list items is. Dec 07 18:33:44 well Dec 07 18:33:48 greetings. Dec 07 18:33:53 the caveat is its in a dialog Dec 07 18:33:56 It's also annoying sometimes. The user's attempt to scroll the list view can result in an accidental swipe-to-the-side. Dec 07 18:34:05 Oh. lol Dec 07 18:34:18 Do you have to implement 'delete' there? Dec 07 18:34:20 swipe is very intuitive to all gmail users Dec 07 18:34:25 yeah Dec 07 18:34:25 Or could you let them "open" and then delete later? Dec 07 18:34:26 and samsung users Dec 07 18:34:27 there's no other place Dec 07 18:34:31 K. Dec 07 18:34:37 no the list is for tuples of numbers Dec 07 18:34:48 its the only place the set of tuples is shown to the user Dec 07 18:35:21 What about displaying a delete button in the row? Dec 07 18:35:26 ugly Dec 07 18:35:37 Long-press and swipe should both be secondary ways to perform an action. The primary way should be visible to the user Dec 07 18:35:46 a delete button on each row is fugly Dec 07 18:36:06 fugly Dec 07 18:36:07 hehe Dec 07 18:36:08 the dialog pops up, they can click one of the rows to select. question is how to implement a delete Dec 07 18:36:11 Actions should not be hidden Dec 07 18:36:16 and keep it clean Dec 07 18:36:17 Delete button be like "Hell nah; you just jelly". Dec 07 18:36:48 lasserix: if it's cards, we can always have the options button have delete in it Dec 07 18:37:01 no just a dialog Dec 07 18:37:09 maybe ill do the footer thing DELETE SELECT Dec 07 18:38:01 lasserix: you could put checkboxes to select mutiple items and make them actionable through some menu so they can be muti deleted or whatever Dec 07 18:38:03 SimonVT: do you think the archive function in gmail is bad? Dec 07 18:38:21 shmooz: to me that's not clean, but yeah Dec 07 18:38:33 SimonVT: I agree. Though I wonder how to do something like this: A Reddit client shows a list of posts, and has a long-press option such as "Go to subreddit [for this post]". I wonder where that ought to be displayed. Dec 07 18:38:36 the whole point is to select, not to delete or modify but just to select Dec 07 18:38:44 Or perhaps "Upvote this post". Dec 07 18:38:53 in the content literal at the top Dec 07 18:38:59 As a secondary action, no Dec 07 18:39:03 with a checkbox that says "dont show this again" Dec 07 18:39:13 The primary way is in the conversation view Dec 07 18:39:37 touche thePoosh! Dec 07 18:39:38 Hmm, I guess my primary means could be after opening the post itself. Dec 07 18:39:40 ;p Dec 07 18:39:46 Secondary could be long-pressing the list item. Dec 07 18:40:54 lasserix: what do the list items represent ? Dec 07 18:41:02 tuples Dec 07 18:41:06 lottery numbers Dec 07 18:41:18 any thoughts on bootstrap for html based mobile apps? Dec 07 18:41:25 The winning ones? Dec 07 18:41:29 or lucky lottery numbers i should say Dec 07 18:41:30 just kind of landing on this grid system now Dec 07 18:41:36 i am not sure, i am not sure this whole app but Dec 07 18:41:39 well you don't want their hand slipping and making them lose the trillion dollar winning number Dec 07 18:41:44 hehe Dec 07 18:41:49 no its saved lucky Dec 07 18:41:51 not winning Dec 07 18:42:05 What happens when they single-tap the number? Dec 07 18:42:17 it loads some stuff Dec 07 18:42:22 related to those numbers Dec 07 18:42:53 Are you sure that a small 'x' is ugly? Seems like a nice-enough concept. Dec 07 18:42:56 i'd say more but have a feeling not professional of me to do so at this point ;p Dec 07 18:43:00 It could be really faint, maybe. Dec 07 18:43:05 its not a small x Dec 07 18:43:08 its n small xs Dec 07 18:43:13 that's what i hate in UI Dec 07 18:43:24 to have noise in the form of repeated action Dec 07 18:43:43 if you have a list, you should have only one place where you delete, not cluttering each row with the same repeated thing Dec 07 18:44:08 *not in all cases, but for the most part i just see it as fugly noise Dec 07 18:44:43 lasserix: you could change background color of list item to indicate it's selected Dec 07 18:44:49 instead of x's Dec 07 18:44:54 I guess you could have a totally new dialog, just for deleting items, but that might not work in your case. Dec 07 18:45:16 have it selected by long press Dec 07 18:45:23 and actionable by options menu Dec 07 18:45:32 shmooz yeah thats what i was thinking just have selection instead of click, then at the bottom do DELETE SELECT as footers, im trying to follow material theming Dec 07 18:45:56 dont think it warrants options menu Dec 07 18:46:09 or whatever menu Dec 07 18:46:15 i think material emphasizes UI heirarchy so the options menu is more important now Dec 07 18:46:21 less contextual Dec 07 18:46:24 or action, like swipe right Dec 07 18:47:03 well it's either the top of the list under the title has Swipe right to delete or the list is a selection based and has buttons at the bottom DELETE SELECT Dec 07 18:47:14 i think the later fits more material design philosophy Dec 07 18:47:28 TacticalJoke: You can make all the smart long-press, swipe, whatever, actions you want, as long as the primary way to do it is visible to the user Dec 07 18:47:56 K. Dec 07 18:48:27 hide it and drive them nuts trying to find it, they'll get more hooked Dec 07 18:48:49 also isn't that kind of pandering to simplicity almost too much? Dec 07 18:48:51 Ah, the PUA user experience. Dec 07 18:49:02 lasserix: People are dumb, though. Dec 07 18:49:08 They're also clueless about our particular app. Dec 07 18:49:10 like the whole right click is all secondary, i wish right click action was the basis of the os Dec 07 18:49:24 yeah but if you keep making ui too simple they're going to stay dumb Dec 07 18:49:41 long press is alternative click which would be same as right click on other OS's Dec 07 18:49:43 Then again, I guess I would say that long-pressing a ListView item is generally intuitive for Android users. Dec 07 18:49:54 guess we devs should keep it simple till we got mass produced thought controlled implants Dec 07 18:50:06 :D Dec 07 18:50:29 TacticalJoke: i am not against doing a long press with another dialog to confirm Dec 07 18:50:31 One thing I hate is having to swipe different edges of the screen for stuff to magically appear. Dec 07 18:50:38 I don't mind if there's a UI cue. But if there's not then it's so annoying. Dec 07 18:50:44 Gotta brute-force those apps every time you start using them. Dec 07 18:50:45 problem is that that's really anti material pattern Dec 07 18:51:05 I think the Amazon FirePhone thingy has that all over it. Dec 07 18:51:07 guess ill just code it and pick the most aesthetic Dec 07 18:51:11 brb Dec 07 18:51:17 Fire Phone* Dec 07 18:51:33 they couldn't sell that thing if they paid people Dec 07 18:51:35 I tried it at the shop, and I had to swipe from top, bottom, left, right just to figure out how to navigate. Dec 07 18:51:55 If you figure out how to navigate, congratulations. Now try Level 2. Dec 07 18:52:25 BlackBerry tablets had that, too. Dec 07 18:58:26 yey, my first nontrivial rx pipeline works, but its a total eyesore Dec 07 19:15:25 Hi, I am developing an App to communicate h/w interrupts (GPIOs) to an Adobe AIR App. May I know whats the best way to do this? Write IntentService in both apps and communicate or develop Adobe ANE to communicate with native libs? Dec 07 19:34:23 I am new in Android Studio and i am getting a "Illegal instruction (core dumped)" executing aapt command: http://pastebin.com/S1LRpzTw The error happens compiling a clean 'Hello World' program, that error return an 132 exit code. I have tried using jdk6, jdk7 and 8, i get same result. What can be happening? I am using arch linux i686. I don´t speak english very well. Dec 07 19:40:58 hummm sounds like a bug in aapt when using 32 bits: https://code.google.com/p/android/issues/detail?id=58663 I will try recompile aapt using --march=i686, thanks anyways Dec 07 19:49:05 what's the simplest way to get mm/dd ? Dec 07 19:49:38 nm Dec 07 19:56:50 If google does not support merchant registration because of your location, is there any other way to make money from your app? Dec 07 19:56:57 That's kind of a disappointment for me. The fact that I can't make revenue from the sale of my app based on the country I am in Dec 07 19:57:49 is releasing all the event handlers in onStop (as long as you rebind them in onstart) a better idea than just doing in oncreate? Dec 07 20:02:46 which are the layoutparams to use inside getview again? Dec 07 20:03:05 if i am doing like TextView tv = new TextView(context); return tv; Dec 07 20:13:53 use the params for the container type, of coursr Dec 07 20:21:51 Love how people get downvoted on Reddit at the mere suggestion that Android Studio is bloated. Dec 07 20:22:05 It's the slowest, most memory-intensive IDE I've ever tried. Dec 07 20:23:15 faster than eclipse. Dec 07 20:23:43 On here, Eclipse is significantly faster. Dec 07 20:29:23 same. faster to start, faster to build. Dec 07 20:29:32 (eclipse is, that is) Dec 07 20:29:58 imho all IDEs are quite bloated and take a long time to start but tbh how often do you start your ide Dec 07 20:30:21 Scrolling and general IDE-UI changes are faster in AS, I'll admit that Dec 07 20:30:23 as long as it builds and deploys quickly and is comfortable to use i don't give a damn Dec 07 20:30:43 KekSi: The problem I have on here with Android Studio is that simply *typing* is laggy Dec 07 20:30:44 . Dec 07 20:30:56 what pisses me off in android studio is ctrl+z removing the line the cursor is in Dec 07 20:30:59 If I type quickly, Android Studio sometimes takes seconds to catch up. Dec 07 20:31:11 I have no issue whatsoever with typing lag in Eclipse. Dec 07 20:31:12 rather than stepping forward (as opposed ctrl+y for back) Dec 07 20:31:16 Or any other IDE I've ever used. Dec 07 20:31:18 TacticalJoke: maybe lower the quality of inspections? I don't have that problem, fwiw Dec 07 20:31:30 TacticalJoke: very slow hdd? very little ram? Dec 07 20:31:36 4GB RAM. Dec 07 20:31:45 KekSi: my personal pet peeve of AS is that cmd-up/down doesn't go to the top/bottom of the file like every single other application on my machine. Dec 07 20:32:17 theres probably some shift/ctrl whatever combo instead i guess Dec 07 20:32:30 TacticalJoke: well there's your problem. 16gb here and no problems :) Dec 07 20:32:38 just gotta quadruple your ram or something Dec 07 20:32:40 Yeah, but it's no problem in Eclipse. :) Dec 07 20:32:50 i was used to netbeans before AS.. but i'll probably switch over to IDEA Dec 07 20:33:15 I guess what I mean is that it'd be cool if Android Studio had anywhere near the performance that Eclipse does. Dec 07 20:33:17 since i like AS a lot and struggle to use both on a day to day basis Dec 07 20:33:20 Which is so lame to have to say. Dec 07 20:33:25 Because Eclipse's performance is hardly great. Dec 07 20:34:08 Though, to be fair, Eclipse's performance has improved a lot in recent years. Dec 07 20:34:08 have your checked you had at your task manager? what system are you onÈ Dec 07 20:34:22 TacticalJoke: tbh, try reducing the inspection quality. it might fix it (with some losses, of course, but you can turn it back up periodically). Dec 07 20:34:39 i have to say i haven't used a pc with <8GB ram in several years so who knows... Dec 07 20:34:51 TacticalJoke: has Eclipse sped up, or do we just have better hardware and it has gotten no worse? Dec 07 20:35:01 but might be another problem like a close-to-full SSD or some driver mishap Dec 07 20:35:25 I think Eclipse has sped up (from what I was reading, anyway). Dec 07 20:35:35 The Eclipse people seem to be really improving things nowadays. Dec 07 20:35:48 It's not an SSD. Dec 07 20:36:15 it's still made with java right ? Dec 07 20:36:22 Yeah. Dec 07 20:36:25 or uses the java runtime Dec 07 20:36:38 i stopped using eclipse several years ago and switched to netbeans Dec 07 20:36:41 yeah, afaik it's all java. all plugins too. Dec 07 20:36:57 when eclipses syntax highlighting and suggestions broke Dec 07 20:36:59 I don't think Eclipse is as awful as it used to be, FWIW. Dec 07 20:37:00 for a couple of versions Dec 07 20:37:01 only way to make a fast IDE is with C++ Dec 07 20:37:35 heh. or to actually care about performance. Dec 07 20:37:44 not really.. netbeans is quite quick (mine takes a long time to start but i usually have like 10 projects open) Dec 07 20:38:22 without those it starts up way faster than eclipse or AS Dec 07 20:39:05 that's because it's minimal compared to those Dec 07 20:39:24 still can feel that java slowness Dec 07 20:40:11 I dislike the idea that I'd have to buy a new laptop to use Android Studio. This isn't very old or slow, and I already have like three Android devices. How much is one expected to spend just to do Android development? Dec 07 20:40:45 It'd be justifiable if there were something other than Android Studio that made it feel slow. But there's not. Dec 07 20:41:16 there's command-line gradle use Dec 07 20:41:26 Oh, gawd, I did that once. Dec 07 20:41:28 Not so fun. :D Dec 07 20:41:37 And freaking slow without the Gradle daemon. Dec 07 20:41:43 one of the people I interviewed did CLI ant + the equivalent of Notepad++. Dec 07 20:41:44 Also freaking slow with it. Dec 07 20:42:01 yeah, gradle is still a disappointment :\ Dec 07 20:42:18 Yeah, I thought that the first time I tried it. Dec 07 20:42:27 I learned it at the command line. It's slow as anything. Dec 07 20:42:46 It made me think "How did the Google team overlook that?". Dec 07 20:42:50 That would've put me off immediately. Dec 07 20:43:00 it has been changing pretty frequently fwiw - I gather the daemon is much faster than it started out. have you tried it recently? Dec 07 20:43:13 I last tried it around two months ago, I think. Dec 07 20:43:38 hm. I think only one major set of changes since… might be worth retrying, but I'll remain doubtful Dec 07 20:43:41 I kinda get the feeling that AS would suck much less if it used something better than Gradle. Dec 07 20:43:44 Not sure what's better, though. Dec 07 20:43:49 again: what system are you using? have you had a look at your task manager to see whats causing the slowdown? Dec 07 20:43:50 Eclipse Dec 07 20:43:56 ram? cpu? hdd? Dec 07 20:44:33 on linux htop & iotop Dec 07 20:44:48 This is Windows. I think it was RAM. AS wanted it all, and paging was the result. Dec 07 20:44:53 on windows, (╯°□°)╯︵ ┻━┻ Dec 07 20:45:15 though 8's task manager is pretty fantastic Dec 07 20:45:19 Yeah, 8's is nice. Dec 07 20:45:28 I think 8.1 is just nicer than 7. Dec 07 20:45:36 10 will be good, probably. Dec 07 20:45:47 I'm skipping 8, and mildly optimistic about 10 Dec 07 20:45:58 8 seemed half-baked, but had some solid ideas Dec 07 20:46:03 e.g.: vista Dec 07 20:46:07 8.1 fixes a lot of the issues. Dec 07 20:46:12 But, yeah, it is kinda weird. Dec 07 20:46:21 i'm still on 7 and my new macbook pro should arrive in the next days Dec 07 20:46:24 yeah, they backpedaled pretty quickly on the "NO START MENU FOR YOU" stance Dec 07 20:46:28 :D Dec 07 20:46:28 going to skip 8 entirely Dec 07 20:46:43 Windows 10 sounds like it's gonna be what Windows 8 should have been. Dec 07 20:46:51 so its 7.1 Dec 07 20:46:51 Why they ever thought 8 would've been a good idea is hard to imagine. Dec 07 20:47:12 I'm just glad _someone_ came up with something other than icons for a change. We've been in an app-icon pit for decades, it's time we tried something else. Dec 07 20:47:16 Isn't it so obvious, the idea of putting tiles in the Start menu? Dec 07 20:47:24 because touch and tablets Dec 07 20:47:31 What's not obvious is forcing everyone to use a Start *screen*, regardless of device type. Dec 07 20:47:47 and those frickin' edge gestures Dec 07 20:47:48 ugh Dec 07 20:47:48 no idea how coke fuelled the decisionmakers were when they thought thatd be a good idea Dec 07 20:47:50 God, yeah. Dec 07 20:48:00 especially since its even worse to use on touch devices Dec 07 20:48:07 I switched as many of those off as I could on my parents' 8.1 computer. Dec 07 20:48:14 But there are some you can't turn off, and it just confuses people. Dec 07 20:48:16 especially the left edge. drag in, then drag out, and _that_ gets you your recent apps list? wtf Dec 07 20:48:45 8.1's boot speed, though. Dec 07 20:48:47 It's so much faster. Dec 07 20:48:50 And shut-down speed. Dec 07 20:48:57 first time i used it was on a dell all in one system with a touch input (but optical touch, not capacitative or resistive) Dec 07 20:49:14 yeah, i think it's boot speed is finally competitive with almost every other OS :) Dec 07 20:49:16 it was hillarious since it couldn't register your side-gestures Dec 07 20:49:23 so you couldn't shut it down without a mouse Dec 07 20:50:07 that was about 6 months before it shipped Dec 07 20:50:11 Talking of OSes, Android seriously needs some kind of windowed mode. Dec 07 20:50:14 Especially on tablets. Dec 07 20:50:22 My tablet is nowhere near as functional as my laptop for largely this reason. Dec 07 20:50:26 and we thought it was one of those very exotic experimental builds Dec 07 20:50:26 side gestures always seem like an OK idea in principle. then you realize that like 90% of people are going to stick a case on the thing, and can't touch the edge of the screen. Dec 07 20:51:00 Yeah, I'm not huge on side gestures. Dec 07 20:51:03 exactly what that dell box already had Dec 07 20:51:11 TacticalJoke: yeah :\ win 8 seems like a much more useful tablet OS in general Dec 07 20:51:19 thich frame and not planar to the touchscreen Dec 07 20:51:57 sadly it isn't though -- the approximately 3 apps that work with touch are all fine and dandy but for everything else you still want a mouse Dec 07 20:52:06 If Android does implement a window thing, how will existing apps be ported over? Dec 07 20:52:15 Maybe they could do it in such a way that app developers don't need to do much. Dec 07 20:52:32 TacticalJoke: existing apps are already window-bound, so you just show multiple windows. Samsung does it with Notes, it works pretty well for the most part Dec 07 20:52:53 i heard that but never tried it out so far Dec 07 20:52:53 a bigger problem is zero concept of drag-and-drop, IMO Dec 07 20:53:28 and i'd never buy a samsung phone again (girlfriend had a galaxy s until a month or two ago.. it was pretty much unusable after about a year or two) Dec 07 20:53:30 'Undo' is another one. Dec 07 20:53:41 I mean text-related undo. Dec 07 20:53:47 TacticalJoke: heh, yeah Dec 07 20:54:01 undo should be baked in from day 1, and trivial to implement. but alas. Dec 07 20:54:05 Yes. Dec 07 20:54:06 that works -- i'm on irssi on my transformer prime tablet right now typing this to you Dec 07 20:54:24 it has a hw keyboard you can connect that has an additional battery Dec 07 20:54:56 sadly its plagued with tegra4 being quite poor and it seems to check for updates whenever you turn the screen on (making it hillariously unresponsive) Dec 07 20:55:18 KekSi: yeah, I've encountered so many Samsung OS / hardware-implementation bugs when developing apps… I'm never ever touching them. just sucks that they're the only ones making phones with all of: water resistant, SD card, replaceable battery. Dec 07 20:55:54 personally don't care about water resistance Dec 07 20:56:11 and my galaxy nexus still has its original battery etc and i'm still quite happy with it Dec 07 20:56:16 you don't care until it happens :) then you're out a few hundred dollars, and are technologically crippled for a few days Dec 07 20:56:26 its no longer the fastest phone and runs out of memory on a regular basis Dec 07 20:56:32 but i still like it :) Dec 07 20:56:58 have a dualsim 2nd gen moto g for development and thats quite nice aswell imho Dec 07 20:57:00 we've had some weird bugs on the galaxy nexus. primarily camera and surface-view related. Dec 07 20:57:05 but haven't used that on a day to day basis Dec 07 20:57:08 otherwise it seems like a decent phone Dec 07 20:57:42 its almost 3 years old and won't get any more updates sadly but i like the shape etc Dec 07 20:58:10 curved screen specifically? Dec 07 20:58:15 yup Dec 07 20:58:41 I have some code that I want to run periodically during the time when an application is connected. So upon connection I'm starting (code: http://tinyurl.com/nwjn2x3 , 5 lines) an alarm that calls the following BroadcastReceiver (code: http://tinyurl.com/kk8xzv5 , 19 lines). No other code touches the alarm. The problem is, sometimes (quite rarely) peekService() returns null even though the service is Dec 07 20:58:43 still working (I see that the application is still connected and there were no interrupts or anything). Why can this be happening? Dec 07 20:58:45 somehow i like that and the screen doesn't have scratches so far Dec 07 20:58:49 it seems like a more sane curve than others. though the LG flex looks good, since it won't crack if you put weight on it. Dec 07 20:59:11 even after 3 years (since the display can't technically touch a flat surface when its lying about Dec 07 20:59:49 KekSi: yeah! I love that the N6 has front speakers which protrude slightly - protects the screen on e.g. tables Dec 07 21:00:11 otherwise a little piece of sand spells instant doom Dec 07 21:00:22 idd Dec 07 21:00:45 two friends of mine both got one+ones lately Dec 07 21:01:02 and i like it but i think its too big and the screen isn't all that impressive imho Dec 07 21:01:24 1+1 seem like solid hardware + OS for the most part. and not insane price. Dec 07 21:02:03 fuck yeah facade pattern Dec 07 21:02:14 compared to others of the same size its less thn half the price here in germany Dec 07 21:02:59 squirrel: huh. I've never used peekService before… are you certain it's still running? and could your process be dying? Dec 07 21:03:33 lasserix: it has been a while since I've heard anything like that. now I'm curious. Dec 07 21:03:51 Groxx: well, i see that it is connected, and i can use the application just fine otherwise Dec 07 21:04:18 oh just had implements a primitive datbase with shared preferences decided it wasn't going to cut it reimplemented it with sqlite but fortunatly had routed it through the facade class so it was easy as pie to swap out Dec 07 21:04:21 it works, it just stops syncing certain elements Dec 07 21:04:58 lasserix: heh, yeah, that's handy :) Dec 07 21:06:19 can someone perhaps confirm that i'm using the PendingIntent right? Dec 07 21:06:25 any hint will help Dec 07 21:06:27 I hate when I start obsessing over naming before rebasing a changeset. Dec 07 21:06:37 So much time is wasted. Dec 07 21:07:02 (Where rebasing = polishing a changeset before pushing it upstream.) Dec 07 21:08:06 squirrel: the pending intent part looks right to me Dec 07 21:08:50 dammit! Dec 07 21:08:57 i have no idea what to do Dec 07 21:09:44 squirrel: any patterns to when it returns null? is it after a period of time, or does it switch back and forth between null and not-null in a short period of time (less than a minute or so)? Dec 07 21:11:25 Groxx: it happens very rarely (seen it 2 times in a week). i barely had long enough logcat to confirm that the return value of peekService() is null somtimes Dec 07 21:11:45 i know that once it happened on the very first iteration of the alarm Dec 07 21:12:34 it might have happened after an OOM kill Dec 07 21:12:50 but it shouldn't matter, should it? Dec 07 21:12:54 :\ Dec 07 21:13:42 squirrel: for the most part I suspect it's being killed. is it perhaps on lollipop? there seems to be a memory leak in the OS that starts pushing things out of memory continuously after it has been running for a day or three. Dec 07 21:14:32 OOM kills are very frequent on my device and my app is handling them just fine Dec 07 21:14:44 it restarts the alarm on every connection Dec 07 21:15:35 this should have been the simplest and most error-free way to run the alarm only while connected to a server. Dec 07 21:17:12 squirrel: to me it kinda looks like if the app dies -> the alarm brings it back up, the service may not be started and/or may not be connected yet. which would cause your behavior. Dec 07 21:17:42 does the service get started when the application starts or something? Dec 07 21:17:48 i use peekService, so if the app dies, the alarm doesn't bring it up and just dies Dec 07 21:18:04 the service runs forever Dec 07 21:18:16 and is trying to connect whenever it can Dec 07 21:19:05 the alarm doesn't touch the app itself, it is started by the services and it queries the service Dec 07 21:20:36 maybe i should make a SO question Dec 07 21:20:54 maybe. someone with more familiarity with that source will probably be more useful Dec 07 21:21:10 one other question: what happens if the alarm fires when you're in airplane mode? Dec 07 21:21:22 it kills itself Dec 07 21:22:06 which would be skipping a sync, so if it was just intermittent… but it sounds like it's definitely null? you're not just logging in the else case? Dec 07 21:22:45 i'm logging the result of peekService, it is definitely returning null Dec 07 21:23:22 i thought about that yeah, but it's definitely null :\ Dec 07 21:23:50 alas. dunno then. fwiw I've had some devices start my services with null intents, or other weird behaviors (null intents when returning start_not_sticky -> definitely incorrect behavior). possibly it's a device bug? though that's not useful, I know. Dec 07 21:42:47 Has anyone else had an issue with gradle not able to create the Java VM since 0.14.4? Dec 07 22:03:54 ok i've narrowed it down. the bug happens only when the service is started by the OS (as opposed by the application) Dec 07 22:03:56 I find that I make the key system-design decisions, the ones on which the app's success rests, casually in the shower. Dec 07 22:04:49 what's different about service started by the system? the intent is different or something? Dec 07 22:05:15 TacticalJoke: shower is where i find the bugs, usually. Dec 07 22:06:15 you should clean your shower then Dec 07 22:06:48 Perhaps he is a spider. Dec 07 22:12:02 haha Dec 07 22:16:18 hi guys, i can get my toolbar via findviewbyid, but somehow Butterknife's @InjectView on Toolbar doesn't work...the toolbar is inside a drawerlayout set with include. Dec 07 22:16:48 can someone explain me why this does not work with butterknife? Dec 07 22:18:01 Because you're doing something wrong Dec 07 22:18:07 ButterKnife just does findViewById as wlel Dec 07 22:18:41 im sure i didn't do anything wrong with it ^^...i use it like all the time Dec 07 22:19:08 and started with replacing my actionbar with toolbar shortly Dec 07 22:19:54 ButterKNife generates code that calls findViewById. If findViewById finds it, so will ButterKnife Dec 07 22:20:04 Assuming you're calling it at the same place, under the same conditions Dec 07 22:20:12 If there's a difference, it's on you Dec 07 22:22:21 i checked it like 10 times.....i swear Dec 07 22:22:31 its just weird Dec 07 22:24:54 after folding, AS is showing (Action2)(x, y) -> { ... } - Why is (Action2) showing there ? Dec 07 22:27:16 On the same object as well Dec 07 22:31:54 I don't know about anybody else but I am just getting fed-up of being slated for asking permissions for my apps. Dec 07 22:32:16 Which permissions are you asking for? Dec 07 22:32:47 Permission to Operate Dec 07 22:33:04 Sorry about the winge but any permissions that are required. Dec 07 22:33:31 DrDroid like comments in reviews, etc ? Dec 07 22:33:40 Are they required for ads? :D Dec 07 22:33:56 You know from non developers/Users who think that I'm up to no good etc. Dec 07 22:34:27 DrDroid but how are they giving you that feedback? by not installing? bad reviews? emails? Dec 07 22:35:46 By installing the app then giving negative feedback saying that why are is the app requesting permission to access the contacts list etc. Dec 07 22:36:24 Someone even called me a paedophile :-( Dec 07 22:36:47 Weird. Dec 07 22:36:58 without seeing the app, we can't judge i guess. but maybe put why in the description Dec 07 22:37:42 I'm thinking of taking a break from it all to be honest. Dec 07 22:38:30 tell your users they are using the wrong platform if they want precise control over permissions Dec 07 22:39:05 DrDroid: Try not to take it personally. Some people are crazy. Dec 07 22:39:10 what does your app do? Dec 07 22:39:18 And calling someone a paedophile is one of the most powerful ways to discredit them. Dec 07 22:39:27 of course that is an over reaction Dec 07 22:39:45 Well the problem is if your developing a camera app you need to request permissions to use the camera otherwise the app would be useless. Dec 07 22:39:46 but if a single player game requires contacts for example, people wont be happy Dec 07 22:39:55 yeh of course Dec 07 22:40:30 njcomsec its totally fucked up. even google maps installed and asked for Calendat permission Dec 07 22:40:34 When I was a kid, a family made up a rumour about one of the neighbours being a paedophile. He had to move to another town. So messed up. Dec 07 22:40:38 They admitted it years later. Dec 07 22:40:44 i can't think of why a map needs my calendar Dec 07 22:40:45 They just didn't like him and had disputes with him. Dec 07 22:41:13 maybe the calender has location stuff Dec 07 22:41:15 hmmmm Dec 07 22:41:20 there could be a good reason, but i can't think of it. so i think its suspicious Dec 07 22:41:33 but in this case, it comes from google so we give them a free pass Dec 07 22:41:39 and then we get trained into giving free passes Dec 07 22:41:48 DrDroid: So why does your app need to read contacts? Dec 07 22:41:50 well... i have heard that on iphones, you can choose which permissions you want to allow for each app selectively Dec 07 22:41:56 Yes, njcomsec. Dec 07 22:41:56 trip planning tips? Dec 07 22:41:59 Android needs that. Dec 07 22:41:59 if thats true it i a far superior system Dec 07 22:42:17 its been like that for a while Dec 07 22:42:27 maybe android developers should start a petition for it Dec 07 22:42:31 Dont take the I5 tomorrow Dec 07 22:42:38 its up to us to do something! Dec 07 22:42:45 Like we have any power. :/ Dec 07 22:42:49 on your trip to grannys Dec 07 22:42:54 njcomsec like google cares about privacy :) Dec 07 22:43:00 doesn't cyagenmod allow that Dec 07 22:43:11 S Planner on Samsung requires location access for the Calendar. Dec 07 22:43:14 google cares about money, customers pay more money when they are happy Dec 07 22:43:26 cynogen does? Dec 07 22:43:41 finally a good reason iv heard to install 3rd party roms then Dec 07 22:43:58 It's one of those "they should have implemented it from the start" things. Dec 07 22:44:58 i think google should implement a system where you give a reason why you need a permission. when you install the app, you can decide on that. and then each time the app needs that permission, a dialog shows up and says 'App X would like perm Z because BLAH : Yes , No? ' Dec 07 22:45:28 I thought of that, but couldn't that help people to trick others? Dec 07 22:45:37 otoh, it might be better to have a dashboard where you give / revoke perms to an app until changed again Dec 07 22:45:53 so you don't get pestered too much Dec 07 22:46:05 did anyone use the big nerd ranch book to learn android dev? Dec 07 22:46:13 g00s It does already if you click the down arrow by the required permission it tells you what it's for and by the way are you adeveloper??? Dec 07 22:46:22 if you root a stock rom could you implement code in an app or commands to do it? Dec 07 22:46:28 too much thinking for most newb users Dec 07 22:46:37 DrDroid yeah but it doesn't say why *your* app needs it Dec 07 22:46:43 its very general Dec 07 22:47:20 Apologies for be obvious but you can google it. Dec 07 22:47:23 I'm finding it so dificult to get into android development :/ I know java pretty well, but am finding anything with android super confusing. anyone have any tips? Dec 07 22:48:15 DadFoundMy: i manage it through a a big glass of whiskey every night Dec 07 22:48:30 sq: well shit im only 16 Dec 07 22:48:34 DadFoundMy the best thing to do is to take a course preferably a class with other students. Dec 07 22:48:40 DrDroid: It varies from app to app. Dec 07 22:48:48 android hard... drink beer Dec 07 22:49:03 i hear ios is easy Dec 07 22:49:05 i find it best to have several books Dec 07 22:49:15 DadFoundMy: Stop reading books and just dive in. Dec 07 22:49:19 DrDroid: my comp sci teacher started android but ended it pretty quick... i think hes having just as much toruble learning android as me lol Dec 07 22:49:30 DadFoundMy: Ask plenty of questions. Dec 07 22:49:51 TacticalJoke: that was my latest attempt. got through most of my xml files but i get so lost trying to link them together :/ Dec 07 22:50:11 Link what? Dec 07 22:50:17 DadFoundMy: i suggest reading stack overflow's "how to ask questions" sections, you'll need that Dec 07 22:50:26 You can never ask too many questions. Dec 07 22:50:33 also anger management courses help Dec 07 22:50:35 why not? Dec 07 22:50:36 TacticalJoke: the different layouts, making activities ect Dec 07 22:50:36 lol sq Dec 07 22:51:22 DadFoundMy: It just gets easier with practice. Dec 07 22:51:23 ive never actually read a android book cover to cover, ive always done different bits of different tutorials and courses. im thinking of buying big nerd ranch and going cover to cover to solidify everything Dec 07 22:51:32 how did most of you guys learn? Dec 07 22:51:52 i find android has it's own philosophy.... it is like learning japanese or something... it takes a few months for it to sink into your subconciousnous Dec 07 22:51:58 i never learned, i just starter by fixing another open-source app Dec 07 22:52:02 I'm at the stage where I'm comfortable building a fairly complex app. I'm just diving in, really. Dec 07 22:52:04 And asking questions. Dec 07 22:52:13 I found xml easy and I may be shot for saying so but even though I'm ok with Java I think objective C is better suited. Dec 07 22:52:23 * capella-s3 writes massive amounts of bad code Dec 07 22:52:35 gets better over time Dec 07 22:52:49 i got lucky because my school has a fairly decent AP level java course Dec 07 22:53:07 i find that when i look at android code though it looks so different than anything ive ever seen Dec 07 22:53:18 DadFoundMy: oh, i find this guy good for starters. https://www.youtube.com/channel/UCbP2HeYGC3kfHjHLMPplZuQ Dec 07 22:53:35 nice vids easy to watch Dec 07 22:53:44 DadFoundMy: Is there a particular app you want to make? Dec 07 22:54:05 TacticalJoke: yeah i have different ideas but im pretty sure there all too complex for a first app Dec 07 22:54:18 i have one idea that i think is pretty decent for a first app Dec 07 22:54:29 i dont think there is any one best way to learn anything.. of course actual practice is best... but on top of that a variety of things... speaking to people... reading books... watching videos Dec 07 22:54:46 DadFoundMy: Can you say what it is? Dec 07 22:55:16 i used this back when http://www.mkyong.com/tutorials/android-tutorial/ Dec 07 22:55:17 Not going into details because my latest app isn't finished yet, but my app should help with booking appointments for health care. Dec 07 22:55:54 TacticalJoke: the simple is a simple agenda book app. I want to be able to take a picture of a teachers homework board and automaticly sort it into a agenda book by time Dec 07 22:56:21 TacticalJoke: so i have math at 9:00 so if it was taken then it would go into some sort of math folder Dec 07 22:56:25 can anyone point me to the direction where I can find ut how to create release keystore and sha1 of it? Dec 07 22:57:12 Nice idea. Dec 07 22:57:24 It doesn't sound like it would be extremely hard to implement, I think. Dec 07 22:57:45 Are you a long-term programmer or fairly newish to software development? Dec 07 22:57:56 uh, that'd be text recognition and stuff? Dec 07 22:58:05 TacticalJoke: i wouldnt say long term or new. about 2 years Dec 07 22:58:08 sq: I thought she/he meant just storing an image based on the current time. Dec 07 22:58:15 just meant* Dec 07 22:58:17 sq: no text recognizion Dec 07 22:58:23 oh Dec 07 22:58:32 just simply sorting images corosponding to homeowrk Dec 07 22:58:33 Just "If it's 9am on a Monday, this goes into the Maths directory". Dec 07 22:58:40 It's a clever idea. Dec 07 22:58:43 TacticalJoke: exactly Dec 07 22:58:46 yeah, that's nice Dec 07 22:58:54 and that's a nice idea Dec 07 22:58:56 Could work well for tourists and stuff. Dec 07 22:59:05 I found androidprek https://www.youtube.com/channel/UCmKJ32ciFsFt30AlmEJ1mpw pretty good but it looks like the channel has been abandoned, anybody know what has happened to him? Dec 07 22:59:10 Might expand to use GPS later. Dec 07 22:59:42 TacticalJoke: you think it is simple enough to just simply dive into? Dec 07 22:59:44 i have the horsepower to do stuff, but ideas, nice ideas is something i get almost never Dec 07 23:00:06 i already have most of the xml done for it, but it isnt pretty lol Dec 07 23:00:10 I find myself often overwhelmed by own complexity and chaos, i've started to like it Dec 07 23:00:18 Hmm. The one thing I'm not sure about is how the app would know that a photo has been taken. Dec 07 23:00:23 I don't know anything about the photo thing. Dec 07 23:00:25 but all my mistake to not so often take a paper and a pencil Dec 07 23:00:50 TacticalJoke: well i would take the photo inside the app Dec 07 23:00:56 Ah, okay. Dec 07 23:00:57 so make a call to the camera app Dec 07 23:01:05 That doesn't sound really complex, to me. Dec 07 23:01:19 shit ill be back soon, have to eat lol Dec 07 23:01:34 you eat all the lol, kid Dec 07 23:01:49 growing organisms need a lot of that stuff Dec 07 23:02:25 hehe Dec 07 23:02:36 Is anyone have issues with ListView and null value errors? Dec 07 23:02:44 DrDroid: No. Dec 07 23:02:47 why eat soylent when you can eat lol Dec 07 23:03:24 TachticalJoke lol Dec 07 23:04:38 my code never produces npe's Dec 07 23:04:45 it knows better Dec 07 23:04:53 If google does not support merchant registration because of your location, is there any other way to make money from your app? Dec 07 23:04:54 hat's kind of a disappointment for me. The fact that I can't make revenue from the sale of my app based on the country I am in Dec 07 23:04:58 That's* Dec 07 23:06:34 MetalHead this may sound crazy but have you thought of talking to an accountant about that problem? Dec 07 23:07:03 DrDroid: What do you mean by talk to an accountant about the problem? Dec 07 23:07:45 If you setup an external trading company in another country then you can use that address, it's a thought. Dec 07 23:08:14 DrDroid: As in use that address for setting up a google account? Dec 07 23:08:24 Yes. Dec 07 23:13:01 what country are you in that you can't list your location? Dec 07 23:14:03 Is there a really handy function somewhere to resolve lint errors for missing Left/Right attributes vs. start/end? Dec 07 23:14:29 find+replace? Dec 07 23:14:45 there is no country where you cannot list your location, but I found that very annoying, having myself put a personal address Dec 07 23:15:08 and I don't get why there are still zillions of account without any address (but not only listing free apps without in-apps) Dec 07 23:15:47 God dammit. Naming is so tricky and stuff. Dec 07 23:15:57 naming variables? :) Dec 07 23:16:06 Mainly methods, in this case. Dec 07 23:16:16 ahah yes also Dec 07 23:16:25 the most tricky part is to stick with "one" convention Dec 07 23:16:25 Reddit stuff is so hard to name. Dec 07 23:16:34 not choosing a convention, imho Dec 07 23:17:26 I've decided to call the stuff you see at reddit.com/ the "main feed". You can download listings (pages) of this feed. You can get the first listing or a "next" listing (I don't like that last one). Dec 07 23:17:32 Though it's hard to finder a better word than "next". Dec 07 23:18:06 You could say "primary listing"/"secondary listing", but it sucks and is long. Dec 07 23:18:27 Forward Dec 07 23:18:29 sublisting? Dec 07 23:18:33 reddit/subreddit Dec 07 23:18:59 Hello Dec 07 23:19:19 Sorry for disturbing you, I have some problems about a SurfaceView's thread Dec 07 23:19:45 I guess, in a sense, all listings are equal. They're just slices (or pages) of data (which I'm referring to as a feed). Dec 07 23:20:14 First, here is the code : http://sprunge.us/SgMY?java Dec 07 23:20:18 ahhh i totally misunderstood Dec 07 23:20:42 I'd prefer to use the term 'page', but that gets confusing if you start thinking about web sites. :) Dec 07 23:21:06 Second, If I put clearRenderer() and displayRenderer() just at the end of surfaceChanged, my screen become White (What I'm expected) Dec 07 23:21:26 Tacktical joke how about using arrows istead of words. Dec 07 23:21:31 But on the run function, my clearRenderer() and displayRenderer() didn't make there job. Have you an hint why ? Dec 07 23:21:58 DrDroid: lol Dec 07 23:22:10 I guess you mean something like Wingdings. Dec 07 23:22:43 Ahh, I guess I could use "newest" / "earlier" or something. Dec 07 23:22:48 Or such like lol but it's international. Dec 07 23:23:15 Then again, they're not necessarily the newest (e.g., if the user sorts by 'controversial'). Doh! Dec 07 23:23:20 Gaulois94 lets take a look. Dec 07 23:23:24 Groxx, g00s: I figured out a solution for my problem of a background thread waiting on an async response from the UI thread. I used a Future-like wrapper and a CountDownLatch: https://gist.github.com/sr105/96170b875f61239f146d Dec 07 23:23:43 Thanks Dec 07 23:24:30 Gaulois94, maybe you need to stop your thread on surfaceDestroyed too? and also I've got crazy "tests" in my code in surfaceCreated related to the thread, like checking Thread.State.NEW (can start the thread), checking Thread.State.TERMINATED (i need to recreate a new thread), etc.. Dec 07 23:24:30 Just that : initRenderer init an egl context Dec 07 23:24:33 i don't know more. Dec 07 23:25:10 I thought I have to let my thread run all the time Dec 07 23:25:23 and use if(m_isInit) for making the job Dec 07 23:25:33 ah just one thing, i don't see you're using a callback as holder.addCallback(new SurfaceHolder.Callback() Dec 07 23:25:33 [...] Dec 07 23:25:34 sr105|away oh great, glad you got a solution Dec 07 23:25:56 Just here : getHolder().addCallback(this); Dec 07 23:25:57 or maybe you do that "above" since you have an implements Dec 07 23:26:00 oops Dec 07 23:26:03 sorry :/ Dec 07 23:26:12 My surfaceChanged is called Dec 07 23:26:26 And If I past my run function to its end, the code "works" Dec 07 23:26:35 try to dump the state of your thread, for each case Dec 07 23:26:41 (with big quote, it is really awful) Dec 07 23:26:45 Log is enough for that, that can shed a light Dec 07 23:27:03 Just a question : Should I let my thread run all the time ? Dec 07 23:27:19 ughh Dec 07 23:27:25 hmm i don't think so, if you leave the activity Dec 07 23:27:26 trying to figure out how to create release.keystore Dec 07 23:27:37 it might continue running and consume things Dec 07 23:27:38 Well, that's when destroy is called Dec 07 23:27:52 pause* Dec 07 23:28:06 (destroy make an another job, I just erase his job) Dec 07 23:28:06 put a log in your thread loop, and see what happens too Dec 07 23:28:52 i had to join(), set the boolean responsible of letting the thread runs and interrupt in my surfacedestroyed Dec 07 23:28:59 otherwise it was continuously running Dec 07 23:29:01 Leaving the tread to run continuously is a bad idea, destroy it when it's done it's job. Dec 07 23:29:04 but again, my code might highly differs Dec 07 23:30:07 to use google api's you need sha1 of your release.keystore, but this keystore needs to be created. (debug.keystore exists by default). Is there a way of creating this release.keystore or signing your application will create this, which later you use to obtain the sha1. Dec 07 23:30:21 My thread runs and call clearRenderer and displayRenderer Dec 07 23:30:23 yes detachYo Dec 07 23:30:38 DrDroid: ok Dec 07 23:30:55 but you might need to have the apk signed with the key from the release keystore Dec 07 23:31:03 already uploaded to the play console dev though Dec 07 23:31:10 idk for google api, but for playgames Dec 07 23:31:15 i think it was the case Dec 07 23:31:18 i am not sure what happened, i went through build -> generate signed apk Dec 07 23:31:27 then went through the steps, created two passwords and the apk was generated Dec 07 23:31:48 you need to generate a release key for your app (one per app is recommended) Dec 07 23:31:54 and you have several fields to fill Dec 07 23:32:00 Gaulois94 take a look at http://docs.oracle.com/javase/1.5.0/docs/guide/misc/threadPrimitiveDeprecation.html Dec 07 23:32:03 so you might not have done it properly, or their front-end fails Dec 07 23:32:04 what is a release key? Dec 07 23:32:12 check d.android.com signing your apk Dec 07 23:32:22 is it same as release.keystore? Dec 07 23:32:22 it's explained better :) Dec 07 23:32:25 nop Dec 07 23:32:29 the keystore holds your keys Dec 07 23:32:34 alrighty Dec 07 23:32:37 let me go through it again Dec 07 23:32:38 it's a container for keys Dec 07 23:32:40 Runnaway threads are a bad thing. Dec 07 23:33:01 lol Dec 07 23:33:52 DrDroid: Ah threads..... Dec 07 23:34:01 I'm hating these things x) Dec 07 23:34:27 the thread UI is painful, especially :p Dec 07 23:34:58 i still wonder sometimes if this or that "touches the ui" and must be done on the UI thread Dec 07 23:35:02 But maybe it is my View who are not been update Dec 07 23:35:25 Generally speaking if you done kill a tread once it's done then it can spiral out of control consuming more and more available cpu cycles. Dec 07 23:35:43 you cannot "relaunch" a thread if terminate Dec 07 23:35:44 d Dec 07 23:35:59 so again, check its states at several points/places Dec 07 23:36:03 sr105|away: countdown latch: cool, works well? Dec 07 23:36:04 hot damn. there are 4 ways of signing your app Dec 07 23:36:24 Groxx: seems to... :) Dec 07 23:36:38 We'll know better once I start adding a lot more message passing Dec 07 23:37:22 true :) I do like me some latches. they're pretty easy to reason about. Dec 07 23:37:46 Best part for now is it allows me to write synchronous code that abstracts away asynchronous messaging Dec 07 23:38:20 DrDroid er.. what kind of threads do you write? Dec 07 23:38:40 self-aware ones, apparently Dec 07 23:39:11 i'm not sure even what you mean by "once it's done", if you don't mean "finishes the method". finishing the thread run() method destroys the thread in the jvm Dec 07 23:39:56 if you have threads that spin waiting for more work, yeah that'll spike your cpu to 100 as they're just looping as fast as they can.. but that's solvable just by using proper concurrency work queues Dec 07 23:40:22 hello, what is the line command for execute emulator android in a PC machine? Dec 07 23:40:35 rmbeer: emulator Dec 07 23:41:07 tough one to crack ;) Dec 07 23:41:21 ? Dec 07 23:42:03 might be 'emulator.exe'? Dec 07 23:42:23 windows doesn't req the .exe extension if using it as a command Dec 07 23:42:35 no. i used a linux Dec 07 23:42:42 (it has been a while since I've used the command line in windows, if it wasn't obvious) Dec 07 23:43:13 oh, you meant pc in its actual meaning? lol Dec 07 23:43:17 cmd is still "emulator" tho Dec 07 23:43:33 rmbeer: it might not be in your path - be sure to add /tools/ Dec 07 23:44:03 trace a memory and execute a line 'java' command, but the parameters not function in same of down into the eclipse Dec 07 23:44:27 wait what Dec 07 23:44:55 "java -Xmx256M -Dcom.android.ddms.bindir=android-sdk-linux/tools -classpath android-sdk-linux/tools/lib/ddms.jar:android-sdk-linux/tools/lib/swtmenubar.jar:android-sdk-linux/tools/lib/x86/swt.jar com.android.ddms.Main ping emulator standalone" Dec 07 23:45:41 "ping emulator standalone" not recognize, and output emulator not appear the window android with buttoms of skins Dec 07 23:45:54 only appear window debug Dec 07 23:46:00 yeah, that's totally different. that's how DDMS launches the emu, apparently Dec 07 23:46:22 "ping emulator standalone" are parameters to com.android.ddms.Main, they're not commands Dec 07 23:47:01 i known Dec 07 23:48:44 for other option, use tools/emulator-xx? Dec 07 23:50:57 sorry, know=>undestand Dec 07 23:51:06 I tryed to lock my canvas Dec 07 23:51:28 But I have the following error : java.lang.IllegalArgumentException: canvas object must be the same instance that was previously returned by lockCanvas Dec 07 23:51:30 understand* Dec 07 23:52:27 The code is simply that http://pastebin.com/YRBUrCab Dec 07 23:52:38 rmbeer yeah, i think so.. i'm not really sure what your question is anymore but the command to launch the emulator from a cmd prompt is $ANDROID_HOME/tools/emulator Dec 07 23:52:53 don't run the arch-specific ones yourself, it will choose the correct one for you Dec 07 23:53:21 * Groxx facepalms Dec 07 23:53:42 Gaulois94 i'm guessing your error is coming from the unlockCanvasAndPost() call, not the lockCanvas call.. Dec 07 23:53:46 is there a simple way to deal with a listview with headers + footers + onItemClickListener? Dec 07 23:53:57 then only problem is used or move the parameters of 'java' to 'emulator-xx' Dec 07 23:54:18 rmbeer what are you trying to do? that java command you posted above is irrelevant Dec 07 23:54:30 sarbs: I'm giving him exactly what I received Dec 07 23:54:38 nothing in there is anything you should pass to the emulator command Dec 07 23:54:54 Gaulois94 you call getHolder() each time.. could that method possibly return a different value Dec 07 23:55:28 no, nm that doesn't make sense Dec 07 23:55:40 not sure, sorry champ. haven't used surfaces much Dec 07 23:56:23 Groxx: update: it only happens when the OS restarts the service, if i restart the service by reopening the app it works fine Dec 07 23:56:31 and it happens every time Dec 07 23:56:47 just bought the big nerd ranch book. wish me luck boys Dec 07 23:56:56 sq: nice find, that heavily restricts the problem :) Dec 07 23:57:02 umm, sarbs , for example, not used the same skin for 'emulator-xx -skin' and 'java -classpath xxx:android-sdk-linux/tools/lib/swtmenubar.jar:xxx' Dec 07 23:57:06 ? Dec 07 23:57:09 yeah, that's a lead Dec 07 23:57:15 Groxx: i feel like a detective Dec 07 23:57:34 or not used the swtmenubar.jar in skin? Dec 07 23:57:48 sq: I don't think I told you, but do you know how to kill an app process like the OS does? you can do it from DDMS, it might speed up your experimenting. Dec 07 23:58:00 rmbeer again, don't look at that java command. it is *completely* irrelevant. Dec 07 23:58:03 https://developer.android.com/tools/devices/emulator.html Dec 07 23:58:43 Groxx: ooh can i? how?? i'm really tired of scrolling through tumblr pages with porn gifs (altho that works pretty fine) Dec 07 23:59:27 haha Dec 07 23:59:41 sarbs, ok Dec 07 23:59:58 AS or Eclipse? they're both similar though: select the process in ddms, and there's a red "stop" / "x" button. Dec 08 00:00:15 hum Dec 08 00:00:17 sq: make sure the app isn't in the foreground when you do that, or it behaves more like the app crashed (which it basically did) Dec 08 00:00:45 I am following a documentation that says to do this "keytool -list -v -keystore your_keystore_name -alias your_alias_name" but I don't know if I created your_keystore_name, and not sure how to do so. I generated signed apk with key store path (.jks) and two password. Dec 08 00:00:47 hum. i'd have to test that, last time i tried yes that behaved like a crash Dec 08 00:00:50 I needz help =( Dec 08 00:00:56 thanks for the tip Groxx Dec 08 00:01:37 Sniff, I hate this thing.... Dec 08 00:03:24 sq: if it doesn't work, I'd be interested. I've used it heavily for figuring out task-stack weirdness, so far it has been reliable. but I haven't used it for this in particular. Dec 08 00:04:18 Groxx: yeah it seems to be working! great tip Dec 08 00:06:47 what the hell is .jks extension and why doesn't the doc say it needs to be .keystore :( Dec 08 00:07:24 hi Dec 08 00:07:34 hi Dec 08 00:12:58 I have a problem Dec 08 00:13:04 I think I figured out the cause Dec 08 00:13:10 But I don't know the solution. Dec 08 00:13:19 accessToken = GoogleAuthUtil.getToken(context, accountName, scope); Dec 08 00:13:39 Oh, wait. Dec 08 00:15:03 So, Dec 08 00:15:14 Agamemnus: what is the problem? Dec 08 00:15:26 If a user did not provide authorization yet, the thread doesn't wait. Dec 08 00:15:38 I'm trying to figure out the logic Dec 08 00:15:39 btw: apparentley you don't have to have .keystore file to export release sha1. mine was ending in .jks Dec 08 00:16:16 When you have try/catch Dec 08 00:16:30 going to the catch doesn't end the execution flow, does it? Dec 08 00:16:50 If it goes to catch, that means what ever it was trying to execute failed Dec 08 00:17:09 right but it doesn't stop the execution of the rest of the function Dec 08 00:17:09 you can attach finally to try/catch and end the thread there Dec 08 00:17:12 i didn't realize that Dec 08 00:17:32 either case if it tries and succeeds or catches (failes) you need to end the thread Dec 08 00:17:36 assuming that's what you are trying to do Dec 08 00:18:00 also, you may catch multiple exceptions Dec 08 00:18:05 if you know what you want to catch it against Dec 08 00:18:39 i have another question Dec 08 00:18:45 does "this" ever change? Dec 08 00:18:50 Like if you have a sub-class instance Dec 08 00:18:52 within a class Dec 08 00:18:56 is "this" the sub-class? Dec 08 00:19:01 this is the context of the class Dec 08 00:19:03 yes Dec 08 00:19:21 How do I say "the parent class of this"? Dec 08 00:19:26 this refers to the current object. Dec 08 00:19:41 do i just call a function in the parent class, instead? Dec 08 00:20:01 i don't know how you'd say the parent class, but adding function and calling is what i'd do Dec 08 00:20:03 .//tcg/optimize.c:364: tcg fatal error Dec 08 00:20:03 Abortado (`core' generado) Dec 08 00:20:11 what is this? :S Dec 08 00:20:13 okay Dec 08 00:20:50 Agamemnus: refer to this: http://stackoverflow.com/questions/14800410/how-to-access-parent-class-member-from-nested-class-in-java Dec 08 00:20:52 i used a emulator-arm Dec 08 00:21:20 I want to say something like "a subsequent listing" (as in "the listing that isn't the first/top/primary listing"). I'm currently using 'next', but it doesn't work well: "a next listing" sounds weird. What's a good word here? Dec 08 00:21:25 the configuration of avd created in eclipse Dec 08 00:21:25 my laptop is out of charge and i am going to log off, good luck Agamemnus. visit back if you have other questions Dec 08 00:21:28 "Sub-listing" is okay, but it sounds like a hierarchy. Dec 08 00:21:51 Hmm, maybe 'secondary'. Dec 08 00:21:52 TacticalJoke: hmm give more context please Dec 08 00:22:03 detachYo: It's about Reddit, basically. Dec 08 00:22:13 You can get the first listing/page of posts, or the second, or the third. Dec 08 00:22:19 I'm calling the first listing the "top listing". Dec 08 00:22:24 Not sure what to call non-top listings. :D Dec 08 00:22:34 next? Dec 08 00:22:44 get rid of a Dec 08 00:22:46 "a" Dec 08 00:22:51 "Next Listing" Dec 08 00:23:00 where's jacobtabak been lately ? Dec 08 00:23:02 kinda same idea as in pagination Dec 08 00:23:08 Yeah, that's neat, but the problem is that my code needs to (essentially) a refer to "a next listing". Dec 08 00:23:13 -a Dec 08 00:23:21 (The first 'a', I mean.) Dec 08 00:23:24 Hmm Dec 08 00:23:24 any ideas? Dec 08 00:23:31 array listing, and you index it, problem solved :p Dec 08 00:23:34 g00s: ! long time no see man Dec 08 00:23:36 how ya been Dec 08 00:23:44 hi detachYo :) Dec 08 00:23:45 adq i think this is more of a language question Dec 08 00:23:51 g00s: how have you been? Dec 08 00:23:52 i give the same error: Dec 08 00:23:53 .//tcg/optimize.c:364: tcg fatal error Dec 08 00:23:53 Abortado (`core' generado) Dec 08 00:23:54 I guess "a secondary listing" isn't bad. Dec 08 00:24:31 listing more, you call that "more" Dec 08 00:24:47 like many social thingy does maybe Dec 08 00:24:54 Reddit actually uses that for comments. :D Dec 08 00:24:57 I think. Dec 08 00:24:57 detachYo ok i guess. trying to make my code nicer by taking sume yucky state / concurrency and convert to rxjava. it worked well, but looks awful Dec 08 00:25:29 g00s: you're worried about looks? I am a Perl developer by day Dec 08 00:25:31 adq: I actually liked your 'sub' idea. Dec 08 00:25:37 :P Dec 08 00:25:47 :) Dec 08 00:26:08 alrighty guys, 4 percent charge. I'll be back latez. Adios Dec 08 00:26:42 I'm watching American Pie Presents Bandcamp. Dec 08 00:26:48 Band Camp* Dec 08 00:26:48 It sucks. Dec 08 00:26:55 :( Dec 08 00:27:00 Either I'm getting old or it just sucks. Dec 08 00:27:02 .//tcg/optimize.c:364: tcg fatal error Dec 08 00:27:02 Abortado (`core' generado) Dec 08 00:27:08 not fixed.... Dec 08 00:27:45 what is this? tcg? Dec 08 00:28:09 TacticalJoke: how about Page 2, Page 3 ... Dec 08 00:28:13 not have none file in android-sdk-linux Dec 08 00:28:33 I'd like that, but I need a single name for all pages after 1. Dec 08 00:28:37 Hi everybody. I have an issue with implementing some multi-touch stuff. I found out that sometimes ACTION_POINTER_UP on Nexus 7 is triggered for no reason while two fingers are still on the screen. It's like I move to fingers on the screen and ACTION_POINTER_UP constantly invoked and then right after that ACTION_POINTER_DOWN goes again and so forth. Dec 08 00:28:53 what is the arm? is this architecture is correct for a Intel PC? Dec 08 00:28:54 I might go with "sub-listing". Dec 08 00:29:02 On my Sony Xperia Z1 everything is absolutely great and smooth... Dec 08 00:29:11 Bon, I SurfaceView is quiet anoying Dec 08 00:29:31 or i needed used emulator-x86 or emulator64-x86 in to emulator-arm?? Dec 08 00:29:41 So I wonder if there's some specific things about handling multi-touch on Nexus or something Dec 08 00:30:02 in a tuto used ARM for emulated under Window Dec 08 00:30:37 rmbeer: you run the arm emulator to run arm images, x86 to run intel images Dec 08 00:31:20 humm, i used avd created and used a img of arm Dec 08 00:32:14 what is the error of tcg?? --> .//tcg/optimize.c:364: tcg fatal error Dec 08 00:32:51 if used the avd files created '-avd myandroid' get this error Dec 08 00:33:15 the myandroid created by eclipse Dec 08 00:33:24 rmbeer: If you shat in the wilderness, and noone was around to hear it, does it make a sound? Dec 08 00:34:31 Darklust, yes... It's like from android? Dec 08 00:34:49 Exactly Dec 08 00:35:06 Why does Eclipse's extract-method refactoring think I would be limited my code to a width of 80 characters? Dec 08 00:35:12 Like, this is 2014. Dec 08 00:35:39 Darklust, i do not understand, explain. Dec 08 00:36:28 google tcg fatal error for background Dec 08 00:37:06 Groxx, any ideas? :( what is this tcg? Dec 08 00:37:21 Trading Card Game Dec 08 00:37:25 google say: tcg is the code generator used by the emulator to translate ARM machine code into x86. Dec 08 00:37:45 Google is your friend Dec 08 00:38:03 humm, is this a bug of android-sdk? Dec 08 00:38:10 *Being crazy by SurfaceViews* Dec 08 00:38:15 Dx Dec 08 00:38:49 I'm trying to lock the SurfaceView canvas Dec 08 00:38:50 *sigh* Dec 08 00:39:03 for expected modifing him by natif opengl Dec 08 00:39:18 But..... I have this error : java.lang.IllegalArgumentException: canvas object must be the same instance that was previously returned by lockCanvas Dec 08 00:39:50 The code is simply that : http://pastebin.com/Ge99GB6a Dec 08 00:40:14 I have that too : E/BufferQueue( 138): [SurfaceView] connect: already connected (cur=1, req=2) Dec 08 00:40:48 Darklust, "If you shat in the wilderness, and noone was around to hear it, does it make a sound?" what is your reply? Dec 08 00:41:29 Oh, I'd argue it doesn't make a sound Dec 08 00:41:39 fail xD Dec 08 00:42:36 It's super Dec 08 00:42:44 Darklust, your thinks that the desert is unloaded from memory in without users?? hahaha Dec 08 00:42:45 That's how to call the parent class instance Dec 08 00:43:00 maybe Dec 08 00:43:05 rmbeer: Cogito ergo sum Dec 08 00:43:32 Dec 08 00:43:37 rmbeer: Honestly, there Dec 08 00:43:38 We got a self-aware AI on our hands, boys Dec 08 00:43:44 Blow it up! Dec 08 00:43:59 Too much lag if areas aren't unloaded from memory when we leave them Dec 08 00:44:03 If you define 'sound' in terms of atoms moving with or without an observer, it makes a sound. If you define 'sound' in terms of an observer noticing stuff, it doesn't make a sound. It's just a question of language. Dec 08 00:44:50 TacticalJoke: I reject your claim and posit that, if I'm not there, your shat doesn't exist Dec 08 00:44:52 not super Dec 08 00:44:55 Darklust, hummm, really your thinks that a desert is unloaded if not user in zone... Dec 08 00:45:16 shit, how do i do this Dec 08 00:45:25 private class RetrieveTokenTask extends AsyncTask { ... Dec 08 00:45:40 ?????.setResultCallBack (); ..... setResultCallBack is the parent class Dec 08 00:45:59 is a function Dec 08 00:46:02 in the parent class Dec 08 00:46:12 ok, if none helpme for a bug of tcg, then byebye.... Dec 08 00:46:33 hey JacobTabak Dec 08 00:46:38 hi Dec 08 00:47:36 JacobTabak quick q about rxjava observeOn and subscribeOn ... a chain of operators can have any number of these , right ? Dec 08 00:47:38 nothing works Dec 08 00:47:51 "Outer.this.setResultCallBack ();" ... nope. Dec 08 00:48:30 anyone know why this might not work? Dec 08 00:48:34 This room's topic should be: Agamemnus' Diary Dec 08 00:48:34 i usually just see examples where they are specified at the very end of the chain Dec 08 00:48:47 g00s yes thats right Dec 08 00:48:49 I get an error like this: "error: cannot find symbol" Dec 08 00:48:58 JacobTabak which statement ? Dec 08 00:49:01 g00s i think you have only one 'observeOn' Dec 08 00:49:06 Agamemnus: I have a couple old ones I could send you Dec 08 00:49:12 They make an odd twang though Dec 08 00:49:17 old what? Dec 08 00:49:20 JacobTabak ok, but any number of subscibeOn ? Dec 08 00:49:21 Symbols Dec 08 00:49:24 g00s yes Dec 08 00:49:29 Man I just need to call the "outer" function, but it just doesn't run. Dec 08 00:49:34 because the chain of observables only has 1 observer Dec 08 00:49:39 but many observables Dec 08 00:49:42 http://stackoverflow.com/questions/2808501/calling-outer-class-function-from-inner-class says to use Outer. Dec 08 00:50:03 JacobTabak: Exactly, so I am the only brain in the vat! Dec 08 00:50:16 Wait Dec 08 00:50:46 ffs, they meant the outer class name Dec 08 00:51:06 Agamemnus: Well what else. :p Dec 08 00:51:39 JacobTabak ok, thanks. find very vew things talking about the correct way to use onserveOn/subscribeOn Dec 08 00:51:45 Darklust: It'd be better if there were only one mind in existence. Way less suffering in the universe in that case. Dec 08 00:52:05 it's still not working. Dec 08 00:52:06 well, mixing schedulers Dec 08 00:52:51 Agamemnus please... man Dec 08 00:52:58 do some 101 please Dec 08 00:53:07 MyOuterClassName.this.setResultCallBack() : cannot find symbol Dec 08 00:53:18 are you in a static method?? Dec 08 00:53:23 Agamemnus still around? i put him on ignore long ago Dec 08 00:53:27 I am not in a static method Dec 08 00:53:30 yeah its time for me to do that as well Dec 08 00:53:32 Hey g00s, eat a turd pie. Dec 08 00:54:03 Seriously JacobTabak? Dec 08 00:54:25 Is there no way to get to the outer class instance? Dec 08 00:54:40 this is so basic that i can't even answer you Dec 08 00:54:41 I don't understand why my OpenGL Modifications are only taken in consideration in the function surfaceChanged() Dec 08 00:54:44 if you can't find it with google Dec 08 00:54:49 :( Dec 08 00:54:50 i dont think there's hope for you Dec 08 00:56:38 Ok. It seems that setResultCallBack was actually something that was already defined Dec 08 00:56:58 If I just use doSetResultCallBack(), it works... Dec 08 00:57:46 UNREAL. Dec 08 01:01:07 i love it. the BT request dialog is broken on all versions of android, but they just marked it obsolete because 5.0 fixed it Dec 08 01:02:50 pre 5.0 is so yesterday Dec 08 01:03:13 yesterday, all my troubles seemed so far away ... Dec 08 01:04:05 thats that band paul mcartney was in before wings? Dec 08 01:05:06 Beetlejuice? Dec 08 01:17:11 Why eglSwapBuffer take effect only in changeSurface ? Dec 08 01:25:06 Does it make sense in English to say "If we miss the train, we'll get a next one"? Dec 08 01:25:14 I don't think it does. lol Dec 08 01:25:52 Sounds like a toddler talking. Dec 08 01:29:03 I guess "we'll get a later one" is the most sensible. Dec 08 01:31:37 We have to make too many decisions in programming. Dec 08 01:31:46 Decisions mean stress. Dec 08 01:40:01 TacticalJoke: just name it whatever and move on, you can come back and rename it later Dec 08 01:45:18 JacobTabak this is pretty good http://www.grahamlea.com/2014/07/rxjava-threading-examples/ Dec 08 01:45:55 whats the takeaway? Dec 08 01:45:59 anything surprising? Dec 08 01:46:39 he calls it 'missing manual for threading in rxjava Dec 08 01:46:55 i mean.. is there anything thats unexpected? what part of it needs a manual? Dec 08 01:47:00 i'll bookmark and read later, tho Dec 08 01:47:43 i didn't have a firm grasp of this. all the example i saw were always blah blah blah .obServeOn().subScribeOn().subscribe() Dec 08 01:48:20 maybe you knew this already :) Dec 08 01:48:35 i'll find out when i read it later :) Dec 08 02:03:10 JacobTabak that blog has how you can use multiple observeOns in a chain Dec 08 02:03:33 i'll have to check it out Dec 08 02:06:15 " in a flow that doesn’t have any merge- or join-like operators (something I call a “single-path flow”), the position of a subscribeOn() call makes no difference – it will always dictate the thread used to subscribe to the source Observable." Dec 08 02:06:32 hmm Dec 08 02:06:56 Hi, I'm new here, just checking out the AWD ide , seems pretty, although I was wondering if it had an embedded run function to Dec 08 02:08:42 what's AWD? Dec 08 02:09:16 android web developer? Dec 08 02:10:09 Ide for android Dec 08 02:10:28 Not the above Dec 08 02:10:29 *sighs* yeah ok... Dec 08 02:10:31 ah Dec 08 02:10:42 yea, i can't imagine doing web dev on my phone.. Dec 08 02:11:31 More like on your android tablet Dec 08 02:11:42 yea Dec 08 02:12:48 i'm new too. came to see if anyone has knowledge of the networking capabilities in the api. specifically the VpnService and it's ability to modify the route table Dec 08 02:12:59 it makes some sense to develop on the system your developing for Dec 08 02:14:47 there is some demand for wifi tether -> vpn -> mobile broadband Dec 08 02:15:11 i want it just to be able to use vpn on pc's without installing openvpn and setting up Dec 08 02:15:55 but i'm guessing they've (android devs) have made that routing not possible since it would bypass tether lock from carriers Dec 08 02:16:04 at least not without root Dec 08 02:16:41 i don't see any arbitary 'add route' api methods Dec 08 02:16:47 or iptables Dec 08 02:17:22 but i'm new, i dunno. looks like they've made VpnService particularly to add virtual lan without needing root. Dec 08 02:20:07 Hmm, does Log.d truncate stuff? Dec 08 02:20:27 If I try to print a long string, say. Dec 08 02:21:54 does anyone know of a way to see the xml code and also the xml preview at the same time? Dec 08 02:22:29 yes i get truncated Dec 08 02:22:43 1024 iir Dec 08 02:23:52 Damn. Dec 08 02:24:04 The Reddit server is sending something that makes Gson throw a parsing exception. Dec 08 02:24:18 It's too long to print to the log thing. :/ Dec 08 02:25:09 hi guys, how to upload my android app i'm working on to somewhere so people can download it from their android device? I don't want to use google play store, this is just small school project. Dec 08 02:25:32 TacticalJoke: heh. are you sure it's json? I tend to get error websites when things break on json APIs Dec 08 02:25:36 Cervantes: f-droid or just upload it so they can sideload Dec 08 02:25:51 Cervantes: just stick it on your site Dec 08 02:25:52 Cervantes: something like google drive should work fine Dec 08 02:25:52 Cervantes: you can just email them the apk Dec 08 02:25:52 Groxx: Yeah, the first 1024 (or whatever) characters look fine. Dec 08 02:26:36 oh ,and also, which file should i upload? Dec 08 02:26:37 DadFoundMy: in AS, just click "Preview" button in top right corner Dec 08 02:26:46 i use android studio to run and write the app. Dec 08 02:26:48 While your on subject, is it possible to have a group of android phones serve as a VPN? Dec 08 02:26:51 "com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 12 path $" Dec 08 02:27:14 squirrel: im in eclipse right now, but will switch soon :( Dec 08 02:27:25 DadFoundMy: ew Dec 08 02:27:43 still in school and already spoiled Dec 08 02:27:45 squirrel: It's possible to see XML and preview at the same time in Android Studio? Dec 08 02:27:58 squirrel: :D Dec 08 02:27:59 TacticalJoke: yup Dec 08 02:28:20 squirrel: once i get out of the learning stage iw ill switch but rn most tutorials are in eclipse Dec 08 02:28:32 Cervantes: you may want to go to project -> generate signed APK. Or if signatures don't matter, you can just run it, and copy the debug APK from the build folder. I tend to do that for tiny demonstrations Dec 08 02:29:04 DadFoundMy: never ever used eclipse, never had major problems with AS Dec 08 02:29:23 "tutorials are in eclipse" Dec 08 02:29:38 apart from the times when you have to manually delete some stuff when cleaning project doesn't work Dec 08 02:29:40 * squirrel fumes Dec 08 02:29:46 * capella-s3 had trouble parsing that Dec 08 02:30:09 capella-s3: sry my engrish isnt good Dec 08 02:30:40 * DadFoundMy hides the fact that hes american Dec 08 02:30:43 :) tutorials are in java I could grok Dec 08 02:31:27 The Reddit people said that the server is sending bad responses sometimes. Hmm. Dec 08 02:31:46 I need a strategy to figure this stuff out in future, though. Is there a good log thing I should download? Or I guess I could create my own. Dec 08 02:31:56 Don't want truncated logs. :/ Dec 08 02:32:22 parse and chop it yourself? Dec 08 02:32:31 Hmm, true. Dec 08 02:32:35 TacticalJoke: chop it up in < 4k character bits Dec 08 02:32:41 yah Dec 08 02:32:48 Groxx: ok Dec 08 02:33:03 I did that for moz hack ... we actually write JS console messages to Log.d Dec 08 02:33:17 Good idea; thanks. Dec 08 02:33:27 Why do they limit it to 1024? Crazy stuff. Dec 08 02:34:02 I think it varies by device, actually. iirc there's a way to get the length, but only through adb Dec 08 02:34:10 but 4k seems like a standard limit. and yes: crazy. Dec 08 02:36:26 ugh, every bug i starred in the defect tracker was automatically closed with 'obsolete' Dec 08 02:36:52 yeah, I noticed the cleansing going through some of mine... Dec 08 02:36:59 gotta check to see if it's correct :| Dec 08 02:37:33 "Allow developers to define a reason for using a permission" ... obsolete ! Dec 08 02:37:44 :| Dec 08 02:37:46 no it isn't , because in that case we know they didn't do anything about it Dec 08 02:38:00 obviously that means they've released something that's even better, right? Dec 08 02:38:37 i guess 'obsolete' means, we're too lazy to do regression testing , so can you do it again and resubmit if its still a problem Dec 08 02:39:47 https://code.google.com/p/android/issues/detail?id=59490 Dec 08 02:39:55 "Not obsolete. Still occurs on Android 5.0" Dec 08 02:40:01 ok, so we get to resumbit, fun ! Dec 08 02:40:06 *resubmit Dec 08 02:40:25 they should probably just delete all the issues and start from 0 Dec 08 02:41:51 probably, yeah Dec 08 02:41:59 less passive-aggressive Dec 08 02:42:15 just straight-up aggro Dec 08 02:42:55 so what does this mean for any .1 release prior to 5.0 ? everything has been obsoleted Dec 08 02:43:07 future release, like emergency bugs, etc Dec 08 02:43:23 "Allow developers to define a reason for using a permission" that Dec 08 02:43:25 i want that Dec 08 02:43:41 maybe this means there will be no more .1 release prior to 5.0, since they got rid of all the bugs heh Dec 08 02:43:43 s/allow/force/ Dec 08 02:43:49 Hey, resources question. Does /drawable/ correspond to a density bucket? Dec 08 02:45:05 not sure i get the question, but the answer is probably no Dec 08 02:45:10 Estel: nope Dec 08 02:45:47 Estel: it's used exactly the same as other folders, like /layout/ vs /layout-v11/ etc Dec 08 02:46:03 but do resources get scaled when on higher density screens? Dec 08 02:46:27 Or is it functionally equivalent to drawable-nodpi Dec 08 02:46:33 Estel: for resources in /drawable/, I forget. XML ones defined in terms of DP: yes. bitmaps: I don't remember. Dec 08 02:47:48 I'm trying to fix out of memory errors on Galaxy S4s and wondering if I can blame a bitmap in /drawable/ without any -xhdpi versions Dec 08 02:48:04 stuff like "-ldpi" is just a selector Dec 08 02:48:22 elements choose the folder that is the most appropriate to them Dec 08 02:48:22 https://code.google.com/p/android/issues/detail?id=6707 cc g00s Dec 08 02:48:41 squirrel: my understanding was that if it was selecting from the wrong density bucket, a bitmap would be scaled beforehand Dec 08 02:48:44 "-land-ldpi" comes before "-ldpi" and that comes before nothing Dec 08 02:49:17 well it probably does some magic in there Dec 08 02:49:42 you know the funny thing? Dec 08 02:50:15 if you put a small drawable in xxxhdpi and use your app on small density display, your image can get scaled to 0 pixels and will crash Dec 08 02:50:31 adq yeah that would be nice Dec 08 02:50:52 obsolete :) Dec 08 02:50:54 Estel: that does sound familiar, but I can't find any references at the moment. Dec 08 02:50:59 i think they ran a bot Dec 08 02:51:07 or something making everything old and not closed obsolete Dec 08 02:51:53 adq: ugh. why not "needs more info"? or some other tag, like "old, double check relevance"? Dec 08 02:52:12 "obsolete" has totally different connotations Dec 08 02:52:59 idk, they've got too many issues with "the new stuff", proportionally to before i meant (since dev bases have grown, bugs too, but I bet bugs grows faster) Dec 08 02:53:04 grow* Dec 08 02:53:48 Estel: the general pattern I've followed has been to only put XML drawables in the /drawable/ folder. bitmaps always go somewhere else, like -hdpi or -nodpi. Dec 08 02:54:04 but I don't remember why, exactly Dec 08 02:54:06 thats one of the annoying things about android - developed behind closed doors - not being able to have a transparent defect tracking system. they have to have the user facing one, and the internal one. Dec 08 02:54:14 or they started paying internal dev based on closed tickets :)) Dec 08 02:54:54 when i was a trainee at ibm, i can recall seeing old fox taking tickets just for closing it, because they've got a quota of ticket to take per week Dec 08 02:55:05 Groxx: yeah, that definitely makes sense, and is also what I try to do Dec 08 02:55:19 its like the same problem as play; they apply no quality control to stuff that goes in there, so it grows to a point that when something needs to happen its done algorithmically. Dec 08 02:55:47 yeah, i can see a "urge" in releasing, see rc1 rc2 rc3 rc4 in AS recently Dec 08 02:56:13 almost the same day for an rc to fix bugs in previous rc Dec 08 02:56:42 the shrinking story deserves popcorn: https://code.google.com/p/android/issues/detail?id=80872 Dec 08 02:58:30 but i'm sure it's not the faults of tnor & xavier d because they are pretty active, and not only on that, so i think they're not enough ppl working on it Dec 08 02:59:33 cancelled due to lack of interest? deprioritized into irrelevance? Dec 08 02:59:34 users are already beta-testers, i don't know what devs are :) gtg anyway o/ Dec 08 02:59:45 take care **** ENDING LOGGING AT Mon Dec 08 02:59:59 2014