**** BEGIN LOGGING AT Thu Dec 10 02:59:59 2015 Dec 10 03:15:51 what TTS engines does android use by default, and can these be used for commercial purposes for free? Dec 10 03:16:43 hello, any one here know if its possible to add IAP to an already published app, and if so, can we manually add to the list of "purchased" users. Example I have an email of someone who paid me before getting IAP working? Dec 10 03:38:51 huh, what reads app:theme when inflating in appcompat Dec 10 03:39:06 Can anyone help with an issue with material design library. I'm using the nav drawer provided, but now that I've set my menu items in the list, the text seems too far away from the icons. Have no idea why Dec 10 03:44:40 ah, AppCompatViewInflater Dec 10 03:46:30 Hm. Cheesesquare by chris banes seems to have a big amount of padding between text na icons in his nav drawer. I feel like its actually pretty wonky. Does anyone else agree? Dec 10 04:05:55 number one tip: if your dagger modules are in right scope, have all methods, be sure that components have methods that provides getters for providers from modules... Dec 10 04:41:03 so, if I set a theme on the toolbar, it doesn't set a color automatically? Dec 10 04:41:11 I thought it should pick up colorPrimary or whatever by default Dec 10 05:05:29 hey guys is it possible to leave a toast up for an async call Dec 10 05:05:34 and then remove it after its done Dec 10 05:05:39 my operation takes about 1min :( Dec 10 05:06:41 pfn: it will Dec 10 05:10:51 im trying to flash my nexus 5 with the stock image but it's stuck on "waiting for device" Dec 10 05:10:55 adb shell works fine though Dec 10 05:12:50 fastboot wont even reboot the thing Dec 10 05:20:46 phantomcircuit try #android-root Dec 10 05:21:21 I need to wake up my phone using some code in a background service.Is it possible? Dec 10 05:23:57 s73v3r around ? Dec 10 05:25:37 so at work we're having trouble with deep links Dec 10 05:25:50 part of it is our fault (android app) Dec 10 05:26:06 the other part is data not being passed through the intent Dec 10 05:26:56 is there a way to debug what's going on in the browser redirect? Dec 10 05:38:34 I need to wake up my phone using some code in a background service.Is it possible? can somebody direct me Dec 10 05:39:17 aspirer: see wake locks Dec 10 05:39:22 and alarm amanger Dec 10 05:40:30 and then increasing the screen brightness ? Dec 10 05:52:03 gordon_, odd, I have to specify background explicitly Dec 10 06:01:34 anyone got a fix for this? https://code.google.com/p/android/issues/detail?id=22576 Dec 10 06:04:14 "Seems that the whole Android library system is a little bit thrown together." Dec 10 06:04:22 #2, drinfernoo Dec 10 06:04:25 answered Dec 10 06:05:28 #5 makes my point Dec 10 06:05:35 sup g00s ! Dec 10 06:05:42 im adding google fit integration to my app Dec 10 06:05:56 im trying to use the google design library, but another library im using declares rippleColor as well Dec 10 06:06:03 coming along good, just now need to optimize, as im dumping two weeks of data from my watch, about 1200 http requests LOL Dec 10 06:06:05 so im not the one declaring them Dec 10 06:06:20 drinfernoo, doesn't matter, declare it yourself Dec 10 06:06:24 nice jareddlc Dec 10 06:06:43 k ill try it Dec 10 06:06:56 so i'll just optimize Dec 10 06:07:07 pretty happy i just hit 50k total downloads 20k current downloads Dec 10 06:07:18 what app? Dec 10 06:07:36 you just add Dec 10 06:07:52 in the top level of resources and you're done Dec 10 06:08:39 see, the real problem is when the format don't match Dec 10 06:08:43 that's a ton of fun Dec 10 06:09:39 so now i get an error on mine, and the one in the google library lol Dec 10 06:10:12 its name="rippleColor" format="color" Dec 10 06:10:26 if I pass a context to a POJO, can I somehow get acess to onPause, OnResume events ? Dec 10 06:10:50 Want to start and stop a timer based on these events Dec 10 06:12:19 lol, i'm reading about AppCompatDelegate ... "When using an AppCompatDelegate, you should any methods exposed in it rather than the Activity method of the same name" Dec 10 06:12:30 ugh, they kinda left out an important word Dec 10 06:12:41 bunch of hacks Dec 10 06:13:22 do you guys get admin access on your work computer? Dec 10 06:13:35 I've been there 7 weeks. Still have to use the emulator Dec 10 06:13:49 I got the proper clearance for haxm like 2 weeks ago Dec 10 06:14:37 sounds like a fun place to work, does your boss have pointy hair ? Dec 10 06:15:29 i'm not getting the reference Dec 10 06:15:45 yeah its retarded. In another month I will be able to use USB finally Dec 10 06:16:32 RustyShackleford https://en.wikipedia.org/wiki/Pointy-haired_Boss Dec 10 06:17:14 oh haha. No she's not that bad Dec 10 06:17:24 pfn, does that mean its the wrong format? Dec 10 06:17:27 her bosses are to blame for this nonsense Dec 10 06:17:42 not giving devs admin is pretty ridiculous Dec 10 06:17:43 why? Dec 10 06:17:50 but yeah, that comic is definitely relevant Dec 10 06:18:04 pfn: how do you set theme ? in manifest ? how do you specify colors ? Dec 10 06:18:48 pfn: ok I back what I say Dec 10 06:18:54 I set that background set up Dec 10 06:19:03 *I have that background set up Dec 10 06:19:34 alex_PP: finance, not wanting to have a data leak Dec 10 06:20:02 theres a lot of retarded stuff going on. Already starting to think I should find a new job Dec 10 06:20:35 do they want to have a productivity leak? Dec 10 06:20:55 you have no idea Dec 10 06:21:01 I've only worked in a place with anything like that sort of restrictions once - had to use company web proxy, which blocked all sorts of stuff... I'd bypassed it within a couple of weeks of starting, so I didn't get blocked from looking stuff up on 'blogs' Dec 10 06:21:28 yup I have to deal with the proxy. It's pretty permissive Dec 10 06:21:40 but things like gradle and the emulator need to be configured for it Dec 10 06:21:46 bleugh Dec 10 06:22:04 why woudl you work in a place like that Leeds :p Dec 10 06:22:07 I couldn't stand that Dec 10 06:22:12 because money Dec 10 06:22:27 firstly, because money, yeah... secondly, I didn't work there for a long time Dec 10 06:22:42 did they pay like 5 times the going rate or something Dec 10 06:22:51 i just could not work in a place like that even with the money Dec 10 06:22:55 why do they need to web access? is work getting done? yes, no problem, no, chances are your management needs looking at Dec 10 06:23:03 they paid - I'd been out of work for a few months, was down to paying rent with credit card cash advance Dec 10 06:23:04 *need to restrict Dec 10 06:23:06 i'll probably ride it out for a year... it's a good deal Dec 10 06:23:29 well that explains it a bit, never been unemployed myself Dec 10 06:23:33 and my first development job. I can't be too choosey just yet lol Dec 10 06:24:02 still in HK Leeds? Dec 10 06:24:15 that's the only time I have been, significantly - it may have been more to do with me being in a foreign country, not speaking the local language, needing visa sponsorship, etc. Dec 10 06:24:22 * Leeds checks out the window Dec 10 06:24:22 I imagine you needed a pretty big advance Dec 10 06:24:52 alex_PP: yup, big buildings, lots of Chinese people, odd remnants of colonial times - still HK :) Dec 10 06:24:59 ha Dec 10 06:25:02 I love HK Dec 10 06:25:06 such a mess Dec 10 06:25:39 old women selling noodles outside Mark and Spencer's Dec 10 06:25:45 g00s: HAI Dec 10 06:25:53 hey thepoosh :D Dec 10 06:25:54 I need to take an Asia trip Dec 10 06:26:00 haven't noticed too many noodle sellers outside my regular M&S branches Dec 10 06:26:01 the culture shock sounds awesome Dec 10 06:26:11 g00s: had a terrible day yesterday, working with Loaders Dec 10 06:26:22 Leeds: HAY Dec 10 06:26:22 they opened a bunch of food-only stores here in the past couple of year - I go there way too often to get good British food :) Dec 10 06:26:32 * Leeds throws a donut at thepoosh Dec 10 06:26:36 thepoosh ha, what are you guys using loaders for ? i thought you didn't use content providers Dec 10 06:26:56 CursorLoader Dec 10 06:27:11 so you guys do use contentProviders Dec 10 06:27:16 nope Dec 10 06:27:21 lolwut Dec 10 06:27:32 CursorLoaders connect to a SQLite DB Dec 10 06:28:06 thepoosh you pass in a Uri :) Dec 10 06:28:11 thats always a hint :D Dec 10 06:28:16 lolz Dec 10 06:28:57 Leeds, do you get the English Recipe beans there. Dec 10 06:29:01 always makes me chuckle Dec 10 06:29:17 g00s: http://developer.android.com/reference/android/content/CursorLoader.html Dec 10 06:29:28 not that I've noticed... but they do sell Chinese ready-meals, which always seems rather coals-to-Newcastle Dec 10 06:29:34 this one gets a reference to a database Dec 10 06:30:57 thepoosh i've used CursorLoader plenty, they only work with content providers Dec 10 06:31:12 unless you made your own from AsyncTaskLoader Dec 10 06:31:25 nah, we give a URI Dec 10 06:32:00 there is also this new thing http://developer.android.com/reference/android/support/v7/util/AsyncListUtil.html Dec 10 06:32:12 English Chinese != Chinese Chinese Dec 10 06:32:37 g00s: cool! Dec 10 06:32:59 I am now working on getting a 3rd party lib out and replace it with RecyclerView Dec 10 06:33:09 which will allow me to work with it a bit Dec 10 06:33:23 thepoosh ah, sounds like fun (kinda) :D Dec 10 06:33:39 thepoosh: what's the problem in short? Dec 10 06:33:48 learning new stuff is always good, especially when they are old stuff Dec 10 06:33:54 squ: the Loader issue? Dec 10 06:33:55 month ago I made template git paste for Recycler Dec 10 06:34:00 for one guy here Dec 10 06:34:06 oh, there is no issue Dec 10 06:34:18 just that we're using something called HorizontalListView Dec 10 06:34:32 ok Dec 10 06:34:35 and there is no reason to use it when we have RecyclerView with a horizontal LayoutManager Dec 10 06:34:42 yeah Dec 10 06:34:44 I see Dec 10 06:35:05 squ: but if you want to help me reduce build times for a multidex app I would be super happy Dec 10 06:35:18 still need to get my head wrapped around pfn's protify Dec 10 06:35:34 but I can't seem to find the time for it Dec 10 06:36:04 squ: did you know about the 'provided' dependency for build.gradle? Dec 10 06:36:50 thepoosh did you see AS 2.0 will have instant run? don't need protify , sbt, or any of that stuff Dec 10 06:37:07 I saw it in the canary channel Dec 10 06:37:14 but that cannot be a solution for my team Dec 10 06:37:17 until it's stable Dec 10 06:37:24 at least beta Dec 10 06:38:05 yeah they didn't give a timeline, as usual. but if its AS preview already, i think it will be useable soon Dec 10 06:41:56 thepoosh has your team looked at using kotlin ? Dec 10 06:42:19 well, there was one person who looked at it, smirked and said pfffft Dec 10 06:42:21 but no Dec 10 06:43:15 hehe Dec 10 06:43:55 thepoosh any other cool libraries you guys pick up lately ? Dec 10 06:44:05 hmmmm Dec 10 06:44:08 no Dec 10 06:44:12 thank god Dec 10 06:44:18 word Dec 10 06:44:22 we are using way too many libs Dec 10 06:44:30 and it's crushing us Dec 10 06:44:43 the only one i use outside support lib is rxjava and mvstore Dec 10 06:44:51 i did this: https://github.com/commonsguy/cwac-merge/issues/22 Dec 10 06:45:08 my next thing to learn is rx Dec 10 06:45:27 oh yeah, i have to figure out a cwac-merge thing for recyclerview Dec 10 06:45:40 howve you found rx out of interest? i guess good if youre still using it Dec 10 06:46:04 there is no support for that, my team mate custom built one when he needed to use multiple datasets with one RecyclerView Dec 10 06:46:24 yeah, rx is very useful for scenarios. it does kinda take over the whole app like kudzu, i just use it in a few places Dec 10 06:46:26 teasp00n: it's a useful lib Dec 10 06:46:44 g00s: do you also add retroLambda? Dec 10 06:46:53 i haven't ... no Dec 10 06:47:15 2 things about RL; you may need it for rxjava 2 - so maybe no choice then Dec 10 06:47:28 but otherwise, i'd probably just rather use kotlin than RL Dec 10 06:47:43 you don't need it, but writing lambdas is very fun Dec 10 06:47:50 I miss C# Dec 10 06:48:27 g00s: it's not needed, just saves a lot of boiler plate code Dec 10 06:48:55 i kinda dislike stuff thats messing around with the bytecode Dec 10 06:49:04 proguard included Dec 10 06:49:24 thepoosh did you see the android dev summit talk, xav gave on tools ? Dec 10 06:49:41 they were going to speed up multidex somehow, so you didn't need a flavor with minSdk=20 Dec 10 06:49:43 nope, I still have the tab open Dec 10 06:49:51 yay Dec 10 06:50:00 that was not always an option for me Dec 10 06:50:38 thepoosh i've been poking VS Code on my mac + C# :D Dec 10 06:50:54 they have a great idea with OmniSharp -> Rosylyn Dec 10 06:51:08 compiler must be smart as hell Dec 10 06:51:21 MS has some amazing engineering Dec 10 06:52:17 I like where they're going Dec 10 06:56:14 arent a lot of the MS ide team the old borland devs? Dec 10 06:58:15 thepoosh i've been looking at the sources for nick butcher's plaid app - but its pretty confusing to me Dec 10 06:58:45 i wish there was good documentation on the stuff he;s doing, the why behind the how Dec 10 06:59:36 worth checking out though Dec 10 07:02:41 teasp00n no idea; delphi went to embarcadero - not sure what happened to the team Dec 10 07:03:18 well obviously Anders Hejlsber went to MS Dec 10 07:12:02 thepoosh have you used Google Play Service Nearby Messages ? Dec 10 07:16:04 g00s: no but we are probably integrating AppInvites now Dec 10 07:44:59 hello I am trying to use Dec 10 07:45:09 Volley Library Dec 10 07:45:14 but I keep getting https://i.imgur.com/uUZo9Zg.png Dec 10 07:45:20 how can I fix this? Dec 10 08:27:54 I'm trying to update the JDK path in Android Studio on Windows. AS just reverts any changes I make (in Project Defaults -> Project Structure). After some googling, I think I need to update "local.properties". Anyone know what is going on or where "local.properties" is? Dec 10 08:50:44 I have been using this command to compile native code manually: ndk-build NDK_PROJECT_PATH=. APP_BUILD_SCRIPT=./Android.mk Dec 10 08:52:20 but for this particular open source project I get this error: Dec 10 08:52:22 error: undefined reference to 'sfkl_Decode' Dec 10 08:52:39 I am assuming the open source project actually compiles. Dec 10 08:54:04 I commented the sfkl_Decode lines and useuages out of the source just to see what happens when I try to compile it, then I get this error: Dec 10 08:54:23 conflicting types for 'usleep' Dec 10 08:55:22 android-ndk-r10/platforms/android-3/arch-arm/usr/include/unistd.h:143:13: note: previous declaration of 'usleep' was here Dec 10 08:56:47 I don't expect errors in the source. Dec 10 08:57:16 Rather a system config "problem". Dec 10 08:57:29 or compiler differences. Dec 10 09:09:51 Any ideas ? Dec 10 09:14:43 surf2b1: local.properties is in the root of the project Dec 10 09:15:03 surf2b1: you should be able to change that stuff from AS anyway through the project settings from one of the menus Dec 10 09:15:52 After I create a view and viewgroup programatically, set the width and height of the view and then add it to the viewgroup, when is the width/height of the viewgroup available? Dec 10 09:22:07 teasp00n, I'm guessing local.properties is generated from the default project structure. I know I can change it for each project but I want to update the default values. Dec 10 09:41:25 surf2b1: file -> other settings -> default settings... -> build, execution, deployment -> compiler -> java compiler Dec 10 09:44:27 surf2b1: actually thats not what you want sorry. from memory AS observes environment variables so you could change JAVA_HOME to be whatever JDK you wanted. it should use that one as long as the project doesnt specify one itself (as this will take precedence) Dec 10 09:45:16 teasp00n, I updated JAVA_HOME already and restarted AS. It still won't update. It hates me :'-( Dec 10 09:45:28 Thanks for the suggestions! Dec 10 09:45:57 surf2b1: it wont update an already existing local.properties. try testing it with a new project and see what it does? Dec 10 09:48:25 anyone using rxjava ? I want to test my login, so I want to create observer which always fails Dec 10 09:48:28 how can I do that ? Dec 10 09:49:07 (I want to invoke onError()) Dec 10 10:06:21 Hey, I have a Spinner set to wrap_content it's width. The view size changes with every different selection, which has it's own size according to its text's length Dec 10 10:06:39 Is there to make a spinner wrap the content of it's biggest entry ? Dec 10 10:06:49 so it would have a fixed size Dec 10 10:13:51 seems like my tests are not atomic Dec 10 10:14:00 wonder what fails, mockito or rxjava Dec 10 11:09:42 gordon_: subscriber.onError(e); Dec 10 11:16:30 squ: yes, I figured it out Dec 10 11:16:49 but problem is, when I run one test - it works. but when I run all tests, some of them fail Dec 10 11:16:56 even if they are in different class Dec 10 11:17:03 no idea why it happens Dec 10 11:17:25 * squirrel touches squ Dec 10 11:22:57 hello Dec 10 11:23:29 can I update a LocationRequest while periodic updates are on (requestLocationUpdates())? will it have any effect? Dec 10 11:24:21 or should I call requestLocationUpdates() again? Dec 10 11:38:46 hello, is there a tool that allows me to read dex files ? Dec 10 11:38:54 not dex2jar, because dex2jar fails Dec 10 12:00:53 Hey how do I set an app my app should open with ? Dec 10 12:00:57 ugh Dec 10 12:01:23 I mean... if I click a button... and I want to open up another app with a variable sent to it... what do I do? Dec 10 12:14:09 hello there people. i am using recyclerview as listview and inflating cardview and its items. here is the code of main xml file. if i comment the whole cardview then i can see the cards and all the methods of recyclerview's adapter are called but when i uncomment them than i cannot see any cards. here is the code http://paste.ubuntu.com/13892030/ Dec 10 12:15:03 i also made another xml for recyclerview and then i include it that doesn't help. Dec 10 12:26:53 Hey guys one question i have Object which i then convert it to json with GSON, but it autmaticaly convers = chars to \u003d is it possible to prevent that ? Dec 10 12:40:53 Could someone please tell me why my Button Click http://pastebin.com/KNyKZ9r9 just does nothing? Dec 10 12:45:53 Where is everybody today > Dec 10 12:45:55 ?` Dec 10 12:47:21 hello there people. i am using recyclerview as listview and inflating cardview and its items. here is the code of main xml file. if i comment the whole cardview then i can see the cards and all the methods of recyclerview's adapter are called but when i uncomment them than i cannot see any cards. here is the code http://paste.ubuntu.com/13892030/ Dec 10 13:13:49 Is there a way to install custom ROMS on AVDs / emulators ? Dec 10 13:21:37 Could someone please tell me why my Frame on Click lisetener http://pastebin.com/KNyKZ9r9 just does nothing? Dec 10 13:24:09 Has anyone here successfully tried Address Sanitizer [https://github.com/google/sanitizers/wiki/AddressSanitizer] on an Android device (ARM/ARM64 ABI) ? I've tried multiple devices and all fail to startup or crash immediately after bootup once I inject ASAN and compiler-rt library to the device with the asan_device_setup bash script from either llvm-3.5 or llvm-3.6 inside the Android NDK. Dec 10 13:25:21 Hi guys, I'm trying to follow the getting started tutorial, but it doesn't line up perfectly with the latest android studio and/or sdk Dec 10 13:25:47 does anyone know of a newer tutorial, or what I need to change to be able to use it? not sure if getting an older version of android studio will help, already tried installing older sdks Dec 10 13:43:19 samsung galaxy note 2, rooted stock rom, android 4.4.2 Dec 10 13:43:45 All of my apps on external SD card are not accessible suddenly Dec 10 13:44:16 they appear in application manager with no icon (grey "sd" icon instead"), and most of them have size of 0.00B Dec 10 13:44:33 MeiR`: Just faulty probably Dec 10 13:44:45 the card itself is mounted and accessible Dec 10 13:44:51 Ohh Dec 10 13:44:52 hmm Dec 10 13:45:06 cart_man: I scanned it both through TWRP and windows CHKDSK Dec 10 13:45:08 no errors Dec 10 13:45:45 tbe Dec 10 13:46:03 thepoosh, it doesn't take much time to set up Dec 10 13:46:08 another weird thing that happened: whatsapp contact names weren't showing, untill i made a manual refresh Dec 10 13:46:17 thepoosh, like 5 minutes Dec 10 13:46:53 i suspect it's related to insane chip, which my device has Dec 10 13:47:05 thepoosh, considering it makes your build take 10 seconds instead of 2 minutes, you profit after only 3 builds Dec 10 13:47:14 because there were randon reboots and force closes in last days Dec 10 13:47:18 random* Dec 10 13:48:27 didn't have problems in 2-3 years since i have the device, though Dec 10 14:00:05 Hi! I use Realm database in my project. How should I handle closing of database instance in my application? Should I recreate an instance of database every time I make request or I should create database only once and release it ( somewhere ? ). Besides, this database is encrypted and security issues could exists. Dec 10 14:03:20 cart_man: any idea? Dec 10 14:04:01 MeiR`: No your problem sounds odd... My best guess is that some files got corrupt by anybody could have toldyou that and its a bit broad. Dec 10 14:06:42 pfn: I agree, but we haven't allotted time for this yet Dec 10 14:06:46 I will get to it Dec 10 14:06:50 *I want to get to it Dec 10 14:44:17 ugh, copy ctor for margin layoutparams doesn't work for the common use case Dec 10 14:56:26 e.g new RelativeLayout.LayouyParams(frameLayoutParams) will lose margin info Dec 10 14:56:41 even though the code does try... Dec 10 14:56:49 shitty overloads Dec 10 14:57:27 no jake... Dec 10 14:58:21 or for that matter, new FrameLayout.LayoutParams(frameLayoutParams) Dec 10 14:58:26 will lose margins Dec 10 15:00:31 hey, how much gb do I need for Kernel development? (cause my ssd only has 50gb left) Dec 10 15:02:43 for aosp, you'll need about 100gb to build everything Dec 10 15:02:59 something between 50-100gb for kernel only Dec 10 15:03:18 do I need to download as much too? because my internet has a cap of 30gb per month... ^^ Dec 10 15:05:18 aosp is 50gb download Dec 10 15:07:02 RockThatBodyGER, you're pretty much screwed Dec 10 15:08:11 have you considered getting an amazon instance for a month? heh Dec 10 15:08:30 aosp is a f'ing monster to build. Dec 10 15:09:28 i want to build a CM13.0 Android 6.0.1 kernel for my Galaxy S3 Dec 10 15:09:39 cause boeffla quit dev for s3 Dec 10 15:10:01 dragorn, it's not that bad if you have memory to spare Dec 10 15:10:13 emilsp, I'm used to having to account for multiple devs :P Dec 10 15:10:28 emilsp, so i had to spec a real monster to handle 4 or 5 devs doing build Dec 10 15:10:48 dragorn, makes sense Dec 10 15:11:31 it worked pretty well tho, I think we were down to around 21 minutes for a build, we ended up constrained mostly by some inherent non-parrallelisms in the build process and dependencies that would stall a whole branch until later Dec 10 15:11:39 which was fine since it let another dev get more cpu time, honestly Dec 10 15:12:08 in my office, we used distcc to basically run a single gcc thread on each of the machines in the office Dec 10 15:12:19 we got the process down to 30 minutes, which is fairly good Dec 10 15:12:26 with 0 impact on usability in general Dec 10 15:12:39 yeah sounds good, i heard of 8 hours to 8 days for a rom... :o Dec 10 15:12:57 does a ssd improve build times? Dec 10 15:13:37 yes, immensely Dec 10 15:14:22 okay, gonna move some games to my hdd then and split up that ssd for ubuntu Dec 10 15:18:38 do you know a good guide for kernel building beginners? i already found these 2: http://forum.xda-developers.com/showthread.php?t=2152819 http://xda-university.com/as-a-developer/adding-features-to-your-kernel Dec 10 15:22:10 #android-root Dec 10 15:22:22 no custom rom talk here Dec 10 15:25:28 pfn, ok ok Dec 10 15:43:19 it's my drawer code that it generated with android studio default template http://rifers.org/paste/show/4472 and i have this textview http://rifers.org/paste/content/paste/4472/image but when i selected an item in drawer list view it doesn't write anything on textview Dec 10 15:43:51 or how can i change content view when selected an item in drawer list suppose i have there content view Dec 10 15:44:00 and there item in drawer list Dec 10 15:48:07 https://code.google.com/p/android/issues/detail?id=196729 Dec 10 15:48:08 yay Dec 10 15:48:16 avoid catching me off guard Dec 10 15:52:39 why do some of my AlertDialogs appear with the button text color as my accent color, and have the buttons stacked vertically, while others have the button text as bluish green and the button text just gets pushed off screen if there is not enough space? Dec 10 15:52:45 I can't figure any difference Dec 10 15:55:15 what was the chanal for non dev related Android talk ? Dec 10 15:55:24 #android Dec 10 15:55:25 #android isn't obvious? Dec 10 15:55:34 obviously... Dec 10 15:55:52 I thought it was android-offtopic, android-talk or smth like that Dec 10 15:56:12 MooGoo: neither sounds right tho Dec 10 15:56:46 ...what would sound right? Dec 10 15:56:53 this is just for the Material themed dialogs Dec 10 15:59:04 accent color, buttons stacked horizontally Dec 10 15:59:26 are AlertDialogs you are importing the same? Dec 10 16:00:18 ........ Dec 10 16:00:20 maybe not Dec 10 16:00:58 maybe the support AlertDialog library is what I need to use Dec 10 16:02:39 what is it called when your app has a protocol that can accept requests in the form of ://resource Dec 10 16:02:40 or maybe it's the platform version that works the way I want it Dec 10 16:03:54 literallycat, URI Dec 10 16:04:03 ah....so using the support AlertDialog results in blueish buttons that dont wrap, and using the platform AlertDialog gives me accent colored buttons that are stacked Dec 10 16:04:22 thanks dragorn Dec 10 16:05:42 If I want to make a HTTP request every few hours no matter if the app is open or dead, how would I make that happen? Dec 10 16:06:17 AlarmManager? Dec 10 16:06:32 Would that let me make the request and act on it? In the background Dec 10 16:07:17 sure, tho I think you'd still have to specify to run on a background thread Dec 10 16:08:09 Sweet, I'll look into that, thanks Dec 10 16:08:21 How would I specify that it runs on the background thread? Dec 10 16:08:24 Can I tell an ImageView to use my different mipmaps (or drawables?) based on its size? (I provided h,m,x,xx,xxx version but it always takes the same png for any size) Dec 10 16:08:35 huh? Dec 10 16:08:49 pretty much everything should go into drawable Dec 10 16:09:09 drose379: Thread, AsyncTask, Handler etc Dec 10 16:09:17 Great, thanks Dec 10 16:09:22 oo_miguel, and for that matter, they should always be the same size Dec 10 16:12:15 pfn: Imagine some animation when I want to scale some things over time. Dec 10 16:12:22 so? Dec 10 16:12:30 dpi buckets are completely unrelated Dec 10 16:12:35 your question makes no sense Dec 10 16:18:12 size ≠ pixel density Dec 10 16:18:45 pfn: I thought I could use image-buckets for this. So if I want to make an imaged that is scaled from lets say 1x1dp to fullscreen, and use different image resolutions over this time I have to write something on my own and not rely on this density-buckets. Dec 10 16:20:09 oo_miguel, density buckets are not image buckets Dec 10 16:22:49 Hello! Could you guys tell me example of android library (aar, not jar) from github, which have javadocs and the bundling into aar during build. Dec 10 16:23:08 uh, use google to find one Dec 10 16:23:10 I want to build my library with javadocs but no luck Dec 10 16:23:12 there's a shitton Dec 10 16:23:17 and aar don't include javadoc Dec 10 16:23:32 i mean in ide Dec 10 16:24:03 Quick documentation feature Dec 10 16:24:19 which highlights javadoc Dec 10 16:24:36 * pfn publishes javadoc with aar, but not using gradle Dec 10 16:24:50 :( Dec 10 16:25:01 http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.rengwuxian.materialedittext%22 Dec 10 16:25:07 they seem to publish javadoc Dec 10 16:25:54 pfn: Where can I learn more about this "image buckets" ? Dec 10 16:27:04 i wonder if ImageView or the like ever work with mimaps Dec 10 16:27:21 technically mipmaps /are/ image buckets Dec 10 16:27:22 squirrel, why wouldn't it Dec 10 16:27:42 well, i mean, selecting different bitmaps at different sizes Dec 10 16:28:44 squirrel: this is what I actually expected. but as I understand the selection is done once at (startup?) based on the density of the device. Dec 10 16:29:11 and scaling it afterwards does not affect this selection in any way Dec 10 16:29:50 or even more general: the size of the imageView does not have any effect on the choice of the drawable or mipmap Dec 10 16:30:27 of course Dec 10 16:30:30 that's how resources work Dec 10 16:31:25 pfn: I understand this now. Is there any mechanism that works in a way I expected mipmaps to work? Or will I have to write this on my own? Dec 10 16:31:37 well there are some api concerning mipmaps.. somewhere Dec 10 16:32:55 squirrel: ok sure, I am aware that what I want is doable and it might be not a completely new idea :) Dec 10 16:33:40 simliar to the original mimaps invented in the early 80ies ; Dec 10 16:33:42 ;) Dec 10 16:34:10 maybe hence my misconception about the android mipmaps Dec 10 16:35:15 In fact I was trying to understand the difference between mipmaps and drawables, so I thought they might behave differently in some ways. Dec 10 16:35:20 they don't Dec 10 16:35:23 they behave identically Dec 10 16:35:45 the only difference is that mipmap won't get removed, and when scaling down, bitmap may choose a lower dpi mipmap image Dec 10 16:36:13 future play store updates may auto-remove drawable buckets in order to reduce bandwidth utilization Dec 10 16:37:44 pfn: hmm, so bitmaps may choose _other_ images when scaled. Dec 10 16:37:52 it might Dec 10 16:37:52 pfn: I will have to take a look at that, thank you Dec 10 16:39:42 you can use getDrawableForDensity Dec 10 16:40:18 pfn: thanks Dec 10 16:40:52 but innately, not really what you want to be doing Dec 10 16:42:02 pfn: Initially I wanted only to understand the difference (mipmaps/drawables), which became mostly clear now. Dec 10 16:42:12 so how is it that you can have this in styles: Dec 10 16:42:13