**** BEGIN LOGGING AT Sat Nov 08 03:00:00 2014 Nov 08 03:03:03 i don't even understand how this happens http://developer.samsung.com/forum/board/thread/view.do?boardName=General&messageId=248142 Nov 08 03:03:06 God, so many SO answers insist on the person doing presentation stuff in code rather than XML. Nov 08 03:03:24 "Is it possible that Samsung is re-implementing the support library version of PopupMenu for TouchWiz and has a bug in their code?" Nov 08 03:03:40 something messed up with classpath? Nov 08 03:04:22 TacticalJoke you mean doing GUI in Java instead of XML ? Nov 08 03:04:44 Yeah. Nov 08 03:05:31 i only knew one person that insisted all GUI should be Java. thats just busted thinking :) Nov 08 03:05:32 I love the subtle spam in that issue you linked to. lol Nov 08 03:06:17 I hate having to do any GUI stuff in Java code. :[ Nov 08 03:06:22 Even dynamic stuff. lol Nov 08 03:06:26 I it possible to get a numeric keyboard with just the digits 0...9? The android:inputType's: number, numberDecimal. & numberSigned - all provide extra keys not required (like '#' and '-'). Nov 08 03:06:44 is it... Nov 08 03:06:57 Nivag: Does this help? http://stackoverflow.com/questions/3357302/only-show-number-buttons-on-soft-keyboard-in-android Nov 08 03:07:12 Google "android keyboard only digits" for more. :) Nov 08 03:09:52 '-') Nov 08 03:10:57 http://cringe.reddit.com/ is boring lately. Nov 08 03:18:15 Android Studio keeps giving me an 'aapt.exe has stopped working' error when building. I created a couple of new projects and it happens as soon as they're generated. Nov 08 03:18:22 Anyone else experience this? Nov 08 03:22:23 One thing I'll never understand: why the Android YouTube app doesn't have the option to sort an uploader's videos by popularity. Nov 08 03:22:24 TacticalJoke: Hmm... tried both suggestions from your URL, but still get the extra buttons! Will try Google... Nov 08 03:22:27 This is one of the key features of YouTube. Nov 08 03:22:53 Nivag: Ah, okay. I've never tried it. I just LMGTFYed. :D Nov 08 03:23:36 TacticalJoke: So I shouldn't say you are very trying??? :-) Nov 08 03:29:18 I have fond http://stackoverflow.com/questions/15099725/need-number-only-soft-keyboard - is there anything simpler? Nov 08 03:29:24 found Nov 08 03:35:15 Is there a better way of saying "fall into bad habits"? Nov 08 03:35:54 Nivag: Can I ask what your app is about? Nov 08 03:40:07 TacticalJoke: Yes! :-) Nov 08 03:40:09 hi guys Nov 08 03:40:29 how could I make an app that runs over the top of all other apps launched Nov 08 03:40:35 ie to place a button that stays on the screen Nov 08 03:41:14 ask a better question of tried this got this Nov 08 03:41:27 TacticalJoke: Highly paid people (minimum wage) go around to people's houses testing children's eyesight, but too many children get unnecessarily referred to hospital for further checkups. This prototype is to help improve the process, and will be used to evaluate a number of different tests. It will also hopefully eliminate any reporting of non existent testing (a small minority, could we... Nov 08 03:41:29 ...say, be a lot more honest). Nov 08 03:42:57 the childId is numeric, I want to avoid unneccessary errors by only allowing them to input digits, & to make it more user friendly by only providing digits for them to enter Nov 08 03:43:01 A lot of SO answers are saying it's not possible to guarantee a digits-only software keyboard; that one must write one's own. Nov 08 03:43:28 Nivag just stick a qr code on their forehead Nov 08 03:43:56 What if you set android:digits on the EditText? Even if that shows non-digits, is it true that the EditText won't accept them? Nov 08 03:44:06 s/that shows/the software keyboard shows/ Nov 08 03:44:26 g00s: Your government hasn't asked ours to do that - yet! Nov 08 03:47:55 <[Saint]> You guys are looking at this all wrong... Nov 08 03:48:03 <[Saint]> Just blind the children. Nov 08 03:48:07 <[Saint]> Problem solved. Nov 08 03:49:22 childID sounds so ... big brother :) Nov 08 03:49:32 "Blind" as a verb sounds gory. I hope no knives are involved. ;o Nov 08 03:49:59 <[Saint]> Knives add additional cost overhead. Nov 08 03:50:05 <[Saint]> Thumbs are sufficient. Nov 08 03:51:51 knives are too cheap and not sufficiently high tech - a project to develop beams of near field affects that cause blindness without undue pain, would probably get a huge US government budget... Nov 08 03:52:23 <[Saint]> DARPA actually already did that. Nov 08 03:52:40 don't glad you guys aren't considering acid Nov 08 03:52:44 there HAS to be IP involved so it can be protected... Nov 08 03:52:59 <[Saint]> They have a crowd dispersing weapon that scrambles ocular fluid using high frequencies Nov 08 03:53:14 <[Saint]> temporarily, so they say. Nov 08 03:53:23 <[Saint]> but - yeah...such a thing exists. Nov 08 03:53:29 <[Saint]> I wish it didn't, but, it does. Nov 08 03:53:34 that kind of thing is going to be handy when riots break out over fresh water Nov 08 03:53:40 Advanced Coordinated Individual Destructors? Nov 08 03:54:21 <[Saint]> Its called the Z-ro Nov 08 03:54:54 <[Saint]> 'New weapon "Z-ro" scrambles ocular fluid and temporarily blinds victim for 10-15min' Nov 08 03:55:03 <[Saint]> sounds like a fun night out for the whole family... Nov 08 03:57:38 is it possible for a gridview to share a page with other views without those views resizing or squashing the grid? Nov 08 03:58:55 I hardly ever use my new tablet. Nov 08 03:59:00 TacticalJoke: android:digits="0123456789" does restrict what characters are accepted to be only digits 0...9 Nov 08 03:59:03 Feel like I should be using it more. Nov 08 03:59:26 Nivag: Is that sufficient for your use case? Nov 08 04:01:08 Imagine if we could punish users. Nov 08 04:01:15 Context.administerElectricShock or something. Nov 08 04:01:20 I will stop there now, as this is 'just' a prototype. But if the prototype is successful I might get a decent contract out of it, which will make my wife much happier! So I'm motivated tom put in more effort than I can justify with the current budget... Nov 08 04:01:49 Nivag: As far as I can guess, the Fragment solution shouldn't be too bad. Nov 08 04:01:54 I've never tried it, though. Nov 08 04:02:18 Just have the Fragment call back to the Activity. Nov 08 04:03:29 punish users! "haltAndFixStupid" Nov 08 04:03:52 TacticalJoke: but I still have to deliver in a reasonable time frame - so I can't spend too long polishing it... Nov 08 04:07:50 <[Saint]> Happy {L|W}ife. Nov 08 04:11:24 It also brings us back to the knife topic. Nov 08 04:11:37 Okay, enough murder/bodily harm stuff. :D Nov 08 04:16:12 Hmm, Mark Zuckerberg says he wears the same t-shirt every day. Nov 08 04:16:20 To minimize choice making. Nov 08 04:16:28 me too Nov 08 04:16:36 well, I have 2 Nov 08 04:16:51 Does he wash it at least? Nov 08 04:16:59 white tee shirts and black long sleeved tee shirts Nov 08 04:17:39 Okay, I just read that it's a new shirt but it's the same design. Nov 08 04:18:09 hey alex_PP . have you seen this new book ? http://www.peachpit.com/store/light-gesture-and-color-9780134032269 Nov 08 04:18:15 a lot of people on my CS course took the other route Nov 08 04:18:19 and had 1 shirt Nov 08 04:19:11 nope, g00s Nov 08 04:19:48 I think I need a stylus for this tablet. Nov 08 04:20:42 any good g00s? Nov 08 04:20:56 last photo book i read was a history of magnum Nov 08 04:21:09 alex_PP i don't know, they guy is pretty famous i guess. i'm more familiar with landscape photographers Nov 08 04:21:17 bought it by mistake hoping it would have lots of picures Nov 08 04:22:27 i want this Nov 08 04:22:27 http://www.amazon.com/Magnum-Contact-Sheets-Center-Photography/dp/0500543992 Nov 08 04:24:12 ah i never saw that. I got Dan Winters' book but haven't read it yet Nov 08 04:24:32 http://www.amazon.com/Road-Seeing-Dan-Winters/dp/0321886399 Nov 08 04:24:52 road to seeing looks nice Nov 08 04:25:01 i wish i could get real books here Nov 08 04:25:10 a lot of these don't have ebook versions Nov 08 04:25:26 oh that one you can get ebook from peachpit.com Nov 08 04:25:36 i'm also pretty hopeful of this one http://www.amazon.com/The-Essence-Photography-Seeing-Creativity/dp/1937538516 Nov 08 04:25:41 or are outrageously over priced Nov 08 04:25:47 Barnbaum's new one. you can get that one from oreilly Nov 08 04:26:00 yeah winters is expensive. its HUGE Nov 08 04:26:12 i think they had a hard time making such a huge PDF too Nov 08 04:26:20 I don't like the books that tell me how to be creative as much Nov 08 04:26:44 langfords basic photography was one of the best i've read Nov 08 04:27:12 oh i've heard of that Nov 08 04:27:15 "After working for several years as a mathematical analyst and computer programmer for missile guidance systems, he abruptly left the field and turned to photography." Nov 08 04:27:16 and then books of photos that i can dissect myself Nov 08 04:27:25 * g00s wishes he could make an abrupt change like that too :D Nov 08 04:27:31 go for it Nov 08 04:27:40 need a beter camera first :P Nov 08 04:27:57 alex_PP did you get that canon you wanted ? Nov 08 04:28:00 70d ? Nov 08 04:28:05 7d ii Nov 08 04:28:17 no i've still got my 5d iii and can't really justify it Nov 08 04:28:35 5d iii had it's first tropical storm yesterday. performed admirably Nov 08 04:29:02 lensrentals.com says the 7d ii is the best weather sealed camera they've ever seen Nov 08 04:29:23 2 cameras would have been nice for the festival we just had Nov 08 04:29:53 http://www.tourismcambodia.com/tripplanner/events-in-cambodia/water-and-moon-festival.htm Nov 08 04:30:45 i was looking at that little canon g7x Nov 08 04:30:55 https://twitter.com/alexinphnompenh/media Nov 08 04:31:22 looks nice Nov 08 04:31:46 interesting Nov 08 04:31:49 the sonys are better regarded in image quality Nov 08 04:32:01 but, that's only half the story as i've said before Nov 08 04:32:12 yeah Nov 08 04:32:48 this is my favorite, not sure why https://twitter.com/alexinphnompenh/status/462191167346442240/photo/1 Nov 08 04:33:18 yeah, i like that one a lot Nov 08 04:33:27 that's from the election dramas Nov 08 04:34:23 might print it, see how it looks Nov 08 04:35:45 alex_PP what are these people gathered for ? https://twitter.com/alexinphnompenh/status/530612172632494080/photo/1 Nov 08 04:35:58 water festival Nov 08 04:36:06 big national boat races in phnom penh Nov 08 04:36:10 it's pretty cool Nov 08 04:36:35 not been on in 4 years, there was a stampede last time they had it Nov 08 04:36:50 https://en.wikipedia.org/wiki/Phnom_Penh_stampede Nov 08 04:39:38 oh man Nov 08 04:40:46 yeah, really sucked Nov 08 04:40:48 Is the idea that RecyclerView will totally replace ListView? Or is the intention only that we use RecyclerView for heavy-duty stuff? Nov 08 04:41:32 i've been trying to figure out which is best for which. i think lv is probably your best bet for cursors still Nov 08 04:42:01 I thought this view used view recycler internally? Nov 08 04:42:16 I've not been following android much since the last IO Nov 08 04:42:41 Did you get an IOException? :) Nov 08 04:43:10 :/ Nov 08 04:43:56 RV is part of the support lib so it can be updated. its missing some stuff (by design) like ulti mode selection etc Nov 08 04:43:59 hmm, apparently not Nov 08 04:44:18 yeah, i think i watched that video Nov 08 04:44:27 i think, the more dynamic the content, better RV is because of the animations, etc Nov 08 04:44:33 g00s: It doesn't have multiselect mode? And that's by design? Nov 08 04:44:49 i think they'd like you you to use a 1 column grid instead these days Nov 08 04:44:55 to make scaling easier Nov 08 04:46:30 i'm watching to see what happens on this bug https://code.google.com/p/android/issues/detail?id=78377 Nov 08 04:47:00 it really like a better reason / description why this is happening on their devices though Nov 08 04:47:39 Development help? Really? Nov 08 04:48:09 hehe Nov 08 04:49:24 alex_PP so you chilled a bit on android dev (since i/o) ? Nov 08 04:49:35 yeah, left my job Nov 08 04:49:37 working on other things ? Nov 08 04:49:42 got a few hobby projects Nov 08 04:49:47 ah, so still android Nov 08 04:49:49 but they're really hard to concentrate on Nov 08 04:50:07 because i have a camera and a bike and a daughter Nov 08 04:50:07 yeah, distractions, home, etc Nov 08 04:51:16 thought about a colab office Nov 08 04:51:20 but, meh Nov 08 04:51:41 alex_PP just set up office in http://www.gizmag.com/wide-path-camper/34644/ Nov 08 04:52:39 erm Nov 08 04:52:40 no Nov 08 04:53:09 TacticalJoke: using android:digits="0123456789" also removes the 'Next' button argh! Nov 08 04:53:17 why??? Nov 08 04:53:38 Next isn't a digit Nov 08 04:55:19 yeah, but only want digits for the current field, clicking 'Next', moves on the the next field , but doesn't enter any characters to the current field Nov 08 04:57:03 i was being facetious Nov 08 04:57:45 http://stackoverflow.com/questions/19588503/androiddigits-not-allowing-next-button-in-keypad Nov 08 05:03:21 Is anyone reading that Finding Success on Google Play thing? Nov 08 05:04:07 I can't figure out why OnSharedPreferenceChangeListener is not being invoked in my tests, anything obvious I'm missing? https://gist.github.com/f2prateek/516b8c4109363dde8ef7 Nov 08 05:09:20 TacticalJoke: I gave it a read, meh Nov 08 05:09:27 It's free so meh Nov 08 05:10:20 Darklust any secrets on how to appeal takedowns via real human :P ? Nov 08 05:10:38 thats the secret guide we need :) Nov 08 05:10:43 g00s: there are no real humans at Google anymore Nov 08 05:10:45 f2prateek: is it shadowed? Nov 08 05:10:47 g00s: Everyone knows google is run by Skynet Nov 08 05:10:59 that's why they all vanished from IRC... Nov 08 05:11:06 Leeds did the goats get fed up eating grass and go nuts eating all the employees ? Nov 08 05:11:26 carnivore goat :| Nov 08 05:12:04 g00s: did you see http://goo.gl/UfzZPr Nov 08 05:13:02 yeah yeah i saw that Nov 08 05:16:25 JakeWharton: with something like `SharedPreferences sharedPreferences = Nov 08 05:16:26 ShadowPreferenceManager.getDefaultSharedPreferences(Robolectric.application);`? Nov 08 05:17:12 doesn't work either Nov 08 05:17:38 i mean, if Robolectric has a shadow, that means the implementation is fake and probably wrong Nov 08 05:17:48 we should kill kill kill the shadow Nov 08 05:17:57 probably a relic from the dark days of robolectric Nov 08 05:24:19 i can look in like 20m Nov 08 05:35:44 f2prateek: what version of Robolectric? Nov 08 05:35:45 try 2.4 Nov 08 05:36:31 k just a sec Nov 08 05:37:01 oh shit, it's all fake Nov 08 05:37:09 TestSharedPreferences Nov 08 05:37:12 yeah I saw this https://github.com/robolectric/robolectric/blob/master/robolectric/src/main/java/org/robolectric/tester/android/content/TestSharedPreferences.java Nov 08 05:37:23 stupid name Nov 08 05:37:38 what's the real impl called, i can never remember Nov 08 05:39:45 SharedPreferencesImpl but a totally separate package. awesome. Nov 08 05:44:50 oh so 2.4 works Nov 08 05:46:38 JakeWharton how would you compare picasso to glide ? Nov 08 05:46:50 i wouldn't Nov 08 05:47:03 so they don't overlap "An image loading and caching library for Android focused on smooth scrolling" Nov 08 05:47:17 never used glide Nov 08 05:47:22 so picasso wins Nov 08 05:47:39 heh. uses okhttp :) Nov 08 05:49:54 f2prateek: nice, i guess. still crappy that this is reimplemented Nov 08 05:49:58 i'm trying to tear it out Nov 08 06:06:11 i think it would be kinda cool, if you could set up an auto-blacklist feature in play : if you get more than X crashes, or X crashes per day for a specific model, it gets blacklisted. then you can work on a fix, and clear it once its ready Nov 08 06:08:28 oh a workaround: try { setSupportActionBar() } catch (Exception e) { } Nov 08 06:08:34 love it Nov 08 06:08:40 to what end, it wouldn't improve the situation for those that already have the app Nov 08 06:09:02 and many crashes may initially appear to be device specific due to device popularity Nov 08 06:10:20 no, this is basic statistics. outlier detection Nov 08 06:14:47 Gawd, I wish AS would support JVM unit tests as a first-class citizen already. :[ Nov 08 06:14:57 My life would be richer. Nov 08 06:16:43 there's really little value in that Nov 08 06:16:50 the blacklisting Nov 08 06:17:16 by the time you detect outliers, everyone that's gonna crash already has Nov 08 06:18:12 Are self-closing