**** BEGIN LOGGING AT Fri Dec 30 03:00:01 2016 Dec 30 03:24:29 g00s, I tried Oculus Rift yesterday Dec 30 03:26:50 what did you do with it? Dec 30 03:27:21 The dreamdeck demo has one demo where you're on top of a building looking over a ledge...the demo guy said some people quit using it after that one Dec 30 03:27:37 I tried the Medium app which lets you sculpt object...it was pretty cool Dec 30 03:28:05 The Vive really blew me away...I don't know if I was more blown away because it was better or because it was so new Dec 30 03:29:01 VR is definitely here...over the years I have seen things that I knew would be big soon...a personal computer in the late 1970s...a modem in the early 1980s...this is one of those things for sure Dec 30 03:29:23 In a few years Xbox and Playstation etc. will be nothing and everyone will play VR games Dec 30 03:30:15 Nah that's never going to happen Dec 30 03:30:32 VR is good but will remain a niche, especially for games Dec 30 03:31:04 No way...why play a FPS when you can actually be in the game playing? Dec 30 03:31:20 Because it's not the compelling from a gameplay standpoint Dec 30 03:31:24 that* compelling Dec 30 03:33:34 what does "compelling from a gameplay standpoint" mean? Dec 30 03:33:59 I mean it's like the Internet in 1989 and the Internet now Dec 30 03:34:26 Means that the controls are awkward, the FOV usually reduced to something very tiny and that there are exactly zero games on the Vive or Oculus that go beyond the "cool gimmick" stage Dec 30 03:35:56 I doubt the first generation devices will go mass market as well Dec 30 03:36:01 well, maybe it's not happening next year Dec 30 03:36:39 I don't think Ologn meant that Dec 30 03:36:47 But they contain the seeds of everything needed - portability, a price close enough to affordable, as well as the most important thing - immersion and presence Dec 30 03:36:49 I don't think it's happening at all, even in five years from now once the hardware requirements have gone down. VR is simply not practical for a large majority of games Dec 30 03:37:12 Yes, but games will change Dec 30 03:37:18 I've ported dozens of games to Android Dec 30 03:37:35 A game like Angry Birds is ideal for a smartphone Dec 30 03:37:46 A game like Breakout is awful on a smartphone Dec 30 03:38:15 A change in form factor always changes the art Dec 30 03:39:02 I don't even port games that need a lot of keyboard use to Android Dec 30 03:39:17 But if it's mostly mouse point and click, it can work Dec 30 03:39:51 there are 2 books i was looking at Dec 30 03:40:12 i think you will like, one sec ... Dec 30 03:40:56 Insofar as awkward controls, the Atari 2600 joystick was awkward, but Atari sold a lot of 2600s... Dec 30 03:40:57 these are AR though Dec 30 03:41:08 http://www.informit.com/store/practical-augmented-reality-a-guide-to-the-technologies-9780134094342 Dec 30 03:41:14 http://www.informit.com/store/augmented-reality-principles-and-practice-9780133153224 Dec 30 03:41:22 pretty dense, lots of research related material Dec 30 03:41:58 yeah i think ar/vr has legs too. its only going to get better Dec 30 03:42:22 VR has a lot of legs, just not as much in gaming as a lot of people expect Dec 30 03:43:00 dunno if its chicken / egg, there are economics problems with doing VR games now (not enough people have the devices) Dec 30 03:43:33 that why, you can't really make money unless oculus or somebody contracts it out to you / exclusive deal Dec 30 03:43:36 One thing is so many of the big gaming names have gone to work for Oculus - John Carmack, Michael Abrash Dec 30 03:43:59 ... and that's about it. Oculus has had bad PR over bad PR these past two years. Dec 30 03:44:41 whtoo bad they were acquired by Fb Dec 30 03:44:52 i don't trust anything Fb does or anything zuckerberg touches Dec 30 03:44:59 I'm interested in Pixel's capabilities and Daydream and such...I might go to a local demo for that soon Dec 30 03:48:17 a friend was working on VR to minimize pain for patients after surgery, i guess immersed in a calm soothing outdoor world Dec 30 03:48:44 that was a govt research grant i think Dec 30 03:51:09 CedricBeust_: I've been saying it since the beginning. Military? Yep. Medical? For sure. Gaming? Ha ha, no. Dec 30 03:51:29 Lvl4Sword: Exactly. Dec 30 03:51:40 :-) Dec 30 03:52:09 When Multiplayer comes to these it will be so much better than Xbox/Playstation Dec 30 03:52:44 People were playing on crummy text MUDs 20 years ago just because it was more exciting with other people playing Dec 30 03:53:07 VR will amplify that way more than a Playstation/Xbox could Dec 30 03:53:32 I don't disagree that the current 1st generation devices are deficient in some ways Dec 30 03:54:12 zork rules! Dec 30 03:54:27 I agree with Ologn Dec 30 03:54:36 for what it counts Dec 30 03:56:20 i remember a while back, the argument that violent games made people behave worse. but i think that didn't quite pan out, or was discredited. i think those studies will have to be redone with VR - the medium might have quite more impact Dec 30 04:08:06 well, somebody else will do all that. Not me, unfortunately Dec 30 04:11:45 hi i am making an login page in that i have created a checkbox to show and hide password, i am using setInputType(0) when checkbox is clicked , but this is not working at all,so which method to use to show and hide the password Dec 30 04:12:38 XXxx: I guess it's "...in which I created..." Dec 30 04:13:09 its what? Dec 30 04:13:59 https://www.codeproject.com/Tips/518641/Show-hide-password-in-a-edit-text-view-password-ty Dec 30 04:14:56 I should create a service Dec 30 04:15:51 "Let's have a chat while I *really* google that for you" 2€ per 5 minutes session Dec 30 04:17:11 finger up Dec 30 04:17:14 but thanks Dec 30 04:17:49 fingers up are not allowed in this channel Dec 30 04:17:55 this is setTransformationmethod Dec 30 04:18:00 i know about it Dec 30 04:18:10 but i am trying setInputType Dec 30 04:18:19 it will not work? Dec 30 04:18:34 XXxx: is that a question? Dec 30 04:19:10 ¯\_(ツ)_/¯ Dec 30 04:20:05 I'm not incline to answer to people that show the finger to me Dec 30 04:20:45 I'm busy trying to create a landing page for my service Dec 30 04:20:47 BUT COME ON YOU'RE SUPPOSE TO HELP ME. I CAME HERE FOR HELP AND YOU ARE MY PERSONAL SUPPORT!1!ONE!!1ONE!1!1! Dec 30 04:20:53 * Lvl4Sword sighs Dec 30 04:21:12 They were rather rude, for no reason really. Dec 30 04:21:30 Little self-entitled shits like that aren't fun. :-( Dec 30 04:27:51 Melatonina What service? Dec 30 04:28:25 orbyt_: "Let's have a chat while I *really* google that for you" 2€ per 5 minutes session Dec 30 04:29:31 I will disrupt the lmgtfy market Dec 30 04:29:50 with humanity and kindness Dec 30 04:30:04 "Facebook Buys Data From Third-Party Brokers To Fill In User Profiles" man this keeps getting creepier and creepier Dec 30 04:31:11 if there were strong legal regulations i would be more likely to voluntarily give goog / fb data ... but its the wild west, no wonder people don't trust them Dec 30 04:34:08 You had a chance to provide your data voluntarily when FB asked you to fill your profile with a kind message. Now it's too late. Dec 30 04:44:49 Is there a better application for taking general notes you all use? Dec 30 04:45:15 I use Trello not only as a kanban board but even for just note taking, and it seems kind of weird for the latter Dec 30 04:45:38 but again its nice to have everything together Dec 30 04:50:40 I just use pencil and paper :( sorry Dec 30 04:57:09 orbyt_: if you use it for project management, I guess it's ok to use it to takes notes too. But I don't like typing on portable devices unless there is payoff. So my personal notes will stay on paper Dec 30 05:24:04 orbyt_ thinking about writing a new one? the space is crowded Dec 30 05:24:50 on my mac i use Quiver Dec 30 05:25:02 I think I have far to many concurrent projects to take on another. Dec 30 05:40:23 Hello, I've been dragged into an app that has about 100,000 lines of code... Several activities startActivityForResult() with different request codes but in the called activity there is no way to determine which request code was passed. Dec 30 05:40:45 * regan hates 2017 already Dec 30 05:44:48 there should be no need to know the request code in the called activity Dec 30 05:45:18 if you want to parametrize the behavior of the called activity, pass some argument with the intent Dec 30 05:45:20 There is a boat load of activities that call this one and I just need to put in logging Dec 30 05:45:42 the request code is used to distinguish results Dec 30 05:45:50 yes,I know Dec 30 05:46:01 as I said, pass some argument with the intent Dec 30 05:46:49 regan i haven't used it, maybe this would help https://github.com/JakeWharton/hugo Dec 30 05:46:55 Then I have to mess with about a dozen classes I didn't write, hopefully not introducing crashes Dec 30 05:47:12 man, 100,000 loc for an android app O.o Dec 30 05:47:18 thanks g00s, I will take look Dec 30 05:47:48 Its a fscking big corporate app with hundreds of thousands of users. Dec 30 05:47:57 is it a java shim bolted on to some legacy c++ code base ? Dec 30 05:48:13 I bet it's just badly written Dec 30 05:48:39 its fscking atrociously written Dec 30 05:49:09 a cast of dozens who have worked on the code base Dec 30 05:49:47 then just introduce some more s**t of your own and move on to the next project Dec 30 05:50:08 I've been at it 2 days and can't wait to leave Dec 30 06:05:54 g00s Quiver looks interesting Dec 30 06:06:10 One of my projects is a desktop application for programmers as well. Dec 30 06:06:25 Perhaps a note taking feature is in order Dec 30 06:51:09 is it possible to refresh a facebook auth token synchronously? I'm trying to implement an okhttp interceptor to reauth when necessary Dec 30 08:38:46 is there any particular reason android supports vorbis oggs, but doesn't support opus oggs, but does support opus matroska? Dec 30 09:45:55 would storing a hashmap parsed as a string to sharedpref be a better approach than reading/writing to another file? Dec 30 09:55:05 Both approaches are just writing to a file Dec 30 09:56:17 sharedpref read/write would be more optimized approach no? Dec 30 09:56:52 No Dec 30 09:56:58 It's still just writing to a file Dec 30 09:57:49 usually io ops are advised to be done from within a thread? Dec 30 09:58:12 Well yeah, don't do your io on the main thread Dec 30 09:58:28 That goes for both Dec 30 09:59:10 interesting Dec 30 09:59:22 coz i usually do my sharedpref calls from main Dec 30 09:59:45 what other approaches would you say are appropriate of transferring a hashmap between activities? Dec 30 10:00:00 other than bundling of course Dec 30 10:00:05 Calling commit does io on main thread, apply doesn't Dec 30 10:00:41 the hashmap could get huge at some point, since its basically a mapped db Dec 30 10:00:47 You can use SharedPreferences on the main thread, as long as actual io doesn't happen there Dec 30 10:00:59 Same with whatever solution you would come up with that writes to some other file Dec 30 10:00:59 i only ever do .apply Dec 30 10:01:38 theres actually only one write per app run Dec 30 10:02:10 the most is just reading in several other activities Dec 30 10:52:46 can someone give a hint, what to do to build lineage for oneplus 3t? Dec 30 10:53:06 I synchronized already, and there is a build-target for oneplus3 Dec 30 10:53:38 can i just extract-files.sh from oneplus3t and build oneplus3 target? Dec 30 11:00:17 rom stuff? Dec 30 11:00:34 go to #android-root Dec 30 11:06:49 mallock: go to #lineageos Dec 30 11:18:53 Lineage OS: "We aren't going anywhere" talk about involuntary humor :D Dec 30 11:49:13 Hey guys.. I have a scroll view inside a realitive layout.. when the keyboard shows up the top of the screen gets hidden? Dec 30 11:49:28 Is there something in the layout that I can do to stop that? Dec 30 11:50:57 stackoverflow Dec 30 11:54:32 I got android:windowSoftInputMode="adjustResize" on the root layout Dec 30 11:54:37 And no joy. Dec 30 11:54:53 I also tried a few others.. can you point me to a good answer :) Dec 30 13:03:42 raoul11: hi rao! Dec 30 13:09:27 Yeah.. I've done all I can, and can't seem to get the top of the screen to stay in place when the keyboard shows up. Dec 30 13:09:38 Can I get some suggestions. Dec 30 13:11:43 I have a scrollview and a editview in the middle. Dec 30 13:12:27 And when there is heaps of text and the keyboard shows up I lose the top items. Dec 30 13:13:43 Anyone know how to make the scrollview shrink when resize takes place? Dec 30 13:32:44 baash05: what results did you find on stackoverflow? Dec 30 13:33:02 I have various results. Dec 30 13:33:36 One said to put a control under the scroll view.. (a button) and set the scrollview to be above. Dec 30 13:33:46 The button is hidden by the keyboard. Dec 30 13:34:03 so I've added android:windowSoftInputMode="stateVisible|adjustResize" to the manifest (activity level) Dec 30 13:34:16 and still the button is hidden by the KB. Dec 30 13:35:22 I don't care about the size of the scroll window, as long as I can scroll my whole edit box, and see the button ontop of it. Dec 30 13:36:20 I've looked around, and eventually go side tracked watching JohnOliver :) Dec 30 13:37:11 hi mela Dec 30 13:38:13 I also got this getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); Dec 30 13:38:23 in my on create Dec 30 13:38:55 The bottom button is always hidden by the keyboard. Dec 30 13:40:00 And when the text is long the top of the editview is hidden off screen (so I can't scroll) Dec 30 13:44:29 I'm sorry that you have this problem Dec 30 13:44:53 but I'm watching John Oliver, now. Thanks for mentioning him. I didn't know him. Dec 30 13:45:58 Ha.. Dec 30 13:46:23 I'm sure I'll figure it out.. Dec 30 13:46:31 but it's very frustrating.. Dec 30 14:15:28 My oncofigurationchange isn't being called.. Dec 30 14:15:50 I have this in my part of the manifiset Dec 30 14:15:51 android:configChanges="orientation|keyboardHidden" Dec 30 14:16:04 and I have the method overridden in the code. Dec 30 14:16:25 as prescribed by https://developer.android.com/guide/topics/resources/runtime-changes.html#HandlingTheChange Dec 30 14:37:44 Can an activity be bound to multiple services? Dec 30 14:40:14 http://stackoverflow.com/questions/7965317/can-an-activity-bind-to-multiple-services-at-once Dec 30 14:40:38 http://stackoverflow.com/questions/30648766/binding-a-service-to-multiple-activities Dec 30 14:42:31 you are welcome Dec 30 14:42:36 Melatonina Thanks! Dec 30 14:55:51 I have a background thread which performs some computation and from time to time produces a new value. This value is currently accessible via a BehaviorSubject. Actually at the moment the Behavior subject itself is only accessible as an Observable for encapsulation. Dec 30 14:56:54 This thread is a private class. The parent class is a class that is supposed to be affine to the main thread. I want everything about concurrency to be resolved inside that class. Dec 30 14:57:57 So I was thinking of creating another BehaviorSubject which listen to the first one with observeOn(AndroidSchedulers.mainThread()) and public this "reactive property" to the rest of the application Dec 30 14:58:18 Is this a good design? Dec 30 14:58:56 ..."which listens"... and ... "and publish this"... sorry Dec 30 14:59:34 I'm gradually introducing reactive programming in my application. Dec 30 16:00:33 hey guys...what is the button called that shows all apps? Dec 30 16:03:27 can android games be made in unity? Dec 30 16:04:20 sub_zero: https://www.google.com/search?q=unity+android&oq=unity+android&aqs=chrome..69i57j0j69i65j69i61j69i60j69i65.1943j0j9&sourceid=chrome&ie=UTF-8 Dec 30 16:04:27 as we use java for android but c# for unity Dec 30 16:04:43 yes, a lot of games are made in unity Dec 30 16:05:40 Hows your project going Leeds? Dec 30 16:06:04 yiati: I has a project? Dec 30 16:06:04 thanks all Dec 30 16:06:54 Leeds: I thought you were working on a Reddit app? Or was that some other regular in here? Dec 30 16:07:13 nope, that was TacticalJoke I think Dec 30 16:07:41 Ah Dec 30 16:33:31 Leeds: are you good with RxJava? Dec 30 16:34:03 never used it Dec 30 16:34:05 and it's bedtime Dec 30 16:34:27 good job scarring leeds Melatonina Dec 30 16:35:06 O.O Dec 30 16:35:10 scarring? Dec 30 16:38:06 how do i structure the fields in my cursorLoader when I only want to return columns that are equal to certain values? Dec 30 16:38:26 mark with a scar Dec 30 16:40:50 raoul11: I didn't realize I did that. I'm sorry Dec 30 16:41:18 KukOrkan: you just specify the columns you want in the "projection" parameter Dec 30 16:42:28 (: Dec 30 16:44:52 fazjaxton: yes i know thats how I get the specific columns I want, but I mean to only return rows in which a column contains a certain value Dec 30 16:45:32 fazjaxton: eg, only return rows where "date" = "2016-12-30" Dec 30 16:45:39 KukOrkan: oh ... You have to make an SQL query for the "selection" to do that Dec 30 16:46:01 KukOrkan: I'm not good with SQL, so someone else will have to help you with that. :) Dec 30 16:59:42 do anyone knows how to use 'textColorPrimaryInverse'? or point me to an article explaining it? Dec 30 17:00:09 docs says: Primary inverse text color, useful for inverted backgrounds. Dec 30 17:00:26 but how to invert background or text color Dec 30 17:11:13 I am trying to get google play store on AVD emulator image (Marshmellow), but getting errors trying to remount /System as read-write. Can somebody point me to docs online that actually works? Googling is failing me... Dec 30 17:16:54 `mount /system` Dec 30 17:17:01 You can't use play store on avd Dec 30 17:17:05 If you want more detail than that, we're going to need more detail about what you were doing Dec 30 17:20:39 I'm with pfn I ran into the same remounting issues you did daro and just gave up and went to apkpure Dec 30 17:20:58 I think the second issue was the shared google apps signature was different on the avd vs the vending apk Dec 30 17:21:17 so you'd have to use a not-google-apis avd I guess Dec 30 17:21:17 ahh Dec 30 17:21:33 use an emulator that handles play store ok Dec 30 17:21:34 and install playservices on that manually, which is a whole other can of worms Dec 30 17:21:44 memu and nox. both work well Dec 30 17:21:46 like what pfn? Dec 30 17:21:48 o Dec 30 17:21:51 sweet Dec 30 17:23:13 I was trying to do something similar to http://stackoverflow.com/questions/11154222/google-play-on-android-4-0-emulator Dec 30 17:23:54 missingno, doesn't let you use arbitrary Android versions though Dec 30 17:24:27 and I got the playservice apks from open gapps Dec 30 17:24:53 can i make a button keep on moving on a layout Dec 30 17:25:08 hmm did fonts move in 7.0 Dec 30 17:25:50 my font picker has no fonts :( Dec 30 17:27:28 can i make a button keep on moving on a layout Dec 30 17:32:13 sure, but it’d be hard to hit Dec 30 18:04:58 dorao: please post the error and also run "adb shell mount" (just that command, no extra options) and post the "/system" line Dec 30 18:15:15 all books 50% off from manning Dec 30 18:24:10 pfn & missingno: I got play store to work on avd Dec 30 18:24:44 fazjaxton: I was able to get things working by passing -writable-system to my emulator command Dec 30 18:25:02 dorao: great! Dec 30 18:58:36 hello, i am doing some android kernel dev and was wondering if there was a way to get the kernel boot msgs Dec 30 18:58:43 while boooting Dec 30 18:58:58 because i'm looping Dec 30 18:59:18 adb perhaps? Dec 30 18:59:22 i have adb Dec 30 18:59:24 but how Dec 30 18:59:29 i cannot run adb shell while booting ? Dec 30 18:59:37 this is application development. you’d be better off checking in #android-root or asking on xda Dec 30 18:59:38 sorry Dec 30 18:59:42 oh Dec 30 18:59:44 thank you Dec 30 19:19:07 Hey guys. I'm trying to retrieve data in a (Tile)Service from an Adapter (which uses an Activity's context). Dec 30 19:19:23 Gist cobtaining relevant code and error log: https://gist.github.com/munowse/2b1b89052489712258a5f76249c83fe9 Dec 30 19:19:40 *containing Dec 30 19:20:29 It seems as if the extras aren't sent/retrieved in the first place from the log Dec 30 19:22:25 ... Dec 30 19:23:52 anyone? Dec 30 19:24:26 actually - I'm an idiot. Sorry guys! Dec 30 19:24:44 my bad! Dec 30 19:38:15 munowse2: yeah, we knew it Dec 30 19:38:59 Melatonina the issue actually still persists. Would you happen to know the solution? Dec 30 19:41:05 munowse2: I'm sorry. I don't. I doubt anybody will answer you because the gist link you provided gives a 404 Dec 30 19:41:42 Melatonina yea, I removed it. I was just wondering how you "knew it". Dec 30 19:42:03 Melatonina I'm just kidding ftr Dec 30 19:42:39 Melatonina It crashes with the first booting only now. Dec 30 19:42:48 munowse2: that's just what they say about you around here when you are not present Dec 30 19:43:08 Melatonina good to know Dec 30 20:14:19 ê Dec 30 20:14:47 s73v3r: hi! Dec 30 20:16:23 Is it considered bad practice to navigate to navigate to another activity from inside a fragment? Dec 30 20:16:41 to navigate to navigate? Dec 30 20:16:57 just one to navigate*. lol Dec 30 20:17:05 ahh. then no Dec 30 20:17:10 it’s fairly common Dec 30 20:18:42 I have run into an odd issue on trying to navigate back Dec 30 20:19:25 state not being properly restored? Dec 30 20:20:20 there is basically no savedstate on navigating back and my app crashes. The physical back button on my phone works fine. But the home/back button on the toolbar crashes the app Dec 30 20:21:29 look at your logcat and see what the stack trace says Dec 30 20:25:16 If I have a popup menu, is it possible to split up this popup menu such that there are 2 sections, where I can only select one option from each selection? Dec 30 20:27:15 like, using a Menu.xml? Dec 30 20:27:20 When activity X is created initially I pass it a value in the intent, and it is passed along to two fragments that it has. When I go to a child activity of X (Y) and come back though, the savedInstanceState in onCreate is null and it tries to check for the value in the non-existent intent. somehow my onSaveInstanceState isnt being called Dec 30 20:27:22 yeah Dec 30 20:27:50 i don’t think so Dec 30 20:28:20 https://stackoverflow.com/questions/6554317/savedinstancestate-is-always-null#29464116 s.bandara's comment is similar to my problem but doesn't resolve it Dec 30 20:28:36 Okay Dec 30 20:28:46 I'm looking at the group thing and I couldn't get it to work how I wanted Dec 30 20:28:52 guess I'll be creating 2 menus then :) Dec 30 20:33:06 i don’t believe menu.xml was intended to provide mutually exclusive selection Dec 30 20:33:13 you might be better off with a dialog Dec 30 20:51:49 Will I incur in a performance penalty if I wrap a bitmap in a BitmapDrawable before setting it as image in an ImageView, as opposed to use the Bitmap directly? Dec 30 21:11:04 any Persian android developer here ? Dec 30 21:12:38 you Dec 30 21:16:53 i need to experience of persian andorid developer that are abroad about android developer account because i can not have google play account here and we have instead of it other market like Bazar Dec 30 21:17:02 Would it be all right to connect to the GoogleApiClient in my Application's onCreate() instead of an Activity's? Dec 30 21:17:19 it is because of Sanctions over IRan Dec 30 21:17:27 I feel it's something that should be more global than just within an Activity. Dec 30 21:18:36 iresf: too bad. Next time don't play with nuclear weapons in your porch Dec 30 21:19:27 iresf: and don't invade other Countries' embassies Dec 30 21:19:51 Melatonina, quite rude remarks of you Dec 30 21:20:22 we know each other. iresf knows I don't think that stuff Dec 30 21:23:03 iresf: can't you publish on Google Play using a proxy or something? Dec 30 21:24:09 anyone here good with android lifecycle and intents? Dec 30 21:24:37 Melatonina : do we have nuclear weapons ? i do not like to chat about politic here Dec 30 21:24:40 InfiniteWaves: better if you just ask. Dec 30 21:24:53 iresf: It was a joke Dec 30 21:25:11 I asked earlier, just wondering if anyone is on now that was afk earlier Dec 30 21:25:54 oh, ok, I remember. I can't help. Sorry Dec 30 21:26:07 Melatonina : with proxy google will understand me easy Dec 30 21:27:21 what if you find someone outside Iran, honest enough to publish for you? Dec 30 21:27:50 yh Melatonina and i know each other and it just said a joke Dec 30 21:29:09 InfiniteWaves : what is your problem with lifecycle and intents Dec 30 21:29:43 Melatonina : if a person can help me it will be good Dec 30 21:30:23 so you need help with the alternative markets? Dec 30 21:30:45 no Dec 30 21:32:36 iresf: then it's unclear what you are asking... Dec 30 21:33:53 nothing i gave up Dec 30 21:34:58 i just want to find an Iranian android developer here Dec 30 21:35:25 create an android dev meetup Dec 30 21:35:27 winegoddess: hello and happy new year Dec 30 21:35:42 hello Melatonia, Happy New Year to you too! Dec 30 21:36:37 my gf is persian if that counts :P Dec 30 21:38:31 told per.... android developer not your gf Dec 30 21:40:43 she could learn to develop Android applications Dec 30 21:43:27 winegoddess: how is your Android app proceeding? How old is your son now? Dec 30 21:43:37 hi Melatonia, he is 1. Dec 30 21:43:48 my husband had to have back surgery, so ive been delayed a bit Dec 30 21:44:02 but i now have the idea fo what i want to do, need to work out the details and move forward Dec 30 21:44:23 im surprise my idea isnt out there, so im excited to try and get it done Dec 30 21:44:37 cool! Dec 30 21:44:45 :) Dec 30 21:44:51 how about you? whats new? Dec 30 21:45:28 don't tell your idea to your son. Otherwise he could beat you and release his version of your app on Google Play before you do Dec 30 21:45:59 I'm ok. Thanks for asking. Dec 30 21:46:26 My application is starting to take shape Dec 30 21:47:25 I don't know if the service that it provides is original. I'm not going to check in depth because I want to finish it anyway Dec 30 21:48:29 It's amazing that, with a job, a kid and a husband to take care of, you are able to make an original project Dec 30 21:59:26 InfiniteWaves : what was your question ? Dec 30 22:01:13 it is a telegram messenger group for this room : https://telegram.me/joinchat/C-p1Az7QgM8GnXqORT-ZQw Dec 30 22:01:36 [Upper case is Activity, lower is frag]: Aa -> Ba -> C. Going from C back to B crashes app when pressing the back/home button on the toolbar but not when pressing the physical back button. The saveInstance state is null on returning for some reason Dec 30 22:04:14 InfiniteWaves : trace it with Debug step by step then you find the problem as easy as drinking water Dec 30 22:04:42 i am atm Dec 30 22:05:05 or show your code here paste them in pastebin and get us a link Dec 30 22:05:25 i will in a little while Dec 30 22:05:32 let me work through this for s sec Dec 30 22:06:42 ok Dec 30 22:12:26 Hello Guys, does anyone know how to use 'textColorPrimaryInverse'? Dec 30 22:12:43 or any Inverse Dec 30 22:16:40 or something like this "Base.TextAppearance.AppCompat.Title.Inverse" Dec 30 22:17:38 Odd. When I navigate to activity C the onSaveInstanceStates ARE being called... but somehow are null when returning Dec 30 22:17:46 i thought they werent even being triggered Dec 30 22:33:16 so apparently pressing the back button on the toolbar doesn't call onBackPressed(), but the physical button does. I added a manual call to it when the home btn is pressed and it works now Dec 30 22:37:32 can I have your help for 2 minutes, I have a talk tomorrow about Android Themes & Styles https://docs.google.com/presentation/d/1Q71naxgEjL6T-STI_q2FN34layUn1l9FAzsPFCd-SdM/edit?usp=sharing Dec 30 22:37:44 can you see it and let me know if there is anything missing Dec 30 22:38:49 MoshDev : wait please Dec 30 22:40:26 Does anyone use continuous integration for their projects? Dec 30 22:40:56 InfiniteWaves: most of big companies do Dec 30 22:41:24 I know that, I meant you all Dec 30 22:42:14 I have it set up but a problem is that my app requires a google-services.json file to work, and my CI fails each build because I don't have it included in the repo Dec 30 22:42:14 InfiniteWaves: i do Dec 30 22:42:18 i use jenkins Dec 30 22:42:36 Is there a way I can add my google-services file so the CI can build without having the file be public? Dec 30 22:43:22 I am combining what were two seperate RecyclerView adapters into a single adapter. Currently, I have two constructors in the adapter, which accept different kinds of listeners. To determine the type of View and data to bind, I check check which of the two listeners (which become member variables) are null. Dec 30 22:43:31 Is there a better way to do this? Dec 30 22:43:41 iresf: waiting... Dec 30 22:43:46 I could just pass in a boolean and use that, but am wondering if there is yet another solution Dec 30 22:45:52 orbyt_ sounds similar to what I did before. I had a single adapter but two different viewholders for phone/tablet. when creating the adapter I just passed in the type of device and had two different viewholders in it. on the create/bind i checked which type it was from the variable and used the appropriate viewholder Dec 30 22:47:12 MoshDev : i think AndroidManifest in your presentation file is missing it is so important to discuss them and style in android Dec 30 22:48:05 Yea, i'm familiar with using different viewholders and such, but am not sure if just checking whether a particular listener is null or not is an issue. Dec 30 22:48:09 iresf: great (y) Dec 30 23:16:48 MoshDev, any idea about the google-services file? Dec 30 23:17:23 InfiniteWaves: your project is on public repository? Dec 30 23:17:49 At the moment is is private but it will be public yes Dec 30 23:18:48 and your CI is private? Dec 30 23:19:06 ? Dec 30 23:19:24 the CI is through gitlab it is tied to the repo Dec 30 23:32:00 Zta i think some GMS things check to see what kind of context you gave it (using instanceof) ... you'll have to try and see Dec 30 23:34:09 i think nearby APIs require activity context Dec 30 23:52:08 ok Dec 30 23:52:21 Maybe I'm over-complicating things. Dec 30 23:53:15 I tend to want dedicated Manager classes (e.g. MyLocationManager) handle state and jobs instead of Activities. Dec 30 23:53:57 But I'll be moving things into a Service in the future anyway, so the GoggleClientApi will be used from there instead I suppose. Dec 30 23:55:34 yeah i don't think nearby api works from a service Dec 30 23:55:54 others should Dec 31 00:21:22 http://pasteboard.co/gdZdSVvCv.png Dec 31 00:21:26 anyone Dec 31 00:23:09 learnBot: Click "Text" at the bottom. Dec 31 00:24:30 sec Dec 31 00:25:32 ok Dec 31 00:25:38 sorry was doing something Dec 31 00:25:53 TacticalJoke: you here? Dec 31 00:26:53 i treyd to change in manifest to style/theme .appcompac.noactionabr Dec 31 00:27:25 Just click "Text". :S Dec 31 00:28:24 c;ocled Dec 31 00:28:27 clicked Dec 31 00:29:04 and what now? Dec 31 00:30:36 You no longer have a baby staring deep into your soul. Dec 31 00:31:31 are you troling me? Dec 31 00:31:55 worst thing i sill have Dec 31 00:32:23 http://pasteboard.co/geaYEnM3T.png Dec 31 00:32:25 Set the theme in the preview Dec 31 00:32:32 so even your troll faild Dec 31 00:33:24 Then hide the preview. Dec 31 00:33:32 It's pretty obvious, dude. Dec 31 00:33:54 whatitis: oh so i change it in manifest so it works on build and for ineditor i change in apptheme Dec 31 00:34:39 Oh, you're talking about the freaking app bar? Dec 31 00:34:43 If not showin correctly in preview yes try setting the theme in AS Dec 31 00:34:44 Here's a hint: Actually state what the problem is. Dec 31 00:34:55 ok think i got it Dec 31 00:35:27 He kinda did w pic and noactionbar Dec 31 00:35:47 whatitis: I don't see that. Dec 31 00:35:52 I just see a giant baby thing and a big arrow. Dec 31 00:36:34 Arrow towards actionbar and typing what he wanted in manifest Dec 31 00:37:09 whatitis: I think you gotta realise that someone who puts very little effort into explaining the problem and then says "your troll failed" to someone who tries to help isn't exactly expected to get the best assistance. Dec 31 00:37:26 "You no longer have a baby staring deep into your soul." Dec 31 00:37:29 your reply Dec 31 00:37:29 Why is StackOverflow so terrible with formatting code in their editor Dec 31 00:37:33 learnBot: Okay, help yourself. Dec 31 00:37:52 Just gotta read between the lines and debug their info Dec 31 00:37:57 no worry whatitis helped me, rest i figure out Dec 31 00:38:02 You copy code from intellij and stack overflows editor completely distors the indentation Dec 31 00:39:18 Error:Error: 'B' is not a valid file-based resource name character: File-based resource names must contain only lowercase a-z, 0-9, or underscore Dec 31 00:39:31 really cant use big letter wierd Dec 31 00:39:35 whatitis: Good luck with this one. Dec 31 00:40:30 Resources use lower case yes Dec 31 00:41:04 that was just me whining xD Dec 31 00:41:15 :) Dec 31 00:42:12 And as TacticalJoke was stating, text mode for xml is preferred Dec 31 00:42:41 whatitis: That's not what I meant. Dec 31 00:43:19 Then your choice makes no sense. Either way baby will take your soul Dec 31 00:43:58 But drag drop vs text, text wins Dec 31 00:44:14 f now emulator gives me this cuz ati life sux Dec 31 00:44:14 libGL error: unable to load driver: radeonsi_dri.so Dec 31 00:44:53 ok think i know how to fix this Dec 31 00:48:13 grrrr now i have cannot alocate memory xD **** ENDING LOGGING AT Sat Dec 31 03:00:01 2016