**** BEGIN LOGGING AT Sun Sep 18 02:59:58 2016 Sep 18 03:00:09 since the core is always connected, you shouldn't lose history Sep 18 03:00:55 * g00s has never used Quassel, hope i got that right :P Sep 18 03:02:18 Yup, that's the concept Sep 18 03:02:40 Throw the core on something that's always on, like a raspberry pi, or a free amazon aws instance, Sep 18 03:02:48 And use that as bouncer++ Sep 18 03:03:43 Or if you have too much money and don't want to set that up, use irccloud, which is the same but hosted and with no desktop client, only webclient Sep 18 03:04:11 lol i think capella-5x missed that :P Sep 18 03:04:15 Okay, that connection is so unstable, not even quassel could help there atm Sep 18 03:05:01 Heck, in the hamburg metro i get a more stable connection than that Sep 18 03:05:20 justJanne have you done anything with CQRS / event sourcing ? Sep 18 03:06:26 not sure it would help much w/irc client ... Sep 18 03:06:50 i have a somewhat similar problem (unordered time series) thats needs to get stored, lots of data for an edge device like mobile Sep 18 03:07:08 this got me thinking about the event store and the aggregate r/o projections Sep 18 03:07:16 http://www.confluent.io/blog/making-sense-of-stream-processing/ Sep 18 03:10:17 Well, g00s, on irc, we can use partial sync Sep 18 03:10:38 The core always has all the messages, the client only stores about 30 per channel, loads the rest on demand Sep 18 03:10:58 How do I get networkResponse [I need headers] and statusCode from any volley request, regardless of success/failure? - http://stackoverflow.com/q/39545715 Sep 18 03:11:03 is there a way to make a listview swipe in whole pages? Sep 18 03:11:11 so instead of half way down an item / items Sep 18 03:11:16 it goes in whole screen pages Sep 18 03:11:23 That makes it a lot faster to resync: we only have to sync the diff, but even the diff us limited in sizs Sep 18 03:12:14 justJanne: differential sync with JSON patch ;) Sep 18 03:20:00 AlecTaylor: poor Alec! Still that question? Sep 18 03:20:35 AlecTaylor: why do you use Volley insted of OkHttp? Sep 18 03:22:32 orbyt_, how can I make my tabs show the whole tab title (as with app:tabMode="scrollable") but still fill the width of the tab bar? Sep 18 03:23:49 even if they have to scroll, that would be fine, but that hyphenation looks funky Sep 18 03:26:46 dri Sep 18 03:26:54 dr_infernoo: Is there a single line option for tabs? Sep 18 03:27:35 oh maybe idk Sep 18 03:27:40 I'll look Sep 18 03:28:08 If not, perhaps look into using icons Sep 18 03:30:18 orbyt_ seems I can set it on each tab, but it makes them ellipsize instead Sep 18 03:30:23 I'll figure it out Sep 18 03:30:39 any way to keep the scroll view from scrolling if it doesn't need to? Sep 18 03:32:10 What do you mean Sep 18 03:34:28 even if there's no content in my NestedScrollView (layout is empty, etc) it still scrolls up and collapses the toolbar Sep 18 03:34:38 I'd like to only have that behavior if it's actually needed Sep 18 03:35:25 Why do you have a ViewPager inside a nested scroll layout? Sep 18 03:36:05 because I intend on having paged information in there Sep 18 03:36:09 just haven't implemented it yet Sep 18 03:36:29 Right, but if the content is scrollable that would be dependent on the fragment in the viewpager Sep 18 03:36:42 not the viewpager itself Sep 18 03:37:12 so I should have the NestedScrollView in the fragment? Sep 18 03:37:26 and that will make the Toolbar collapse if needed, but not if not? Sep 18 03:37:46 I'm just using views, but same diff Sep 18 03:38:07 toolbar has 0 to do with your nestedscrollview Sep 18 03:38:22 you can set the behavior on anything Sep 18 03:39:09 You should look at cheesquare, I think it has some similar layouts to what your trying to do Sep 18 03:39:16 ok Sep 18 03:40:46 To answer your original question though: https://developer.android.com/reference/android/support/v4/widget/NestedScrollView.html#setNestedScrollingEnabled(boolean) Sep 18 03:40:51 That might work Sep 18 03:42:14 I don't want to disable it :/ Sep 18 03:42:37 like, a ScrollView shouldn't scroll unless it's content exceeds it's bounds, yeah? Sep 18 03:43:30 I'd have to modify cheese square to see if it's got the same behavior that I'm seeing anyways lol Sep 18 03:45:40 what is cheese square about? Why is it called "cheese square"? Sep 18 03:46:21 it's a demo app to show off features of the design support library, and it shows off various types of cheeses as it's "Lorem Ipsum" replacement Sep 18 03:47:30 ooh, looks like setting "android:layout_gravity="fill_vertical" on the NestedScrollView might be what I'm looking for Sep 18 03:49:04 maybe not idk Sep 18 03:49:39 dr_infernoo: ok. I thought I was missing something. I actually used it some time ago but I expected it to be a real app. It's just a technical demonstration instead Sep 18 03:56:05 Arancio: Trying to create a standard scaffold, so want to avoid all non-standard libraries, with the exception of a very small number of custom utility classes Sep 18 04:02:00 AlecTaylor: I thought that OkHttp was more "standard" than Volley. I read the Volley is poorly supported. Maybe that it's not the case anymore Sep 18 04:28:50 Arancio: Really? - I feel like it'll be overly opinionated to use a non-Google library Sep 18 04:30:18 in my AppWidgetProvider, would it be a bad idea to store the Context I recieve as a class variable? Sep 18 04:30:40 AlecTaylor: http://stackoverflow.com/questions/16902716/comparison-of-android-networking-libraries-okhttp-retrofit-volley Sep 18 04:30:52 I want the widget to run an asynctask, get some data from the internet, and run a callback when its complete. I can't, however, get remoteviews or give an intent to continue the update without a context Sep 18 04:31:07 so my next best idea is to store context from onUpdate as a class variable, but this rubs me the wrong way Sep 18 04:33:42 or possibly a better way of doing it: is it a bad idea to update UI elements from an asynctask? Sep 18 04:33:50 specifically in onPostExecute Sep 18 04:42:52 ollien: do you want to try with another question or you just feel ok with having your first one being ignored? Sep 18 04:55:28 Hello all! Sep 18 04:55:30 :) Sep 18 04:56:03 jaredsburrows: Hello, Jared! Sep 18 04:56:08 :) Sep 18 04:56:22 Having a good day? Sep 18 05:00:17 Arancio huh? Sep 18 05:00:37 the second question was because I had thoguht of a possibly better way of doing it Sep 18 05:00:46 and I wasn't sure if either was a bad idea Sep 18 05:01:00 I also kinda expect things to get ignored rn - it's late at night Sep 18 05:01:06 I figured if i get an answer great Sep 18 05:01:08 if not oh well Sep 18 05:01:11 ollien: I was joking Sep 18 05:01:14 Arancio ah Sep 18 05:01:19 can't tell oer text Sep 18 05:01:20 *over Sep 18 05:01:22 :P Sep 18 05:01:24 :) Sep 18 05:24:23 What functional programming library do people use with Android? Sep 18 05:27:08 I love gradle Sep 18 05:30:16 @surf2b1 test Sep 18 05:30:28 @ollien test Sep 18 05:30:33 +ollien test Sep 18 05:34:02 jaredsburrows: what are you doing? Sep 18 05:40:09 clearly AB testing thepoosh Sep 18 05:40:19 hi btw (: Sep 18 05:43:31 raoul11: hi hi Sep 18 06:19:57 Trying to understand this code about a PreferenceFragment: https://github.com/codepath/android_guides/wiki/Settings-with-PreferenceFragment Sep 18 06:21:07 What exactly does addPreferencesFromResource and why are they inflating a layout called fragment_settings. I dont understand how they stick together Sep 18 06:21:09 the layouts Sep 18 06:35:55 does getLatitude() no longer exist in googlemaps api? Sep 18 06:36:16 I have followed heaps of different examples, but the symbol cannot be resolved Sep 18 06:37:04 Ben2560 that cannot be possible! :/ Sep 18 06:37:22 Unless they merged getLatitude() and getLongitude() into one Sep 18 06:39:10 Well i have an Address location, which gets the first value returned from Geocoder.getFromLocationName. But i cannot do getLatitude or anything Sep 18 06:41:17 Apparently it was removed in 2014 Sep 18 06:52:10 I have an issue with List
. The context of address changes from what i set it to to List when i set it to com.google.android.gms.identity.intents.address Sep 18 06:54:26 This is the error http://imgur.com/a/A26jK Sep 18 07:28:52 Turns out required/found is backwards to what i thought it was Sep 18 07:34:58 What functional programming library do people use with Android? Sep 18 08:00:44 Is anybody there? Sep 18 08:01:35 ye Arancio Sep 18 08:01:48 Afzal: hi! Sep 18 08:02:19 What's up? Sep 18 08:02:45 is there anything like C#'s "LINQ to Enumerable" for Java to manipulate collections in a functional manner? Sep 18 08:02:57 Any library that can be used on Android? Sep 18 08:03:21 No idea, maybe rxjava (?) Sep 18 08:04:35 I'm reading about it. I'm going to use it but I don't think it's for functional data processing. It's more for functional event handling Sep 18 08:05:19 I'm talking about taking a collection, mapping it into another collection with a function, filtering its members, joining with another collection and so on Sep 18 08:05:33 It has things beside observer/subject/etc too Sep 18 08:05:39 like map, flatmap and such Sep 18 08:05:45 you can use it without the event parts Sep 18 08:05:58 Ok. I'll keep reading about RxJava then Sep 18 08:06:01 Thanks! Sep 18 08:06:14 np Sep 18 08:43:32 Arancio: RxJava is the implementation of lambda and streamAPI Sep 18 08:43:43 so it allows filtering and mapping incoming data Sep 18 08:43:50 similar but not identical to LINQ Sep 18 08:44:22 thepoosh: thanks. That's encouraging. I'm reading about RxJava. I missed something like that Sep 18 08:44:46 you can actually now use some of that with just compiling against java8 Sep 18 08:45:09 Can I really used java8? Sep 18 08:45:11 use Sep 18 08:45:24 I read it was premature Sep 18 08:46:26 hi Sep 18 08:47:26 hi, Alec! Good sunday! Sep 18 08:47:57 Yahhhhh Sep 18 08:48:09 Arancio: I'm still crapping around with Volley Sep 18 08:48:14 Man it's annoying Sep 18 08:48:20 Guys, AlecTaylor would like to know: How do I get networkResponse [I need headers] and statusCode from any volley request, regardless of success/failure? - http://stackoverflow.com/q/39545715 Sep 18 08:48:58 AlecTaylor: I saved some typing to you Sep 18 08:49:29 * AlecTaylor has started writing his own `Response`, `Response.Listener`, and `RequestFuture` Sep 18 08:49:47 Trying to inherit them all as much as possible Sep 18 08:52:51 AlecTaylor: can I ask you what are you working on? Sep 18 08:54:21 Arancio: Literally just a generic scaffold, with a login/register form (activity) that then shows you a simple TODO list (or whatever) with CRUD. Handled errors gracefully and has 100% test coverage. Sep 18 08:54:44 Currently got that all working reasonably well, but it's hard to handle error/success conditions without access to headers and status-code Sep 18 08:54:59 Especially when some endpoints return things I need in their headers, like access-tokens Sep 18 08:55:20 *Handles Sep 18 08:55:45 It's a didactical project or a part of a bigger product? Sep 18 08:56:11 Didactical Sep 18 08:56:20 cool Sep 18 08:57:30 I will have to learn to do something like that too Sep 18 08:59:21 Arancio: I'll open-source it in a couple of weeks Sep 18 09:00:29 I'll download and read it as soon as it's available. Thank you! Sep 18 09:00:45 :) Sep 18 09:01:47 Alphabet: what's the issue with volley Sep 18 09:01:54 i use it all the time Sep 18 09:02:17 thepoosh: it's AlecTaylor not Alphabet but he quit Sep 18 09:02:26 yeah, I tabbed to the username Sep 18 09:02:34 and only now saw that he's not here anymore Sep 18 09:02:39 :) Sep 18 09:02:44 and I thought I could be of help Sep 18 09:02:49 actually am fine with volley Sep 18 09:03:23 thepoosh: he can't read the headers of the HTTP responses. But I don't know anything more Sep 18 09:03:40 in case of failures Sep 18 09:03:47 well, when he comes back on I'l discuss it with him Sep 18 09:03:51 yeah Sep 18 09:13:56 I have an activity where people should enter some text and then proceed. Should I use a big "Commit" button on the bottom of the activity or a floating action button on the bottom right corner? Sep 18 09:20:34 <_genuser_> people! sup? Sep 18 09:21:10 _genuser_: hello! Good Sunday! Sep 18 09:22:27 _genuser_: want a copy of the infinite tabbing classes and related sample project? Sep 18 10:02:47 _genuser_: HAI Sep 18 10:10:27 my genymotion got messed up Sep 18 10:15:17 Arancio: what happened? Sep 18 10:17:10 as standalone it doesn't start, complaining the virtual machine is not installed properly (it was because it worked). Inside Android Studio it freezes the whole IDE. I will re-install it later Sep 18 10:29:03 <_genuser_> Arancio: sure, that sounds good! Sep 18 10:29:09 <_genuser_> thepoosh: HAI back! Sep 18 10:29:30 <_genuser_> I'm reading the guide on how to publish stuff on jcenter to it's accessible via gradle. Sep 18 10:33:19 _genuser_: https://drive.google.com/open?id=0BzsejsK5DpyrWk83ckJ3T0RzOE0 Sep 18 10:33:49 _genuser_: can you use gradle to access your own libraries on your computer without sharing them? Sep 18 10:40:06 <_genuser_> Arancio: you should be able to. that would be the standard importing in of jars or aar files, I guess. Sep 18 10:40:16 <_genuser_> I also see bintray (jcenter) allows you to do private repos Sep 18 11:04:45 realms inability to check for duplicate compound keys on entities (no compound keys supported) : what about declaring a compound key class - and then declaring a primary key field of that class ? can that be used to workaround the lack of compound key support ? Sep 18 11:05:53 tilerendering: that's an interesting question Sep 18 11:07:31 I made a mistake when asking the question: should be: “what about declaring a compound key class - and then declaring a primary key field of the entity class ?” Sep 18 11:07:35 voila. Sep 18 11:07:44 it “should” work I guess Sep 18 11:08:03 the question is why does realm not make use of the .equals method rather than comparing primary key fields ? Sep 18 11:09:27 tilerendering: curiously I interpreted the question as you meant it to be not as you write it Sep 18 11:11:15 Arancio: ok :) Sep 18 11:11:47 I don't have experience with Realm but I'm interested Sep 18 11:11:54 I wonder whether the check for equality of primary keys would be done at field level and whether a primary key could be an non-primitive object Sep 18 11:12:12 <_genuser_> does anybody know what version of gradle we're on on AS? Sep 18 11:13:43 <_genuser_> ah, figured it out. Sep 18 11:21:24 I have an activity where people should enter some text and then proceed. Should I use a big "Commit" button on the bottom of the activity or a floating action button on the bottom right corner? Sep 18 11:26:02 big "Commit" button. Floating Action Button is usually used for showing menu or starting some activity Sep 18 11:27:19 DeaverDev: thanks! Sep 18 11:29:58 <_genuser_> also... floating buttons are annoying. Sep 18 11:30:11 <_genuser_> they stay on top of useful real estate just looking annoying. Sep 18 11:31:40 I was thinking the same. Most of my activity's screen space will be used by a (custom) editable text view. What would happen if the caret ends up under the FAB? Sep 18 11:32:04 FAB are ok over scrollable lists Sep 18 11:32:23 or scrollable views in general Sep 18 11:32:29 <_genuser_> they're ok, in my opinion if they're some really nice color and sort of enhance the visual pallette. Sep 18 11:32:42 <_genuser_> otherwise, what's wrong with a button in the appbar like they used to have. Sep 18 11:32:48 <_genuser_> use existing real estate for that, no? Sep 18 11:32:57 <_genuser_> but, I'll admit people might like them. Sep 18 12:41:18 I keep getting a "Communication error with Jack server (52). Try 'jack-diagnose'" Sep 18 12:41:55 I have a .jack-settings in home, but not a .jack-server Sep 18 12:42:03 my error is here http://pastebin.com/pzdviXrb Sep 18 12:44:14 BustyLoli-Chan: what does you nickname mean? Sep 18 12:46:40 Arancio asking the real questions Sep 18 12:49:37 :V Sep 18 12:50:23 Busty means well endowed in the chest region. Loli is usually a younger female. Chan is an honorific in Japanese language and culture. Sep 18 12:54:33 So you are a underage female with big tits who has problems with the Jack server, enters an IRC channel and asks for help without saying "hello"? Sep 18 12:59:01 Nope. I'm a 23 year old guy who wants hepl with jack server, but you are correct about the not saying hello part. Sep 18 12:59:13 most channels have a don't ask to ask, just ask policy Sep 18 13:00:25 Also I find most of the people who have problems with my name don't have the solutions to my problems anyway. Sep 18 13:01:37 I don't have problems with your nickname. I was just curious. I often ask about people's nicknames Sep 18 13:04:08 Anyway, more properly you "need help" or "would like to receive help" with the Jack server. And saying "hi" has nothing to do with "asking to ask". Sep 18 13:04:42 I hope someone could help with all your problems. I don't know Jack, unfortunately. Sep 18 13:08:46 where can i find "settings.db" on marshmallow? (was at /data/data/com.android.providers.settings before) Sep 18 13:08:58 BustyLoli-Chan: anyone with Busty Loli for a nickname is obviously of paedophile descent, so it is relevant to us :P Sep 18 13:09:44 How the hell can you watch that shit? Sep 18 13:13:58 Sep 18 13:16:07 PetyrBaelish: who is "us"? Sep 18 13:16:27 Arancio: me and the voices inside my head Sep 18 13:17:06 ah ok. For a moment I thought of something worse Sep 18 13:17:22 Arancio: like what? :P Sep 18 13:17:26 <_genuser_> what is a restrive license? apache 2.0 gpl, ec. etc. Sep 18 13:18:49 _genuser_: google has 7 results for "restrive license" Sep 18 13:19:14 <_genuser_> Arancio: sure, I just want a restrictive one from the well known ones. Sep 18 13:19:25 ah ok Sep 18 13:19:26 <_genuser_> I'm reading thru apache 2.0 vs gpl searches right now. Sep 18 13:19:49 <_genuser_> I think the default apache 2.0 is what I'll use. Sep 18 13:20:23 <_genuser_> I should probably rephrase, gpl is more restrictve in the sense that it restricts you in being able to "close" your source. Sep 18 13:20:55 <_genuser_> I was thinking of a restrictive one meaning people can't just keep pushing your code all over, etc. etc. Sep 18 13:21:03 <_genuser_> I'm misusing the words right now probably. back to google. Sep 18 13:45:44 why? Sep 18 13:52:37 I want to make an android app. where do I start? Sep 18 13:53:05 <_genuser_> https://developer.android.com/training/index.html Sep 18 13:53:22 thank you. Sep 18 14:22:53 <_genuser_> phew, finally got git push working on windows. Sep 18 15:09:05 _genuser_, i'd agree. GPL is more open, at the cost of being more limiting to achieve that. BSD on the other hand is "do whatever you want, including close sourcing and selling this" Sep 18 15:09:39 _genuser_, for me, BSD is useful for stuff like standards where you WANT other people to take your code and use it, and GPL is useful for stuff where I'm doing it as an OSS project and want it to remain as such Sep 18 15:36:34 Hello. I'd like to know if anyone knows of any documentation where I can read data from a url (http://mysite/?hello) and get the response? Sep 18 15:37:54 xrandr: URLConnection? Sep 18 15:38:15 loke`, is that what I should use? Sep 18 15:38:40 xrandr: You _can_ use it. :-) Sep 18 15:39:18 xrandr: A lot of peopel use okhttp for example. It has some handy extras.\ Sep 18 15:40:10 ok, let me try that Sep 18 15:40:23 cause i've been at this for days and it's been very frustrating Sep 18 15:40:34 I can easily accomplish it in Xamarin but I want to do it in pure java Sep 18 15:44:36 xrandr: Exactly what are you attempting to do? Sep 18 15:45:43 loke`, I need to get an auth token from an internal website. So i navigate to my site (http://mysite/?kernel&function=AUTH&login=login&password=password) Sep 18 15:45:47 this spits out an auth token Sep 18 15:45:49 and i need to get that Sep 18 15:46:23 xrandr: You can use okhttp if you need all the fancies: https://square.github.io/okhttp/ Sep 18 15:46:38 loke`, i am trying it now :) Sep 18 15:46:42 does anybody have a clue ? http://stackoverflow.com/questions/39557295/realm-compound-key-workaround-by-using-complex-object-as-primary-key?noredirect=1#comment66427186_39557295 Sep 18 15:49:31 gpl is also a poison pill to force license fees Sep 18 16:03:37 loke`, with OkHttp , I am getting an error stating that it cannot find symbol 'parse' HttpUrl.parse is what i am trying to use Sep 18 16:04:55 xrandr: You have to post some code. I can't guess what you're going. Sep 18 16:04:56 doing. Sep 18 16:05:16 I think i just found the problem Sep 18 16:10:04 loke`, is there a way to get around NetworkOnMainThread exception? Sep 18 16:10:47 xrandr: Don't do networking on the main thread. Sep 18 16:11:00 try asynctask or rxjava Sep 18 16:11:07 ok Sep 18 16:12:01 xrandr: https://github.com/square/okhttp/wiki/Recipes#asynchronous-get Sep 18 16:12:29 TL;DR: Call.enqueue Sep 18 16:16:25 I guess AsyncTask makes it simple, though. No need to worry about how to get back to the main thread. Sep 18 16:16:55 TacticalJoke, loke`, you guys are my saviors! Sep 18 16:17:05 How about DeaverDev? Sep 18 16:17:37 yes, DeaverDev as well Sep 18 17:06:14 Otto Bus and RxAndroid serve the same purpose? Sep 18 17:07:45 not exactly Sep 18 17:07:55 similar thing can be done in rx though Sep 18 17:12:24 Hey guys. I have some problems with the webview. The page isn't "rendering" to the full avaiable space Sep 18 17:13:17 The webview is filling parent, but it's how it renders the page the page the problem. Viewing it in chrome works perfectly Sep 18 17:13:42 I've tried with Sep 18 17:13:43 browser.getSettings().setLoadWithOverviewMode(true); Sep 18 17:13:43 browser.getSettings().setUseWideViewPort(true); Sep 18 17:13:49 but nothing, any idea? Sep 18 17:18:05 This is my exact problem: http://stackoverflow.com/questions/3916330/android-webview-webpage-should-fit-the-device-screen No answer helped Sep 18 17:23:08 antzero: The WebView is showing the page too small (i.e., zoomed-out)? Sep 18 17:23:26 TacticalJoke: hia Sep 18 17:23:54 TacticalJoke: no, it's not "filling" the screen space. If I try spamming
and then a text on the HTML page it works Sep 18 17:24:00 antzero: http://stackoverflow.com/a/10395323/1056359 Sep 18 17:24:30 thepoosh: Hey. Sep 18 17:24:37 thepoosh: already tried, nothing changes Sep 18 17:25:07 sux Sep 18 17:25:27 seems like your html is causing this though if non of the answers helped Sep 18 17:25:33 antzero: What's the difference between "it's not filling the space" and "it's too small (i.e., not zoomed-in enough)"? Sep 18 17:27:03 I'm trying with a bare-minimum html page because this problem is totally driving me crazy Sep 18 17:27:08 http://51.254.100.118/freddolo/index2.html Sep 18 17:27:24 Chrome renders is perfectly. The webview doesn't even show colors Sep 18 17:27:48 antzero: does the issue reproduce when loading https://google.com Sep 18 17:27:49 ? Sep 18 17:28:38 Yes Sep 18 17:28:47 The footer is not in the correct position Sep 18 17:28:56 same issue happens on google home page? Sep 18 17:29:12 Yes, it seems Sep 18 17:29:20 I'm starting to think I'm not applying that proprieties to the webview correctly Sep 18 17:30:29 does the google home page look good on your native browser? Sep 18 17:30:34 yes Sep 18 17:31:06 start stripping away your init code Sep 18 17:31:12 until it looks the same Sep 18 17:31:50 Yeah, I have a lot of other things there, I'll try creating a new project with the bare-minimum webview Sep 18 17:31:58 Meanwhile, thank you. Sep 18 17:32:02 np Sep 18 17:44:26 Does anyone here have familiarity with android tv? Sep 18 17:46:17 I'm looking for some information on how to build a listview style menu for android tv that responds to the dpad, like this: http://imgur.com/a/9d0VS Sep 18 17:46:25 from the settings menu on androidTv Sep 18 17:49:28 Still nothing Sep 18 17:50:45 This is the Activity java code: Sep 18 17:50:45 https://gist.github.com/avivace/bc85d9d2e9712d1fb1f07cb1b0483c64 Sep 18 18:03:27 thepoosh were you the one who posted that john carmack tweet yesterday ... Sep 18 18:04:16 dunno Sep 18 18:04:18 maybe Sep 18 18:04:20 link? Sep 18 18:05:10 https://twitter.com/ID_AA_Carmack/status/771749108780523520?lang=en Sep 18 18:05:29 just reading the discussion on reddit Sep 18 18:05:46 wasn't me Sep 18 18:05:50 but that is such BS Sep 18 18:06:20 i don't keep logs, oh well not that important Sep 18 18:06:49 thepoosh http://i.imgur.com/KdqWq7c.png Sep 18 18:06:53 maybe it was adq then Sep 18 18:06:56 sorry, I think that debug and dev code is allowed to be large Sep 18 18:07:03 yeah saw that earlier on reddit Sep 18 18:07:05 was funny Sep 18 18:07:49 raoul11 hope that works for samsungs new proprietary jack :D Sep 18 18:07:58 well, seems they are thinking about it any how Sep 18 18:07:59 they're making one? Sep 18 18:08:04 as "retaliation" Sep 18 18:09:00 raoul11 http://www.digitalmusicnews.com/2016/09/08/samsung-proprietary-headphone-jack/ Sep 18 18:10:08 bastards Sep 18 18:10:11 jack warfare :D Sep 18 18:10:27 im never gettin another samsung /: Sep 18 18:10:34 you didn't read the article Sep 18 18:10:45 i toggled right to the comments Sep 18 18:10:48 samsung would license to other android OEMs but not share with apple Sep 18 18:11:03 but regardless i am not getting another samsung Sep 18 18:11:09 :D Sep 18 18:11:35 maybe the new port will allow you to attach water hose in case battery fire Sep 18 18:11:50 raoul11: why would you get a samsung?! Sep 18 18:11:55 they have touchwiz Sep 18 18:11:58 whic sux balls Sep 18 18:12:23 i had a samsung phase Sep 18 18:12:33 which succeeded the apple phase Sep 18 18:12:55 omg Sep 18 18:13:11 you had a sucky stage which was later switched with a very sucky stage Sep 18 18:13:15 I hope you feel bad Sep 18 18:13:18 i do Sep 18 18:13:32 good Sep 18 18:13:45 got a macbook around 2007, then a macbook pro and a iphone 3gs (or whatever it was) Sep 18 18:14:13 then decided that im done with this shit, got a free sgs4 from a friend, and a samsung tely Sep 18 18:14:35 Has anyone succeeded in implementing a vertical viewpager? Sep 18 18:14:36 mrs got s7 Sep 18 18:14:55 think iv seen a project on github orbyt_ Sep 18 18:15:13 yea theres 1 or 2 old libs but I want to do it natively Sep 18 18:15:43 i think all thats needed is rotating the viewpager and then capturing scroll events and transforming them Sep 18 18:15:47 http://stackoverflow.com/questions/13477820/android-vertical-viewpager Sep 18 18:15:53 this dude seemed to nailed it Sep 18 18:15:54 orbyt_: vertical VP sounds a lot like a recyclerview Sep 18 18:15:56 with cards Sep 18 18:16:30 thepoosh: Well each item will take up the entire page Sep 18 18:16:37 with ~10 items initially Sep 18 18:16:42 we have that Sep 18 18:16:44 on glide Sep 18 18:16:53 you have what on glide Sep 18 18:17:00 vertical ViewPager Sep 18 18:17:04 with fragments Sep 18 18:17:14 glide as in the lib? Sep 18 18:17:26 or is this an app Sep 18 18:17:26 nope Sep 18 18:17:26 the app Sep 18 18:17:31 i work there **** BEGIN LOGGING AT Sun Sep 18 18:20:15 2016 Sep 18 18:20:18 oh i sede Sep 18 18:20:20 see* Sep 18 18:21:37 thepoosh ill bug u about it tommorow. i wonder if you guys found a better approach to emojis in textview than i did Sep 18 18:21:45 if you ask me, it should be converted to cards but our PM wanted them to be one a oage Sep 18 18:21:47 *page Sep 18 18:21:55 raoul11: sure Sep 18 18:22:00 i can look soon Sep 18 18:22:10 need to cook mrs dinner Sep 18 18:22:20 \: Sep 18 18:22:22 o/ Sep 18 18:22:22 hmmmm, I already did that Sep 18 18:22:29 she had soup tonght Sep 18 18:32:45 The fact is that on Chrome the page fits perfectly Sep 18 18:32:47 fml Sep 18 18:50:38 any reason why AutoCompleteTextView.setCompletionHint() wouldn't actually be displaying the hint text? Sep 18 18:51:53 oh, maybe I want setHint()? I tried that too, to no avail Sep 18 18:56:15 I have a preference screen. But the onPreferenceChange is not fired when I change a ListPreference option Sep 18 19:05:26 any success stories with Ionic vs React Native for making android apps? Sep 18 19:06:25 The stuff I'm reading says React Native renders faster/snappier Sep 18 19:08:19 use native Sep 18 19:42:52 hi Sep 18 19:43:16 I have a question: is it possible that in the FragmentManager.getFragments() list there is a null fragment? Sep 18 19:43:25 because it's happening to me Sep 18 19:43:56 I'm using support-v4 21.0.3 library Sep 18 19:50:11 thepoosh: can't believe it Sep 18 19:50:16 ? Sep 18 19:50:20 I had wrap_content and not fill_parent in the layout Sep 18 19:50:30 God, fml Sep 18 19:50:31 I have a preference screen. But the onPreferenceChange is not fired when I change a ListPreference option Sep 18 19:50:37 It's fixed now Sep 18 19:57:30 Does Android Studio have a way to navigate to the next error in a file? The Messages window only seems to show certain errors... some errors like "cannot resolve symbol..." aren't shown there Sep 18 20:01:33 claymore, try ctrl f Sep 18 20:01:35 claymore, try ctrl f2 Sep 18 20:01:48 claymore, sorry, shift - f2 Sep 18 20:04:13 maybe it was adq then < indeed, why? (i'm not responsible) Sep 18 20:28:10 adq ah, there is a discussion on /r/programming about it Sep 18 20:37:27 g00s, lol ok. Sep 18 20:39:46 alexnode: thanks! Sep 18 21:01:33 adq lol! https://www.reddit.com/r/androiddev/comments/53de39/must_say_i_should_do_some_optimizations_p/ Sep 18 21:01:53 lol Sep 18 21:05:38 at least it finished Sep 18 21:10:08 i've just had this idea: everytime i go search google for something android related, the search terms would be posted here using '/me searching ...' Sep 18 21:11:10 efficient for being ignored if not banned quickly Sep 18 21:16:26 certainly. it would post tens of times every hour Sep 18 21:17:16 just thinking if everybody do the same Sep 18 21:19:34 * drinfernoo searching what is bitkiller searching right now? Sep 18 21:19:39 lol Sep 18 21:26:24 <_genuser_> dang bintray and jcenter Sep 18 21:26:27 <_genuser_> dang maven Sep 18 21:27:53 <_genuser_> guys, anybody upload their libs to jcenter/maven, etc. etc? Sep 18 21:28:19 <_genuser_> I think I have the setup done properly finally, but gradlew bintrayUpload, fails on javadoc generation. Sep 18 21:29:09 _genuser_, I'm looking forward to using jitpack Sep 18 21:29:25 <_genuser_> drinfernoo: what is that? Sep 18 21:30:01 https://jitpack.io/ Sep 18 21:30:35 just thinking if everybody do the same < doubt that :) it would be inefficient Sep 18 21:31:26 <_genuser_> drinfernoo: so it's just another maven repo server, right? but something that may have a different upload process? Sep 18 21:32:09 yeah, all you do is apply the maven plugin in Gradle, and it automatically publishes from your GitHub releases, whenever someone puts it in their dependencies Sep 18 21:32:44 <_genuser_> drinfernoo: so it builds from source, so you do'nt have to build the aar files and do all that dance that you need for bintray jcenter or maven central. Sep 18 21:32:55 indeed Sep 18 21:33:14 it'll do javadocs and sources and everything Sep 18 21:33:19 <_genuser_> oye, the only thing that sucks is they'll need to do maven { url "https://jitpack.io" } Sep 18 21:33:32 <_genuser_> otherwise, this si sooooooo much cleaner. Sep 18 21:33:57 <_genuser_> mine is failing as javadoc generation at the moment, and I'm not sure how to fix it. Sep 18 21:34:32 <_genuser_> well it's giving me an error on javadoc task build - javadoc: error - Illegal package name: "0.0.1" Sep 18 21:34:41 <_genuser_> err, what am I supposed to do with that! Sep 18 21:35:32 I've never published anything before, so I'm afraid I can't answer that lol but I'll be using jitpack for sure when I release my library Sep 18 21:37:20 <_genuser_> drinfernoo: heh, it's was a simple thing - user selects an image, crop it and upload it to my server, I went with 1) write my own cropper (because I didn't find any at the time, because I didn't search enough). 2) wrestle with issues, fix bugs, 3) spend 1 day on working on how to upload the aar to bintray. Sep 18 21:37:25 <_genuser_> argh, just argh. Sep 18 21:37:35 <_genuser_> total 3 days spent. Sep 18 21:37:52 <_genuser_> I could have just done compile 'somebody else's package' and been done with it days ago. Sep 18 21:40:25 lol Sep 18 21:41:29 if I want to make an image picker, something with pre-packaged images, and the option to choose from gallery or take picture, what's the best approach? Sep 18 21:44:53 drinfernoo: a recycle view with your pre-packaged images and two FAB to go to the gallery or the photographic apps Sep 18 21:47:07 <_genuser_> drinfernoo: right, what he said. recycle view and then just let them pick from stock images, or pull from devices either in gallery form or camera. Sep 18 21:50:05 drinfernoo: I'd like to express my opinion too: Arancio is right. Do as he said. Sep 18 21:51:33 it's there an intent for stock picker/camera? Sep 18 21:53:31 <_genuser_> drinfernoo: sure. Sep 18 21:54:19 camera and gallery app have intents, yes Sep 18 21:54:26 <_genuser_> Intent intent = new Intent(); intent.setType("image/*"); intent.setAction(Intent.ACTION_GET_CONTENT); startActivityForResult(Intent.createChooser(intent, "Select Picture"), PICK_IMAGE); Sep 18 21:54:52 <_genuser_> that's what I use. It will give you an option to pick from installed gallery viewers, you pick the gallery viewer and then picture. Sep 18 21:55:13 <_genuser_> in onActivityResult, you read it from the intent. Sep 18 21:55:32 <_genuser_> InputStream inputStream = getBaseContext().getContentResolver().openInputStream(data.getData()); // data is intent Sep 18 21:55:42 sweet Sep 18 21:56:06 <_genuser_> what am I saying. Sep 18 21:56:10 can I call that from anywhere, or only from an activity? Sep 18 21:56:10 <_genuser_> https://github.com/maxpower-ndrd/profileimagecropper/blob/master/ImageCropper/src/main/java/com/mxp/imagecropper/MainActivity.java Sep 18 21:56:28 <_genuser_> that's my code link, showing main activity that does exactly that! Sep 18 21:56:31 <_genuser_> and only that. Sep 18 21:56:32 is there an altnertive to Intent.createChooser that spans fullscreen or can be embeeded in a view in my activity (i.e linear layout) Sep 18 21:57:11 yeah, I'm hoping to call that from within a custom view Sep 18 21:57:34 drinfernoo: you just need a context Sep 18 21:58:02 <_genuser_> your custom view should already have a reference to context so you're good. Sep 18 21:58:06 and the hosting activity will get the onActivityResult? Sep 18 22:01:20 drinfernoo: yes. so it's better if you keep everything in the activity class Sep 18 22:01:38 hmm ok Sep 18 22:01:57 <_genuser_> drinfernoo: depends on where you want the onActivityResult sent to. Sep 18 22:02:17 _genuser_, what do you mean? Sep 18 22:08:32 <_genuser_> they can be called in fragments or activity. Sep 18 22:10:08 ok Sep 18 22:10:13 neato Sep 18 22:10:36 I'll mess with it in a bit, watching football lol Sep 18 22:19:50 <_genuser_> ok, I officially hate bintray, and jcenter and maven central. Sep 18 22:20:09 <_genuser_> with a name like maven, it didn't stand a chance, but I gave it the benefit of the doubt Sep 18 22:23:23 jitpack lol Sep 18 22:24:15 is there a way to include a widget (like GMail's widget) in an activity? Sep 18 22:27:08 <_genuser_> drinfernoo: yeah, but 1) people needing to add an extra URL, 2) invested so much time already. it feels like it's almost there.... Sep 18 22:27:40 yeah Sep 18 22:27:53 I've never been turned off by having to add jitpack in my build.gradle Sep 18 22:27:56 it's a c&p Sep 18 22:30:18 anyone? Sep 18 22:42:42 <_genuser_> damn gradle and bintray. fix one thing and another issue. fix that and the first issue, back and forth. Sep 18 22:43:29 <_genuser_> drinfernoo: guess, tons of people upload stuff to bintray andit's bugging me that I can't get it to work. Sep 18 22:43:42 <_genuser_> altho, the web is full of people complaining about how complicated the process is. Sep 18 22:49:46 _genuser_: what are you trying to do Sep 18 22:53:58 <_genuser_> orbyt_: trying to upload aar to bintray to add to jcenter. Sep 18 22:54:56 https://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en Sep 18 22:55:10 Or upload lib to github and use jitpack Sep 18 22:56:09 <_genuser_> orbyt_: I followed that one, wasn't as clear as it could have been. Sep 18 22:56:32 <_genuser_> orbyt_: I have it on github, I guess I could just use jitpack. I hate the thought of having to give up now. Sep 18 22:57:31 <_genuser_> I think I'm almost done with it, it's now complainign of no username/apikey/packagename/reponame. those 4 things are configured in my build.gradle so I'm quite confused as to what to do to make it accept those values. Sep 18 22:59:50 lol orbyt_ has the right idea Sep 18 23:00:05 <_genuser_> orbyt_: do you have any published libs? Sep 18 23:00:32 <_genuser_> drinfernoo: heh, it's just this little voice in my mind, "why can't I get it to work?" lol Sep 18 23:01:04 just put a thing in your readme, that says "dur, add jitpack, and it'll work" Sep 18 23:01:47 _genuser_: For android not any personal ones, though I have for internal libs at previous companies Sep 18 23:02:38 <_genuser_> orbyt_: on bintray? just curious because I guess I"m getting close to saying, "chuck it, I'm gonna use jitpack" Sep 18 23:03:00 No I used jitpack for the android libs Sep 18 23:03:32 <_genuser_> heh, guess I should just use that. Sep 18 23:03:46 <_genuser_> orbyt_: is it really as simple as pointing it to your github repo? Sep 18 23:03:51 <_genuser_> because I have the repo ready. Sep 18 23:04:38 For jitpack, depending on how you want to do it, you should create a release on github Sep 18 23:05:01 <_genuser_> release? Isn't a working repo on github all it takes? Sep 18 23:05:40 Again, depends on what you want to do. You can build by branch/release/commit/tag and such Sep 18 23:05:48 How do I properly indicate that I've modified a piece of Android source code in the copyright? Sep 18 23:07:36 <_genuser_> orbyt_: ah, I see. well, one more go and then jitpack! Sep 18 23:07:43 <_genuser_> orbyt_: and next lib, always just jitpack then. Sep 18 23:08:17 <_genuser_> I'm thinking eventually AndroidStudio will get to a point where it's just one click to deploy. for now, jitpack! Sep 18 23:09:15 Well, you can just git push and technically deploy a new version Sep 18 23:09:21 if your building by commit Sep 18 23:14:09 <_genuser_> ok cheese factory and my other config both return the same error, no user specified (no api, reponame, or packagename) Sep 18 23:14:14 <_genuser_> so time for jitpack. Sep 18 23:15:40 <_genuser_> orbyt_: hmmm, I do see some files in bintray. heh, wonder what got uploaded Sep 18 23:17:53 <_genuser_> ok, despite the errors, one of those times actually worked! Sep 18 23:18:02 <_genuser_> heh let's see if I can just do a gradle reference. Sep 18 23:23:21 Hi everyone! I have just started learn Dagger. So I add static getAppComponent() method in my Application class in order to get AppComponent in any place of my app. My question is how can I avoid keeping AppComponent in static member inside my Application since I know it's a bad practice to store static objcts in Application object? Sep 18 23:26:44 The thing is that I'm trying to implement my first MVP app and I have this LoginIteractor class where I need to inject base application Context object and for that i need to get AppComponent instance but I cant call getApplicationContext() from my LoginInteractor because it's just a simple POJO.. Sep 18 23:27:36 So I'm confused how to organize access to Dagger components without making methods returning them static Sep 19 00:07:33 how do I change the default download dir which is /tmp to something else for android-studio , I constantly get errors for no space left on device Sep 19 00:25:36 PetyrBaelish thank you for name highlighting me hours and proving my point by contributing absolutely nothing of value to my problem. Sep 19 00:25:48 *hours ago Sep 19 01:35:26 Hello, I'm looking at the "Expanded single-line item" in https://material.google.com/components/lists-controls.html#lists-controls-types-of-list-controls Sep 19 01:35:34 is there an example anywhere of how to implement that? Sep 19 01:44:26 https://www.cnet.com/news/as-apple-watch-series-2-samsung-gear-s3-debut-android-wear-hopefuls-lg-huawei-motorola-call-timeout/ Sep 19 01:55:13 g00s: do you own smart watch? Sep 19 01:55:39 nope Sep 19 01:56:58 if i filter logcat by package name will it only show messages from my app including 3rd party libraries? what about if i grep by PID? not got a app to test it with ;( Sep 19 02:06:06 http://www.recode.net/2016/9/16/12933780/average-app-downloads-per-month-comscore Sep 19 02:29:09 "Communication error with Jack server (52). Try 'jack-diagnose'" I have a ~/.jack-settings but I don't have a ~/.jack-server. If I try to kill the jack server it tells me it isn't running. If I try to run the jack server it tells me it isn't installed. Does anyone know what I should do? Sep 19 02:36:05 wth is the jack server Sep 19 02:36:12 is this something like rosylyn ? Sep 19 02:36:41 *Roslyn Sep 19 02:36:48 https://youtu.be/PAdCt6qgj9k Sep 19 02:37:19 apparently it's google's new parallel processing build thing Sep 19 02:37:26 g00s: jack, the new compiler for Android, has a server too Sep 19 02:37:45 http://tools.android.com/tech-docs/jackandjill Sep 19 02:39:04 orbyt_: does that airplane use Android? Sep 19 02:43:07 Arancio: No idea Sep 19 02:44:36 BustyLoli-Chan: apparently? Sep 19 02:49:46 # There is insufficient memory for the Java Runtime Environment to continue. OH EFFFF Sep 19 02:51:58 is there https://design.google.com/icons/ equivalent for social sharing icons (i.e. whatsapp, instagram) Sep 19 02:52:13 colored version preferrable Sep 19 02:53:56 something like this https://icons8.com/web-app/category/Social-Networks Sep 19 02:54:12 but a more complete version Sep 19 02:54:50 BustyLoli-Chan that stuff is still beta, yeh sounds like trouble Sep 19 02:55:06 beta really means alpha. stable means beta Sep 19 02:55:20 I'm trying to use it to build android N Sep 19 02:58:24 kuroro: Typicons, font awesome, octicons...theres lots of icons Sep 19 02:58:39 You can use the svgs and color them how you wish **** ENDING LOGGING AT Mon Sep 19 02:59:59 2016