**** BEGIN LOGGING AT Sat Feb 18 03:00:01 2017 Feb 18 03:39:14 hey, can someone help me with fragment related stuff Feb 18 03:39:18 ? Feb 18 03:40:26 Possibly Feb 18 03:43:01 Ask the question. If someone knows the answer, they will give one. Feb 18 03:45:16 So in my App I have 1 Activity and 4 Fragments. 1st Fragment (Lets call it H for "Home") loads when app starts and it has 2 buttons. First button leads to fragment A and second to fragment B. I handle this navigation from mainActivity. Feb 18 03:46:21 Then when Activity B loads up it waits for BroadcastIntent and as it recieves it goes to activity C. Feb 18 03:47:05 So funny things start when I want to go back from activity C back to B or H. Feb 18 03:48:22 First time it goes as it supposed to, however if I without restarting the app go Again from H to B to C, then I need to press BackButton 2 times. Feb 18 03:48:41 If I do it again 3 times etc. Feb 18 03:49:39 navigation from B to C I handle in B Fragment. Feb 18 04:07:59 that was really hard to read. sounds like you have more in your backstack thank you think. I'm actually wondering if you've loaded fragments twice. perhaps move all your fragment management to a single location, rather than handling it in two (or more) places Feb 18 04:10:50 * g00s was afraid to admit: needed pictures Feb 18 04:21:54 hey.. I installed android studio in linux yesterday.. can't find where its startup script is though Feb 18 04:22:07 yes it seems that fragment loads twice if do navigation from another fragment Feb 18 04:22:23 I have ~/Android/ and ~/.android/ but no studio.sh in those dirs Feb 18 04:29:38 I have ~/Android/Sdk/ Feb 18 04:29:50 I don't get it. Feb 18 04:34:29 jaggz this could be a sign that you should do iOS instead Feb 18 04:35:11 no doubt Feb 18 04:35:46 do iOS on linux! Feb 18 04:39:24 webpages on it say it'll be in ~/path-to-android-studio/bin/ Feb 18 04:39:55 found it.. with a find ~ -name studio.sh heh Feb 18 04:40:08 didn't know it installed into the dir of my download.. oops. Feb 18 04:40:12 gut! Feb 18 04:40:47 Unless you used a package manager to install it, the whole thing just lives in your homedir Feb 18 04:42:11 yeah.. I just had to mv it to ~ Feb 18 04:42:43 so.. I want to write, basically, my first android app. My first app was a dysfunctional test to make a clock for caregivers, to set alarms for turning over their family member/patient Feb 18 04:43:05 (it would set a series of alarms.. like for turning them every 2.5 or 3 hours) Feb 18 04:43:22 1. AlarmManager Feb 18 04:43:25 but then if one of those went an hour over, or whatever, it would re-set the series with the new offset Feb 18 04:43:39 2. Wake locks. Feb 18 04:43:58 this app that I'm about to make is one which should record audio, make it into an mp3, and let me put it on a remote system (I have a raspberry pi box in our livingroom which plays audio as reminders) Feb 18 04:44:53 it also needs to allow me an easy interface to edit the cronjobs on the remote system, for playing that audio Feb 18 04:45:46 dagmar, neat, thanks :) Feb 18 04:46:13 (the same clock app was going to allow a similar thing for medicines.. plenty of those exist now though I imagine) Feb 18 04:46:52 as well as dose calculation if you're taking a dose early (like if you need to go to bed and don't want to have to wake up in 3 hours to take your dose) Feb 18 04:47:08 that type of thing should really be done with people's consultation with their doc Feb 18 04:47:44 since I wouldn't want to be responsible for their irresponsibility in handling the in/appropriateness of such a thing Feb 18 04:48:01 (because ideally it's related to halflife and such) Feb 18 04:48:24 jaggz: have default templates that user can choose or make it user definable purpose for multiple types of alarms Feb 18 04:48:27 anyway, not working on the clock app right now Feb 18 04:48:46 or both Feb 18 04:49:00 shmooz, that's a good idea Feb 18 04:49:24 I'd put it in as an option, but generalizing it and having templates is even better Feb 18 04:50:00 it was so long ago that I'm basically starting from scratch Feb 18 04:50:16 (as if I'm a new user to android coding) Feb 18 04:50:50 I'm trying to install (Python 3's) NLTK on Android. Can anybody help me? Feb 18 04:53:21 jaggz are you going to test this on yourself before you kill somebody :D Feb 18 04:53:32 no I'll test it on my wife Feb 18 04:53:42 in advance to killing her of course Feb 18 04:54:01 Hmm.. I don't have a domain name.. I've always wanted a domain name for myself Feb 18 04:54:06 jaggz.com is taken Feb 18 04:55:29 try jayz.com Feb 18 04:55:30 Melatonina, neat. No clue though. Feb 18 04:55:32 lol Feb 18 04:57:11 try juggz.com Feb 18 04:57:25 I can edit some work domains Feb 18 04:57:30 add me as a subdomain Feb 18 04:58:14 but it's probably best if I get my own someday Feb 18 05:07:42 afraid.org still has isamother****ing.ninja entries available Feb 18 09:27:13 is there any good open source alternative to Firebase database? Feb 18 09:27:38 I mean with an android sdk and everything, or similar Feb 18 09:37:38 whats wrong with firebase db MyWay ? Feb 18 10:05:30 I'd like something opensource, raoul11 Feb 18 10:05:56 my vpn is bonkers today Feb 18 11:35:29 misterli: hey hey how are you Feb 18 11:35:39 raoul11: what did you do to your vpn lol Feb 18 11:42:45 hey Feb 18 11:43:04 I have a problem here when building an android ROM Feb 18 11:43:27 arguments list too long Feb 18 12:02:24 ljmf00: if its a custom rom android-root is the channel you want Feb 18 13:50:01 ok, thanks @eagles0513875|2 Feb 18 14:22:14 Anyone know any clever workarounds for https://code.google.com/p/android/issues/detail?id=201279 Feb 18 14:22:19 This is a retarded problem to have Feb 18 14:28:48 I think I'll just umm... not be changing enum values, thanks Feb 18 14:31:42 You don't have to change it for that to happen, actually Feb 18 14:31:46 Just define and try matching, boom Feb 18 14:33:44 hi! is that possible to build current emulator from source? Feb 18 14:33:58 Answer is still yes Feb 18 14:34:26 Dagmar, is there any official instructions for that? Feb 18 14:35:23 If you need to ask such a question, there is no point in you trying to compile it Feb 18 14:35:42 Whatever your ArchLinux friends are telling you, there is no utility in rebuilding it Feb 18 14:36:48 Probably Gentoo friends. Feb 18 14:37:04 They're essentially the same crowd, most days Feb 18 14:37:25 Dagmar, i need extend its functionality Feb 18 14:38:05 65-bit CPU emulation isn't likely to catch on Feb 18 14:38:41 oh.. Feb 18 14:39:20 is there a way to animate corner radius of a rectangle? Feb 18 14:40:28 Zalabinsky: Shouldn't that be handled by tweening already? Feb 18 14:41:52 i dont care how, as long as the end result is similar and my simple brain can understand it Feb 18 14:45:18 Dagmar u mean this https://developer.android.com/guide/topics/resources/animation-resource.html#Property ? Feb 18 14:46:12 Actually that's not the bit I was thinking of Feb 18 14:48:10 As I understand it the simple way would be to start by coding the bits that change out the image for the ImageView, and then apply a transition animator to it, with tweening Feb 18 14:48:49 so where can i find the source repo for new adnroid emulator? Feb 18 14:48:56 https://developer.android.com/guide/topics/graphics/prop-animation.html Feb 18 14:49:27 Actually, that wasn't what I was looking for either Feb 18 14:49:36 Dagmar i will look into that, thansk Feb 18 16:39:10 is there any good open source alternative to Firebase database? Feb 18 17:14:18 which library do you use to design tutorial for your app(like ShowCaseView)? Feb 18 17:16:38 getting this when try to run android code Error:java.util.concurrent.ExecutionException: java.lang.RuntimeException: AAPT process not ready to receive commands Feb 18 17:18:55 did you tried changing your build tool version? Feb 18 17:24:21 abhi__: what version can i use? Feb 18 17:24:36 abhi__: actually i am using ubuntu 32 bits Feb 18 17:25:03 abhi__: build tools 25.0.2 Feb 18 17:25:20 try changing it to 25.0.0 Feb 18 17:26:18 woah does it support 32 bits still Feb 18 17:26:27 Yep Feb 18 17:44:10 now i get Error:(1, 1) A problem occurred evaluating project ':app'. Feb 18 17:44:11 > Plugin with id 'com.android.application' not found. Feb 18 17:47:15 oO Feb 18 17:47:20 is this fresh project? Feb 18 18:31:26 Hi. I am making an App for an OEM device that will run android. For development, we are using a Nexus 5 to stand in for the OEM device. It seems that it will only allocate 35 MBs to the app. I've already added "android:large_heap=true", but is there any other way I can increase the amount of memory allocated to just that app? Feb 18 18:34:51 cwall, Looks like it's a hard cap but it depends on the device and screen size as to what that cap is https://drive.google.com/file/d/0B7Vx1OvzrLa3Y0R0X1BZbUpicGc/view Feb 18 18:36:01 DLSteve, so if I use an OEM device with a stripped down Android OS, this limit will still be present? Feb 18 18:36:10 Do I have to change android itself to increase the limit? Feb 18 18:36:39 Not sure. Feb 18 18:36:55 It is part of the OS though. Feb 18 18:38:53 https://developer.android.com/topic/performance/memory.html Feb 18 18:39:16 Thanks DLSteve Feb 18 18:40:13 "To maintain a functional multi-tasking environment, Android sets a hard limit on the heap size for each app. The exact heap size limit varies between devices based on how much RAM the device has available overall." Feb 18 18:40:28 So yah you would need to modify Android to change it. Feb 18 18:40:33 https://developer.android.com/topic/performance/memory-overview.html Feb 18 18:58:30 How does it work if i use retrofit and rxjava 2 to receive an observable instead of a call AND process is using a method like public Observable getResponse() { return CallFactory.with(context).getData(); }. Which works well, but now i want to modify the output before i subscribe on it from another Class. Feb 18 18:59:42 Using getResponse() { return CallFactory.with(context).getData().subscribe( emitter -> { emitter.onNext( ) } ) } doesnt return an Observable AND how can i get those data? Do i need to create another Observable or map the response? Feb 18 19:04:23 Okay. I think i got it. return CF.with(..).getData().map( data -> { data.setModifier( ... ); return data; }); Feb 18 19:30:03 works. Looks like this is the proper way doing it in rxjava2 Feb 18 20:07:02 have not been working on my project for a while, not had time, came back to it and updated everything and now something is broken Feb 18 20:07:05 cannot locate symbol "__aeabi_memclr8" Feb 18 20:07:32 thats dlopen saying it cannot open my NDK shared library because that symbol is now missing Feb 18 21:01:34 mark4, do a full rebuild Feb 18 21:03:33 i did, of the library and the application using it but it didnt help, i did solve the problem tho Feb 18 21:04:10 APP_PLATFORM := android-23 <-- added this to Application.mk Feb 18 21:06:11 but now im getting other errors that i didnt used to have, but they are embarrassing so ill figure them out :P Feb 18 21:06:13 lol Feb 18 21:06:27 they will be project structures issues Feb 18 21:56:31 hey guys, does anyone know how I can detect if a bottom sheet is settling into a specific state? Feb 18 21:56:47 the callback for bottom sheet has a SETTLING state, but it doesn't tell me if it's settling into expanded or collapsed.. Feb 18 22:17:37 what's a sheet? Feb 18 22:17:58 oh that was 20m ago Feb 18 22:19:02 how do I get two blocks side-by-side, but together horizontally centered, and vertically centered with each other (within their parent container that's not vertically centered)? Feb 18 22:19:38 I have: [audio clip name] .mp3 Feb 18 22:19:51 the mp3 is fixed, just to inform them Feb 18 22:20:14 but it's way up at the top or bottom of the linear layout Feb 18 22:20:17 Put them both inside another linearlayout, or attempt to use RelativeLayout or ConstraintLayout Feb 18 22:20:30 anyone know if there is any use for p2p_supplicant? isn't the useful functionality in hostapd? Feb 18 22:26:02 Dagmar, thanks.. will study those Feb 18 22:31:54 Hi guys. My apps package is com.example.app, and I have a Receiver I am trying to register in com.example.app.receivers.MyReceiver, so my receiver is defined in the manifest as but it doesn't like the use of the subpackage. Ideas? Feb 18 22:40:04 do you guys know how to give a textview a minimum width in terms of padding? Feb 18 22:40:28 I have a list that has icons as well as numbers instead of icons for some rows, and I want those "numbers" to be 24dp wide at the minimum to match the icons Feb 18 22:40:41 if that makes sense.. Feb 19 00:50:04 Anyone experienced in BLE looking for a job? Haha Feb 19 00:50:35 Oops sorry just saw topic msg, nevermind! Feb 19 01:24:16 Is it bad practice to not close JsonReaders? Feb 19 01:24:36 Especially if they are just reading from a StringReader? Feb 19 02:20:41 my emulator pops up the cellphone, but stays black forever Feb 19 02:20:51 (I've waited 2 lifetimes already) Feb 19 02:24:34 grr.. internet's been having problems Feb 19 02:50:35 I tried to add a Maven lib and it won't show up :( Feb 19 02:50:48 compile 'com.github.cubing:tnoodle-android:0.8.9' Feb 19 02:51:20 I tried a Gradle sync, project rebuild, even deleting `.idea' and `*.iml' and re-importing Feb 19 02:58:10 I'm having an out of memory issue whenever I try to launch my application and I tried using Glide but it didn't work. My images only total up to be 2MB for the whole app. Any ideas? Thanks **** ENDING LOGGING AT Sun Feb 19 03:00:01 2017