**** BEGIN LOGGING AT Tue Oct 04 02:59:58 2016 Oct 04 03:00:55 AlecTaylor, you can't and shall not cast like that Oct 04 03:02:31 :( Oct 04 03:02:49 thou shalt not! Oct 04 03:03:43 :( :( :( Oct 04 03:07:08 shmoooz, pfn: I'm trying to create a generic list view. So I can just pass it an array of POJO and an XML layout, and it'll populate + display. Oct 04 03:07:17 * AlecTaylor has been following https://github.com/bignerdranch/android-listview-custom-view/tree/master/ListItemViewDemo/src/com/bignerdranch/android/listitemviewdemo Oct 04 03:08:00 AlecTaylor: extend BaseAdapter or use recyclerview or whatever Oct 04 03:09:06 Hmm, is there an example somewhere on how I'm meant to do this? Oct 04 03:09:17 * AlecTaylor assumes this is a very common problem Oct 04 03:09:26 AlecTaylor: yes there are many examples Oct 04 03:11:24 <_genuser_> well, the pageradapter isn't very nice to extend from. Oct 04 03:13:03 Is there like a best-practices guide with this example? - I don't want to reinvent the wheel Oct 04 03:51:01 thanks kroot Oct 04 03:53:56 hi Oct 04 03:54:15 @loke & orbyt_ i kept tinkering and got it working, cheers Oct 04 03:54:40 now a more specific question... if I have a textview and an imageview on one line.... so imagine a blob of text and then a small icon Oct 04 03:55:30 is there anyway to make the icon always appear at the end of the text, but if the text is going to flow over to a second line then have an elypissis (...) cut the text off - but still have the icon appear? Oct 04 03:55:45 [.....] () Oct 04 03:55:54 like that, where [....] is the text and () is the icon Oct 04 03:56:04 except if it's very long, then [.....] gets cut off Oct 04 04:01:10 ir7466: Just put the icon on the right, tied to the right-hand edge. Then the text field will fill the remaining content? Oct 04 04:01:14 ir7466: android:elipsize="end" Oct 04 04:01:36 ir7466: using drawableRight or LinearLayout? Oct 04 04:04:16 using linearlayout Oct 04 04:04:20 but i dont want it tied to the right Oct 04 04:04:27 i want it tied to the end of the textview Oct 04 04:04:48 now if the textview is too long, then i guess in effect it will be tied to the right Oct 04 04:05:00 but in that case i want to cut off the end of the textview Oct 04 04:07:40 imagine the width is this long: Oct 04 04:07:41 |----------------------------------------| Oct 04 04:07:49 sometimes it might be very short like this: Oct 04 04:07:59 |- short text (icon)----------------| Oct 04 04:08:05 this would be easier with drawbleRight Oct 04 04:08:27 ok Oct 04 04:08:52 drawableRight and elipsize end Oct 04 04:08:56 and wrap_content Oct 04 04:09:17 how big of a deal is it that i'm using an imageview? Oct 04 04:09:28 because i have been dynamically changing the src of the imageview in code Oct 04 04:09:33 depending on what the text is Oct 04 04:09:54 you can dynamically change the drawable on the text view too Oct 04 04:10:05 padding and margins can be a bit bogus though Oct 04 04:10:10 what do I cast it as? Oct 04 04:10:17 ??? Oct 04 04:10:21 like with the imageview i have a findViewById Oct 04 04:10:31 then i set the src and bang, it works Oct 04 04:10:47 if i do that to the textview i'll just end up with a textview object right? Oct 04 04:11:05 https://developer.android.com/reference/android/widget/TextView.html#setCompoundDrawablesWithIntrinsicBounds(int, int, int, int) Oct 04 04:11:06 shmoooz / genuser / pfn : Wrote it up into a proper question with some scaffold: http://stackoverflow.com/q/39844031 Oct 04 04:11:32 Hi AlecTaylor zimbabwe cricketer Oct 04 04:11:36 :) Oct 04 04:11:37 ;) Oct 04 04:12:12 I'm trying to abstract my Views so I don't need to manually do findViewById and all that casting, then manual serialising of content Oct 04 04:13:56 AlecTaylor: look up ButterKnife Oct 04 04:14:12 and view binding Oct 04 04:15:33 ir7466, I'm really struggling to get this to work in a LL Oct 04 04:15:41 .setCompoundDrawablesWithIntrinsicBounds(0, 0, item.getStateResource(), 0); Oct 04 04:15:46 i just tried your approach Oct 04 04:15:57 is using "0" correct? if i want to only have one on the right? Oct 04 04:17:21 yeah Oct 04 04:18:07 finally android 7 for nexus6 Oct 04 04:20:29 @alex_PP: okay yes it sort of worked Oct 04 04:20:41 weird padding? Oct 04 04:20:42 but how can i specify the attributes of the drawable? height/width/margin, etc? Oct 04 04:20:43 alex_PP: Thanks just finished reading that site Oct 04 04:21:04 padding is okay, but the drawable itself is too big. on the imageview i was able to give it the proper dimensions Oct 04 04:21:09 alex_PP: Solves > half of my problem Oct 04 04:22:30 ir7466: hmmm Oct 04 04:22:58 ideally your resources will be the correct size, but you could rescale them in code Oct 04 04:23:27 or Oct 04 04:23:28 https://developer.android.com/reference/android/widget/TextView.html#setCompoundDrawablesRelative(android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable, android.graphics.drawable.Drawable) Oct 04 04:23:39 and call setBounds before setting the drawble Oct 04 04:23:46 im okay with rescaling in code Oct 04 04:24:18 or... write a custom layout to replace the LL and use an ImageView Oct 04 04:26:16 http://stackoverflow.com/a/31753465/2884981 Oct 04 04:26:33 i just tried that. but once i do ScaleDrawable sd = new ScaleDrawable(drawable, 0, 30, 30); how do I set the drawable? Oct 04 04:26:48 because its neither an int nor a drawable?> Oct 04 04:27:24 scale drawable's a drawable Oct 04 04:27:26 oh,... he uses setCompoundDrawables() Oct 04 04:27:59 but in new ScaleDrawable(drawable, 0, 30, 30); Oct 04 04:28:03 how do I use "dp"? Oct 04 04:29:00 I would load my drawable from resources, set the bounds to the size you want in pixels, and call setCompoundDrawablesRelative Oct 04 04:29:24 i want it to be 30dp x 30dp - how do i know what that is in pixels? Oct 04 04:30:26 http://stackoverflow.com/questions/4605527/converting-pixels-to-dp Oct 04 04:34:04 hmm Oct 04 04:34:13 i have tried this. i dont think this is optimal Oct 04 04:34:57 i guess what i basically want is to have, under my original LL way, the imageview take up a minwidth Oct 04 04:35:05 and the textview to take up as much width as possible Oct 04 04:35:20 but as soon as the textview can take up no more width, thats when it should get cut off Oct 04 04:38:56 ah, cracked it with LL Oct 04 04:39:03 awesome! Oct 04 04:39:58 http://pastebin.com/LnjGHW7k Oct 04 04:42:31 trying it now Oct 04 04:44:17 AlecTaylor, use data binding Oct 04 04:45:04 whoops, that's what I meant by view binding Oct 04 04:45:39 alex_PP: 90% works Oct 04 04:45:49 i'm changing the textview contents dynamically Oct 04 04:46:00 so if i have a string like XXXXXXXXXXXXXXXXXXXXXXX (icon) Oct 04 04:46:04 then i change it to XXX Oct 04 04:46:11 what I'm seeing is: XXX (icon) Oct 04 04:47:21 ir7466: try textView.requestLayout(); Oct 04 04:47:28 Anyone tried out the new animated-vector tag? I cant get it to work. I updated Support Library to 24.2.0 and stripped down my animated vector to only have a vector but still my drawable is not shown at all Oct 04 04:47:29 http://pastebin.com/BFEk7JVV Oct 04 04:47:32 heres an example Oct 04 04:47:32 I thought setText called that, but maybe not Oct 04 04:48:05 If I use the vector itself without wrapping in animated vector it shows it. Oct 04 04:49:10 ok i'll give it a go Oct 04 04:50:32 seems perfect i think alex_PP Oct 04 04:50:35 thank you very much Oct 04 04:50:36 Nick butcher used this new approach for password visibility as seen here: https://github.com/nickbutcher/plaid/commit/68cc1feac7073ef8e38d1fd809bc22001bd53158 Oct 04 04:52:32 ah, worked out why it didn't update Oct 04 04:52:57 the textview thinks it has a fixed width, but doesn't know that its parent doesn't Oct 04 04:53:10 so it trys to avoid the relayout Oct 04 04:54:02 ah... well just adding the requestLayout() after the setText() did the trick exactly Oct 04 06:15:52 github is dead? hmm Oct 04 06:16:31 pfn: yes Oct 04 06:16:48 I'd like to browse the RxJava wiki but can't Oct 04 06:19:05 https://status.github.com/graphs/past_day Oct 04 06:19:25 was just fiddling with the CI builds and everything started to fail Oct 04 06:21:03 how to use transanction.rollback() , need I to set transaction.set_autocommit(False) or use other decorator? Oct 04 06:24:53 China is botting Github again maybe :d Oct 04 06:27:47 botting? Oct 04 06:27:56 what do you mean Oct 04 06:36:27 it's working now Oct 04 06:48:50 phil__ ddos attack. China did that before http://arstechnica.com/security/2015/04/ddos-attacks-that-crippled-github-linked-to-great-firewall-of-china/ Oct 04 06:53:40 If I have a string Oct 04 06:53:45 and it's always "0" or "1" Oct 04 06:53:50 how do i convert that to boolean? Oct 04 06:54:13 String x = "0"; boolean y = ???????????; // y is false Oct 04 06:54:25 String x = "1"; boolean y = ???????????; // y is true Oct 04 06:54:26 y = "1".equals(x) Oct 04 06:54:38 seems hacky Oct 04 06:54:51 what else can you possibly expect Oct 04 06:55:03 isn't there like a Boolean.valueOf() type thing? I was reading about that except it seems to convert the strings "true" or "false" Oct 04 06:59:36 you know, all boolean.valueOf does is give you true if the string is "true" Oct 04 06:59:40 because what else could it possibly doe Oct 04 07:11:45 hi Oct 04 07:13:25 when i upgrade the database of my apps, with several tables, if an error occurs during the update (an alter) of one table, the entire database isn't upgrade. Is-it normal ? My alter/insert/regenerate are executing own per own with a begin/end transaction. Oct 04 07:14:06 only the one that fails doesn't make the "end successfull", the others makes an end successfull Oct 04 07:14:10 any idea ? Oct 04 07:14:41 why would you want to fail an upgrade... fix your bug Oct 04 07:15:19 pfn: yes, of course, but i doesn't understand why the entire upgrade is rollback Oct 04 07:15:34 perhaps the whole thing is run inside a transaction already Oct 04 07:15:49 too lazy to read the sources to see why Oct 04 07:16:01 makes sense if the first one rolls back because none of your subsequent transactions would then run Oct 04 07:17:27 there's one transaction by table, and only one table fail. But the entire database rollback. i doesn't understand too Oct 04 07:17:36 you don't give any info to go on Oct 04 07:17:41 throw exception => code stops running Oct 04 07:18:56 the code doesn't stops running, i can see the log of all others modifations. Oct 04 07:21:01 onUpgrade create implicitely a transaction ? Oct 04 07:21:02 it will only roll back if you throw an exception that leaves onUpgrade Oct 04 07:21:04 that's all there is to it Oct 04 07:21:40 it doesn't leave onUpgrade, that's why i can't understand :/ first time i see that since 3 years of app dev ^^" Oct 04 07:21:52 I doubt you're seeing what you think you're seeing Oct 04 07:22:01 it will only roll back if an exception is thrown out of onUpgrade Oct 04 07:22:12 yes, it's probably something else. Oct 04 07:22:46 thx for the explanation, i'll try to add more debug... Oct 04 07:25:03 is there an intellij/AS plugin to search the android sdk docs locally? Oct 04 07:35:28 Good morning! Oct 04 07:35:50 I'm making an Observable of FirebaseAuth like this: https://gist.github.com/anonymous/9837eb7a0dba4897eef1aba378faa545 Oct 04 07:36:26 You can see that I call addAuthStateListener(). Where do I call removeAuthStateListener()? Oct 04 07:36:37 on unsubscribe Oct 04 07:39:31 If there is an overload of create taking an OnUnsubscribe object, I can't find it Oct 04 07:44:05 you can use the ones that takes async/sync onsubscribe Oct 04 07:44:33 both offer unsubscription behavior, create(OnSubscribe) is not recommended for general use, in any case Oct 04 07:44:53 Ok. Thanks, pfn Oct 04 07:45:09 * pfn shrugs, not an rxjava user Oct 04 08:00:18 This looks interesting: "Lambda optimization, first phase": https://android.googlesource.com/toolchain/jack/+/a6861cbddd90128cb2cbc278734b87c29be4f3ed Oct 04 08:04:47 if true (and working) Oct 04 08:05:51 Ashiren: fun day in Poland, eh? Oct 04 08:10:25 Ashiren: what's your take on the protest and how are things "on the ground"? Oct 04 08:11:37 About eight hours to go: https://www.youtube.com/watch?v=q4y0KOeXViI Oct 04 08:12:50 TacticalJoke: the unveiling will be a couple of those killers robots from Robocop killing everybody Oct 04 08:13:17 I'd actually enjoy watching something like that. Oct 04 08:13:53 TacticalJoke: the installment of martial law in the US. Alex Jones was right! Oct 04 08:25:45 I hate that their marketing tactic of attracting people's curiosity by way of making it such a big thing before the actual reveal has immense success Oct 04 08:26:00 It's a boon to blog writers, though Oct 04 08:26:03 *for Oct 04 08:27:35 Idiosyncratic: personally didnt feel much of a protest Oct 04 08:27:50 more like weather, it was raining all day and became very windy and its still windy Oct 04 08:28:07 Ashiren: it's making news all over the world Oct 04 08:28:58 Idiosyncratic: what are you talking about? Oct 04 08:29:20 + fortunately i dont have to care about abortion (IMO it should be allowed), im wondering why there are still debates about it. perhaps theyre covering some tax laws Oct 04 08:30:12 Ashiren: There'll always be humans who use abortion as birth control, so it'll always be a controversial issue. Oct 04 08:30:21 Melatonina: Polish people are protesting for every English dictionary to have the word "to polish" be removed since it's offensive to Pols Oct 04 08:30:45 huh Oct 04 08:31:33 Well, they should be honored Oct 04 08:31:36 Ashiren: of course it should be legal, but what would win if a country referendum would take place on this issue? Oct 04 08:32:54 Italian only have a salute named after them: http://tinyurl.com/italian-salute Oct 04 08:33:11 Ashiren: this is what Ceausescu did here in Romania so that Romania will always have enough cannon fodder to send against the Ruskies if they wanted to overthrow the government :D Oct 04 08:33:20 Ashiren: abortion was completely illegal Oct 04 08:33:52 It's nice to see how ultranationalism keeps popping back in our countries Oct 04 08:33:54 as for now, its legal only if it endageres mothers or fetus life Oct 04 08:34:02 or its from rape Oct 04 08:34:49 but its pointless since you can go to neighbour country and have things done legally Oct 04 08:35:02 Ashiren: but that costs money Oct 04 08:35:04 pro lifers suck Oct 04 08:35:42 meh Oct 04 08:36:17 Ashiren: so it's already over? Oct 04 08:36:54 Idiosyncratic: did you make some Polish girl pregnant? Oct 04 08:37:33 Polish girls can't get enough of Idiosyncratic. Oct 04 08:37:36 not yet Oct 04 08:37:57 the protest yes but the case not Oct 04 08:38:12 Ashiren: I'm completely for choice, but I hate it when mostly big cities make this kind of protests as if only they count in their countries Oct 04 08:39:03 Ashiren: it's almost a year since my now former-PM resigned due to "popular pressure" in the capital and I didn't have any say in that Oct 04 08:39:15 This isn't democracy Oct 04 08:39:53 Protests in the capital can't overrule elected officials' from all over the country's decisions Oct 04 08:40:31 probably the rest of the country didn't make pressure for him to stay Oct 04 08:40:48 Melatonina: and turn it into a civil war? Oct 04 08:41:13 Idiosyncratic: no, civil expressions of opinion Oct 04 08:41:23 Melatonina: with clubs Oct 04 08:41:36 This sort of thing always degenerates in clubs Oct 04 08:41:50 then the problem is not big cities against everybody else Oct 04 08:42:28 it's that you have a primitive political system and freedom of expression is not guaranteed Oct 04 08:42:41 Melatonina: yes, us filthy Romanians :P Oct 04 08:42:53 Melatonina: we should set cities on fire just like the English and French Oct 04 08:42:53 but what would you expect from Romanians Oct 04 08:43:39 Abortion is a complex issue. Unless you support post-birth abortion, you're gonna have a limit on how old the foetus can be before we abort, and that's a tricky issue. Oct 04 08:43:43 yeah, English and French few centuries ago Oct 04 08:44:31 This common notion that one supports either all abortions or no abortions is absurd. Oct 04 08:44:36 I volunteer Idiosyncratic for a post-birth abortion Oct 04 08:44:50 TacticalJoke: I support all abortions. Oct 04 08:45:15 hello ? Oct 04 08:45:40 Melatonina: if democracy would degenerate in protests and counterprotests, then it would become populism-ocracy Oct 04 08:45:56 Elected officials are there because they got elected Oct 04 08:46:01 By the people Oct 04 08:46:07 and are free to resign Oct 04 08:46:23 Melatonina: due to popular pressure coming from ~10% of the population Oct 04 08:46:36 Melatonina: actually, the protesters would've made ~0.5% Oct 04 08:46:46 imZEH: hi Oct 04 08:46:56 probably it was an idiot who didn't deserve to be elected in first place then Oct 04 08:46:57 imZEH: dont be afraid, we're a bit offtopic now Oct 04 08:46:59 he Oct 04 08:47:14 imZEH: welcome? Oct 04 08:47:24 Melatonina: you have no idea of the context of the protest so please stay out of this :P Oct 04 08:47:40 guys imZEH entered the channel, please stop off topic conversations Oct 04 08:47:42 Idiosyncratic: Do you support post-birth abortions? Oct 04 08:47:43 Melatonina: the reason was hella stupid; ~50 people burning alive in a club accident Oct 04 08:47:59 TacticalJoke: yeah Oct 04 08:48:08 I can kinda dig that. Oct 04 08:48:16 haha , Thank, It's ok guys just continue Oct 04 08:48:30 some things just need killing Oct 04 08:49:05 338 people here, need some post-birth abortion Oct 04 08:49:07 imZEH is a merciful man. Praise imZEH. Oct 04 08:49:24 Or woman. Oct 04 08:49:29 imZEH for president in Romania! Oct 04 08:49:42 Right now the mass media has a beef with the medical system. If I were a fresh graduate from the medical school, I would show the finger to the Romanian people and move to a Western country where they don't metaphorically lynch people that save lives. Oct 04 08:50:05 Miserable pay, miserable conditions and risking your job and freedom because people die? Hell no Oct 04 08:50:23 lol, I don't know what are you talking about guys. Oct 04 08:50:31 way OT Oct 04 08:50:33 :D Oct 04 08:50:39 I'm addicted to politics :( Oct 04 08:51:06 then go to #politics Oct 04 08:51:08 And bringing it to all channels regardless :D Oct 04 08:51:24 that's trolling Oct 04 08:51:35 *regardless of their purpose Oct 04 08:53:09 Ashiren: anyway, thanks for the info. I know how mass media distort facts. Oct 04 08:53:42 Idiosyncratic: what protest are you talking about? Oct 04 08:54:22 shmoooz: google Polish protest Oct 04 08:54:30 ok Oct 04 09:14:00 this channel is all about off-topic discussions and painful silences Oct 04 09:16:49 start topic then Oct 04 09:18:48 I can't at the moment. I'm reading a book about RxJava Oct 04 09:24:16 I'll start a topic for $50. Oct 04 09:26:49 TacticalJoke: nobody cares Oct 04 09:26:52 :D Oct 04 09:27:38 gordon_: You start a topic then. Oct 04 09:27:56 are you sure you want to talk about Scala ? ;) Oct 04 09:28:30 I got a topic - "Has anyone here used react native? What are you experiences" Oct 04 09:31:23 that topic doesnt seem to pull any traction gordon_ Oct 04 09:31:32 mayb talk about abortions again Oct 04 09:31:51 raoul11: :P Oct 04 09:31:57 \: Oct 04 09:32:37 raoul11: I'm seeing a paradox with my AdMob earnings; I'm starting to make a steady income, but my daily impressions are decreasing :O Oct 04 09:32:52 is a horizonatal scrollview inside a vertical one sounds like a bad idea? Oct 04 09:33:19 Idiosyncratic: sounds good Oct 04 09:33:53 raoul11: People always complain about stuff like that. Personally, I don't see why it *shouldn't* work. Oct 04 09:43:08 raoul11: Does it work, BTW? I'm too lazy to try. Oct 04 09:43:22 When I say "it should work", I mean "in a perfect world". Oct 04 09:44:00 what does? Oct 04 09:44:41 raoul11: Dude. Oct 04 09:45:46 the scrollview thingie? Oct 04 09:47:00 Yahh. Oct 04 09:47:09 it does actually Oct 04 10:02:53 Can you use method references with retrolambda? Oct 04 10:03:04 \/r/android-dev has too many cluebies and too few experts. Oct 04 10:03:38 I get "cannot resolve method" Oct 04 10:04:07 Nevermind Oct 04 10:05:16 of course you can use method references Oct 04 10:06:08 yeah Oct 04 10:06:19 I wrote "nevermind" Oct 04 10:06:36 I had a mismatch in the method signature Oct 04 10:08:25 so you can write Java compiler extensions as gradle plugin? Oct 04 10:08:53 cool Oct 04 10:12:43 huh? no Oct 04 10:12:57 not that there is such a thing as "java compiler extensions" Oct 04 10:15:06 preprocessors? Oct 04 10:15:31 less cool Oct 04 10:16:02 Hi, I am having an issue where ListViews are automatically scrolling down when I touch an item around or below the middle of the list. Any ideas? Oct 04 10:16:27 emorris: All ListViews on the device? Oct 04 10:17:48 TacticalJoke, No, it seems to just be the ones in my app; happens on different devices. Oct 04 10:18:13 I'm going to try creating an app with just a ListView, and see if I get the same behaviour Oct 04 10:18:40 My Moto E2 behaves like that sometimes (though it's all ListViews). Oct 04 10:23:59 I wonder whether Jake Wharton will ever come back. Feels kinda empty without him here. Oct 04 10:24:29 But there is me! Oct 04 10:24:30 Like we're missing one of the prophets of Android development. Oct 04 10:25:00 Melatonina: But you could be anyone. :S Oct 04 10:26:09 Nah, I'm special Oct 04 10:26:21 and I like profits of Android development more than prophets Oct 04 10:26:43 Melatonina: Can you prove you're not a bot? Oct 04 10:27:58 best I can do is trying to pass a Turing test but I don't guarantee the result Oct 04 10:32:07 raoul11: sorry, I tried Oct 04 11:01:20 Is there a Settings->Build->Compiler->Annotation Processors setting in Android Studio? Oct 04 11:01:23 I can't find it Oct 04 11:03:18 type "annotation" in the search box of the settings, review all the things, if not present then it's not present. Oct 04 11:07:34 i have a class in the same package as the class im working in but when I go to import it for usage it gives me errors and adds the package name to the start of the actual usage... Oct 04 11:08:00 so lets say im trying to use MainActivity it asks to import and changes it to package.MainActivity Oct 04 11:08:10 and then package is errored out Oct 04 11:08:49 thornekey: If it's in the same package, you don't need to import it. Oct 04 11:09:23 TacticalJoke, it is in the same package (well sub-package) and android studio is telling me to Oct 04 11:09:26 import Oct 04 11:11:12 So, I looked at this ListView issue a bit more. Created an activity with just a ListView. If the selection mode is set to multiple, when selecting an item, the list automatically scrolls so that item is at the top. Oct 04 11:12:17 In fact, it does it with single choice too Oct 04 11:12:50 In the OnItemClickListener, I am just running list.setSelection(position) Oct 04 11:14:33 emorris: I'm pretty sure ListView.setSelection scrolls the list. Oct 04 11:14:41 thornekey: You're probably doing something wrong. Oct 04 11:16:38 TacticalJoke, hmmm Oct 04 11:17:42 how do I add google analytics documentation on android studio? Oct 04 11:19:10 emorris: You probably meant `setItemChecked`. Oct 04 11:22:23 TacticalJoke, ok ive solved that but now classes im trying to implement are doing it Oct 04 11:22:42 thornekey: Use the same solution there. Oct 04 11:24:01 http://picpaste.com/pics/test-lbvseUUY.1475580229.png Oct 04 11:25:24 TacticalJoke, indeed; that's the badger. :-) thanks Oct 04 11:27:14 maybe a clean build would help? Oct 04 11:27:24 cos its clearly in the package Oct 04 11:28:50 changing the keyboard layout in Nougat emulator breaks the keyboard input permanently Oct 04 11:28:59 thornekey: Maybe post the whole of MainActivity.java. Oct 04 11:29:04 you have to do a complete wipe to get the keyboard working properly after that Oct 04 11:29:20 the pic is only where i use MainActions in MainActivity Oct 04 11:29:41 http://picpaste.com/pics/test-lbvseUUY.1475580229.png Oct 04 11:30:09 It's not enough info for me to tell what's going on. Oct 04 11:30:14 It starts at line 30, for one thing. Oct 04 11:30:51 theres other imports on top of that thats why aha Oct 04 11:30:58 ill paste the whole java hold on Oct 04 11:31:27 Is there a fix for this? http://i.imgur.com/lyWDvcK.png Oct 04 11:31:33 except for disable lint lol Oct 04 11:32:32 *.* Oct 04 11:32:46 static context == nope.gif Oct 04 11:33:54 what's your suggestion then? Oct 04 11:34:16 yeesh. Oct 04 11:34:20 Why are you holding the whole Context statically? Oct 04 11:34:22 That better be the application context :P Oct 04 11:34:27 Usually you can hold something else. Oct 04 11:35:59 it's a total trap because the first thing that the emulator notifies is to "Tap here to configure the keyboard layout" Oct 04 11:36:08 and it does it every time you start the emulator Oct 04 11:36:23 and if you actually do go and try to configure it, it breaks the thing Oct 04 11:36:49 i think you need to enable snapshot feature (if not enabled ofc) to get your emu to "remember stuff" Oct 04 11:37:44 you got that the wrong way around Oct 04 11:38:03 you enable snapshotting so you can go back and make the emulator "forget stuff" Oct 04 11:38:32 http://tools.android.com/recent/emulatorsnapshots Oct 04 11:38:48 self explanatory Oct 04 11:39:41 i think graphics acceleration gets disabled if you enable snapshotting so its pretty much useless anyways Oct 04 11:40:11 ... Oct 04 11:42:11 lol, the "File a bug"-button does not do anything Oct 04 11:48:12 adq: I forget there is a search field. Thanks Oct 04 11:48:30 gdrc: The Android gods shift uncomfortably. Oct 04 11:49:01 Lightning cracks in the distance. Oct 04 11:49:54 s/Lightning/Thunder/ Oct 04 11:52:08 o_o Oct 04 11:53:25 Thunders, Vampires, ... scary Oct 04 11:54:26 gdrc: I'm somewhat static-friendly, personally, but at no stage have I ever wanted to hold a Context. Oct 04 11:54:53 `static` is horrible (or nonexistent) in a perfect world, but Android is not that perfect world. Oct 04 11:55:04 Outside of static methods, I guess. Oct 04 11:56:19 Hi, I'm new to Android, I am working on a project that requires a WebGL capable browser to display an animation in fullscreen (no adress bar, battery level etc.) - how do I achieve that? Does Chrome support that? Oct 04 11:56:24 Or can I install an alternative Android distro that's better for a bit of hacky things? It's an art project :) Oct 04 11:57:01 but the good news is that _finally_ the mouse scroll wheel works in emulated Nougat! Oct 04 11:58:51 is this website project or android app project Oct 04 11:59:19 computer2000: you are 16 years late and in the wrong channel #web #android-root Oct 04 11:59:29 well webview supports webgl since android lollipop Oct 04 11:59:49 Ashiren: is webview a component for native Android apps? Oct 04 12:00:03 yes Oct 04 12:00:59 Doesn't Chrome for Android support web apps going into full screen? Like Apple web apps that are added to Home screen? Oct 04 12:01:31 you mean like desktop chrome apps Oct 04 12:01:57 no Oct 04 12:02:28 whats your use case. i think i dont get it Oct 04 12:08:17 Hello Oct 04 12:08:50 this.rokita Oct 04 12:09:13 :D Oct 04 12:09:23 mRokita: hi! Oct 04 12:12:52 Why does @NoArgsContructor(force = true) give me "cannot resolve method force"? Oct 04 12:13:26 I copied from them Lombok documentation Oct 04 12:15:50 I have a sqlite database which is used to store information about some kind of reminders. I want to create a new notification when current time > time stored in the db Oct 04 12:16:59 The current idea is to run a service with a loop for creating these notifications Oct 04 12:18:36 But im not sure if it's a good idea to query the database every n seconds Oct 04 12:18:56 mRokita: I asked a question first. Please respect the queue Oct 04 12:20:54 mRokita: use AlarmManager Oct 04 12:22:57 xorgate: okay, thanks :) Oct 04 12:25:04 There is no "Annotation Processor" setting in Android Studio but Lombok keeps showing me a notification where it asks to enable it: "Lombok Requires Annotation Processing" Oct 04 12:25:10 What should I do? Oct 04 12:27:05 Melatonina: might that be a plugin? Oct 04 12:27:10 Melatonina: AS plugin Oct 04 12:28:41 There is a Felix SCR Annotation Processor Oct 04 12:28:51 Idiosyncratic: There is a Felix SCR Annotation Processor Oct 04 12:28:57 Idiosyncratic: should I install it? Oct 04 12:29:08 Melatonina: I don't know. Wouldn't hurt. Oct 04 12:29:56 Don't think it has anything to do Oct 04 12:31:31 No, it's not that Oct 04 12:32:57 Idiosyncratic: how much are you doing per day, currently? Oct 04 12:33:20 Idiosyncratic: from your advertisement app, I mean Oct 04 12:37:06 They are all the same: they get rich and don't answer to their friends anymore Oct 04 12:43:33 lombok be damned Oct 04 12:43:57 Melatonina: lol Oct 04 12:44:21 Melatonina: well... I managed to go from 5EUR to 6EUR in maybe 2 days! Oct 04 12:44:48 If I'm lucky, I'll make 30EUR/month Oct 04 12:44:56 you'll be doint 180€ a day by the end of the year Oct 04 12:44:59 doing Oct 04 12:45:29 that's 6000€ per month! Oct 04 12:47:31 going from 5 to 6€ in 2 days is an increment of 0.5€ per day. That means that you'll get 180€ by the end of the year Oct 04 12:47:37 Hey Droidsters Oct 04 12:47:40 180€ per day Oct 04 12:48:04 * DelphiWorld push Melatonina through the med sea up to {...} Oct 04 12:49:39 DelphiWorld: how is your encrypted chat going? Oct 04 12:50:04 Melatonina: not yet started, busy on creating my site :P Oct 04 12:50:32 need FUCKING LOGO... Oct 04 12:50:52 DelphiWorld: how do blind people design web sites, UI and f.....g logos? Oct 04 12:51:19 Melatonina: i dont design at all, i just get ready made template and modify the content Oct 04 12:51:57 Ok Oct 04 12:52:45 So I could pass you a porn image pretending it's a "custom made logo" and you would use it? Oct 04 12:53:14 you think i dont have any sighted person with me? Oct 04 12:56:37 I don't know. I used to imagine you all alone inside a tent stuffed with computers and mobile devices in the middle of the desert with power and network cables coming from an oasis below the horizon line. Oct 04 12:57:47 thats quite a picture Melatonina Oct 04 13:04:55 Is it possible to have a translucent action bar / toolbar/ Oct 04 13:04:57 ? Oct 04 13:05:12 yes Oct 04 13:06:25 just spent too much time and failed to make AS use a specific color for code lines like: "if (Logging.DEBUG) Logging.i(Logging.getMethodName());" Oct 04 13:06:32 i'm close to think it's not even possible Oct 04 13:10:19 pfn: Any idea how? I've tried adjusting the alpha of the toolbar and it changes the color of the text too Oct 04 13:10:34 give it a transparent background Oct 04 13:10:57 markyosullivan: that's because it's the alpha of the whole view, you have to act on the background only Oct 04 13:11:32 markyosullivan: try setting the background to #88ffffff Oct 04 13:14:48 Melatonina: i have a strange question Oct 04 13:15:02 DelphiWorld: shoot Oct 04 13:15:10 Melatonina: what's a alpha channel in design? Oct 04 13:15:44 DelphiWorld: it's the channel that represent the transparency instead of a color component. So #88ffffff is half-transparent white Oct 04 13:16:10 Melatonina: i always heare about alpha channel, but still can't get any clue :P Oct 04 13:16:11 lol Oct 04 13:16:17 blind user trying to imagine design Oct 04 13:17:11 do you have memories of colors and transparencies? Oct 04 13:17:13 DelphiWorld: programatically, it's a channel that blends with the channel beneath it Oct 04 13:17:32 Idiosyncratic: clear Oct 04 13:17:51 Melatonina: That's giving me a light grey color :s Oct 04 13:18:17 What about dark theme :p Oct 04 13:19:08 markyosullivan: create a color resource, put a random color, then press the color swatch on the left margin and you should get a nice color editor Oct 04 13:19:50 markyosullivan: anyway, first two digits are the alpha, the rest are the usual RGB components: #88000000 is half-transparent black Oct 04 13:20:19 markyosullivan: #33000000 is almost-completely transparent black Oct 04 13:30:21 Melatonina: Thanks for the tip! Oct 04 13:31:43 markyosullivan: you are welcome Oct 04 13:40:48 A couple of hours: https://www.youtube.com/watch?v=q4y0KOeXViI Oct 04 13:42:37 guys Oct 04 13:42:40 Till Skynet becomes online and artificial suns turn us all into ashes Oct 04 13:42:45 if i have a app that i want it to be multiarch Oct 04 13:42:53 how to generate a x86 build for it? Oct 04 13:47:17 Hi guys Oct 04 13:47:40 I am trying to open a new window in webview using window.open() with target= _blank Oct 04 13:47:50 I'm tryin to use ButterKnife in an activity but after the call to the bind() methods all view members are still null. Why? Oct 04 13:47:54 but it doesn't seem to work Oct 04 13:48:01 any help with this? Oct 04 13:48:49 Melatonina: aren't you supposed to use R.id2 or something Oct 04 13:49:11 Idiosyncratic: what do you mean? Oct 04 13:49:29 Melatonina: are you using R.id.view? I read that you need to use R.id2.view Oct 04 13:50:06 Melatonina, why use butterknife when databinding provides something more natural Oct 04 13:50:19 Idiosyncratic: There are the examples http://jakewharton.github.io/butterknife/ Oct 04 13:51:03 pfn: because I'm ignorant, I guess. I wanted to be more "pro" and use all the cool libraries but it's not working. Oct 04 13:51:30 pfn: databinding as in https://developer.android.com/topic/libraries/data-binding/index.html ? Oct 04 13:52:03 yes Oct 04 13:52:13 Melatonina: I read this https://github.com/JakeWharton/butterknife#library-projects Oct 04 13:52:25 Oh wait, it's for a library Oct 04 13:52:26 * pfn uses neither butterknife nor databinding though Oct 04 13:52:40 Kush11: There's no way that could work. Oct 04 13:52:58 pfn: I'll look into databinding thanks thanks Oct 04 13:54:07 TacticalJoke: how do you suggest I implement it then? What I need to do is open a new window from the parent window and the child window show then be able to communicate with the parent window using the window messaging API Oct 04 13:54:26 Kush11: We're talking Android apps, right? Oct 04 13:54:56 TacticalJoke: Yes, with a webview Oct 04 13:55:05 webviews don't have "new windows" Oct 04 13:55:42 pfn: PacketFlow Network Oct 04 13:55:43 haha Oct 04 13:56:24 pfn: so a new web view then. Will they still be able to communicate amongst themselves? Oct 04 13:56:31 no Oct 04 13:57:23 * pfn ponders buying the lg 27ud88 monitor Oct 04 13:57:37 pfn: oh. So there is no way to implement what I want to Oct 04 13:57:39 ? Oct 04 13:57:43 no Oct 04 13:58:44 pfn: cool. Thanks for the help Oct 04 14:17:27 Idiosyncratic: InstaDigital I & O Oct 04 14:17:48 DelphiWorld: ? Oct 04 14:17:58 HAHA Oct 04 14:18:05 IDIO insta digital In & Out Oct 04 14:18:58 DelphiWorld: oh :D Oct 04 14:45:58 noob question.. I have a tab bar that's being populated through a json call to get the data.. initially, this works, but after a couple hours, if i bring the app back to the foreground, the tab bar won't draw.. did some reading and I thought if I called onRestoreInstanceState, it would trigger when the app is brought back to foreground, I could make my json call again, and be good to go.. but it's not happening. What's the Oct 04 14:48:27 Going to take a bucket and place it near me so that I can vomit whenever I hear the word "innovative" in the Google reveal Oct 04 14:48:45 *is hoping the Pixel is the phone he has been waiting for* Oct 04 14:49:03 Someone should count the amount of times these expos say the word "innovative" Oct 04 14:49:22 BilldaCat: It sounds like your process is being killed while your app's running in the background. You're then losing data because you're not persisting it. Oct 04 14:50:48 BilldaCat: You can't call onRestoreInstanceState. The framework calls that, not the app. Oct 04 14:50:58 Guys anyone switched to Gradle 3 and kotlin based build scripts? Oct 04 14:51:05 I'm getting an error saying me to use gradle 2.10 Oct 04 14:51:29 right right.. i meant i'm overriding onrestoreinstancestate and trying to repopulate my tab bar there. i figured the framework called that when the app comes back to the foreground, but it doesn't seem to be. Oct 04 14:51:40 so i'm wondering where i need to put this call to repopulate my tab bar in this situation Oct 04 14:56:20 BilldaCat: onRestoreInstanceState should be called in the situation you describe. Oct 04 14:56:48 hey TacticalJoke Oct 04 14:57:09 I guess try `Log.e("Billdacat", "It's been called.");` in that callback, and then rotate the screen. Oct 04 14:57:11 Hey, g00s. Oct 04 14:57:20 hrm.. ok. i'll put in some more debug code and check it out. thanks Oct 04 14:57:20 * g00s shows up with popcorn Oct 04 14:57:32 One hour: https://youtu.be/q4y0KOeXViI Oct 04 14:57:53 BilldaCat: You probably shouldn't use that callback, though, ultimately. Probably just onCreate. Oct 04 14:57:57 hope this isn't a disappointment like wikileaks "oct surprise" Oct 04 14:58:15 BilldaCat: I mean for this situation. Oct 04 14:58:27 ah ok. right now I'm populating the tab bar in onResume. Oct 04 15:02:19 dragorn http://www.theverge.com/2016/10/4/13161026/signal-subpoena-court-order-encryption-police-open-whisper Oct 04 15:02:38 BilldaCat: FWIW, an easy way to recreate the "killed while running in the background" situation is to press Home on the device while the app is running and then click the red X in the LogCat window in Android Studio. Oct 04 15:03:01 Then, when you open the app again, it tries to restore the earlier state (rather than considering itself a blank slate). Oct 04 15:03:11 TacticalJoke: oh, cool. perfect -- thanks! will play with that, didn't know that. Oct 04 15:07:21 g00s: I'm hoping we don't hear "Leverage the power of Fragments to bring your apps to the desktop". Oct 04 15:07:51 lol well i hope ist more than just pixel news Oct 04 15:11:22 hi, can I put a gradle plugin into my local project directory? I'm trying to use https://github.com/saturday06/gradle-android-scala-plugin with newer versions of the android plugin, but it doesn't work, so I'd like to copy the plugin and try to patch it Oct 04 15:18:27 ok. i give up. what do i need in my app to have a gcm notification indicator show up when the app is closed Oct 04 15:18:32 not force stopped, just closed Oct 04 15:19:20 Why do you need to involve the cloud, exactly? Oct 04 15:19:41 cause its where the notifications are coming from Oct 04 15:19:43 if you want push notifications, you need firebase nowadays Oct 04 15:19:51 when user A submits something, we need to notify User B Oct 04 15:20:07 ...and when user A closes the app, user B needs to be notified? Oct 04 15:20:19 Dagmar: its like facebook Oct 04 15:20:36 just because you dont have FB open on the phone (you swiped it out of the recents list) Oct 04 15:20:37 I'm not helping anyone write any crap like that Oct 04 15:20:50 doesnt mean you shouldnt get a notification that someone commented on a post you had Oct 04 15:21:07 Dagmar: it was an example. I am not writing facebook Oct 04 15:21:36 I don't see any reason why you can't send a message within onDestroy Oct 04 15:21:45 Just don't be thick and call super first Oct 04 15:21:50 .... Oct 04 15:21:56 I think you misunderstand Dagmar Oct 04 15:22:08 Dagmar: that will not work Dagmar Oct 04 15:22:11 he wants to receive push notifications when the application isn't in use Oct 04 15:22:29 and based on something someone else did - this app does notify users of events which impact them Oct 04 15:22:44 afaik that requires a service component Oct 04 15:23:07 it does not Oct 04 15:23:09 weeell... Oct 04 15:23:10 don't speak if you don't know Oct 04 15:23:13 just a broadcastreceiver Oct 04 15:23:21 gcm/fcm uses broadcastreceivers Oct 04 15:23:26 right Oct 04 15:23:31 i have most of what i think i need Oct 04 15:23:33 and you can use a manifest receiver for this Oct 04 15:23:43 but my test device is not getting the notifications when the app is closed Oct 04 15:23:49 https://medium.com/@deividi/a-good-way-to-handle-incoming-notifications-in-android-dc64c29041a5?swoff=true#.kmelrw4e2 Oct 04 15:24:03 using that, thus far. I have the pieces in place via the first part, but i am still not receiving notifications Oct 04 15:28:07 anyone? Oct 04 15:28:58 I'm not sure where to begin Oct 04 15:30:15 are you actually using gcm? or is it really fcm? Oct 04 15:31:19 Regardless of the accusation of me not actually knowing, I'd check to make certain killing it isn't _unregistering_ the damn thing with the pushrecieverintentservice Oct 04 15:31:24 i want a buildconfigfield in a particular flavor (but not in another flavor), and have different values for release and debug. how can i do this in build.gradle? Oct 04 15:31:37 Zharf: gcm Oct 04 15:32:33 Zharf: what i am really trying to understand is, what are the pieces that are involved. I am familiar with sending local notifications from within the app. But I am perplexed at getting them to show up in the status bar when the app is not running Oct 04 15:33:08 does that make sens? Oct 04 15:33:12 sure Oct 04 15:33:32 well, not sure :p Oct 04 15:33:58 you do it the same way you do it when the app is running but you need to trigger the broadcastreceiver by sending a message to gcm apis Oct 04 15:34:09 i guess, what would really help me understand this is, what component of my app is invoked when the notification received and the app is closed? From what I understand, Services, Receivers, and Activities all exist in the same process Oct 04 15:34:46 your broadcastreceiver Oct 04 15:35:38 ok, next question. Is it my app that is responsible for showing the notification in the status bar or the OS? Oct 04 15:35:47 yours Oct 04 15:35:50 again, assumign the app is clsoed Oct 04 15:35:58 you just receive the intent in your broadcastreceiver Oct 04 15:36:10 ok that is in line with my understanding. So the receiver exsits almost outside of the process of the app Oct 04 15:36:16 since it can receive when the app is not running Oct 04 15:36:30 the system sends a broadcast and when it matches your intent filter, your application is started and your broadcast receiver is called Oct 04 15:37:18 interesting. So with that knowledge, if I receive a notification from FB, but FB is closed is the app actually started regardless of whether i interact with the app or not Oct 04 15:37:26 yes Oct 04 15:37:35 interesting. Thank you for this Oct 04 15:37:36 just no activity is necessarily started Oct 04 15:37:41 very helpful Oct 04 15:38:24 i think i have enough to go on to start working this example a bit better. Thank you for your answers Oct 04 15:41:25 Zharf: i think you also just explained why, when i wake up in the morning, and my tablet has 15 notifications, the battery is gone :) Oct 04 15:41:36 any upcoming great Android Non-Camera phones? Oct 04 15:41:50 ReGi5tRaS: do they still make those? Oct 04 15:42:01 ReGi5tRaS, ask in #android Oct 04 15:42:41 xximjasonxx, bad software is bad, but doze mode tries to solve that issue Oct 04 15:43:18 also why i do not keep fb installed on my phone, plus other reasons Oct 04 15:43:36 I've never even had an account for fecesbook Oct 04 15:45:09 if i may, i have rediscovered facebook.... once i blocked 95% of my friends for election season Oct 04 15:45:16 "The live stream will begin shortly": https://youtu.be/q4y0KOeXViI Oct 04 15:45:27 now i only get the stuff i care about, like babies, marriages, etc Oct 04 15:45:38 the stuff that FB was actually designed to share with others Oct 04 15:45:43 not endless drivel about the election Oct 04 15:46:03 The stuff FB was designed for: all your private data. :D Oct 04 15:46:14 meh, theyll get it one way or another Oct 04 15:46:55 I don't have accounts on things like fb, twitter, g+ and such Oct 04 15:47:02 never have, never will Oct 04 15:47:08 always a personal choice Oct 04 15:48:14 Zharf: though I assume you have gMail or the like? Oct 04 15:48:57 I have a gmail account because android made me make one but I've never used it for email Oct 04 15:49:01 just logging into my android Oct 04 15:49:07 hushmail? Oct 04 15:49:29 I have my own email setup Oct 04 15:50:07 Hillary Clinton style :-D Oct 04 15:50:41 So... an unfirewalled exchange server instance with an out of date version of VNC on it? Oct 04 15:50:43 I don't have top secret emails though :p Oct 04 15:50:54 Dagmar: +1 Oct 04 15:51:13 exchange is horribad Oct 04 15:51:13 That's specifically what was actually running. Makes me furious. Oct 04 15:51:38 -> sauna Oct 04 15:51:53 not to get too far into it, but that whole story just made me shake my head. First off, name me ONE multinational corporation that if you asked the IT department "Can I run my own email server?" they wouldnt say "No" Oct 04 15:52:03 or at the very leat "Sure, but we are going to either manage it or set it up for you" Oct 04 15:52:06 and you arent allowed to touch it Oct 04 15:52:58 I am not going to get into whether she is a crook or not, but either way the government needs to take a long serious look at IT Policy Oct 04 15:53:08 Oct 04 15:53:11 They had them. They're not enforcing them in this instance Oct 04 15:53:27 Dagmar: or with W from what i read (same setup or type of deal_ Oct 04 15:53:29 Anyone else would have had their ass fired so hard it would leave little bits of paper and dust hanging in the air where they once were Oct 04 15:53:44 I would get laughed out of the room if I asked our IT guys that Oct 04 15:54:11 Instead they actually humor her claims that they didn't follow procedures because they were never given the required training classes. Not one person. Oct 04 15:54:25 ...and miraculously the documentation doesn't seem to be around anywhere Oct 04 15:55:06 I've done short-term contract gigs where I had to sit through four hours of training just to do 10 hours of work Oct 04 15:55:08 Does anyone have experience with ShapeImageView by siyamed? Do you know how to rotate one of the built in shapes? I would like to use the hexagon mask, but it has a flat edge at the top and I need a vertex to be at the top. I would like to be able to rotate the shape without rotating the contents. Oct 04 15:55:43 Dagmar: like I said, multiple problems throoughout. Shouldnt even be an option for anyone, least of the Secretary of State Oct 04 15:55:49 *all Oct 04 15:56:18 If I'd known it was going on at the time, I'd have personally run out to a coffee house, fired up ToR, and dumper her everything to torrent servers Oct 04 15:56:19 anyone Google Reveal is starting, so thats enough beating on what we all know already, the US Government is laughably far behind the curve when it comes to the IT Oct 04 15:56:35 Dagmar: :) might have ended up dead iin that case Oct 04 15:56:49 Nope. Unlike Clinton's people, I actually do know what I'm doing Oct 04 15:56:54 :) Oct 04 15:56:57 I'm gonna watch a recap of the Google event tomorrow in work Oct 04 15:57:08 Or just watch the full thing tomorrow Oct 04 15:58:45 is anyone hyped about this event? Oct 04 15:59:04 Only if they announce they're making a cheap goggle set Oct 04 15:59:13 xximjasonxx you'll like this :D https://www.youtube.com/watch?v=h1Lfd1aB9YI Oct 04 15:59:18 I'd like something in the $150-200 range Oct 04 15:59:40 hexagonSun_: I'm hoping there'll be something for Android developers and desktop users to look forward to. Oct 04 16:00:33 It's starting. Oct 04 16:00:34 I'll also be excited if they announce a way to roll back to the previous layout editor in AS. Yesterday it was just faster for me to kick a new APK into the phone than deal with that thing Oct 04 16:00:54 That pronunciation of 'beta'. Oct 04 16:01:12 g00s: +1 Oct 04 16:02:15 haha ok that was entertaining Oct 04 16:02:30 I want see Larry fire Sergio out of a cannon :) Oct 04 16:02:31 The "in the box" thing. Oct 04 16:02:36 I thought that was Instant Run. Oct 04 16:02:52 Please, God, tell me there is an Allo update coming Oct 04 16:02:55 SMS support please Oct 04 16:03:10 This guy has David Blaine-like powers. Oct 04 16:03:17 thats a pretty small venue Oct 04 16:03:28 in RxJava, if I'm on the main thread, and flatmap to something that needs to run on a background scheduler, does scheduler need to be assigned on the new observable that's returned or the flatmap that returns it? Oct 04 16:03:31 Yeah, way smaller than I'd expected. Oct 04 16:04:37 i.e. o.flatmap { newObs.getStuff(it).subscribeOn(Schedulers.io()) } OR o.observeOn(Schedulers.io()).flatmap { newObs.getStuff(it) } Oct 04 16:05:34 * g00s doesn't like where this is going .... Oct 04 16:06:01 personal spyware :D Oct 04 16:06:06 Yeah. Oct 04 16:06:07 true Oct 04 16:06:14 :/ Oct 04 16:06:24 "A Google who knows what you're thinking." Oct 04 16:06:32 Though Google already knows. Oct 04 16:06:37 probably Oct 04 16:07:19 mmm Oct 04 16:07:22 Quatinos Oct 04 16:07:23 Gonna need an assistant for all these assistants -.- Oct 04 16:07:29 i take my girlfriend there very valentines day Oct 04 16:07:32 google, "what should i get myself for christmas?" Oct 04 16:07:34 *every Oct 04 16:07:40 g00s: an iPhone :) Oct 04 16:07:45 hahhah Oct 04 16:07:59 google assistant seems scary :( Oct 04 16:08:20 daamn Oct 04 16:08:24 I just wanna hear about Andromeda. Oct 04 16:08:27 this is getting scarier with every phrase Oct 04 16:08:31 Can we fast-forward this bit. Oct 04 16:08:49 TacticalJoke: that is all my colleague has been talking about Oct 04 16:08:53 each of these areas is being turbocharged by your private information - ftfy Oct 04 16:08:58 TacticalJoke: yeah, me too Oct 04 16:09:46 my fiancee's brother works for Deep Mind Oct 04 16:09:52 you want to talk about knowing your stuff :) Oct 04 16:10:52 is anyone from the irc channel currently on the presentation? Oct 04 16:11:09 hehe Oct 04 16:11:22 he is right on that translation Oct 04 16:11:28 my fiancee is korean so we practice to see how well it does Oct 04 16:11:37 its gotten really good in the past few months Oct 04 16:12:25 s/months/years/ Oct 04 16:13:33 xximjasonxx: my wife is japanese Oct 04 16:13:39 and it doenst work well Oct 04 16:13:52 yeah, she still laughs, but admits its getting better Oct 04 16:13:52 but if google can translate polish properly Oct 04 16:13:58 that would be success Oct 04 16:14:11 i had my host brother from Japan last year Oct 04 16:14:29 What does the fox say? Oct 04 16:14:43 Fuck you Oct 04 16:14:48 thats what the fox says Oct 04 16:14:52 :P Oct 04 16:15:01 TacticalJoke: i made an old meme for you but i eated it Oct 04 16:15:02 Hey. i am using android studio on fedora linux. when i try to download a image to emulate some app that i am doing if i am with my current user it tells me that it has no memory. only works if i am logged in as root Oct 04 16:15:18 It says "contribute code for t-shirts" Oct 04 16:15:30 That fat guy in the audience... ;o Oct 04 16:15:42 capella-5x: Ahh, didn't consider that answer. Oct 04 16:16:05 that joke just died hard Oct 04 16:16:15 "Build hardware is hard" Oct 04 16:16:17 Heh, too cryptic perhaps Oct 04 16:16:49 any guess to solve my problem? Oct 04 16:17:48 xximjasonxx: lol Oct 04 16:18:13 "So that we can have all your data, regardless of hardware." Oct 04 16:18:19 tsousa: that's strange, worked for me Oct 04 16:18:39 but it doesnt tell me what could be wrong Oct 04 16:19:03 tsousa: I don't have those kind of problems on Windows Oct 04 16:19:13 TacticalJoke that's literally a phrase from sillycon Valley Oct 04 16:19:22 hello pixel Oct 04 16:19:30 my next phone Oct 04 16:19:33 huh, he said made by google ... Oct 04 16:19:40 g00s: yeah i heard that too Oct 04 16:19:44 i think HTC just built it Oct 04 16:19:47 didn't htc make it ? Oct 04 16:19:49 yeah Oct 04 16:19:52 Google designe dit Oct 04 16:19:55 HTC built it Oct 04 16:19:55 That Gmail icon though. Oct 04 16:20:00 Melatonina, i also dont have that problem in windows. but my primary machine is with Fedora Linx Oct 04 16:20:13 lol this is such an apple presentation Oct 04 16:20:22 :) Oct 04 16:20:27 g00s: nooo Oct 04 16:20:29 tell me the specs big white guy Oct 04 16:20:33 less amazings per minute Oct 04 16:20:43 gg Oct 04 16:20:45 xximjasonxx: specs are known from yesterday Oct 04 16:20:47 does it work on FI Oct 04 16:20:48 g00s exactly what i was thinking Oct 04 16:20:53 gordon_: yeah most of them Oct 04 16:21:41 lmao Oct 04 16:21:45 that looks like an iPhone Oct 04 16:21:53 does it ? Oct 04 16:21:56 yes Oct 04 16:21:57 i love the smiley faces tho, they're really proud of what they've done Oct 04 16:21:58 it does Oct 04 16:22:03 i told ctate 5 years ago, you guys need to do your own HW to optimize the interaction between hw/sw - glad they came around to that :D Oct 04 16:22:04 i mean, physically Oct 04 16:22:18 i just want to know if its going to work with Fi Oct 04 16:22:25 i am jumping verizon, or i want to anyway' Oct 04 16:23:21 He's trying so hard to speak clearly into the device. lol Oct 04 16:23:26 I would like them to stop using these weird pauses in their sentences Oct 04 16:23:27 Like "You better not let me down". Oct 04 16:23:39 More like, "You better not, let me down" Oct 04 16:23:48 TacticalJoke: agile development ;P Oct 04 16:24:36 lisa's phone number... Oct 04 16:24:47 Doh! Oct 04 16:24:47 Let's ignore the "Went to go" thing. Oct 04 16:24:48 "No, I am divorcing you for showing my number on a live stream" Oct 04 16:24:59 I hope like hell that's a disposable number Oct 04 16:25:00 smit: it's probably fake Oct 04 16:25:25 thats pretty cool Oct 04 16:25:26 damn it's so much about AI Oct 04 16:26:25 this is like watching MST3000 but not seeing the film... Oct 04 16:27:02 I like how fast this phone works Oct 04 16:27:19 it's new so.. Oct 04 16:27:26 I'm wondering how long until Google Assistant is greenlighted in the Play store for non-Pixel phones Oct 04 16:27:37 hexagonSun_: you probably dont know samsung :P Oct 04 16:27:58 Dagmar: isnt it android 7.1 feature only ? Oct 04 16:28:27 wow Oct 04 16:28:30 it beat the 7 Oct 04 16:28:31 At least until someone cooks up a compatibility library to go in with it Oct 04 16:29:04 wow, the camera beats the 7 Oct 04 16:29:12 though i am sure there is more than one site that rates cameras, so Oct 04 16:29:21 angry fish is angry Oct 04 16:29:40 remember all of those have been photoshoped Oct 04 16:29:44 and color-corrected Oct 04 16:30:07 hithere Oct 04 16:31:41 all i need to know is, does it work with Fi Oct 04 16:31:46 That looks like an iOS popup. Oct 04 16:31:46 dissrespect Oct 04 16:31:53 #savage Oct 04 16:31:54 TacticalJoke it was Oct 04 16:32:00 Ahh, okay. Not an iOS user. Oct 04 16:32:48 where is that andromeda.. Oct 04 16:32:52 its coming Oct 04 16:32:56 keep your shirt on Oct 04 16:33:03 they said phone was part 1 Oct 04 16:33:22 please say there is an Allo update coming Oct 04 16:33:27 what if I'm not wearing any shirt ( ͡° ͜ʖ ͡°) Oct 04 16:33:27 See whether they're clothed or not. Oct 04 16:33:33 I'm starting to suspect the deal with the awkward pauses is an attempt at making the synth speech sound more natural Oct 04 16:33:37 gordon_: then i am scared for life Oct 04 16:33:44 haha Oct 04 16:34:11 still cant get these damn notifications working when the app is closed Oct 04 16:34:12 Buy yours today! Oct 04 16:34:23 hrmm Oct 04 16:34:26 hmmm Oct 04 16:34:34 downloades and installed in the background, a new feature! Oct 04 16:34:41 Wow, it's a phone! Oct 04 16:34:44 so since Verizon is going to carry it, i would get the notifications independant of the carrier Oct 04 16:34:45 yes, a feature of android 7.0 Oct 04 16:35:00 but verizon is expensive and i really want to try Fi Oct 04 16:35:01 24/7 support? Jeez. Oct 04 16:35:14 TacticalJoke: when you have the money Oct 04 16:35:36 been hard to switch from one OS to another, nothing implied there :) Oct 04 16:35:38 nice.. thats what i said our app needed here at work (24/7 etech support ) Oct 04 16:35:45 Omg, cases! Oct 04 16:36:02 that’s not very big Oct 04 16:36:02 Pixel XL for me Oct 04 16:36:08 Did she say whether it was a removable battery? Oct 04 16:36:14 TacticalJoke: no, but probably not Oct 04 16:36:18 no Oct 04 16:36:18 Okay. Oct 04 16:36:20 From the look of the case tjay Oct 04 16:36:23 s probably not an option Oct 04 16:36:29 that naming Oct 04 16:36:31 :D Oct 04 16:36:41 the guy who thought up "auto-awesome" names the colors Oct 04 16:36:41 3.4mm headphone jack Oct 04 16:36:45 i swear whe was going to say "much color" Oct 04 16:36:49 heheh Oct 04 16:36:50 No removeable battery so Google can track you all the time :O Oct 04 16:36:58 costs ... Oct 04 16:37:05 wait Oct 04 16:37:10 so no pixel for most of us Oct 04 16:37:11 FUCK YES Oct 04 16:37:14 FI!!!! Oct 04 16:37:16 LOL i like those color names Oct 04 16:37:17 one pchilion Oct 04 16:37:19 :P Oct 04 16:37:25 Idiosyncratic: no removable media so they can build a neural net right on the device? Oct 04 16:37:35 There's your info about Fi Oct 04 16:37:38 that price Oct 04 16:37:40 yup, i am done Oct 04 16:37:45 what price Oct 04 16:37:50 649 usd Oct 04 16:37:51 lol "very blue, very expensive :)" Oct 04 16:37:51 lol - nobodys clapping on price anounce Oct 04 16:37:53 from Oct 04 16:37:53 $779 for XL i think Oct 04 16:37:58 whaaaaaaaat Oct 04 16:38:02 It's a fucking phone, we get it. I want to know wtf is Andromeda. Oct 04 16:38:04 Let's recap the newness. Oct 04 16:38:20 rip wallet Oct 04 16:38:22 Idiosyncratic: Andromeda = Red Hat, Android = Fedora Oct 04 16:38:30 650$ Oct 04 16:38:32 dafuk. Oct 04 16:38:47 basically they are FINALLY doing what they should have done years ago Oct 04 16:38:53 Another Apple burn. Oct 04 16:38:54 lol Oct 04 16:39:10 that is, break android in to two branches Oct 04 16:39:22 but will they support it for 4 years :) Oct 04 16:39:22 one which is maintained by Google and the other a open source version people can modify Oct 04 16:39:25 raoul11: since most bastards here are posh as hell, is that "dafuk, it's expensive" or "dafuk, it's cheap"? :P Oct 04 16:39:33 expensive Oct 04 16:39:48 its expensive, but its not out of line with the price of a typical android flagship hone Oct 04 16:39:50 now clapping - animation something audience finally understand :) Oct 04 16:39:52 Not that much more than most of the other vendors flagship releases Oct 04 16:39:53 Droid Turbo was $700 Oct 04 16:39:58 normal .. its a cellphone... just think of it as buying a desktop Oct 04 16:40:05 did it list the price? i didn’t see it Oct 04 16:40:12 679? Oct 04 16:40:14 best i can do is 300. Oct 04 16:40:16 bolovanos: the dude hitting the button on the 'Applaud' sign got back from his smoke break Oct 04 16:40:17 starting at $649 Oct 04 16:40:26 how much was nexus 5x ? Oct 04 16:40:30 is this live? Oct 04 16:40:32 im somehwat upset there is no 64gb version Oct 04 16:40:32 300 Oct 04 16:40:33 $399? Oct 04 16:40:33 $500 something Oct 04 16:40:39 $349 or so Oct 04 16:40:41 yeah Oct 04 16:40:43 6p was $499 Oct 04 16:40:46 http://bgr.com/2016/10/04/pixel-xl-vs-iphone-7-plus-prices/ Oct 04 16:40:46 so.. rip wallet :D Oct 04 16:40:54 fuck it, I'll order it up Oct 04 16:40:57 gordon_: wallets been dead Oct 04 16:40:59 wat do, 5.5" or 5" Oct 04 16:41:09 5.5" Oct 04 16:41:11 4" Oct 04 16:41:14 5.5 Oct 04 16:41:22 something that is not available for years Oct 04 16:41:35 5" is really nice with a small bezel Oct 04 16:41:37 i'm thinking to get daydream ready working well, google couldn't leave it to their oems Oct 04 16:41:41 damn magic is expensive Oct 04 16:41:45 yeah, cause that doesnt look like an Oculus Oct 04 16:41:53 wouw welding googles Oct 04 16:41:58 that deserves clapping :D Oct 04 16:42:01 all headsets are going to look pretty similar Oct 04 16:42:20 google glass Oct 04 16:42:25 hahahah Oct 04 16:42:29 google googles Oct 04 16:42:32 This VR stuff is depressing me as hell Oct 04 16:42:37 Why depressing? Oct 04 16:42:57 Idiosyncratic: 'neo, I believe' Oct 04 16:43:01 lmao Oct 04 16:43:18 i want to see the updated Matrix with gusy running around with Oculus on their head Oct 04 16:43:21 *guys Oct 04 16:43:40 I think that cosy looking googles will be appreciated by those closed in their small rooms doing ... Oct 04 16:43:51 "i see a battery burning" Oct 04 16:44:14 that controller thing is soo apple inspired Oct 04 16:44:15 g00s: finally 'the girl is on fire' will make more sense in songs Oct 04 16:44:44 this presentation, so many bad jokes Oct 04 16:44:44 what is not apple inspired these days Oct 04 16:45:08 samsung? Oct 04 16:45:09 Gravity still wins. Oct 04 16:45:10 sweaty palms. damn Oct 04 16:45:18 "minimalist" isn't only apple Oct 04 16:45:25 material > apple Oct 04 16:45:27 btw - not that much enthusiasm when trying to sell something already on market Oct 04 16:45:49 Those headsets look so hipster. Oct 04 16:46:18 That's because they've been skinning free-range hipsters to make them Oct 04 16:46:59 :D Oct 04 16:47:00 put some harry potter in it, it's a win Oct 04 16:47:08 TacticalJoke, sold with label "work with 5"+ beard only" Oct 04 16:47:09 :D Oct 04 16:47:11 i want to be a wizard!!! Oct 04 16:47:44 or at least "looks cooler with beard attached on" :) Oct 04 16:47:52 gaming on phone Oct 04 16:48:04 I've been gaming pretty extensively on my phone lately Oct 04 16:48:10 look how excited I am ¯\_(ツ)_/¯ Oct 04 16:48:16 but where is the porn vr? Oct 04 16:48:25 you can look around - in VR - really - magic Oct 04 16:48:44 pfn: I rather stay with PC gaming Oct 04 16:48:47 i mean, honestly, tell me someone has gone after this. Like the biggest untapped market if you havent Oct 04 16:48:48 seriously Oct 04 16:48:49 xximjasonxx i'll get on that right NOW! Oct 04 16:48:57 dar10s: in more ways than one? Oct 04 16:49:21 we seriously need a sarcasm workshop in the channel... Oct 04 16:49:29 "And then." Oct 04 16:49:35 amrit: Hey man there's a lot of devices there. It's probably messing with her wireless uplink Oct 04 16:49:36 I used to work for vivid entertainment Oct 04 16:49:39 gordon_, I only play lol, and I've pretty much stopped, probably gonna go buy a 4k monitor and my gpu nowhere near good enough to game on that, heh Oct 04 16:49:49 I wonder whether this stuff is good for our eyes. Oct 04 16:49:50 dar10s: i want 10% royalty Oct 04 16:50:06 as a entertainment platform - will wait some time - remember sick people on 3D televisions Oct 04 16:50:07 SheepView Oct 04 16:50:07 kek Oct 04 16:50:14 i want that custom control in my app Oct 04 16:50:15 dar10s why the fuck did you quit /: Oct 04 16:50:34 different better jobs Oct 04 16:50:49 was working only a contract for their avs showcase Oct 04 16:50:55 wait, when did i go underwater Oct 04 16:50:57 HELP!!! Oct 04 16:50:58 It gets awkward to have a non stop boner at your desk after a while I guess Oct 04 16:51:04 ^^ Oct 04 16:51:06 We can breathe underwater now. Oct 04 16:51:20 Holy shit, I feel like I'm there Oct 04 16:51:36 iPhone 7 is water resistant, Daydream is waterproff!! Oct 04 16:51:42 ^^ not a verified statement Oct 04 16:51:53 did the vr headset include headphones? Oct 04 16:51:54 And I'm watching this on a 2D screen! Oct 04 16:52:04 hexagonSun_ nope Oct 04 16:52:15 wow thats cheap Oct 04 16:52:23 does the daydream require a pixel? Oct 04 16:52:23 when is pixel available Oct 04 16:52:27 xximjasonxx: because phone is fucking expensive :D Oct 04 16:52:27 hmm that's decent Oct 04 16:52:28 s73v3r: yes, initially Oct 04 16:52:29 We can haz Andromeda? Oct 04 16:52:43 phone is no more expensive than other comperable phones Oct 04 16:52:49 ok, sorry Oct 04 16:52:57 This stuff is boring. Oct 04 16:52:58 I'm just used to nexus prices Oct 04 16:53:00 gordon_: i dropped $775 on my Droid Maxx back in the day Oct 04 16:53:06 Routers shmouters. Oct 04 16:53:18 750 on galaxy nexus Oct 04 16:53:21 routers are for sissies. I use carrier pigeons Oct 04 16:53:30 Afzal: seriously ? didnt know that Oct 04 16:53:36 I've bough galaxy nexus used Oct 04 16:53:42 and it was quite cheap then Oct 04 16:53:48 gordon_ yeah, nexuses werent cheap before nexus 4 Oct 04 16:53:48 "private ArrayList mSelectedItems;" than on this row" if(mSelectedItems.get(j) == i)" says "Operator == cannot be applied to java.lang.Object, int" replicating this in another project - no problem Oct 04 16:54:00 used phones are always cheap <_< Oct 04 16:54:07 obv Oct 04 16:54:11 so they reBrand accessPoints ? Oct 04 16:54:14 bolovanos: did the other project override == Oct 04 16:54:16 this is problem only in one project and helps "if (mSelectedItems.get(j) == (Integer) i) {" - but that is not what am I after Oct 04 16:54:17 dar10s yup Oct 04 16:54:28 Oh no, not the aesthetics! Oct 04 16:54:29 xximjasonxx, what do you mean? Oct 04 16:54:35 at least they look cook Oct 04 16:54:37 and no ethernet Oct 04 16:54:38 looks pretty good Oct 04 16:54:42 Operator == cannot be applied to java.lang.Object, int" Oct 04 16:54:54 So you can become an internet creep! Oct 04 16:54:54 sounds like, if it came from another project, might be operator overloading in effect Oct 04 16:55:12 haha Oct 04 16:55:16 "Get off Pornhub!" Oct 04 16:55:22 lol Oct 04 16:55:27 VR Pornhub ruined Oct 04 16:55:27 damn Oct 04 16:55:34 blue balled(™) by google Oct 04 16:55:39 ^^ Oct 04 16:55:46 sounds like the coffee shops will no longer need a close sign Oct 04 16:55:52 $129 is the price of a regular, decent quality router Oct 04 16:55:58 wheres the ethernet Oct 04 16:56:00 suddenly my friend cant find a coffee shop to work from Oct 04 16:56:04 this has ac? Oct 04 16:56:10 i hope this isn't over in 4 min Oct 04 16:56:17 it is Oct 04 16:56:17 i want my damn hour back Oct 04 16:56:26 g00s no way! really? Oct 04 16:56:30 When's the next talk? Oct 04 16:56:40 I want my Andromeda news. :[ Oct 04 16:56:49 i don’t know if it’s over or not Oct 04 16:56:52 s73v3r: but this thingy makes it easier and more streamlined for g00gle to spy on you Oct 04 16:56:58 xximjasonxx, I was able to compile project with this very same operator (already in alpha on Play), but this happened after upgrading to 2.2.0 AS + some updates on Libraries Oct 04 16:57:20 then i dont know Oct 04 16:57:30 huh how is contrast ratio anything beside a display feature Oct 04 16:57:41 how can it be affected by the chromecast Oct 04 16:57:45 ooh, ethernet port on chromecast ultra Oct 04 16:58:00 Afzal, dynamic contrast Oct 04 16:58:06 okay Oct 04 16:58:08 Wired ethernet support is new and welcome Oct 04 16:58:16 also cheap as fuck o: Oct 04 16:58:40 +1 ethernet port included instead of having to buy the add on Oct 04 16:59:00 Omg, someone throw a grenade at that guy before his cheesiness gives me seizures Oct 04 16:59:21 loool Oct 04 16:59:23 Google Home: Watching you. Oct 04 16:59:39 again that design Oct 04 17:00:02 applemuch gordon_ Oct 04 17:00:12 not apple Oct 04 17:00:36 but braun Oct 04 17:01:13 looks like it's not ending at 1pm Oct 04 17:01:14 :D Oct 04 17:01:15 phew Oct 04 17:01:19 hope for Andromeda Oct 04 17:01:45 Pixels apparently won't have an unlocked bootloader from verizon Oct 04 17:02:24 Damnit Oct 04 17:02:26 I would like to make that smart home by myself with linux and AI :P Oct 04 17:02:32 Everything in my office went off when he said "Okay, Google" Oct 04 17:02:33 xximjasonxx, is it lint or how would you address this problem ? Oct 04 17:02:44 Dagmar: lol Oct 04 17:02:49 gordon_ good luck Oct 04 17:03:00 indexing and scraping + API linking Oct 04 17:03:04 :) Oct 04 17:03:17 Afzal: for launching music from mp3s ? Oct 04 17:03:22 oh haha Oct 04 17:03:34 I meant all the internet connectivity Oct 04 17:03:35 Google Home find me something on Napster Oct 04 17:03:49 The robot is like "Uhh, not Shakira". Oct 04 17:04:00 play something by Kesha Oct 04 17:04:01 No Oct 04 17:04:04 haha Oct 04 17:04:17 is there an option to have Home be snarky Oct 04 17:04:29 "Where can i get some cake?" "You dont need any cake" Oct 04 17:05:10 can you please tell me what is your JRE now - mine 1.8.0_76-release-b03 Oct 04 17:05:19 ugh Oct 04 17:05:24 goddamnit, this guy's voice is activating "ok google on my phone" Oct 04 17:05:24 still cant get these notifications to work Oct 04 17:05:29 and my phone is responding Oct 04 17:05:32 bolovanos: Android Studio uses its own JRE and JDK now. Oct 04 17:05:33 (and tablet)_ Oct 04 17:05:58 TacticalJoke, I am reading it from help -> about... Oct 04 17:06:03 pfn: You feel my pain Oct 04 17:06:23 I thought I was done with that mess when I started uninstalling Hangouts from some stuff Oct 04 17:06:28 I wonder if Google will get away with this spytool. Didn't PS4 and Xbox 360 get hammered for spying on people or something? Oct 04 17:06:33 I really want Google Home to be snarky Oct 04 17:06:44 Idiosyncratic, uh, it's been doing this for the last 2 years Oct 04 17:06:59 Oh. Nice. Oct 04 17:07:02 longer? moto x 2013 started this Oct 04 17:07:02 Idiosyncratic: i can literally look at the various locationi points google has recorded for the past 10 years, so Oct 04 17:07:05 3 years Oct 04 17:07:12 bolovanos: JRE: 1.8.0_76-release-b03 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Oct 04 17:07:12 xximjasonxx: yeah, I know Oct 04 17:07:28 xximjasonxx: I disabled all of that tracking stuff Oct 04 17:07:32 goddamn tablet keeps responding Oct 04 17:07:35 stop answering this guy! Oct 04 17:07:35 meh, i just dont care Oct 04 17:07:51 TacticalJoke, thank you - r u running 2.2 AS? Oct 04 17:07:54 Yeah. Oct 04 17:07:58 thx Oct 04 17:08:08 btw would you adress my problem to lint? Oct 04 17:08:50 so where is the dev docs for googleHome ? Oct 04 17:09:12 where is the source :> Oct 04 17:09:26 "ok google, good morning" "its 7am. you will be searching SO all day for answers to android" Oct 04 17:10:04 nooooo, kids vitamins is on my keep shopping list now Oct 04 17:10:17 IDK . i assume that its all api's and appEngine. like alexa on AWS Oct 04 17:10:24 hahah g00s Oct 04 17:10:38 bolovanos: I don't get a warning. What is `i`? Oct 04 17:10:46 skeumorphic audio? Oct 04 17:11:04 TacticalJoke, for (int i=0; i < transCharS.length ; i++) { Oct 04 17:11:09 partnered with Nest? Oct 04 17:11:10 :/ Oct 04 17:11:13 it's like right there Oct 04 17:11:17 in Google Oct 04 17:11:18 Ugh, these are cheap gimmicks, guys X_X Oct 04 17:11:19 nest is separate from google Oct 04 17:11:25 nest is a subsidiary of alphabet Oct 04 17:11:34 okay, still the same parent company Oct 04 17:11:43 I can already talk to my phone Oct 04 17:11:59 Idiosyncratic exactly, most of these features are already here Oct 04 17:12:09 Try `if (new ArrayList().get(0) == 5) {}`. Oct 04 17:12:28 huh Oct 04 17:12:40 "most" Oct 04 17:12:41 not all Oct 04 17:12:41 Or just... you know... move your lazy ass? Oct 04 17:12:50 nest was run into the ground by Google’s enabling and their crappy CEO Oct 04 17:12:52 again, it's all incremental, but significant, improvements Oct 04 17:12:55 Or use a phone Oct 04 17:13:13 TacticalJoke, Number object are compared using '==' not 'equals()'... Oct 04 17:13:16 pfn: oh no, you're talking like them. This is bad! Oct 04 17:13:48 bolovanos: That was the lint error? Oct 04 17:14:07 so what if the audio from the tv show is like "ok google, play Never gonna give you up by Rick Astley"? Oct 04 17:14:08 :/ Oct 04 17:14:13 "just works" tm Oct 04 17:14:14 rickrolled Oct 04 17:14:19 Then you're going to get rickrolled Oct 04 17:14:21 Afzal, depends on voice signature Oct 04 17:14:21 yeah friggin hate that phrase Oct 04 17:14:26 not all voice signatures match up Oct 04 17:14:48 pfn doubt it, needs to work with all members of the family. Pretty wide spectrum there Oct 04 17:14:56 TacticalJoke, yes Oct 04 17:14:57 individual voice training, perhaps Oct 04 17:15:03 It's important for google to get voice signatures right Oct 04 17:15:05 Just went that route Oct 04 17:15:22 Afzal, it recognizes who is talking to it Oct 04 17:15:24 Him saying it isn't making everything in the office go off at once, but I'm getting toast messages telling me to retrain it Oct 04 17:15:26 NO thanks Oct 04 17:15:41 just need a good sound system to fill the entire house <_< Oct 04 17:16:18 "ok google" phrase just sounds so stupid :p Oct 04 17:16:34 wait no fingerprint to buy shit straight for TV? Oct 04 17:16:36 what is this? 1990? Oct 04 17:16:37 YouTubeRed lol Oct 04 17:16:37 <_< Oct 04 17:16:40 If it were changeable I'd be using "Hey Internet" Oct 04 17:16:53 youtube red is nice to have Oct 04 17:16:57 having youtube red as part of my google music subscription is nice Oct 04 17:17:04 meh, I don't even know what youtube red is Oct 04 17:17:04 lol Oct 04 17:17:08 NO ADS Oct 04 17:17:08 indeed, have it with play music Oct 04 17:17:12 ublock Oct 04 17:17:14 <3 Oct 04 17:17:17 Afzal: ++ Oct 04 17:17:20 can't think of anything that would be faster to do with voice activation than doing it by hand though Oct 04 17:17:31 I use voice activation all the time Oct 04 17:17:34 $129 for Google Home? Not a bad price point, that Oct 04 17:17:41 hands occupied Oct 04 17:17:46 busy doing stuff Oct 04 17:17:48 tell it to do shit Oct 04 17:17:50 hehe Oct 04 17:17:53 I use a controller + kodi cause I game on that same pc Oct 04 17:17:56 bolovanos: `new Integer(5) == new Integer(5)` will generate that warning, but `new Integer(5) == 5` will not. Oct 04 17:17:59 soooo... diff uses I guess Oct 04 17:18:05 Holy shit, I'll have a fashion model wife, a big house and be rich if I buy Google Home!? I want that shit NOW! Oct 04 17:18:11 :D Oct 04 17:18:25 fashion model wives are overrated Oct 04 17:18:30 they'll just use your money, cheat on you, and walk Oct 04 17:18:30 okay now let's get andromeda Oct 04 17:18:31 damn Oct 04 17:18:33 cheap Oct 04 17:18:37 I need a reward for sitting through this shit Oct 04 17:18:38 Hell, I'll just throw away the damn thing after I buy it :O Oct 04 17:18:53 I don't even know what you're sitting through Oct 04 17:18:57 $129 isn't cheap for what it does Oct 04 17:19:04 Zharf google event stream Oct 04 17:19:06 google's advertisement event? Oct 04 17:19:10 who cares about that crap Oct 04 17:19:14 yeah Oct 04 17:19:22 shareholders? Oct 04 17:19:23 you don't clearly Oct 04 17:19:25 cool Oct 04 17:19:26 i just want to know when the phone will be online for sale Oct 04 17:19:27 I'm just hoping they say, "Hey IO goers, sorry we fucked you, here's some free shit" Oct 04 17:19:30 What is the likelihood of Andromeda being mentioned soon? Oct 04 17:19:31 theyre still set up for 6p Oct 04 17:19:40 pfn they didn't give out anything this year? Oct 04 17:19:42 how did they fuck IO goers? Oct 04 17:19:42 That's about what I paid for the Sony Dash and it did a hell of a lot less Oct 04 17:19:58 they didn't give anything out, and they fucked over attendance sizes for the various sessions Oct 04 17:20:04 oh wow Oct 04 17:20:05 crazy Oct 04 17:20:06 :/ Oct 04 17:20:09 so they didn’t fuck them over Oct 04 17:20:14 they fucked em over Oct 04 17:20:23 boo hoo, no free stuff Oct 04 17:20:28 it's not free Oct 04 17:20:31 it's in the ticket Oct 04 17:20:37 which was really expensive Oct 04 17:20:58 about the same as other conferences Oct 04 17:21:04 not really Oct 04 17:21:07 WWDC is $1500, and never had free stuff Oct 04 17:21:08 other conferences are way cheaper Oct 04 17:21:11 it's about the same, but google's status quo is to give away shit Oct 04 17:21:18 TacticalJoke, "`new Integer(5) == new Integer(5)` will generate that warning" - what warning of those 2? Oct 04 17:21:19 wwdc has a lot of other stuff that isn't at google io Oct 04 17:21:32 not really. it’s the same kind of event Oct 04 17:21:32 and wwdc doesn't have a problem with running out of space for attendees Oct 04 17:21:51 ^^ Oct 04 17:22:20 the space thing might have a point, but I’m not buying the idea that you deserve free shit for going to the conference Oct 04 17:22:34 eh disagree Oct 04 17:22:42 you deserve a spanking for wasting your time and money :) Oct 04 17:22:47 didn't get to actually go to the conference because they didn't have the space to properly accomodate attendees Oct 04 17:22:49 also wwdc price has stayed the same since 2010 Oct 04 17:22:55 google io on the other hand Oct 04 17:23:04 or $1600 Oct 04 17:23:05 no idea why someone would like to go wwdc Oct 04 17:23:11 or google io Oct 04 17:23:15 apple fans, of course :p Oct 04 17:23:19 similarly so for google Oct 04 17:23:20 gordon_ for the awards i think Oct 04 17:23:28 what awards Oct 04 17:23:29 meeting engineers, networking Oct 04 17:23:48 Apple Design Awards, and whatever Google started for Android apps Oct 04 17:23:49 TacticalJoke, http://pastebin.com/D2bEcMch - this above mine problematic condition "if (mSelectedItems.get(j) == i) {" without any critical warning... Oct 04 17:23:49 eh, half the people I met at IO weren't engineers, they were PMs, designers, etc. Oct 04 17:23:52 also wwdc is 4 days long Oct 04 17:24:16 and probably half of wwdc are reporters ;) Oct 04 17:24:23 separate ticket Oct 04 17:24:46 okay time for andromeda Oct 04 17:24:50 come on Oct 04 17:24:56 aw shit Oct 04 17:24:59 it's finishing Oct 04 17:25:02 wtf Oct 04 17:25:03 hah Oct 04 17:25:04 noooooooooooooooooooo Oct 04 17:25:14 Afzal lol nooo Oct 04 17:25:16 well then Oct 04 17:25:25 Someone call in a drone strike on Silicon Valley Oct 04 17:25:29 omg Oct 04 17:25:33 how they cut the stream Oct 04 17:25:47 I think project Turquoise is way too early to be discussed at this kind of event Oct 04 17:25:55 wow. /r/android is going to be a complete sewer today Oct 04 17:25:56 Wait, this is it? Oct 04 17:26:06 yah Oct 04 17:26:08 haha Oct 04 17:26:13 lmao Oct 04 17:26:19 they need something to talk about at io 2017 Oct 04 17:26:46 They didn't say that they were going to continue later or something? I was gone for a minute Oct 04 17:27:16 I'm hoping the lack of free shit results in less crazy attendance for io 2017 Oct 04 17:27:19 then maybe I can actually go Oct 04 17:27:39 its up Oct 04 17:27:40 https://store.google.com/?srp=/product/nexus_6p Oct 04 17:28:05 TacticalJoke, `new Integer(5) == new Integer(5)` - this does not give me any critical lint Oct 04 17:28:13 Guys, don't waste your money on the book "RxJava Essentials" as the author is an idiot Oct 04 17:28:28 didnt plan on it Oct 04 17:28:28 the blue one is already out of stock Oct 04 17:28:32 im the author :'( Oct 04 17:28:32 btu hwy do you say that Oct 04 17:28:37 omg really? Oct 04 17:28:38 so, when Hiroshi Lockheimer said Oct 4 was going to be a day we all remember, i wonder what he meant - its not clear to me after watching that ;) Oct 04 17:28:41 no Oct 04 17:28:41 always return false bolovanos Oct 04 17:28:53 why would you want a lint? Oct 04 17:28:55 and the 128gb version is not available in blue for the 5.5" Oct 04 17:28:55 g00s: He was probably referring to the VP debate tonight Oct 04 17:28:55 xximjasonxx: you can't be because you are notoriously not an idiot Oct 04 17:29:05 jaana lol Oct 04 17:29:07 eeek, $799 Oct 04 17:29:07 Wait, this is all for today?! Oct 04 17:29:10 g00s lol pixel isn't gonna be iphone really Oct 04 17:29:11 g00s, you felt into the trap, simply Oct 04 17:29:12 i am glad i have everyone fooled :-D Oct 04 17:29:12 or maybe the Assange disaster Oct 04 17:29:14 g00s: it meant that there was going to be a marketing event Oct 04 17:29:15 I dunno why google keeps thinking that Oct 04 17:29:19 adq, sry did not get it... what do you mean? Oct 04 17:29:32 you said: "`new Integer(5) == new Integer(5)` - this does not give me any critical lint" Oct 04 17:29:44 Wtf is Andromeda?! Oct 04 17:29:48 that seems like a bad idea Oct 04 17:29:48 how are you not getting a reply to what you said Oct 04 17:29:50 so no andromeda :D Oct 04 17:29:56 something android tabloids made up to get clicks Oct 04 17:30:02 Andromeda is the sequel to Mass Effect, coming out early next year Oct 04 17:30:02 Idiosyncratic: Google is probably doing the Red Hat thing Oct 04 17:30:02 Idiosyncratic: the OS that will replace Android soon Oct 04 17:30:15 Melatonina: replace is a strong word Oct 04 17:30:26 I agress Oct 04 17:30:28 agree Oct 04 17:30:31 Melatonina: but this talk didn't mention Andromeda afaik Oct 04 17:30:40 Idiosyncratic: it's a secret project Oct 04 17:30:44 clearly Oct 04 17:30:54 $848 good lord Oct 04 17:30:56 But they said they'll talk about it now :O Oct 04 17:30:56 adq, reply from who? Oct 04 17:31:04 from whom*** Oct 04 17:31:06 tricknology: is that the Pixel XL? Oct 04 17:31:06 nevermind bolovanos Oct 04 17:31:12 yeah with protection Oct 04 17:31:12 And add $150 for some insurance Oct 04 17:31:21 Idiosyncratic: it's going to not be a secret anymore soon Oct 04 17:31:23 $99 insurance jaana Oct 04 17:31:33 well, i guess i better finish paying off my phoine and credit card first before i buy it :) Oct 04 17:31:34 jeez Oct 04 17:31:36 Anyway, I'm afk Oct 04 17:31:38 * pfn doesn't bother to buy insurance usually Oct 04 17:31:45 this is going on the insurance Oct 04 17:31:48 adq, sry having a conversation in my language - not fully concentrated Oct 04 17:31:49 eerr credit card lol Oct 04 17:31:51 I took the insurance on my latest Nexus, ending up cracking the screen and still paying $70 or something to have it fixed. I’m never buying the insurance again Oct 04 17:32:01 As someone who broke and lost a Nexus 6.. I’m getting insurance Oct 04 17:32:10 yeah, the insurance isn't worth it Oct 04 17:32:13 tricknology: its hard for me to know if i need it Oct 04 17:32:17 it's a numbers game, and is almost always not worth it Oct 04 17:32:19 i have always bought Motorola phones Oct 04 17:32:29 insurance is not worth it due to the short lifespan of these devices Oct 04 17:32:32 and you almost cant break them Oct 04 17:32:37 well, ordered both the pixel and pixel XL Oct 04 17:32:38 Ive been unlucky.. now I have a shit samsung A3-6 Oct 04 17:32:42 will see how it goes Oct 04 17:32:45 cant even play pokemon Oct 04 17:32:45 Just never, ever drop them in the bathroom Oct 04 17:32:52 Dagmar, eh, still reparable Oct 04 17:33:03 some are IPsomething and can handle water Oct 04 17:33:05 I dropped my samsung galaxy 3 in the toilet Oct 04 17:33:12 In the toilet isn't the problem Oct 04 17:33:12 was fine Oct 04 17:33:15 might as well buy a new gfx card or save the money toward getting the new macbook later this month Oct 04 17:33:16 my 5x got dropped in the toilet Oct 04 17:33:18 the nexus 5x works just fine right now Oct 04 17:33:22 the wifi and bt are broken now Oct 04 17:33:28 :( sry pfn Oct 04 17:33:28 The screen even touching ceramic tile... *shatter* time Oct 04 17:33:38 * pfn shrugs Oct 04 17:33:40 it's ok Oct 04 17:33:40 My badthroom has carpet Oct 04 17:33:45 lol jk Oct 04 17:33:45 I have tile in my bathroom Oct 04 17:33:55 I dropped a Galaxy S2 while I was *sitting* on the john... demolished the display Oct 04 17:33:59 but my 6p feels like it's falling apart already Oct 04 17:34:04 anyone else unable to add to cart? Oct 04 17:34:11 the plastic trim between the body and glass is falling to pieces Oct 04 17:34:15 and starting to pull out of the body Oct 04 17:34:23 Missing my pocket in a parking lot and having it land on asphalt and gravel didn't phase it Oct 04 17:34:35 have dropped my nexus 5x so much, still no crack :D Oct 04 17:34:42 I drop my 6p pretty regularly Oct 04 17:34:58 nexus 5 on the other hand was fragile Oct 04 17:35:19 Ceramic tile is hard enough to do it in Oct 04 17:36:08 wtf Oct 04 17:36:12 I throw my phone across the room :/ Oct 04 17:36:15 it's addictive Oct 04 17:36:15 why does the blue not come in 128gb Oct 04 17:36:25 throw it on the couch before reaching the couch Oct 04 17:36:36 and everything is already sold out Oct 04 17:36:38 well shit Oct 04 17:37:07 maybe its a sign Oct 04 17:37:17 dont buy the phone right now, you really shouldnt :) Oct 04 17:37:17 not sold out in canada Oct 04 17:37:26 but fuck if I'm gonna spend $900 CAD on a phone Oct 04 17:37:37 when I bought 5x in december Oct 04 17:38:19 prohibitive price for me Oct 04 17:38:40 and it's not like i cannot afford it, it's just that I cannot justify its cost Oct 04 17:39:34 holy shit Oct 04 17:39:36 poor girl Oct 04 17:39:38 if it was available on T-Mobile, then I could jump upgrade, but not for an unlocked one Oct 04 17:39:43 lindsay lohan lost half a finger :/ Oct 04 17:40:15 wrong channel Afzal Oct 04 17:40:16 When Google started selling their own phones, they made a splash by how affordable they were. Pity they stopped doing that Oct 04 17:40:17 lol Oct 04 17:40:18 yeah Oct 04 17:40:24 :) Oct 04 17:40:44 "We're in this for the long run" Oct 04 17:40:45 its not enough to compete with apple on specs. they need to compete on customer service too Oct 04 17:40:50 cancel pixel in 2 years Oct 04 17:40:56 at the time, I don’t think there were a lot of midrange phones Oct 04 17:41:01 being able to walk into apple store and get help / fix is great for many people Oct 04 17:41:08 now, low and midrange android phones are all over Oct 04 17:41:23 we don't know that nexus devices are over though, do we ? Oct 04 17:41:44 they haven’t said, but I wouldn’t hold my breath for another one Oct 04 17:42:11 I read the 5x and 6p have been pulled from the store Oct 04 17:42:24 lol you cannot even pre-order in france Oct 04 17:42:44 they are not listed under “Phones" Oct 04 17:45:17 adq, back - I have read what you wrote, but still do not understand Oct 04 17:45:55 what are you not understanding exactly, I can emphasis Oct 04 17:47:23 oh, damnit, frys only has the 4k monitor I want as an open box Oct 04 17:48:19 Why do you guys must have this damn thing now? Is this really that *one thing* that's missing in your life that'll make you happy? Oct 04 17:48:32 ugh Oct 04 17:48:34 "how are you not getting a reply to what you said" just do not understand it Oct 04 17:48:41 still cant get these damn notifications to arrive Oct 04 17:49:15 Idiosyncratic, not your job to judge what other people want or buy Oct 04 17:49:34 pfn: but it's fun :P Oct 04 17:49:42 bolovanos, did you try to backlog at least Oct 04 17:49:43 No wonder Socrates made fun of people all the time Oct 04 17:49:51 TacticalJoke, `new Integer(5) == new Integer(5)` - this does not give me any critical lint Oct 04 17:49:51 always return false bolovanos Oct 04 17:49:52 why would you want a lint? Oct 04 17:50:18 your condition compare 2 different objects, so result will be false Oct 04 17:50:24 xximjasonxx: Study your manifest carefully. THat's where most people overlook one tiny little thing or other Oct 04 17:50:37 Actually, he didn't make fun of people, but he feel like healthy criticism is essential for a healthy society Oct 04 17:50:57 *he felt compelled to offer healthy criticism in hopes of making a healthier society Oct 04 17:51:01 And he got fed hemlock for that Oct 04 17:51:11 adq: perhaps he wants a warning that comparing the value requires a different method Oct 04 17:51:19 But meh Oct 04 17:51:19 I have no idea Oct 04 17:51:49 adq, "if (mSelectedItems.get(j) == i) {" - gives me "Operator == cannot be applied to java.lang.Object, int" notice in AS guess it is lint Oct 04 17:51:50 Anyway, I'm quitting IRC for good. Buh bye, guys. Oct 04 17:52:10 that is something you asked yesterday or few days ago, bolovanos Oct 04 17:52:13 totally different Oct 04 17:52:22 and we already talked about it Oct 04 17:52:40 the main advice was to disable jack for you Oct 04 17:52:52 you mean different from 'new Integer(5) == new Integer(5)'? Oct 04 17:53:04 yes Oct 04 17:53:07 ... Oct 04 17:53:11 adq, jack is already disabled - second I was told to do so Oct 04 17:53:32 you're comparing an Integer and an int in the "old case", and in the "new case" you're comparing two objects Oct 04 17:53:34 but this e.crement prevail Oct 04 17:53:53 bolovanos also, there is #java Oct 04 17:53:57 adq, yes "I am" TacticalJoke was doing it Oct 04 17:54:02 bolovanos, carefuly explaining your problem is half the solution, next time explain better Oct 04 17:54:27 adq, so I was reacting to his reaction - where he was trying to simulate my problem Oct 04 17:54:53 ok ok, anyway is it clear for you now? Oct 04 17:55:20 (cause I have not raise any question or need any clarification) Oct 04 17:55:45 adq, your reaction is clear now - you did not understand why am I comparing two different thing Oct 04 17:56:43 probably due to the time between your reaction timestamp and the tacticaljoke timestamp Oct 04 17:56:50 g00s, or code.google.com issue - filling ticket... Oct 04 17:56:58 https://twitter.com/MKBHD/status/783352036825759744 hahaha Oct 04 17:57:07 adq, probably - anyway thx for reaction :) Oct 04 17:57:07 i don't plan to backlog for eternity Oct 04 18:04:08 oh wow Oct 04 18:04:12 apt is obsolete now? Oct 04 18:04:22 damson.jpg Oct 04 18:05:08 systemd ate it. Oct 04 18:05:53 "Note that this app requires you to manually grant permission to allow the app to alter the animator duration setting. To do this, issue the following adb command: Oct 04 18:05:53 adb shell pm grant uk.co.nickbutcher.animatordurationtile android.permission.WRITE_SECURE_SETTINGS" Oct 04 18:05:55 wow Oct 04 18:05:58 that is just lazy Oct 04 18:06:00 https://github.com/nickbutcher/AnimatorDurationTile Oct 04 18:06:35 lazy? Oct 04 18:06:40 there's no other way to allow it Oct 04 18:06:52 yes there is Oct 04 18:07:16 isn't there? Oct 04 18:07:20 ah shit Oct 04 18:07:25 lol Oct 04 18:07:42 WRITE_SECURE_SETTINGS is a systemOrSignature setting, I'm surprised they even allow setting it from adb Oct 04 18:07:48 s/setting/permission Oct 04 18:07:53 it's in the dev options Oct 04 18:07:57 could've sworn changing display timeout needed secure perms :/ Oct 04 18:07:59 oh well Oct 04 18:08:04 my bad, my bad Oct 04 18:08:23 (my app changes display timeout, so I thought it used secure settings) Oct 04 18:20:17 anyone familiar with this firebase error, com.google.firebase.database.DatabaseException: Expected a List while deserializing, but got a class java.util.HashMap ? Oct 04 18:24:26 was also hoping they would announce some successor to the N7 Oct 04 18:51:04 Downloading https://plugins.gradle.org/m2/com/google/android/gms/pl -- whoa what, it's on bintray? Oct 04 18:51:07 oops Oct 04 18:51:12 wrong line Oct 04 18:55:29 g00s, i had no hope, I feel so good to meet my expectations Oct 04 19:12:19 hi Oct 04 19:14:18 How do you write to a file in the system partition? (Assuming that /system/ is read/write.) Can I just use openFileOutput with a direct Path? What sort of Manifest permissions would I need? Oct 04 19:15:06 you can't write to a file in the system partition Oct 04 19:15:09 go to #android-root Oct 04 19:17:12 You also can't give yourself manifest permissions to do that; definitely something for android-root Oct 04 19:20:55 huh, I have android:theme on but my activity complains that my AppCompatActivity must derive from Theme.AppCompat (android:theme on is derived from Theme.AppCompat.Light.NoActionBar) Oct 04 19:21:30 I would assume it does the right thing Oct 04 19:22:01 my cardview is only using 10dp padding but I'm setting 50dp programmatically. Someone an idea why? Oct 04 19:24:19 pfn yeah, i have it on too ... no problems Oct 04 19:24:36 weird Oct 04 19:24:39 check your "." / parent stuff maybe Oct 04 19:24:54 nah, build issues Oct 04 19:25:08 or I would assume it to be Oct 04 19:27:04 ChampS_, did not understand exactly your issue, can you rephrase or bring more info about it? Oct 04 19:34:11 <_genuser_> my java code is starting to be very much all just callbacks. Oct 04 19:34:50 <_genuser_> obj1.method1() takes callback param, provide onFailure/onSuccess. anything it calls, it could generate an error, that also then takes callback. Oct 04 19:34:56 <_genuser_> it's a bubble down mess. Oct 04 19:35:18 don't forget the whole chain from adapter to rv to fragment to activity Oct 04 19:35:26 and also th.. let's stop there Oct 04 19:36:14 <_genuser_> I'm starting to avoid try/catches more and more. Oct 04 19:36:18 <_genuser_> it's getting cleaner. Oct 04 19:36:32 <_genuser_> I used to try/catch everything. Now I try to let it bubble up to caller, so it can properly be reported. Oct 04 19:36:44 <_genuser_> only catch ones that are going to be automatic recovery logic. Oct 04 19:39:15 <_genuser_> haha, the entire thing written out and I realize there was no need to callbacks. Oct 04 19:39:25 <_genuser_> none of it is asynchronous like I had envisioned at one point. Oct 04 19:39:48 <_genuser_> altho, probably downloading file off the web _should_ be async. Oct 04 19:51:01 hi Oct 04 19:51:04 hi. I have a android box Im trying to connect it to my computer to run some debugging. but it does not appear on my windows machine Oct 04 19:51:35 <_genuser_> do people still use DialogFragment for creating new dialogs? Oct 04 19:52:02 <_genuser_> Peyam: it's a phone or tablet? Oct 04 19:52:29 _genuser_: it's android box Oct 04 19:53:06 bolovanos: Did you resolve the `Integer` thing? Oct 04 19:53:11 _genuser_: I checked the USB debugging. and connected it with a usb cable. Windows does not react anything. absolutly nothing happens Oct 04 19:54:09 <_genuser_> probably don't have drivers for the box. Oct 04 19:54:15 <_genuser_> see if you can enable wifi debugging. Oct 04 19:54:24 try http://adbdriver.com/ Oct 04 19:54:58 <_genuser_> ugh showoffs with their more intimate knowledge! Oct 04 19:54:59 <_genuser_> pfft Oct 04 19:55:41 * _genuser_ throws a sign up with "j/k" written on it, just in case. Oct 04 19:55:49 nyoro~n Oct 04 19:55:49 So is Andromeda not gonna happen? I got bored and had a shower. Oct 04 19:56:08 Ashiren: does not show anything. the list is empty Oct 04 19:56:35 TacticalJoke every google announcement for new stuff is turning into "we have this new thing you talk to, and this new thing you put in your living room" Oct 04 19:56:44 * _genuser_ googles nyorio~~~n/m Oct 04 19:57:09 Ashiren: it does not even show up in device manager. I mean absolutly nothing happens. Oct 04 19:57:23 Yeah, it kinda loses its interest after a while. Oct 04 19:57:41 well i guess they have to compete with amazon's always - listening thingy Oct 04 19:57:46 It was some cool stuff, but nothing we'll be talking about in eight years. Oct 04 19:58:04 Ashiren: this is the box _genuser_ http://i.ebayimg.com/images/i/380730712907-0-1/s-l1000.jpg Oct 04 19:58:06 Peyam: and the driver doesnt work as well? Oct 04 19:59:26 <_genuser_> Ashiren: interesting. you're watch the anime stuff? or just pick it up off the web? Oct 04 19:59:41 <_genuser_> g00s: so there was no andromeda in the announcement? Oct 04 19:59:56 _genuser_ nothing at all about chrome Oct 04 19:59:56 _genuser_: how is it done? Oct 04 20:00:17 <_genuser_> Peyam: it's one fo those, pay once and watch forever boxes? Oct 04 20:00:38 the "other devices" doesnt show anything. its like its never connects Oct 04 20:00:41 <_genuser_> g00s: so basically just amazon thing you mentioned? Oct 04 20:00:47 and pixel phones Oct 04 20:00:50 and new router Oct 04 20:00:55 _genuser_: okey Oct 04 20:00:58 <_genuser_> Peyam: google for "wifi debugging adb" and following those. Oct 04 20:00:58 I think it's a waste of money buying those Pixel devices. Oct 04 20:01:04 How long do phones last? Two years? Oct 04 20:01:17 google is clearly making a move to get you into a whole slew of their hardware Oct 04 20:01:21 _genuser_: i used to warch much anime. now just a bit. nyoro~n used to be mediocre-popular meme Oct 04 20:01:24 <_genuser_> TacticalJoke: I basically just don't change them until they break. so maybe 3-4yrs Oct 04 20:01:27 buying into a whole ecosystem, not just a phone Oct 04 20:01:29 I really like my Moto G4, but it's so cheap that if I throw it in a river I won't feel too bad. Oct 04 20:01:45 If those intrusive thoughts become too strong. Oct 04 20:01:58 <_genuser_> Ashiren: I see. I guess sword art online and aldnoah.zero is the only two I've watched lately. Oct 04 20:02:09 <_genuser_> Ashiren: if it's on netflix, type deal heh. Oct 04 20:02:19 sao... started good, ended meh Oct 04 20:02:27 <_genuser_> Ashiren: don't tell me, I haven't finished it. Oct 04 20:02:37 <_genuser_> Ashiren: I know it has s2 also? something. Oct 04 20:02:45 are you in middle Oct 04 20:02:45 livestream cut off abruptly, almost like "ok bye" Oct 04 20:02:48 <_genuser_> aldnoah.zero I'm on s2 but then got distracted. Oct 04 20:03:08 <_genuser_> Ashiren: on SAO, he just woke up out of the VR game and is supposed to be looking for Asuna. Oct 04 20:03:15 Kthxbai. Oct 04 20:03:28 TacticalJoke yeah :) Oct 04 20:03:30 then end it there. otherwise it will be a dissapoint Oct 04 20:03:39 <_genuser_> Ashiren: oh? Oct 04 20:04:08 <_genuser_> Ashiren: think the part I enjoyed the most was, hidden skills and n00bs attacking him without affecting his power bar at all. Oct 04 20:04:59 op, nerf plz Oct 04 20:06:46 <_genuser_> Ashiren: you've kinda made me think I might not even pick it up again. heh. Oct 04 20:07:03 <_genuser_> I did see some of the new games and the new avatars and think, this is going to suck until he finds asuna. Oct 04 20:07:20 <_genuser_> maybe they'll team up and do some more fighting. The sword scenes were really the most enjoyable part. Oct 04 20:07:32 <_genuser_> an anime with fighting and less of the girly romance stuff. Oct 04 20:24:11 I am pretty disappoint. Oct 04 20:25:54 TacticalJoke i wonder, if people really start using these 'personal google's' more and more - if they become intellectually handicapped in a way Oct 04 20:26:19 Yeah, it does seem like it could create a dependency. Oct 04 20:26:31 when you read about taxi drivers, that have to know areas really well - they memorize entire city Oct 04 20:26:50 brain becomes a muscle, they 'exercise' it , and its has amazing ability Oct 04 20:27:30 so those are spatial abilities Oct 04 20:27:52 but with these assistants, which might plan your day, i wonder if they 'outsource' your executive function / planning ability Oct 04 20:30:17 'i missed my flight because i tripped and and fell and broke my arm' - google assistant never told me to tie my shoes ! Oct 04 20:31:57 otoh it would be really helpful if i could ask it "google, when will my dog poop next?" Oct 04 20:32:50 <_genuser_> g00s: it could also be that people will find other ways to engage the brain. Oct 04 20:33:08 <_genuser_> probably most would just dedicate the extra cycles to the the news or celebrities. Oct 04 20:33:16 <_genuser_> but some could use it for better purposes. Oct 04 20:33:41 i have this idea - the further we get away from 'savannah life' the more discord human physiology is with current conditions Oct 04 20:33:49 i think thats called the savannah hypothesis Oct 04 20:34:30 _genuser_ all this tech isn't helping us, we have donald trump a few inches from becoming president :D Oct 04 20:36:24 <_genuser_> g00s: well, it's either trump or hillary. that's really not a scenario you want to argue. Oct 04 20:36:34 g00s, read his books, but this talk (old 2011) explains it well and quickly (so it's simple): https://www.ted.com/talks/bruce_schneier Oct 04 20:36:39 _genuser_ Giant Meteor 2016 Oct 04 20:36:41 feeling, model, reality Oct 04 20:36:47 it's like MVP ;) Oct 04 20:36:58 (it's not of course) Oct 04 20:37:03 <_genuser_> g00s: you're in the U.S? Oct 04 20:37:08 yes Oct 04 20:37:33 hi Oct 04 20:37:37 did I write here? Oct 04 20:37:43 you just did. Oct 04 20:37:44 or was it ubuntu? Oct 04 20:38:01 im on my other pc Oct 04 20:38:19 <_genuser_> g00s: so you're voting this year, then? Oct 04 20:38:55 anyway. I have a iptv box. all I know is that the brand is " ATN 1000II". I try to connect it to my pc and see what is going on. My ubuntu doesnt recognize it. anybody know what to do? Oct 04 20:39:04 http://paste.ubuntu.com/23276719/ Oct 04 20:39:12 connected to my pc. but not recognisable Oct 04 20:39:15 peyam try #ubuntu Oct 04 20:39:20 that’s kinda a question better asked in the Ubuntu channel Oct 04 20:40:18 g00s, http://i.imgur.com/K4MsMNO.png Oct 04 20:40:28 <_genuser_> peyam: can you see it on your TV? you can debug it there. if not, see if you can ssh in. Oct 04 20:40:42 <_genuser_> mostly likely it's a custom hardware with android dumped on. Oct 04 20:40:46 <_genuser_> are you even sure it's anroid? Oct 04 20:41:25 _genuser_, can you see this pic. Why im doing this , is already in the picture . sorry http://i.imgur.com/K4MsMNO.png Oct 04 20:41:31 yes it is 4.2.2 Oct 04 20:41:53 <_genuser_> heh #ubuntu tells him, it's #android thing. #android tells him it's #ubuntu thing. Oct 04 20:42:23 it not possible to install anything on it since they deleted the file manager and google play store Oct 04 20:42:26 <_genuser_> vendors tell him, "hold you on we're shipping on update" Oct 04 20:42:59 huh, the firebase dev summit is in Berlin Oct 04 20:43:22 nov 7th - maybe thats why no android dev summit Oct 04 20:43:41 Are you talking about me? sorry can not follow Oct 04 20:44:07 peyam yes, i am talking to you Oct 04 20:44:45 "You talkin' to me?" Oct 04 20:44:57 yam i'm talking to you ! Oct 04 20:45:00 g00s, sorry can not follow Oct 04 20:45:08 i don't either what are we talking about ? Oct 04 20:45:18 TacticalJoke, do you remember me? I talked to you long time ago when I was new to android. Oct 04 20:45:25 Yeah. Oct 04 20:45:33 What's good, Holmes. Oct 04 20:45:40 TacticalJoke, how are you? Oct 04 20:45:57 Pretty good. How 'bout you. Oct 04 20:46:17 TacticalJoke, Im good thanks :) glad to see you in here. Oct 04 20:46:43 You too. :D Oct 04 20:47:48 If you remember I made a online TV app controlled with gestures and stuff. I finally make it throu and it become good app among my friends. But I got banned from google since it was copyright violated. Oct 04 20:48:00 Doh! Oct 04 20:48:19 Your account was banned? Oct 04 20:48:19 but i made it mostly becouse of your guidlines. It was very hard to make exoplayer work as I wanted Oct 04 20:48:30 don't use screenshots with copyrighted materials Oct 04 20:48:49 TacticalJoke, they deleted my app twice and they sended me a warning that I wil get banned for good Oct 04 20:49:28 But I shared it on facebook and al my friends were very happy. and finally I discovered Kodi and stop working on my app :D Oct 04 20:49:49 adq, exactly! Oct 04 20:50:02 Neat. Are you still gonna do Android development? Oct 04 20:52:29 peyam: did you also do some jail time? Oct 04 20:52:36 TacticalJoke, Yes. I will but for now I have alot to do at work. Kodi has everything I need in Multimedia area. but Im interested at making mathematical programs on android. mostly optimization problem for companies Oct 04 20:52:44 Melatonina, no hhhhh Oct 04 20:53:11 TacticalJoke, ' Did you resolve the `Integer` thing?' - no - I was replying to your answer - but you were out Oct 04 20:53:49 bolovanos: It should warn for two Integers (e.g., `new Integer(5) == new Integer(5)`) only. Oct 04 20:54:19 If it's not, I'm not sure what's going on. Maybe try rebuilding the project, and, if that doesn't work, File > Invalidate Caches. Oct 04 20:54:28 <_genuser_> geez, why are dialogs such a nuisance on android. Oct 04 20:54:35 <_genuser_> lol, everything is a nuisnace on android. Oct 04 20:54:35 Though those suggestions might do nothing. Oct 04 20:54:37 i hate dialogs Oct 04 20:54:47 <_genuser_> g00s: ok, so I'm not the only one then. Oct 04 20:54:50 _genuser_: Which part is a nuisance? Oct 04 20:55:11 <_genuser_> TacticalJoke: well, I wanted a dialog where I can chnage the content as I see fit. From multiple lists. Oct 04 20:55:14 does setRetainInstance work yet in DialogFragments ? Oct 04 20:55:27 <_genuser_> TacticalJoke: so I figured, I might wanna change the UI too Oct 04 20:55:46 _genuser_: Hmm, I wonder whether a Dialog-themed activity might be easier. Oct 04 20:56:14 Though I dunno. Haven't tried anything like that in a long time. Oct 04 20:56:38 TacticalJoke, yes it does not warn same way (just remembering to use Integer.valueOf(5) instead), I have done clean, rebuild, start/restart (studio / system), renewal of project from backup (made before changes to project structure from new AS) - nothing Oct 04 20:56:48 will check invalidate caches Oct 04 20:56:57 <_genuser_> so I decided to use an activity with a "dialog" theme. and now it's complaining: about some themes. Oct 04 20:57:27 <_genuser_> TacticalJoke: do you use dialogs at all? Or just activities for all user input, etc. etc. Oct 04 20:58:25 So far, in my app, I'm using a dialog only for the OAuth login thing (we have to use WebViews). Oct 04 20:58:33 The progress dialog shows above the WebView. Oct 04 20:58:48 I'm not hugely keen on dialogs, personally. Oct 04 20:59:04 <_genuser_> in my login, I just put the indeterminate progress bar on teh activity and just make it visible while the user logs in. Oct 04 20:59:08 <_genuser_> on error/success I hide it. Oct 04 20:59:21 Yeah, that's better. Oct 04 20:59:29 <_genuser_> basically, I need to show a list of repos, and I figured a dialog might be nicer. Oct 04 20:59:36 Only reason I can't do that is the WebView route I have to take. Oct 04 20:59:49 <_genuser_> a new activity will look like you've changed places in the app. Oct 04 21:00:18 <_genuser_> so first I show list of repos, then once user selects a repo, I'll show the list of files available in that repo, in the same activity. Oct 04 21:00:22 <_genuser_> slightly different UI. Oct 04 21:01:04 Yeah, I think sometimes dialogs make more sense. Oct 04 21:01:33 <_genuser_> now, to figure out which theme turns the activity into a dialog AND hides the app bar. Oct 04 21:01:36 <_genuser_> ugh. Oct 04 21:01:49 <_genuser_> everything is coming up "milhouse" Oct 04 21:03:43 hello! I want to fix some bugs. can anybody please tell me where can i go to? Oct 04 21:04:36 your bug tracker? Oct 04 21:08:03 TacticalJoke, invalidate caches - nope Oct 04 21:09:28 <_genuser_> TacticalJoke: I guess activity as dialog can't shrink if the content size isn't fullscreen. Oct 04 21:11:34 <_genuser_> is there any shortcut to switch between TExt/Design view in layout designer? Oct 04 21:11:59 <_genuser_> ok, alt-shift-{left,right} Oct 04 21:13:44 bolovanos: Have you tried a fresh project? `new Integer(5) == 5` should not warn. Oct 04 21:13:48 _genuser_: I think it can shrink. Oct 04 21:16:59 yes I replicated that situation in another functional project - and it worked like a charm :) Oct 04 21:17:11 TacticalJoke, but now I have found something different Oct 04 21:17:27 probably cause of that Oct 04 21:17:39 will create short example to show what happened Oct 04 21:20:51 Hey everyone, looking for some guidance on RecyclerViews, specifically in Xamarin. I am watching the heap through ADM and while scrolling both up and down the heap keeps increasing. Oct 04 21:21:42 have you tried the Xamarin channel/forums? Oct 04 21:22:08 trogers: #xamarin Oct 04 21:23:16 Alright, was hoping for maybe not a Xamarin specific issue. Thanks for the link Oct 04 21:23:33 try there first. Oct 04 21:29:50 s73v3r: I joined #xamarin and told him to try here :D Oct 04 21:30:08 that’s not cool Oct 04 21:30:20 it was a joke Oct 04 21:30:25 a cool joke Oct 04 21:33:11 TacticalJoke, http://pastebin.com/31MmwTxR Oct 04 21:34:22 `ArrayList aList` should be `ArrayList aList`. Oct 04 21:35:02 I know you did, haha. Left before I could respond Oct 04 21:35:37 Ultimately, though, it should probably be `List`. We don't really care about concrete types. Oct 04 21:36:26 second is true - ArrayList cannot be used, as you have already found out Oct 04 21:36:58 Why can't it be used? Oct 04 21:36:59 anyway - there is no need to use aList as parameter... Oct 04 21:37:59 TacticalJoke, strange it can - now - I was trying to change it this way earlier and for some reason AS/lint complained about it Oct 04 21:38:39 hi, is there a style trend for applications in android? like how we click on a ||| button and it slides a list of option's for us? what is this thing called? how i can search to find how they do it?( 0 experience in java and android-dev... just investigating something!) Oct 04 21:38:48 bolovanos: On this topic, you should always use `<` and `>` with generic types (e.g., collections). Oct 04 21:39:03 It's an unfortunate accident that code compiles without this syntax. Oct 04 21:39:05 senaps: Check out the material design guidelines Oct 04 21:39:19 https://material.google.com/ Oct 04 21:39:22 s73v3r, thanks... Oct 04 21:39:29 ok - that is one mystery - solved - as you stated it was my fault Oct 04 21:39:37 also, just look at a bunch of popular apps and see what they do. Oct 04 21:39:48 senaps look for nick butcher's 'meaning in motion' presentations Oct 04 21:39:51 and for some reason there were error in compiler? which allowed to do so Oct 04 21:40:13 TacticalJoke, thank you for assist Oct 04 21:40:37 `ArrayList foo` compiles only because of old, pre-generic Java code. Oct 04 21:40:46 All new code should say `ArrayList foo`. Oct 04 21:41:02 gues this is not something I should report anywhere - because it is in fact repaired think... Oct 04 21:41:11 `Something` might even be `*`. Oct 04 21:41:44 at least I have learned something - happy day :) Oct 04 21:42:14 okay let me just fire a way my silly question: so we want to create an app, this app is just layout and everything happens on a server. so mostly it's a layout. i want to program the web service myself, but i don't have any idea on Java and android-dev. using this material-design can i create my layout too and have a programmer to do the trick of connecting the two for me? Oct 04 21:42:36 you’d have your developer do the layout Oct 04 21:43:02 you’d likely hire a designer to come up with the UI/UX of the application, and a developer to implement that Oct 04 21:45:01 s73v3r, okay... thanks... gotta go and find developer's in my city Oct 04 21:52:13 i keep having this problem with AS, dialogs and whatever, show edit boxes, but when I click the box the cursor won't show up and I can't type in them Oct 04 21:52:35 but then i switch back and forth, bring AS in / out of focus, and it works Oct 04 21:52:38 fucking java shit i hate it Oct 04 21:55:38 lol Oct 04 21:56:34 the only app i have / use that behaves worse than AS is iTunes, another pos Oct 04 21:56:58 but one hasn’t needed to use iTunes in years. Oct 04 21:57:06 the same cannot really be said for AS Oct 04 21:57:51 this happens in all dialogs. it shows up, but the Text fields are not editable Oct 04 21:58:06 i did 'create project' and it wouldn't let me put a name for it Oct 04 21:58:20 i imported another project, it wouidn't let me fill in the gradle location Oct 04 21:58:26 i can’t say I’ve ever run into that issue Oct 04 21:58:34 g00s: remember: master android developers never complain about Android, Java or Android Studio Oct 04 22:01:08 they just copy all three to a ramdisk Oct 04 22:02:19 if i file a bug report they won't believe me Oct 04 22:02:28 maybe i need to attach a video Oct 04 22:03:18 <_genuser_> g00s: sounds like AS really hates you. Oct 04 22:03:24 Report it to IntelliJ. Oct 04 22:03:28 i dunno, people do a lot of fancy stuff with After Effects Oct 04 22:03:41 Yeah, it likely is a JetBrains problem Oct 04 22:05:56 s73v3r Mavrik interesting you guys haven't seen this. now, we're all using the exact same bundled JRE so we should have almost identical configs Oct 04 22:06:32 yeah, but if it was a consistent issue, they’d have likely caught it in testing Oct 04 22:06:37 Maybe I just didn't notice it between all the other buggy BS I get from OSX and AS :D Oct 04 22:06:54 lol then again i'm using 10.10.5 Oct 04 22:07:28 if i see it in 10.11 i'll file a bug Oct 04 22:14:31 Mavrik when you updated AS 2.2. did you notice any difference with the fonts? Oct 04 22:14:47 editor or UI? Oct 04 22:15:32 Mavrik editor Oct 04 22:15:45 They're a bit different due to JDK8 being used - they're now the same as in CLion, PyCharm, etc. Oct 04 22:15:58 But I've been using that JRE for awhile before Oct 04 22:18:07 <_genuser_> [ "one", "two" ] being valid json. can't you read it with reader.beingArray(); reader.nextString(); ? Oct 04 22:18:32 <_genuser_> or do you have to again do reader.beginObject() / reader.endObject() for each single string in the array? Oct 04 22:20:00 <_genuser_> hmm, nm. Oct 04 22:22:15 Google Pixel Launcher and Android 7.1 switch to only round (circular) icons Oct 04 22:22:15 Apps can still use other icons, though Oct 04 22:22:15 Should I try to switch to circular icons? No? Is this just all a fad? Oct 04 22:22:32 example image: https://cdn.arstechnica.net/wp-content/uploads/2016/10/IMG_7183-980x653.jpg Oct 04 22:23:18 Why would you? Oct 04 22:23:36 <_genuser_> so basically no change? Oct 04 22:23:42 <_genuser_> they changed their on icons? Oct 04 22:23:58 <_genuser_> do'nt they change UI every other week anyway? this is now requiring an announcement? Oct 04 22:24:17 Well, it’s a question Oct 04 22:24:20 what will you do, Oct 04 22:24:25 what should we others do? Oct 04 22:24:56 Nothing. Oct 04 22:24:57 It’s a thing about consistency, when everyone does it, I’ll have to do it as well, so rather know what the average other Android dev thinks Oct 04 22:25:09 <_genuser_> but only google will have done it. Oct 04 22:25:12 i should retire Oct 04 22:25:20 Only Google has done it by today, Oct 04 22:25:28 <_genuser_> until facebook, twitter, instagram and all otehrs change theirs to round, it's just google. Oct 04 22:25:33 but the question is who’ll do it by the end of the week, the end of the month Oct 04 22:25:36 <_genuser_> when they all do it, it's more of a UI 2.0 Oct 04 22:25:40 You wait until there's an actual device out. Oct 04 22:25:48 And then you remember that most people are using shitty Samsungs. Oct 04 22:25:51 And design for that. Oct 04 22:25:54 <_genuser_> when majority does it, I assume, it's ok to do it. Oct 04 22:26:04 <_genuser_> but then again, it's like putting margin=300px in html and calling it web 2.0. Oct 04 22:26:10 Well, yeah, but then I’d be months behind Oct 04 22:26:12 Also you check how they manage icons first, since it seems that some icons don't get the white background applied. Oct 04 22:26:18 so I’d prefer knowing if you’ll do it first Oct 04 22:26:24 Mavrik: the white background is fully optional Oct 04 22:26:30 <_genuser_> I don't have many public facing apps, so no comment. Oct 04 22:26:30 you can add it, you don’t have to Oct 04 22:26:35 Google hardcoded it Oct 04 22:26:45 it’s part of the roundIcon property on an activity Oct 04 22:26:55 you can have roundIcon on Pixels, and normal icon on others Oct 04 22:26:56 You surely have better things to do :) Oct 04 22:27:03 Pixels won't ship for awhile yet. Oct 04 22:27:06 <_genuser_> pixels are the googel devices? Oct 04 22:27:10 yes Oct 04 22:27:19 the 1300 bucks google devices Oct 04 22:27:22 <_genuser_> I'd say if it bothers you get a graphics person and make a round icon for all your icons. Oct 04 22:27:30 <_genuser_> if you see the need then, swap them out. Oct 04 22:27:36 the 1300 bucks devices that aren’t any better than anything Oct 04 22:27:52 well, _genuser_, you are supposed to provide both icons, the device selects which it wants Oct 04 22:28:03 the question is if I should create them, and if others will Oct 04 22:28:12 So im trying to build a sort of sdk for interacting with certain bluetooth devices. I have a main class BluetoothInteractor. Say for example, in that class theres a method getPeripheralTemperature(). This would trigger a GATT read operation which gets returned in a single callback. Whats the best way to pass the result backup up this mess? Oct 04 22:28:31 <_genuser_> justJanne: that's just for the launcher icon? Oct 04 22:28:46 <_genuser_> or all icons in the entire app. like anything that is in a thing? Oct 04 22:28:51 well, the activity and app icon, wherever it is shown Oct 04 22:29:16 <_genuser_> I assumed the launcher icon was specified explicitly. I haven't really ever had an activity icon, tbh Oct 04 22:29:28 <_genuser_> so it'd be just one icon _if_ I did that. Oct 04 22:29:35 yeah Oct 04 22:31:23 bitkiller_ lol Oct 04 22:38:00 to use the new google VR headset, you have to use the 2 pixel phones that slide in exactly, right ? Oct 04 22:38:39 or can it take any android phone Oct 04 22:38:49 i would hope it’d be any android phone Oct 04 22:39:24 i know even if it was supposed to be locked to Pixel phones, that someone would find a way to hack VR support to any Android phone Oct 04 22:39:33 g00s: any phone, but only pixel phones slide in perfectly Oct 04 22:39:41 but if I was a business looking at doing VR stuff, I couldn’t count on that Oct 04 22:39:45 also, pixel phones start at 760€, and go up to 1100€ Oct 04 22:39:49 s73v3r, afaik all 821 phones should be compatible. Oct 04 22:40:03 After all, the demo SDK is running on 6P. Oct 04 22:41:25 Mavrik about SAF; my app exports a lot of data. it generates the filenames. I just want the user to pick a directory (once, in preferences) that is the default export location. which intent would i use ? Oct 04 22:42:05 so basically i just want them to get the Android picker, choose a directory, and then later when they export the files go there Oct 04 22:42:35 OPEN_DOCUMENT_TREE sounds the right one Oct 04 22:42:41 since its not creating a doc right at the moment, i didn't think it would be ACTION_CRAETE_DOC Oct 04 22:42:42 You should get write permissions to that dir then Oct 04 22:42:44 ah ok , thanks Oct 04 22:47:02 Mavrik interesting, not much info on that intent ... Oct 04 22:47:11 wasn't in the SAF user guide Oct 04 22:47:48 ah ACTION_OPEN_DOCUMENT_TREE Oct 04 22:48:17 if I haven't registered for developer console and I use my personal google account, when I release apps will they come out under my name or can I change that? Also does it affect the package naming for any particular reason? Oct 04 22:48:49 don't use your personal dev account Oct 04 22:49:32 what are some reasons not to? How is it different I guess is my question Oct 04 22:49:34 you'll have to use real name when paying for developer account, but keep your email for your apps Oct 04 22:50:12 grekkos hm, google had a blog post splaining why you should have a separate dev account Oct 04 22:50:19 it was a few years ago Oct 04 22:50:23 if I do it as an organization do I need to provide any proof of having an organization or something? Oct 04 22:50:28 or can I just register it Oct 04 22:51:22 pretty much when paying for account, make it match whatever you use for your email namewise. they'll decline you if things don't match Oct 04 22:52:34 what do you mean namewise? Oct 04 22:52:42 grekkos http://android-developers.blogspot.com/2013/06/google-play-developer-8-step-checkup.html Oct 04 22:52:43 like as my real name or Oct 04 22:52:51 see #1, second bullet Oct 04 22:52:57 the payment method you use has a name associated, it has to match email names Oct 04 22:53:49 interesting Oct 04 22:53:59 well yeah but anyone can have their name ont he payment information whatitis Oct 04 22:54:12 so if using a personal credit card to pay, your email has to match it Oct 04 22:54:24 I'm not going to put a fake email Oct 04 22:54:37 the question is whether or not to make a new google account as an "organization" and what the releases will look like Oct 04 22:54:59 will it use my name on the play store as the developer no matter what I do or will it use my organization name? Oct 04 22:56:56 the releases? you have to get accepted to be a developer account first. I'm saying i used a personal credit card with an email where i set first and last name to my personal company name, they didn't match. They wanted me to fax my drivers license and such to prove i was who i was, even then they didn't like it. But if you have a registered organization name Oct 04 22:56:56 and llc or whatnot you should be ok Oct 04 22:57:11 i maybe misunderstanding your question for sure :) Oct 04 22:57:32 oh okay Oct 04 22:58:14 yeah the question is two parts really, one is whether or not to use my personal google account or to create a new one, and the other is that I'm wondering what name will appear on the app store as the developer Oct 04 22:58:42 do I get to pick the name that shows up more or less through some registration process? what does that require at that point, do I need to provide some proof of a business? Oct 04 22:58:43 i'd say create a new one, but use the name you use for payment in that newly created email so they match Oct 04 22:58:51 ah okay Oct 04 22:58:57 so make a new one and just put my real name on it Oct 04 22:59:30 yeah, but if you have a business name w a business credit card use that Oct 04 22:59:50 if I do it as an organization do I need to provide any proof of having an organization or something? Oct 04 22:59:53 ah okay Oct 04 23:00:01 you can change the name on the email after accepting Oct 04 23:00:10 after i pay basically Oct 04 23:00:14 yea Oct 04 23:00:36 keep email names to match payment method, then you can change it Oct 04 23:01:19 lol the pixel update policy is still just 2 years, jeez google Oct 04 23:01:38 making iPhone a great value since Oct 4 Oct 04 23:02:19 g00s: do you use RxJava? Oct 04 23:02:23 so what's the advantage of creating a new account for it? is it mostly for security? Oct 04 23:02:35 Melatonina once in a while, not as much as others Oct 04 23:02:46 I'm ultimately going to have to go through this process about 3 times for 3 different entities which is why i'm asking haha Oct 04 23:03:03 I've released stuff before but never on my own account Oct 04 23:03:07 g00s: who uses it often here? Oct 04 23:03:15 Melatonina i don't use it for hooking up my UI, mostly just asycn i/o , db stuff Oct 04 23:03:36 Melatonina: Whats your question? Oct 04 23:03:44 g00s: I have a problem with Firebase. I'll paste some code 1 sec Oct 04 23:03:48 grekkos, think it's mostly so you can seperate your apps emails vs combining your personal emails with your dev Oct 04 23:04:00 Melatonina don't ask me, i haven't used firebase ;) Oct 04 23:04:33 its so if google shitcans your dev account, you don't lose your whole fucking life with it Oct 04 23:04:47 oh Oct 04 23:04:54 like they can close out your account basically? Oct 04 23:05:05 yup, terminated Oct 04 23:05:12 hasta lavista baby Oct 04 23:05:28 so that should basically be separated from... everything Oct 04 23:06:07 g00s: well it can be considered a generic problem. If you don't have an idea don't worry. I have this observable which transform Firebase authentication state updates into an observable: https://gist.github.com/anonymous/17f194726656538e32085d87de905d95 Oct 04 23:06:58 g00s: the problem is that I don't how to call removeAuthStateListener() on a unsubscribe. Oct 04 23:07:26 g00s: when I call it, I need a reference of that lambda, by the way Oct 04 23:08:06 g00s: I read several sources but I could not find a way to write what I want Oct 04 23:11:25 g00s: is it written somewhere about terminating the google account for play store things? I believe you I just need documentation of this to present Oct 04 23:11:56 Melatonina probably like this https://github.com/mcharmas/Android-ReactiveLocation/blob/master/android-reactive-location/src/main/java/pl/charmas/android/reactivelocation/observables/location/LocationUpdatesObservable.java#L45 Oct 04 23:12:44 grekkos no, and things have changed a little bit with how google punishes you for violating ToS, maybe things have changed Oct 04 23:12:56 but that advice on their blog still holds Oct 04 23:13:17 okay Oct 04 23:13:34 I mean definitely for an organization I would create a new account right Oct 04 23:13:39 I'm just not sure for individual Oct 04 23:13:40 at one time it was all handled by some bot Oct 04 23:14:08 actually at one of my previous jobs we had our app pulled off the store twice I think Oct 04 23:14:22 “Google says it has “No plans” for Nexus phones” Oct 04 23:14:24 was a misunderstanding... same issue both times Oct 04 23:14:32 grekkos: There was a ton of people outraged in this channel when the bot was turned on frenzy mode, so you could consult old #android-dev logs for freenode :) Oct 04 23:14:33 s73v3r: in what context? Oct 04 23:14:43 article on Ars Oct 04 23:14:57 who is ars? Oct 04 23:14:59 apparently Pixel is the future, and Nexus is old hat Oct 04 23:15:01 grekkos: Also searching r/androiddev Oct 04 23:15:10 http://arstechnica.com/gadgets/2016/10/google-no-plans-for-future-nexus-devices/ Oct 04 23:15:45 oh dang Oct 04 23:16:01 that was like one of the only reasons I was so okay with buying the android phone Oct 04 23:16:06 s73v3r that sucks, i'm not liking google's direction Oct 04 23:16:16 I'm loving it imho Oct 04 23:16:28 I have to keep devices up to date on ios and android both for dev it's gonna get pricey Oct 04 23:16:35 Was there anything exciting announced? I stopped watching rather quickly Oct 04 23:16:49 the phones, the assistant stuff, and the vr Oct 04 23:17:10 So nothing exciting Oct 04 23:17:33 $600+ dollar phones with 2 year support Oct 04 23:17:37 boooo Oct 04 23:18:04 I dont get the allure of these "home devices" Oct 04 23:18:23 Like the whole point of a smartphone is to be able to do all these things in the palm of your hand Oct 04 23:18:37 Doesnt make sense Oct 04 23:19:12 for the smartphone to do it, you’d need soem kind of hub to connect to the other things Oct 04 23:19:26 What? Oct 04 23:20:01 the home devices. for stuff other than just asking google, you’d need some kind of hub to connect to the other devices that get controlled Oct 04 23:20:05 like your speakers Oct 04 23:20:11 or tv Oct 04 23:20:32 so you can say, “OK Google, listen to Elevator Music in the living room" Oct 04 23:20:45 Yea, why not just do it throught your phone Oct 04 23:20:59 cause your phone isn’t plugged into your living room speakers Oct 04 23:20:59 It's all about the mic Oct 04 23:21:26 also, some people don’t keep their phones on them 24/7 Oct 04 23:21:29 s73v3r: The hub device isnt plugged in either Oct 04 23:21:35 sure it is Oct 04 23:21:52 in this case, the hub device would be a chromecast Oct 04 23:23:06 s73v3r: Im referring to things like the "Google Home" or Amazon Echo Oct 04 23:23:41 They dont seem to provide anything a smartphone couldnt Oct 04 23:23:46 those are more hands free things, that people use to control stuff without having to pull out your phone Oct 04 23:24:18 like I said, not everyone keeps their phone on them 24/7 Oct 04 23:24:36 And the context of what top level voice commands should do on a home connected device vs a phone would allow it to more easily connect with the rest of your devices in your house Oct 04 23:25:18 also, since that device is plugged into power, rather than running on battery, means it should be able to have better microphones and processing power for voice commands Oct 04 23:25:38 Perhaps, yes, but it seems these type of devices keep on being introduced like they're going to catch on, which I dont think they are. Thats my only point. Oct 04 23:25:54 phone should interact with the world, which is a large context and doesn't make it 0 config. Smart home devices should interact with your home, which is a much more constrained environment and makes it much closer to 0 config. Also the mic placement works better for everyone, not just the one person holding the phone Oct 04 23:26:02 watches and tablets were the same way Oct 04 23:26:25 I disagree, those are still mobile devices Oct 04 23:27:00 orbyt_: https://medium.com/@cdixon/the-typical-path-of-how-people-respond-to-life-changing-inventions-3e250914bccd#.j88wceoza Oct 04 23:27:39 orbyt_: I would say they are definitely in the 2/3 phase right now Oct 04 23:28:07 It's almost at point 4 for me Oct 04 23:28:20 They seem interesting, but I don't know if I could justify the price yet Oct 04 23:28:47 Smart home is 80% shit Oct 04 23:29:17 The fritz!box is the only actual router with zigbee and co integration that can put all wifi enabled devices into a vlan by default Oct 04 23:29:21 That's 80% room for improvement Oct 04 23:29:24 Not even Google's shit can do that Oct 04 23:29:37 Then there's the security issue (ahem open telnet) Oct 04 23:30:00 The reliability issue (cough nest failing for days in the middle of december cough) Oct 04 23:30:13 There's the privacy issue (cough NSA cough) Oct 04 23:30:17 And the price issue Oct 04 23:30:22 the nest issue isn’t theirs directly Oct 04 23:30:26 And functionality is at best a toy Oct 04 23:30:30 that’s cause the CEO of nest is a douchenozzle Oct 04 23:30:40 Yes, it is theirs: the devices had no offline mode Oct 04 23:30:48 That's a big fucking issue Oct 04 23:30:49 it’s not theirs. Oct 04 23:30:58 justJanne: "I use it, but it’s just a toy." - https://medium.com/@cdixon/the-typical-path-of-how-people-respond-to-life-changing-inventions-3e250914bccd#.j88wceoza Oct 04 23:31:00 Well, Nest was Google by that point Oct 04 23:31:14 nest was bought by google, but remained it’s own independent company Oct 04 23:31:20 yiati: okay, for what do you use smart home in a non-toy way? Oct 04 23:31:20 orbyt_: sounds like justJanne is further along than me Oct 04 23:31:34 I realize what smart home can do Oct 04 23:31:41 But none of the current products are it Oct 04 23:31:42 Not saying it's false, it will take time to develop into a more serious product Oct 04 23:31:54 And everyone out there is vying to be that next big thing Oct 04 23:31:58 I designed a few months ago a nice concept already Oct 04 23:32:05 Nice Oct 04 23:32:12 i use one of those light switch things, but it's just a toy, not any harder to light my candle when i want light Oct 04 23:32:22 #1 Use your phone or smartwatch in your home to triangulate where you are Oct 04 23:32:46 #2 make the lights of where you are go on, where no one us go off, same with music Oct 04 23:32:59 You wander through your house, in a bubble of light and entertainment, Oct 04 23:33:12 And a voice assistant always following you Oct 04 23:33:20 Geofencing isnt that accurate yet though. Or is this sarcasm Oct 04 23:33:23 i am pretty sure i saw a horror movie like this set in a hospital Oct 04 23:33:34 Orbyt: actually, it is Oct 04 23:33:47 As every speaker has Bluetooth, use latency to triangulate Oct 04 23:34:05 You'll have a few raspberry pi zero + bluetooth module + speaker in every room Oct 04 23:34:12 Maybe 3 or so Oct 04 23:34:18 And triangulation becomes trivial Oct 04 23:34:29 justJanne: I couldnt get accurate results with Androids geofencing I should say. If you have a bunch of devices for this then yea ofc. Oct 04 23:34:39 Yeah, ofc Oct 04 23:34:48 Androids geofencing is a bunch of bullcrap Oct 04 23:34:53 Also, could probably use something like a Kinect in each room to do this Oct 04 23:34:58 Well, anyway, the next part would be device integration Oct 04 23:35:16 A bunch of stores already have rfid tags in every product Oct 04 23:35:32 Let the fridge order new milk automatically Oct 04 23:35:55 Let the microwave recognize what you put in, and suggest a program that's popular with others Oct 04 23:36:20 "you entered the program #123 for this chicken, but program #456 has better ratings, want ti try it?" Oct 04 23:36:50 I’m 95% sure putting an RFID tag in the microwave is a terrible idea Oct 04 23:36:57 "it differs by running at 400W and 200C for 3 minutes longer than your program" Oct 04 23:37:03 Nah, microwavs would use camera Oct 04 23:37:07 Rfid is for the fridgd Oct 04 23:37:17 Camera and qr for microwave Oct 04 23:37:41 Currently at home we have a small book we've written with mixrowave recipes Oct 04 23:37:54 also, it’d be interesting, but not at the point of me actually putting the thing in the microwave Oct 04 23:38:07 at that point, I want to push my buttons, and then I walk away while it does stuff Oct 04 23:38:20 Frozen Pizza from one brand is 0W and 190C for 11 minutes, then 800W and 250C for 5 minutes, for example Oct 04 23:38:37 i know i’d walk away without noticing it asked me, and I’d come back to it still waiting for an answer and no food Oct 04 23:38:43 Well, s73v3r: another example is in the morning Oct 04 23:39:12 When we were kids, mum woke up at 4am and drove to work, but put frozen pretzels into the microwave oven Oct 04 23:39:16 having it read what I threw in there and automatically cooking it would be good Oct 04 23:39:28 When we woke up at 6, we got 2h cold pretzels Oct 04 23:39:33 With this, it could be timed Oct 04 23:39:49 There's other examples, like the breadmaker automatically enabling at a time, Oct 04 23:39:57 you lazy brats couldn’t put frozen pretzels in the microwave yourselves? :p Oct 04 23:40:02 Or a smart door bell, Oct 04 23:40:06 Or other stuff Oct 04 23:40:17 Nah, the issue is they took 30min, Oct 04 23:40:39 We had only 20min from waking up to biking to school Oct 04 23:42:05 Technology is generally always solving the hard parts first, Oct 04 23:42:10 Later only minor details Oct 04 23:42:24 Which is why the toy fallacy comes up Oct 04 23:42:38 Everything we developed in the past decades are toys, compared to wheels Oct 04 23:42:48 Or to developing farming Oct 04 23:43:12 There's nor many large niches smart home devices can fill and properly handle Oct 04 23:43:24 not sure i agree Oct 04 23:43:28 They are luxus Oct 04 23:43:38 they still haven't come up with a way to keep tea at exactly the right temperature, surely that's high on the list Oct 04 23:44:08 Well, they have, I can build one in minutes Oct 04 23:44:14 ;) Oct 04 23:44:35 Thermostat was solved by Danfoss decades ago Oct 04 23:45:02 justJanne: have you seen phase change materials designed for foods/liquids? Oct 04 23:45:27 Nope, but you don't need them Oct 04 23:45:28 justJanne: they can cool a liquid above a certain temperature, then release the heat absorbed if it goes below Oct 04 23:46:21 Time for me to sleep Oct 04 23:46:45 justJanne: https://www.joulies.com/pages/frontpage crazy stuff :) Oct 05 00:04:09 g00s: sorry for the delay. Thank you very much for the link Oct 05 00:11:08 I'd like some connected switches Oct 05 00:11:16 home automation is cool, but a pain in the ass to setup Oct 05 00:11:43 some stuff was promised around this at IO 2011, nothing showed up Oct 05 00:16:32 oh damn, you can't get the 5x or 6p on google store Oct 05 00:16:45 not since this morning Oct 05 00:17:08 fuck, i hope now nvidia (shield) might be my savior ... Oct 05 00:17:19 you can still get them on amazon Oct 05 00:17:34 i thought there was a new shield coming out ... Oct 05 00:17:52 i'm not very up with my gadgets though Oct 05 00:18:35 google could make me very happy if they just release the official image for RPi ;) Oct 05 00:18:48 then i'd try to avoid buying any more expensive phones :D Oct 05 00:20:00 i'm wondering what Leed's enthusiasm for all this will be, on a scale from 0 to -10 Oct 05 00:20:02 is there a way to check the group a clicked menu item belongs to? Oct 05 01:10:05 hey guys, do you know if there's a way i can send an image from my keyboard app via mms? I don't wanna invoke the share via dialog and i just wanna send the image with no text Oct 05 01:10:12 cant find an answer that works on stack overflow :( Oct 05 01:11:33 i've noticed my app is crashing to due a runtime exception - i believe because the google play services is not up to date on the device Oct 05 01:11:52 how do I have my own custom message before the crash, instead of "xyz has closed unexpectedly" ? Oct 05 01:31:43 Hey everyone! Oct 05 01:32:00 I need help with which threading method to use for my particular case Oct 05 01:32:06 It's not something I could really find on Google Oct 05 01:32:42 Dysanix: DOn' Oct 05 01:32:44 Sorry. Oct 05 01:32:55 Don't ask to ask. Just ask and someone will answer if they know the answer. Oct 05 01:35:00 Alright. So the situation is as follows: I am using an Omegle API with an eventadapter. But the omegle session needs to be initialized on a different thread (because network on main thread is not allowed). So what would be a good way to initialize this? I need to have control over the thread, because I need to restart it if someone disconnects Oct 05 01:35:19 and not re-launch it because that could cause it to start 2 sessions at the same time Oct 05 01:35:46 AsyncTasks are not suitable for this to my understanding because it's only for fast tasks that update the UI right? Oct 05 01:39:28 https://github.com/nikkiii/omegle-api-java <- I am using this API Oct 05 01:40:07 And there is no omegleSession.reconnect() so I do have to restart the method when someone disconnects Oct 05 01:44:31 Napalm http://blog.pixate.com Oct 05 01:45:03 :( Oct 05 01:52:09 Nevermind! I might have already fixed it. I just need to stop making a new eventadapter and loop an AsyncTask to create a new session with the SAME eventadapter everytime someone disconnects Oct 05 01:52:25 I dont know if while(true) in an asynctask is bad practice but yeah Oct 05 02:02:47 anybody know how to have my keyboard app send an mms intent by getting the phone number of the open contact in the messages app? Oct 05 02:36:01 hi Guys, Do you have a tut link on how to use data binding library just simple explanation? Oct 05 02:40:57 Who have used here data binding library ? **** ENDING LOGGING AT Wed Oct 05 02:59:58 2016