**** BEGIN LOGGING AT Sun Jan 29 03:00:00 2017 Jan 29 03:23:44 capella: do you have a specific domain of expertise beyond Android development? Jan 29 03:24:23 Black belt in Judo Jan 29 03:24:39 heh, not sure what you're asking ;-p Jan 29 03:25:06 I've done an eclectic mix of dev-ing Jan 29 03:26:08 but c and js and asm and Java are most recent Jan 29 03:27:01 finding Java too easy melatonina? 😊 Jan 29 03:28:39 I like fullstack it work, I focus on financial systems project /product implementations when I'm professionally employed Jan 29 03:29:40 Ok, financial field. Cool. Jan 29 03:31:51 til: Hawala Agents Jan 29 03:32:16 Java is just another language for me. And Android just another platform. So they are not intellectually very rewarding, even if they (Android especially) take lots of cognitive room anyway. Jan 29 03:32:18 global payments research I stumbled across Jan 29 03:33:33 Heh, I find Java pretty optimal for an OOP, none of the unnecessary complexity available in c++ for example, with an emphasis on static compiled langs Jan 29 03:34:25 js is so easy but the dynamic /interpretive nature riles me wrong 😈 Jan 29 03:34:53 wrote a crap full though 👍 Jan 29 03:35:38 hands on in free time... personal investment Jan 29 03:40:01 https://www.quora.com/How-does-the-Hawala-system-of-transferring-money-work Jan 29 03:41:07 yah it's weird, they avoid the concept of western debt by making offsetting book entries, but money doesn't actually jump the divide so to speak Jan 29 03:44:09 I'm not sure there is any actual difference between the normal banking system, except that it's undocumented and requires more trust Jan 29 03:45:17 sounds fair Jan 29 04:03:23 http://stackoverflow.com/questions/41913889/retrofit2-file-not-found-error-two-different-methods Jan 29 04:07:42 bubbely: yeah, we know Jan 29 04:07:55 =( Jan 29 04:11:55 bubbely: What are you even asking? Is that question actually related to Retrofit? Jan 29 04:12:31 I only looked quickly (playing chess right now), but you seem to be asking about Uris. And something (which I'm not sure whether you show) causes an exception (whose stack trace is largely omitted). Jan 29 04:12:50 TacticalJoke: I've figured the URI problem out, I needed to use the right FileUtils Jan 29 04:13:28 bubbely: So what is the actual question? Be as specific and concise as you possibly can. Jan 29 04:42:58 "Hotel ransomed by hackers as guests locked in rooms" Jan 29 04:44:42 what kind of charge if any do these people get when/if caught? Jan 29 04:44:59 wrong channel Jan 29 04:46:29 maybe thats what Hotel California is really about ... Jan 29 04:46:45 "check in any time, but you can never leave" ... // solo Jan 29 05:15:25 g00s: haha Jan 29 05:16:13 hey TacticalJoke looks like philosophical hacker dude wrote another blog post Jan 29 05:16:50 'espresso test addiction' Jan 29 05:16:52 Is he good? I don't really pay attention to any Android stuff. :S Jan 29 05:17:48 Ahh, sounds like my kinda article. I love small, focused tests, and am not a huge fan of UI testing. Jan 29 05:18:03 I mean "low-level tests". Jan 29 05:18:17 (I guess a UI test could be "small, focused".) Jan 29 06:06:00 Hello. Does anyone know the point of lines 42 and 44 here are? Why not just compare 'instance' directly? http://i.imgur.com/nUhitBb.png Jan 29 06:06:07 (this is dagger generated code) Jan 29 06:10:11 it's trying to do double checked locking Jan 29 06:10:50 it's a no no on the jvm, never investigated using it on android Jan 29 06:11:06 jmm explicitly breaks under dcl Jan 29 06:23:29 pfn. huh. interesting. just read up on it. Jan 29 06:23:30 thanks Jan 29 06:23:51 but i am still uncertain of the reason of the result variable Jan 29 06:24:00 why not just use instance directly? Jan 29 06:37:32 so I've had this issue with Android Studio for quite some time, where the same project (updated via git) will build and install on my phone from my home pc, but my work pc always fails to install the APK Jan 29 06:38:07 the initial error is "Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]" Jan 29 06:38:52 which Android Studio then prompts can usually be fixed by uninstalling the old version.. but when i tell it to do that (even when its not installed) I get "Unknown failure (Failure - not installed for 0)" Jan 29 06:39:03 because the app is indeed, not installed Jan 29 06:39:15 this only happens on my work PC, and not on my home PC Jan 29 07:04:04 ok, so incase anyone cares.. I resolved the issue by removing all Virtual Devices (Android emulators) that I had configured in Android Studio.. I don't understand how that stops adb/pm being able to install an app on my phone, but it did.. Jan 29 08:27:21 raoul11: mornin Jan 29 08:27:49 ohi u Jan 29 08:28:00 only 10:30 thepoosh, lazy bastard! Jan 29 08:29:05 got into the office at 8:15 Jan 29 08:29:07 asshole Jan 29 08:29:44 the only office that matters is IRC Jan 29 08:29:53 u coming today thepoosh ? Jan 29 08:29:58 yessir Jan 29 08:30:00 you? Jan 29 08:30:05 yessir Jan 29 08:30:14 i iz approved Jan 29 08:52:57 raoul11: what's news? Jan 29 09:02:14 thepoosh just had two burkeasim Jan 29 09:02:17 good ones Jan 29 09:02:27 hate you Jan 29 09:02:51 went over to the kiosk to get me some, but they were 30 minutes away from having hard-boiled eggs for the burekas Jan 29 09:04:10 bastards Jan 29 09:04:19 eat jerusalem bagle instead Jan 29 09:28:34 Error:NDK not configured. Download it with SDK manager.) Jan 29 09:38:28 shynoob: and? Jan 29 09:39:40 so how do I approach my prob Jan 29 09:39:49 what does it mean by NDK Jan 29 09:40:21 nd SDK manager means? Jan 29 09:40:25 Android SDK Jan 29 09:40:59 sorry but I am completetly new nd feel so stuck Jan 29 09:42:39 where did you get this error Jan 29 09:43:28 when I was trying to create a project Jan 29 09:43:34 SDK manager is android developer tool to download components like build-tools, support repository, sdk and etc Jan 29 09:43:47 and then the xml file showed something unexpected so.. Jan 29 09:43:57 NDK is for adding C/C++ to project Jan 29 09:44:06 oh Jan 29 09:44:06 did you check the C++ checkbox when creating the project? Jan 29 09:44:09 did you check add C++ support Jan 29 09:44:10 yah Jan 29 09:44:16 did you mean to? Jan 29 09:44:16 I'll uncheck Jan 29 09:44:20 nope Jan 29 09:44:21 then dont, you probably dont want to :) Jan 29 09:44:49 kek Jan 29 09:45:33 actually i dont see option to download NDK in SDK manager itself o.O Jan 29 09:45:37 yah Jan 29 09:45:57 I think.. it asked me once even before I uncheck it.. Jan 29 09:46:05 tht might not be the case Jan 29 09:46:52 ah well, it is built-in in android studio, phew Jan 29 09:47:02 https://developer.android.com/studio/projects/add-native-code.html#download-ndk Jan 29 09:49:25 and what about this error Jan 29 09:49:27 Error:Failed to resolve: com.android.support.test.espresso:espresso-core:2.0 Jan 29 09:49:27 Install Repository and sync project
Show in Project Structure dialog Jan 29 09:49:38 the start is not motivating lwal Jan 29 09:50:07 is it fresh android studio install Jan 29 09:50:52 Actually .. My installed a linux distro Jan 29 09:50:59 which did evrythng for me Jan 29 09:51:04 and now I hate it Jan 29 09:51:07 why I did tht Jan 29 09:51:08 lwal Jan 29 09:51:13 BBQLinux Jan 29 09:51:43 installed from package manager? not manually? Jan 29 09:52:30 yah Jan 29 09:52:40 It came pre-eqipped Jan 29 09:52:57 equipped ... I had to boot install the OS tht's all Jan 29 09:53:05 apparently not that pre-eqipped Jan 29 09:53:13 and yah the tools after I strted android studio Jan 29 09:53:27 .. it asked me the path .. and the download takes forever Jan 29 09:53:35 and fails at the end,,. Jan 29 09:53:39 multiple times.. Jan 29 09:53:40 anyway, you can remove espresso-core lines from app's build.gradle, sync and see if that helps Jan 29 09:54:31 i use manually downloaded although i could from package manager, but i dont want to Jan 29 09:56:13 what linux OS did you use? Jan 29 09:57:57 arch Jan 29 09:57:58 eh Jan 29 09:58:20 android learninig curve is gettig bigger Jan 29 09:58:28 good. more well paid jobs for me Jan 29 10:08:19 actually its most convenient and easy to learn scheme PL that exists Jan 29 10:09:45 anyways i'm tired of google and not finding what i want is it possible to : Install my WIDGET to home screen instead of reminding user to do that ( not shortcut to the launcher) Jan 29 10:11:31 * mx8manger SHOUTS Jan 29 11:17:42 is there any datepickerdialog for api level 15 and above because the current one will work only for api level 24 Jan 29 11:20:04 sub_zero: you can use the deprecated methods for create DatePickerDialog Jan 29 11:20:47 oh Jan 29 11:21:06 but how long will they work for my app? Jan 29 11:21:26 I think they will always work for older apis Jan 29 11:21:38 but you can user ContextThemeWrapper Jan 29 11:21:47 and add your application theme Jan 29 11:22:47 but i am making my app for newer versions too Jan 29 11:23:21 ContextThemeWrapper conatins datePickerdialog ? Jan 29 11:25:10 no no Jan 29 11:25:28 you can use a different constructor depending on the Build.SDK_INT Jan 29 11:25:58 ok Jan 29 12:09:01 sub_zero, check https://android-arsenal.com/tag/27?sort=created and choose wisely Jan 29 12:12:46 Hey folks, in an actionbar that's having tabs programatically added, on orientation configuration change those tabs are not restored. I was expecting the view hierarchy to be recreated? Jan 29 12:23:04 adq very helpful ty Jan 29 12:23:34 thepoosh thanks to you too Jan 29 12:23:45 sure sure Jan 29 12:24:08 An_a_coda: look at onSavedInstanceState Jan 29 12:24:51 thepoosh: Yes I am aware I can save my instance state, I thought the actionbar would save its own though? Jan 29 12:25:39 nope Jan 29 12:26:14 That's odd, dropdowns seem to persist Jan 29 12:26:51 nopw Jan 29 12:26:55 nope Jan 29 12:42:33 is there a way to run a sync adapter to a specific daytime? e.g. 10 a.m.? Jan 29 12:50:57 adq i have to compare this date and time everytime in my app so will using 3rd party libraries work or it will create problems? Jan 29 12:51:44 no idea, you have to figure it out Jan 29 12:52:16 oh ok Jan 29 13:28:14 gotta luv instantrun and maps fragment Jan 29 13:28:18 instacrash Jan 29 13:29:34 lol Jan 29 13:30:16 Instantrun causes me so many problems I no longer call it "crashing" but "suiciding" Jan 29 13:32:26 not to mention my entire logs is spammed with Suppressed StrictMode policy violation: StrictModeDiskReadViolation Jan 29 13:32:49 which according to the boards, "will be fixed in the next play-services version" Jan 29 13:36:23 instant ruin* Jan 29 13:37:18 :D Jan 29 14:46:17 http://eclipser.xmms2.org/wat.png useful Jan 29 15:00:00 see u der thepoosh Jan 29 15:01:02 Hi guys. What should I pick? Udacity's Android Development course or https://developer.android.com/training/index.html Jan 29 15:02:18 restarting IDEA didn't fix that issue -.- Jan 29 15:02:21 what the hell did I break Jan 29 15:03:25 Zharf: what happened? Jan 29 15:03:41 image above Jan 29 15:04:25 omg what fond do you use? it's ugly Jan 29 15:04:56 I don't even know? it's fine for me :p Jan 29 15:05:17 Source Code Pro apparently Jan 29 15:05:55 Hey anyone knows about a recent change in Spinner size with a recent SDK update? For some reason my spinners are all tiny now (with almost no margin) Jan 29 15:43:07 Ok i found out something about my spinner problem - it seems that Honor/Huawei changed some default height value in its 7.0 rom (?android:attr/dropdownListPreferredItemHeight) to a different value. Is there a way i can ensure that my app uses the intended value by the Android developers? Jan 29 15:43:28 Hardcoding it seems to be a bad solution (however it works) Jan 29 15:43:49 use your own value... Jan 29 15:43:55 and bash manufacturers Jan 29 15:43:57 Is there maybe some "backup" of the original Android theme i can access? Jan 29 15:44:01 no Jan 29 15:45:31 althoough Jan 29 15:46:09 you can just use ?attr/drpdownListPreferredItemHeight, probably Jan 29 15:46:18 if you're using appcompat-v7 stuff Jan 29 15:46:57 but I'm not 100% sure if it falls back to ?android:attr depending on api level Jan 29 15:48:03 yea i use appcompat, will try Jan 29 15:49:32 Hello I have a problem with Firebase and Google Play Services Jan 29 15:49:46 Method 'void android.support.v4.content.ContextCompat.()' is inaccessible to class 'com.google.firebase.iid.zzg' Jan 29 15:50:51 any ideas? I've checked the dependencies but not figured out how to upgrade firebase (the dependency is com.google.gms:google-services:3.0.0) Jan 29 15:51:44 pastbin your dependencies? Jan 29 15:51:59 http://stackoverflow.com/questions/40218025/gcm-unregister-causing-the-application-to-crash has a similar problem Jan 29 15:52:41 http://stackoverflow.com/questions/41220274/problems-using-newest-version-of-firebase/41220953 has the same problem Jan 29 15:53:31 thank you Jan 29 16:35:16 short question: is it pissible to extract the GCM keys form ifttt app and use it in my own app? ... so I could replace it with my app ? Jan 29 16:37:23 is there a way to run a sync adapter to a specific daytime? e.g. 10 a.m.? Jan 29 16:38:13 c727, do you think google's engineeres are 5th graders ?:P Jan 29 16:38:48 hehe, was just an stupid idea ^^ Jan 29 17:02:17 c727, the main problem there is that the keys are bound to signing keys as well Jan 29 17:07:32 Ah OK. I read that Sender_ID for GCM is stored in the app so I thought to extract it and use it somehow... Jan 29 17:11:15 Hi guys. Is The Big Nerd Ranch Guide (2nd Edition) too old to read now? Jan 29 17:12:03 it depends Jan 29 17:12:32 on? Jan 29 17:13:00 on what you plan to extract from it Jan 29 17:13:12 a book is never too old to read anyway Jan 29 17:13:42 ok, do you have any recommended in-depth android development guides? Jan 29 17:18:07 http://simonvt.net/2014/04/17/asynctask-is-bad-and-you-should-feel-bad/ Jan 29 17:20:49 spica, d.android.com is a good start, you can check codepath site too Jan 29 17:21:02 i don't have recommandation because i started android dev in the early days Jan 29 17:21:21 also i don't think a book is very useful except for distraction, because the platform is still evolving too fast Jan 29 17:21:27 key point: "What happens if the AsyncTask finishes between onDestroy of on Activity and onCreate of the next?"... Jan 29 17:21:37 it's not like a java or C book which will be valid in 10 years and was valid 10 years ago Jan 29 17:23:53 well, I'll try reading it. If it gets nasty I'll just stop reading Jan 29 17:23:54 ty Jan 29 17:35:48 what can be used to make non-graphic calculations on a graphic chip? Jan 29 17:49:38 Thoughts on these layouts for my applications main feed? http://imgur.com/a/cX6tK Jan 29 17:49:58 The last screenshot is the current layout (regular LinearLayoutManager) Jan 29 17:50:26 However I am thinking of switching to a GridLayoutManager. Jan 29 17:50:59 Note, I am aware the twitter items look strange on the first couple screenshots, just ignore. Jan 29 18:04:53 The last images contains the whole device. I'm afraid on that scale the text could be too small but we can't judge it on the top images Jan 29 18:05:10 If the text and the images aren't small, it's cool Jan 29 18:05:18 orbyt_: ^ Jan 29 18:06:12 Melatonina The last image is just a framed screenshot Jan 29 18:06:35 Looks like about 10dp. Should be fine Jan 29 18:06:38 What im interested in knowing is if others prefer the grid or linear layouts Jan 29 18:07:14 The third image lacks anything indicating relationships (or the lack thereof) between it's elements Jan 29 18:07:49 The top half is just a picture of space with no text, and nothing indicating it might not be related to the other images, or if it's apropos of anything at all Jan 29 18:09:34 Dagmar That was an exact concern of mine as well. That third image is using a GridLayoutManager but is more of a "tile" layout with no margins between elements. The large image is a banner viewtype (appears as the first item in the list as well as occasionally throughout) Jan 29 18:10:07 You could probably run with that and maximize the emphasis of the images if you put the text _over_ the images with say, a 50% grey shadowbox under them Jan 29 18:10:36 ...but you'd still want a least a bit of separation between the various items, even if it's just a 1px space Jan 29 18:10:40 er 1dp Jan 29 18:11:10 In the tile example, the items with text are not related at all to adjacent items. They are twitter items that dont contain images. Jan 29 18:11:27 Or were you talking about something else Jan 29 18:11:52 That's the third one? Okay, it's a syntactic mess then Jan 29 18:12:05 The text looks like it's actually captions Jan 29 18:12:35 Yea, I suppose a tile layout does not work well unless every item is an image Jan 29 18:12:58 I would like a tiny margin in a tile anyway Jan 29 18:13:02 Well, it's more like there's no way to determine what a tile is Jan 29 18:13:15 Melatonina Well then it wouldnt be a tile layout, it would be more like the layouts in the other images Jan 29 18:13:19 You never know what images end up being side by side Jan 29 18:13:59 In the first and second shots, one can easily determine which bits of information (pictures, text) compose a single "tile" Jan 29 18:15:07 Dagmar Do you prefer the layout of the first and second images over the current (last image/Linear RecyclerView) layout? Jan 29 18:17:25 Sincerely I think I would prefer the linear layout on a smartphone Jan 29 18:18:23 it's less cool (the grid layout suggests that lots of content is available) but more readable Jan 29 18:19:05 then you could provide both and a toggle option in the menu and collect analytics from your users. It would be interesting Jan 29 18:19:45 Someone posted a like to a book about UX/UI analytics few days ago. Jan 29 18:20:35 I posted another image of the current linear recyclerview in the same album Jan 29 18:20:43 this one is not framed and contains some twitter items Jan 29 18:21:10 Melatonina Yes, I was thinking about doing some A/B testing on it, but wanted to get some initial feedback first Jan 29 18:45:58 last hours of parse.com Jan 29 18:48:23 firebase is great Jan 29 18:59:06 Retrofit2.. java.io.EOFException: End of input at line 1 column 1 path $ - help Jan 29 18:59:17 i think it's got something to do wti hthe json response Jan 29 18:59:27 but i can't figure out how to just output the json response to console to look at it Jan 29 19:00:20 bubbely: paste the json Jan 29 19:00:29 gdrc: like i said i don't know how to find it =/ Jan 29 19:00:44 you can set the verbose on retrofit Jan 29 19:00:48 or you use a http proxy Jan 29 19:01:07 i figured it'd b public void onResponse(Call call, Response response) { but public void onFailure(Call call, Throwable t) { gets called Jan 29 19:01:14 gdrc: how do i set a verbose Jan 29 19:02:02 retrofir 2? Jan 29 19:02:07 retrofit Jan 29 19:02:48 .setLogLevel(RestAdapter.LogLevel.FULL) Jan 29 19:02:53 on RestAdapter.Builder Jan 29 19:04:25 i only have a Retrofit.Builder ... no restadapter.builder Jan 29 19:05:34 one moment Jan 29 19:05:36 Add a HttpLogginInterceptor to OkHttpClient Jan 29 19:05:45 It's a separate artifact Jan 29 19:06:03 yeah Jan 29 19:06:04 i just did Jan 29 19:06:05 checkingl og Jan 29 19:07:34 https://hastebin.com/ozeyawinaj.pas Jan 29 19:07:39 that means an empty response right? Jan 29 19:07:57 Looks like it, yeah Jan 29 19:08:37 no json dude Jan 29 19:08:44 https://hastebin.com/exeziregex.xml Jan 29 19:08:46 how does that look Jan 29 19:09:11 Looks like php Jan 29 19:09:19 i figured that's the root of my error Jan 29 19:09:19 it is php Jan 29 19:09:53 this is beyond #android-dev Jan 29 19:10:49 oh. ok. Jan 29 20:03:57 hi Jan 29 20:12:25 https://hastebin.com/udatinozit.go anyone deal with this before ? Jan 29 20:14:49 hello Jan 29 20:15:25 Hello again :) Jan 29 20:17:08 hi Jan 29 20:17:39 hi Jan 29 20:18:39 bubbely: deal with what? Jan 29 20:19:42 Melatonina: retrofit2 and php Jan 29 20:19:47 Hopefully someone can help me a bit. I have made basic google map activity then created landscape layout. Now I moved google map to \layout-land\activity_main.xml and now my app crash every time I try to run it. My guess is that it is because map fragment is in landscape mode that is not initiated as first. So how do I change portrait layout to landscape layout in this code? http://pastebin.com/iS0BAg3N Jan 29 20:19:52 Melatonina: im trying to find how to exactly output the request sent to retrofit2 Jan 29 20:20:05 bubbely: can't you even express you problem? Jan 29 20:20:15 bubbely: what is your problem? Jan 29 20:20:20 1 sentence Jan 29 20:20:21 go Jan 29 20:20:32 Melatonina: How do I output the request I make from retrofit2 in console to look at it ? Jan 29 20:20:49 Melatonina: i want to see if i made an error in my request, or in my php response Jan 29 20:21:10 log the request in php, ask how on a php channel Jan 29 20:21:16 thanks Jan 29 20:21:30 you already have logged the response Jan 29 20:21:59 one thing that is strange in that response is that "Content-Type: text/html" should be "Content-Type: text/json" or something like that Jan 29 20:22:16 bubbely: learn how to express yourself Jan 29 20:22:25 Melatonina: ok Jan 29 20:33:40 so anyone can help me and tell how to change this setContentView(R.layout.activity_main); to landscape playout? Jan 29 20:36:35 Guest32591: it's automatic. Jan 29 20:36:50 Guest32591: look at the stack trace for the cause of your crash Jan 29 20:36:55 Well then either I did something wrong or it is not Jan 29 20:37:55 Aight fellas. Does RKUIManager ring a bell to anyone? Jan 29 20:38:24 Melatonina: ok one moment Jan 29 20:38:25 Guest32591: Well, either you did something wrong or you did it. And LATFST Jan 29 20:38:45 melatonina, WSJ: "An October survey of bank executives by the law firm Manatt, Phelps & Phillips, LLP found that 88% believed that partnerships with fintech firms will define their industry over the next decade." Jan 29 20:40:43 capella: you chose a good field then! Jan 29 20:41:45 pure fintech in the above sense would be closer to pure functional perhaps, but if tech is involved I'm in 👍 Jan 29 20:41:46 Melatonina: so I have this http://pastebin.com/xQFVXyPr. Just to make thing cleare this is google map activity from creating new project I just moved fragment that is used to show map in layout from default horizontal layout to landscape layout also I did add correct api key go google maps Jan 29 20:42:40 it's just a NPE Jan 29 20:43:16 no idea what NPE means :) Jan 29 20:44:12 null pointer exception Jan 29 20:44:29 most common mistake possible Jan 29 20:45:34 I am begginer android developer so any tip what I did wrong would be nice Jan 29 20:45:41 Guest32591: you probably don't understand the lifecycle of the Android components that you are using Jan 29 20:45:55 Guest32591: and are using some reference before it's initialized Jan 29 20:46:25 ok question then Jan 29 20:49:25 I have 2 layout files 1 portrait 1 landscape and I have mentioned fragment code that displays google map. Why do I not get any errors if this code is in portrait layout xml and why do I get this error if this code is in landscape layout xml? Is it becuse when application launches then first it is in portrait orientation? if yes how do I change the code so it will work when I rotate phone to horizontal position but will not ma Jan 29 20:50:58 Make sure it has the same id in both layouts Jan 29 20:55:16 SimonVT: but it is only in one layout Jan 29 20:55:21 I want it only in one Jan 29 20:55:46 If it's not in the landscape layout, then don't try to use it when in landscape Jan 29 20:56:05 then look up for it and check if it's null -> it's not present -> you're in landscape Jan 29 20:59:02 SimonVT: that is the point I want it only in landscape layout and only when you turn the phone to landscape Jan 29 20:59:50 Melatonina: how to look it up because I do not understand Jan 29 21:00:52 Also I've made video to show what I mean https://youtu.be/rjAN7BFUE6I Jan 29 21:00:58 Add the fragment to the layouts where you want it, null check before you call methods on it Jan 29 21:59:54 I've successfully upload a file with retrofit2 =) Jan 29 21:59:58 uploaded* Jan 29 22:02:36 good, bubbely Jan 29 22:03:07 bubbely: Cool!!!! Jan 29 22:04:24 gdrc: Can you show me how to add an additional item to post in this request, https://hastebin.com/asumahufus.pl , i want to be able to post a JSON structure alongside uploading my file Jan 29 22:05:27 actually, instead of a json structure, just a few POST paramaters Jan 29 22:05:36 variables* Jan 29 22:06:32 nm figured it out Jan 29 22:27:55 gradle 3.4-rc-1 is out Jan 29 22:28:14 yay! Jan 29 22:28:33 according to their own chart: https://cloud.githubusercontent.com/assets/51534/22308971/7a6da79e-e306-11e6-94a2-555ce9c14920.png Jan 29 22:28:53 that's a gigantic order of magnitude, if true Jan 29 22:35:40 150 sec to 5? Jan 29 22:36:07 "like buttuh" ;) Jan 29 22:50:58 Hello, I'm using this library: https://github.com/davemorrissey/subsampling-scale-image-view , works well, but have an issue, when panning it call onFling methods and image moves as expected, but the fling event go to the parent too (an AdapterViewFlipper) and makes change the image to the next/previous, how to avoid it ? Jan 29 23:36:58 seems when doing little changes in code there is no such changes when redebugging app, have to uninstall, reinstall and rerun to recreate conditions :-/ Jan 29 23:37:40 in debug panel say: "Hot swapped changes, activity restarted", but seems no changes anyway Jan 29 23:38:47 hrm @ POP_BACK_STACK_INCLUSIVE Jan 29 23:50:22 pmercado What changes? As the message states its restarting your activity on changes. Jan 29 23:50:53 yes but sometimes won't change in emulator Jan 30 00:22:49 i spent part of this sunday playing with some gradle tasks, i feel very dirty now Jan 30 00:23:59 nothing will wash that off, sorry Jan 30 00:25:38 i was inspired by https://github.com/cvb941/RGB-Gradle-builds-notifications and did something similar but for apex M800 keyboard Jan 30 00:25:46 which uses a totally different api/sdk Jan 30 00:26:19 basically required sending some crafted json via POST groovy httpbuilder Jan 30 01:21:05 dragorn :O https://arstechnica.com/information-technology/2017/01/silent-circle-bricks-grey-market-blackphones-with-os-update/ Jan 30 01:21:10 yep Jan 30 01:21:23 saw that Jan 30 01:21:36 pretty funny that they had trouble w/ ODM cloning or whatever Jan 30 01:36:57 luls Jan 30 01:37:17 A shame people don't seem to realize it's useless to purchase a "secure" phone from an insecure channel Jan 30 01:45:59 if they want secure they shouldnt have a broadcast radio in the first place. Jan 30 01:49:57 wyrdtrtle: "broadcast radio"? Jan 30 01:50:55 every cell phone is a radio, anything sent over the air can and usually is intercepted Jan 30 01:51:12 That's where the magic of strong crypto comes in Jan 30 01:51:56 At least it's not like it was in the 90's where any asshole with an old TV could pick up cell phone calls Jan 30 01:52:04 well that helps of course, but given enough time and computing power they will break it eventually Jan 30 01:52:20 wyrdtrtle: What specifically are you talking about? IMSI, SMS, calls? etc? Jan 30 01:52:50 Another reason strong crypto FTW. "Eventually" doesn't matter when it's actually "after everyone who cares is dead" Jan 30 01:54:06 any and all of it, but all i was getting at is that anyone that uses a cellphone to send data that must remain secure doesnt understand what secure means. Jan 30 01:54:22 That's not true Jan 30 01:55:56 would you send top secret data via cellphone? Jan 30 01:56:07 Sure. Jan 30 01:56:19 They have hardware approval programs specifically to facilitate that Jan 30 01:56:56 You probably shouldn't get your infosec learnings from CSI:Cyber Jan 30 01:57:32 funny, but my info is 30 yrs out of date so.... Jan 30 01:57:46 In the 90's it would be insane Jan 30 01:57:54 What we use now doesn't even remotely resemble that Jan 30 01:57:55 "Additionally, the following Java 8 language APIs are also available:" - where it says Streams etc are supported, that's API 24 and higher only, right? Jan 30 01:58:08 Someone keeps telling me it's supported on 23 and lower, but that doesn't make sense Jan 30 01:58:21 I know lambdas are, but new API classes shouldn't be Jan 30 01:59:06 80s actually, cellphones were for the very very wealthy, and far from secure by todays definition Jan 30 02:02:44 No, 90's. Jan 30 02:02:56 I'm quite certain of when I was still using a simple scanner to pick up cell traffic Jan 30 02:03:03 ...and an old portable TV. Jan 30 02:03:58 no, i meant my info was from the 80s, when i was in the usaf Jan 30 02:04:13 Ah Jan 30 02:05:06 btw, wtf is csi:cyber? another spinoff i assume? Jan 30 02:05:30 Yes and it's godawful Jan 30 02:05:57 lost interest in that show when nypd blue boy got a sequel Jan 30 02:07:08 is it possible to specify a 'common' selinux context that lets probably every process in the system to read it? if so, what would that be for common Android version? Jan 30 02:08:02 wyrdtrtle: I think your definition of secure is a little strange. Signal is used for secure calls/text, and android specifically is used in quite a few businesses and federal agencies. Jan 30 02:10:16 I'm just been looping in circles avoiding vold to mount my sdcard, everything I want is simply to mount the sdcard with enough permissions for all processes (or main processes) can read/write/execute, I *dont care about the security concerns* Jan 30 02:10:37 not strange, so much as old. but if something must remain totally secure you usually dont send it Jan 30 02:11:21 at least, not by way of interceptable airwaves Jan 30 02:15:42 https://drive.google.com/file/d/0B-syQ35Jx2zUUXh1dk81ZHE4aUk/view when a build failed miserably, xmas Jan 30 02:15:47 https://drive.google.com/file/d/0B-syQ35Jx2zUMXl5SFFiWHhXcGs/view when a build succeeded, all green Jan 30 02:15:54 the hardest part was... gradle lol Jan 30 02:16:24 i will improve it with gradient and other effect another day i think (lot of options, it's simple at the moment and punish me well enough if it fails) Jan 30 02:17:18 That's actually kinda neat Jan 30 02:17:44 if gradle was not such a pain, could make a loading bar on F* keys and stuff too Jan 30 02:17:53 but it builds in 4 seconds max anyway ;) Jan 30 02:19:53 Me4502: Java 8 streams require API 24: https://developer.android.com/reference/java/util/stream/package-summary.html Jan 30 02:20:02 Yeah, thought so Jan 30 02:20:08 No idea why they keep telling me otherwise :P Jan 30 02:20:09 thanks Jan 30 02:21:08 There are backports available which could be used on 23 and below, but I've never tried them. Jan 30 02:21:18 And of course they're unofficial. Jan 30 02:21:31 Yeah, I don't need them that badly - thanks Jan 30 02:21:54 I wish android wasn't so fragmented in versions though :P Jan 30 02:23:43 It's annoying. Our best to defence, where applicable, is to raise `minSdkVersion` as high as possible. Jan 30 02:23:46 -to Jan 30 02:23:59 API19 or GTFO Jan 30 02:24:10 All hail the minSdk bot Jan 30 02:24:12 I'm on API 21 due to the PDF Rendering APIs being added then Jan 30 02:24:28 21 here too. Jan 30 02:27:49 I'd _almost_ go for that but the stuff I'm coding is for use with other apps that support as far back as 19 so I'm stuck Jan 30 02:29:18 If 90% of the install base was on Nougat I'd use API 24, but right now it makes sense to use as far back as possible Jan 30 02:29:57 A shame people don't seem to realize it's useless to purchase a "secure" phone from an insecure channel << yes and no Jan 30 02:30:11 and it's not always about having ultimate security, just raising sufficiently the height of the wall(s) Jan 30 02:30:30 also, no one will use any electronic devices with this kind of reasoning, which is problematic lol Jan 30 02:30:55 At least getting them from the vendor directly reduces the number of parties that could potentially tamper with the device Jan 30 02:30:59 but yeah, android is not the best platform/OS for that, though lot of progress has been made Jan 30 02:31:14 (i'm not going to talk about the hardware tho) Jan 30 02:32:01 For example, would anyone even humor the idea of using one bought from an eBay vendor that ships from the DPRK? Jan 30 02:32:21 why not if it's not for any sensible usage at all :) Jan 30 02:32:44 heheh Jan 30 02:32:46 problem is ppl are not aware of what is sensitive data or not, including their own personal life Jan 30 02:32:59 which they are giving daily for free lol Jan 30 02:33:27 I like to think most of the Blackphone purchasers are a bit above the level of fanboy Jan 30 02:33:43 no idea tbh Jan 30 02:34:03 i see a lot obvious fanboyism on apple iphone and android devices for sure Jan 30 02:34:35 it's like ppl are choosing a camp and decided their camp is better than the other :') Jan 30 02:35:13 when in fact Android is the best all-around no doubt about it Jan 30 02:35:24 I suspect in at least one of those cases it's a matter of trying to frantically justify purchasing a phone that keeps up with the standards of two years ago at the cost of next year Jan 30 02:36:02 Dagmar: are you talking about the new Pixel phones? Jan 30 02:36:12 No, iPhones Jan 30 02:36:33 They keep touting these great features that became common on Android two years previous and pretending they're new Jan 30 02:36:56 They never hestitate to charge flagship prices tho Jan 30 02:37:06 because they do it better Jan 30 02:37:20 and the screen is frameless Jan 30 02:37:38 A gimmick is still a gimmick Jan 30 02:37:56 The Gaalxy Edge phones are pretty, but that curved edge isn't exactly catching on for a reason Jan 30 02:38:15 what is the reason? Jan 30 02:39:44 Their utility is very edge-case Jan 30 02:40:05 ah, I saw it now Jan 30 02:40:23 that's not like the iphone frameless screen Jan 30 02:40:46 No it's not, but it's an example of a feature of dubious utility Jan 30 02:41:38 if you just woke up and look at your phone without raising your head from the pillow... it could be useful Jan 30 02:41:57 the iphone consumer base doesn't care about anything. Hell, even if mac does something terrible and literally every mac user hates the decision, users will just take it as part of the communal experience and affectionately hate it together. Jan 30 02:42:14 I dunno about you but i ain't reading s**t that's only 3/8 inch tall on my nightstand first thing in the morning Jan 30 02:42:42 :D Jan 30 02:42:44 I do good to read the display of the phone in large print until I've gotten some caffiene in me Jan 30 02:43:15 Also, the phone goes face down anyway Jan 30 02:43:18 I don't even have a nightstand Jan 30 02:43:23 _The cat_ has learned how to turn off the alarm. Jan 30 02:44:23 After being taught to play with the Friskies app on my tablet, it only took her a few mornings to make the connection between the flashing icon on the phone and making the annoying beeping stop Jan 30 02:44:34 _Very_ not good. Jan 30 02:46:12 I didn't know the Friskies application Jan 30 02:46:37 Does Siri work with cats too? Jan 30 02:46:56 They should make it work. Jan 30 02:47:20 Cat owners would buy iphones Jan 30 02:48:14 It's just an app that makes fish and stuff fly around the screen so the animal can swat at them Jan 30 02:48:27 The gf thought it would be cute for the kitty to play with. Jan 30 02:48:39 A week later I'm not waking up for the alarm on my phone anymore. Jan 30 02:48:54 what about the nails on the screen? Jan 30 02:49:15 Three days go by and I wake up before the alarm and just lay there wondering... alarm goes off, kitty gets up, walks over, paws at the screen until it stops, and then goes back to sleep Jan 30 02:49:29 Cat claws are no match for gorilla glass Jan 30 02:49:35 lol Jan 30 02:49:54 wyrdtrtle: I can laugh about it _now_ but at the time I was horrified Jan 30 02:50:18 lol, understandable Jan 30 02:50:49 well, they open the doors. A door knob is more complex to use than a button on a touch screen Jan 30 02:52:05 in my case it's not an issue for 2 reasons, no cats inside, and no matter what time i arrive it is always exactly the same time the boss does. Jan 30 02:52:36 Is yours as much of an asshole as mine is? Jan 30 02:53:01 yes he is Jan 30 02:53:11 pre-smartphone cats: https://www.youtube.com/watch?v=JYFIV5NV7m4 **** ENDING LOGGING AT Mon Jan 30 03:00:01 2017