**** BEGIN LOGGING AT Thu Dec 31 02:59:58 2015 Dec 31 03:20:32 intentservice is one approach Dec 31 03:21:48 Others? Dec 31 03:22:05 managing threads properly Dec 31 03:22:13 rx, futures&promises, etc. Dec 31 03:31:09 CedricBeust_: :) I am going to join that channel Dec 31 03:59:16 Is it possible to develop android apps without using android stuido? Dec 31 04:00:00 yes Dec 31 04:02:06 Which one to use? Dec 31 04:02:10 but if you need to ask that question, you should have a good reason why not Dec 31 04:03:56 so... why not? Dec 31 04:03:58 eclipse java will do? Dec 31 04:04:17 Android studio is 1.1GB, that's huge file Dec 31 04:04:27 meh, not a good reason :P Dec 31 04:04:38 stone him! Dec 31 04:04:39 eclipse java is not good? Dec 31 04:05:30 also, that's the bundle download - which includes loads of SDK stuff you'd need to download anyway... the IDE itself is 350MB or so Dec 31 04:06:10 android-studio-ide- 100%[=====================>] 363.29M 70.6MB/s in 5.5s Dec 31 04:06:44 What's wrong with eclipse java? Dec 31 04:06:53 it's EOLed Dec 31 04:07:08 What's EOLed? Dec 31 04:07:10 no longer developed, no longer supported Dec 31 04:07:13 "End Of Life" Dec 31 04:07:20 No Dec 31 04:07:30 Eclipse is still alive. Dec 31 04:07:32 at this day and age you still care about file sizes? Dec 31 04:07:42 https://eclipse.org/downloads/ Dec 31 04:08:12 i think he meant the dev tools for eclipse android. they're eol Dec 31 04:08:12 shibly: not for Android it isn't Dec 31 04:12:17 Android suppor is dead for eclipse? Dec 31 04:12:29 Isn't android studio based on eclipse? Dec 31 04:13:58 no, it's based on intellij Dec 31 04:14:30 used to be based on eclipse of course, but that was a year (or two?) ago Dec 31 04:23:17 SDK = standard development kit or library/api to develop android app, what is ADT? Dec 31 04:23:28 Is ADT with android studio? Dec 31 04:26:38 ADT refers to eclipse, i think. it's simply called android studio these days Dec 31 04:27:06 http://developer.android.com/tools/sdk/eclipse-adt.html Dec 31 04:27:15 see, ADT for eclipse. a short google leads to the answer Dec 31 04:27:22 there's no ADT for android studio Dec 31 04:27:57 So why is android studio is so big(1.1GB) ? Dec 31 04:28:14 because android studio is android studio, even if it's based on intellij. it's like other jetbrain products. they're all based on intellij but they don't name them 'php for intellij' for example Dec 31 04:28:17 Android studio = 363MB Dec 31 04:28:21 already answered, it includes the sdk Dec 31 04:28:27 Then what's the size of SDK Dec 31 04:28:38 barebones? ~800 MB Dec 31 04:28:55 with all the compilers and libraries? 2 GB. with the emulator? 5~10 GB Dec 31 04:29:28 https://www.google.com.bd/search?q=android+SDK+size&oq=android+SDK+size&gs_l=serp.3..0j0i22i30l9.201802.206611.0.206914.16.15.0.1.1.0.298.1762.2-7.7.0....0...1c.1.64.serp..8.8.1768.xO01SP4BXpU Dec 31 04:29:41 It's 89.7MB Dec 31 04:31:00 this is kind of pointless to discuss, so i'll stop here Dec 31 04:31:47 just checked my sdk folder (does not contain emulators,a nd only contains the latest sdk, samples, compatibility libraries). 2.16 GB Dec 31 04:31:53 that's all, enjoy Dec 31 04:36:52 Anyone know the easiest way to get the dimensions of an image when using Picasso? I was trying to do it by overriding onBitmapLoaded and then measuring the bitmaps size but onBitmapLoaded is never being called -.- Dec 31 04:40:28 What's the most difficult part of android dev to learn? Dec 31 04:40:36 What can't be done with android dev? Dec 31 04:40:51 But Twitter outsourcing its Mac app is still suggestive in a few ways. It says the desktop is not a priority for the company — which is fine! (Mobile is the future, etc.) It hints at the strain that Twitter faces as it attempts to build consistent, high-quality apps across many different platforms at once. " Dec 31 04:41:15 i think we are all feeling that strain :D Dec 31 04:42:55 still incredulous that a company the size of twitter couldn't just ad a few people to do the mac piece, i would have to think it could share code with the iOS version Dec 31 04:43:07 twitter is a strange company Dec 31 04:43:10 Can anyone answer? Dec 31 04:43:34 shibly show some code or stacktrace Dec 31 04:44:30 I am downloading android studio. Dec 31 04:46:29 code to the win32 api, use wine, write once, run anywhere ;-) Dec 31 04:47:02 what could go wrong? Dec 31 04:47:14 Wine to run android studio on linux? Dec 31 04:48:03 I was talking about the complaint that Twitter can’t keep up with multiple platforms. (But I wasn’t being serious) Dec 31 04:48:58 also messed up their layoffs were people that supported infrastructure Dec 31 04:51:14 24.4.1 , is it the latest version of android sdk? Dec 31 04:51:37 duboisj but seriously - not win32 and wine - but why not electron + node.js, i would think such thing would be pretty easy. twitter isn't rocket science Dec 31 04:54:34 I dunno. Twitter doesn’t seem like rocket science, it’s true. (But I don’t actually tweet, nor have I ever written any javascript, so I guess I can’t say. Kind of a luddite.) Dec 31 04:55:46 god, I hate micro usb Dec 31 04:55:50 half my cables don't work Dec 31 04:55:56 this shit was supposed to be super durable... Dec 31 04:56:16 * duboisj just getting around to committing change from ant to gradle, after advice here. <== luddite. Dec 31 04:56:20 Android facebook or twitter app, are these written for android system? Or are these the same websites that we use on firefox? Dec 31 04:56:26 (which, btw, was great advice - it’s much better.) Dec 31 04:57:56 pfn i guess its better the cables don't work, than the port - but i always felt it was kinda wimpy Dec 31 04:58:51 they're native apps Dec 31 04:58:58 they're clearly not the website Dec 31 04:59:19 shibly Fb tried doing a hybrid app and gave up a few years ago Dec 31 04:59:49 but i still think sooner or later its inevitable things go that way again Dec 31 04:59:50 Are facebook and twitter app written in java? Dec 31 04:59:55 yes Dec 31 05:00:36 lol i just tried the android twitter app and it felt weird, i was wondering if it was react native or something - maybe they will have to outsource that too :D Dec 31 05:01:28 ouch i just crashes twitter's mac app Dec 31 05:02:03 java was designed for android Dec 31 05:02:11 all other use cases are terrible Dec 31 05:02:20 b4b, No Dec 31 05:02:28 Java is good for servlets Dec 31 05:02:34 and j2se Dec 31 05:02:43 desktop apps, web apps, applets thumbs down Dec 31 05:02:52 Why? Dec 31 05:02:55 but a mobile os that is a jvm is great Dec 31 05:03:14 just how i feel Dec 31 05:04:26 flash was designed for annoying people with ads Dec 31 05:04:40 and dont know shit bout silverlight and neither do you Dec 31 05:04:45 no one does Dec 31 05:07:05 im gonna get shit for this but i feel php is the ideal backend web language Dec 31 05:07:14 simple and embeddable in htm Dec 31 05:07:15 adb install app/build/outputs/apk/app-debug.apk , what does this command do? Dec 31 05:08:06 shibly you could read the docs on adb .... Dec 31 05:08:48 if you keep asking vague and / or questions easily found in the docs or google, you will deplete out your help budget quickly Dec 31 05:11:56 Hello everyone, I want to learn Android Development using Android Studio, can anyone please suggest a good testing device i can buy . I want to be able to upgrade and downgrade the Operating system should the need arises Dec 31 05:15:15 I think it’s reasonable starting off to use the emulator for learning. I don’t have much opinion on what to buy if you’re set on a device, but I think you can do a lot without one. Dec 31 05:15:47 spykins a nexus device - but i'm not sure if the new ones can be flashed /down/ Dec 31 05:15:53 duboisj: thanks Dec 31 05:16:08 is there a windows dev channel on here? Dec 31 05:16:16 not the winrt shit though Dec 31 05:16:23 native apps Dec 31 05:17:29 g00s: which nexus device? There seems to be alot of them in the market Dec 31 05:17:35 b4b not on irc, they are on gitter though Dec 31 05:20:20 gitter? Dec 31 05:22:25 b4b https://gitter.im Dec 31 05:22:30 at least the .net team is there Dec 31 05:24:20 thats nuts they have everything but windows dev on here Dec 31 05:32:27 Hey so I'm trying to accommodate peeking in my android wear watch face. My current method is this snippet, (https://gist.github.com/ollien/5b07396556f67c8ab01f) but it doesn't seem to play nice with the new solitary google now card, which takes up more height than any other card. When this card is hidden, its rect shows that it is 3 pixels above the bottom of the screen. However, when literally any other card is hidden, its rect shows that its at Dec 31 05:32:28 (0, 0). Does anyone know of a better way to code Dec 31 05:32:40 *to code a check for a card peeking? Dec 31 05:34:13 ollien fyi "android wear" is mentioned here maybe once per month :D Dec 31 05:34:26 g00s fantastic. Dec 31 05:34:41 g00s I assume there's no other channel regarding AW, right? Dec 31 05:34:50 not that i know of Dec 31 05:34:54 damn. Dec 31 05:42:40 I have a listview with a custom view. The custom child view just has two views, a textview and a button. So [Text View][Button] all the way down the list. How can I get access the textview when the button is clicked? Dec 31 05:43:31 the button has an onClick method set but the view being returned is the button view instead of the whole child so it can't see the textView Dec 31 05:49:04 http://pastebin.com/y6uM60fK Dec 31 06:00:20 managed to fix that one. getting out of bounds exception now :( The button was supposed to remove the item from the list when pressed Dec 31 06:07:07 What Application performance monitoring tool or service people are using for Android apps in production? Dec 31 06:29:49 wow SearchView is 1800 lines of code :/ Dec 31 06:38:14 Anyone here real good with Espresso? I have an interesting situation I don't know how to overcome. So I have 3 activities, and 3 activity espresso test classes. Each test class has like 5 tests inside. The thing is ActivityA is a login screen, and ActivityB and C are inbox and user profile screen. E.G YOU NEED TO BE LOGGED IN. How do I make sure that ActivityAEspressoTestClass gets run first? Dec 31 06:39:24 JakeWharton: Not sure if you're around, but I know you said that you use Espresso exclusively (with junit tests) for testing at some point before. How does square handle the situation where you gotta be signed in before hand? Dec 31 06:40:33 Set the app state to signed in and launch the screen you want Dec 31 06:40:53 We use local, stable mock data for testing so changing user state is simolr Dec 31 06:40:56 Simple Dec 31 06:41:57 JakeWharton: We don't have an appState, the appState we use is really a "Session". eg. session.valid() then continue the onCreate(), if not, start login activity Dec 31 06:42:30 So we can mock out the session, but I'd like to send real messages with a real account to test. Dec 31 06:43:31 Those are acceptance tests. Normal UI testing should never hit a real server. For those you would just go through the sign in flow in the app Dec 31 06:43:46 Factor out a method so each test just calls signInUser(...) Dec 31 06:43:58 Does that seem like a stupid thing to do? Trying to write a couple of high level end to end tests. 1. Login incorrectly. 2. Login Correctly. 3. Send a message. 4. Make sure the message shows up in the list view. Dec 31 06:45:10 JakeWharton: Okay. So "acceptance" tests is what I'm after. I think it'd still be smart to get a few acceptance tests up. Do you guys use them at square? Do you do acceptance tests with espresso? Dec 31 06:45:48 We don't have any, but yes I would use Espresso Dec 31 06:46:09 They're a good idea. Maybe I'll add some next month for the common flows. Dec 31 06:47:39 JakeWharton: Super insightful. Thanks man. Last question, I want to bring up "Normal UI testing should never hit a real server." to my manager. In my opinion they should never hit a real server, because we want to mock out known scenarios, 500, 400 errors etc. WHat's your "reason" for "UI tests shouldn't hit a real server"? Dec 31 06:48:52 Those you listed, stability of the data on the server, flakiness of the network. Ideally an automated test doesn't need to hit the network for anything. I should be able to run them on a plane. Dec 31 06:49:01 I use ndk c++ and I add java class to my Qt pro but java class not Valid or Available, How I can fix that ? Dec 31 06:49:52 You don't want the server to affect the test in any way. It needs to be a constant, not a variable, so you have confidence in the behavior actually being tested. Dec 31 06:50:19 JakeWharton: Thanks, the fact that you're adding them in the next month for common flows is reassuring. No idea if you can "say" which tests should run first if you had 3 espresso classes right? I'd love to come up with a way to do login failure common scenarios, then login, then do a whole bunch of other tests. Dec 31 06:50:57 how many of y’all nerds use windows 10 and how many of u use 8 or less? Dec 31 06:51:38 You might be able to use @SmallTest, @MediumTest, @LargeTest as a hack. Not sure otherwise. Dec 31 06:52:55 I got this error after running the first project: http://imgur.com/xcyAs5z Dec 31 06:52:58 Why? Dec 31 06:53:10 Android studio Dec 31 06:54:56 JakeWharton: Hm. Yeah, I talked to one of the Espresso guys at android summit, and he mentioned something that I should be able to do what I want. My question actually first started about what the hell the ActivityTestRule thing is in an espresso test, but he said something like "yeah you can tell it what class test to run first", but was in a rush and didn't give me anything besides that, and I've been searching online for a whil Dec 31 06:56:12 In general ordering tests is bad, but it makes sense what you're saying. Dec 31 06:56:18 Not sure how though, sorry Dec 31 06:56:23 i still think visual c++ 6.0 was the nicest ide Dec 31 06:56:38 was intuitive and lightweight Dec 31 06:58:09 b4b: im running win7 why Dec 31 06:58:12 JakeWharton: Thanks man really appreciate it. Enjoy the new year Dec 31 06:58:28 just trying to see how many people have upgraded to 10 Dec 31 06:58:34 Ordering tests is bad for unit tests but very useful for integration of functional testing Dec 31 06:58:40 b4b: alot Dec 31 07:00:34 Why am i getting this error? http://imgur.com/xcyAs5z Dec 31 07:00:55 My code http://pastebin.com/nSFSW4dh Dec 31 07:01:02 I use ndk c++ and I add java class to my Qt pro but java class not Valid or Available, How I can fix that ? Dec 31 07:05:27 need help with SQLite... anyone here? Dec 31 07:08:43 Nick007: generally, it's easier to answer questions which have been asked, rather than those which haven't Dec 31 07:09:20 Nick007 there is also #sqlite if its purely that ;) Dec 31 07:09:46 is sqlite available on all android devices? Dec 31 07:10:03 b4b: yes, it's an integral part of the system Dec 31 07:10:07 QQ : is View.onAttachedToWindow guaranteed to be called? Dec 31 07:10:08 looking at the implementation of onUpgrade(...) in http://developer.android.com/training/basics/data-storage/databases.html#DbHelper ... newVersion and oldVersion haven't been used at all... are the changes made automatically? Dec 31 07:10:26 g00s, I didn't know about #sqlite, thanks Dec 31 07:12:27 Nick007: as it says, that's a pretty basic implementation of onUpgrade... generally, the point is that you can bring your DB up-to-date, since you know the changes between versions Dec 31 07:12:33 Nick007: No, it's just an example that wipes and recreates the db every time the version goes up. Not the best implementation Dec 31 07:13:19 Leeds, so I have to add the code which deals with the version numbers? Dec 31 07:13:27 you do Dec 31 07:13:27 Yup. Dec 31 07:13:46 Usually something like "if (newVersion >= 1) { ...} if (newVersion >= 2) { ... }" Dec 31 07:14:43 and further looking at onDowngrade(...) in the same page... it just calls the onUpgrade... passing the oldVersion as oldVersion and newVersion as new newVersion... shouldn't it be vice-versa? Dec 31 07:15:14 like oldVersion passed as newVersion and newVersion passed as oldVersion Dec 31 07:15:54 doesn't matter - again, that's a naive implementation, all it does is throw away all the data Dec 31 07:17:26 I guess that onDowngrade would be used in restoring from backups, am I correct?... I'm a beginner Dec 31 07:18:02 Don't worry too much about onDowngrade(), it's not used much Dec 31 07:18:25 okay CedricBeust_ Dec 31 07:19:35 thanks Leeds and CedricBeust_ :) ... I'll get back to learning Dec 31 07:19:43 good luck :) Dec 31 07:20:07 Nick007 check out the iosched app for serious db upgrade code :) Dec 31 07:20:19 that shit always keeps me up at night Dec 31 07:20:37 doesn't help that sqlite missing ALTER table Dec 31 07:20:49 well, unless you're adding columns Dec 31 07:30:42 google io sched app lost my sched this year. efff that. lol Dec 31 07:43:11 Any NDK Coder plz Dec 31 07:48:49 i dont know none of that Q stuff but I know jni callstatic methods require a jclass Dec 31 07:49:31 what if you changed callStaticObjectMethod( "com/eisa/MyDeviceInfo" to callStaticObjectMethod( m_AndJniObj Dec 31 07:51:27 also I dont think method should be a string it should be the id return from getStaticMethodId Dec 31 07:52:29 AmR|EiSa, ask the channel Dec 31 07:53:08 here’s a sample Dec 31 07:53:10 extern "C" AVIAN_EXPORT jint JNICALL Dec 31 07:53:11 Java_java_nio_Buffer_androidGetCapacity(JNIEnv *, jclass, jlong obj) { Dec 31 07:53:12 Dec 31 07:53:14 jclass clazz = ANDROID_ENV->FindClass("java/nio/Buffer"); Dec 31 07:53:15 jmethodID method = ANDROID_ENV->GetMethodID(clazz, Dec 31 07:53:17 "capacity", Dec 31 07:53:18 "()I"); Dec 31 07:53:20 //ANDROID_ENV->CallStaticVoidMethod(clazz, method, r, g, b, a); Dec 31 07:53:21 jint ret = ANDROID_ENV->CallIntMethod((jobject)obj, method); Dec 31 07:53:23 ANDROID_ENV->DeleteLocalRef(clazz); Dec 31 07:53:24 return ret; Dec 31 07:53:24 } Dec 31 07:53:42 b4b: Please use pastebin or gist or something for things like these Dec 31 07:53:51 :') Dec 31 07:55:25 hey, so i want to transition from the MainActivity to the SettingsActivity. i followed the official guide for using preference fragments, but the SettingsFragment is inflated under the ActionBar. how can i avoid this? Dec 31 09:04:11 #android-x86 Dec 31 09:11:02 arrrrrg Dec 31 09:11:33 building with multidex support, method count is 65008 Dec 31 09:11:53 building without multidex, com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536 Dec 31 09:11:56 dammit! Dec 31 09:13:39 get rid of getters and setters [solved] Dec 31 09:19:00 This is my first project with android studio, https://gist.github.com/anonymous/8fd28dd3233137ce8c20 Dec 31 09:19:19 If i run this project, i see nothing on virtual android device Dec 31 09:20:22 use real device Dec 31 09:20:33 or you might need to turn developer options on AVD Dec 31 09:20:41 i had to do it once Dec 31 09:21:33 This is content_main.xml => https://bpaste.net/show/11398e305261 Dec 31 09:21:57 It's android virtual manager Dec 31 09:22:08 It's android virtual device Dec 31 09:22:35 It's Nexus_5_API_23_x86 Dec 31 09:22:54 do you get any logs Dec 31 09:23:16 http://www.greenbot.com/article/2457986/how-to-enable-developer-options-on-your-android-phone-or-tablet.html Dec 31 09:24:13 Which log? Dec 31 09:24:34 AVD: Nexus_5_API_23_x86 is running Dec 31 09:24:46 I didn't get any hello world message on that device Dec 31 09:24:52 virtual device Dec 31 09:26:48 hi all, I need to know, how the system.img or system folder is created after making the android source. I need to add a custom script into /system/usr/ Dec 31 09:46:09 hey guys is it possible to create something which runs in the background which prevents users from disabling certain settings like location Dec 31 09:47:43 Is that path to my class is right " org/qtproject/example/com/eisa/MyDeviceInfo " ? Dec 31 09:48:30 my main pack is org.qtproject.example my class pack is com.eisa.MyDeviceInfo Dec 31 09:49:58 Is that path to my class is right " org/qtproject/example/com/eisa/MyDeviceInfo " ? Dec 31 10:00:10 Hello everyone, I have to set a service with alarmmanager as soon as an activity starts. I do this with setInexactRepeating because I need a repeating task in background forever (or until the user decides to stop it). My question is: is it safe to set the alarm everytime the activity is launched or do I have to check myself if the alarm is already set? And if this is the case, any hints on how to perform this task? I've done some tests but no l Dec 31 10:05:13 twilight: AlarmManagers are tricky, the intent activity that you are passing that will be invoked has to have an identifiable signature to get deregister later on or if they are setup incorrectly setup It will open up a world full of bugs especially repeating alarms Dec 31 10:05:44 Make sure you debug your alarm managers in the dev environment by dumping all the alarm calls made or setup in the dev environment Dec 31 10:06:15 there is a command to get a dump of all the alarms setup from all the apps in android make sure you google for it I can't remember it from the top of my head Dec 31 10:10:20 sybarite: ok thanks, so it's not generally possible to answer something like "set the alarm when you want is safe, android will take care of discard duplicated alarms" Dec 31 10:11:10 twilight: No don't rely on that, make sure you go through the sysdump to debug, had to deal with a nasty bug with this for our Android team once Dec 31 10:11:44 I see, thanks sybarite Dec 31 11:12:20 Hey, is there a way on linux to start android VM with support for intel virtualisation technology? Dec 31 11:13:35 maybe someone can clear up my misunderstanding with Dagger2, I'm trying to set up my project so that I have different product flavours for each backend environment including one flavor that uses a mock service for instrumentation tests.. is there any way to do this without overriding the Application + manifest in my mock flavor? Dec 31 11:14:55 it seems like a really awkward solution Dec 31 11:21:20 I wonder why ResourceCompat.getColor isn't static Dec 31 11:25:03 so much code duplication involved Dec 31 11:27:03 this seems like a better solution, but sorta hackish: http://stackoverflow.com/questions/26939340/how-do-you-override-a-module-dependency-in-a-unit-test-with-dagger-2-0 Dec 31 11:36:45 hey guys what can i do to ensure certain settings can never be disabled. Dec 31 11:36:50 can i code something which runs in the background? Dec 31 11:43:39 eagles0513875, I think you have to clarify your question a bit. Dec 31 11:44:38 basically we rely on the mobiles quite a bit and use it as a vehicle tracking backup to some mobile device management software and basically i want to prevent users from switching off the location. basically set it to always on Dec 31 12:38:06 is there anywhere I can manually download all platforms, tools, and extras for an offline installation? Dec 31 12:41:36 think for a small-medium project like mine (~50 files) there's not much point in using Dagger 2. Dec 31 13:50:40 hi, guys! good afternoon Dec 31 13:51:17 is it possible to get customized rom to install on my galaxy tab 10.1 version 1 (2012) here? Dec 31 13:52:19 novak_: try #android-root Dec 31 13:52:36 I'd like to get the marshmallow android version for gtn8000 Dec 31 14:40:48 I'm trying to set up eclipse for android development. I understand this is no longer supported but I'm attempting to resurrect an ancient internal library to compile to a jar. When I've achieved this I can try and migrate forward to android studio/compiling outside of eclipse Dec 31 15:21:17 threading is the devil :) is there a well established pattern for offloading fetching data from the network that abstracts away all the lifecycle issues, threading, etc? Dec 31 15:22:24 if i use a handler to post a runnable to the ui thread once the network fetch has completed, what happens if the activity has been destroyed in the meantime? Dec 31 15:23:15 is the reference to the handler still valid? will the post method be a noop? Dec 31 15:26:45 hey ppl. i'm developing a game with gdx for android and desktop. which net library would you recommend me? i tried kryonet. but has some bugs with the discovery.. Dec 31 15:41:24 why can't Android start downloading the next package while the current one is installing? Dec 31 15:42:44 Hi folks, couple questions about going live on the Play store: I already have a private beta going. should i expect a 24-hour propagation period after promoting to production? And can anyone give me insights on the Play store trending stats? Dec 31 15:53:41 with >1 billion people using Android, why does this channel suck so badly? Dec 31 16:02:54 Esxyz: how does it suck? Dec 31 16:03:41 i think he's salty because nobody answered his not-really-android-dev-related question Dec 31 16:04:06 from watching days of people drift in and out asking their questions with no responses Dec 31 16:06:17 Esxyz: wat Dec 31 16:55:02 slow morning Dec 31 17:01:38 it's well past wine-a.m. Dec 31 17:03:00 g00s: Any familiarity with http://www.rsaconference.com/events/us16/agenda ? Dec 31 17:03:59 capella-s3 no, sorry Dec 31 17:04:24 sounds interesting Dec 31 17:09:21 I never found rsa conf to be interesting, I'm always interested in low level crypto, but the talks are all much higher level Dec 31 17:19:46 holy crap this methane leak in Cali is like having an extra 7 million cars on the road per day, the storage tanks are not regulated (wtf!) ? Dec 31 17:25:52 When an ActionView in a toolbar / actionbar expands - is the 'app icon' supposed to change to a <- back arrow ? Dec 31 17:26:19 for example, the SearchView - when it expands, shows a <- [ ______ X ] Dec 31 17:26:34 everything in [ ] is in its layout Dec 31 17:27:06 pressing <- aborts the search, not navigate up from that screen Dec 31 17:33:57 g00s: I saw described behavior. suppose it is expected Dec 31 17:34:19 vigilancer custom ActionView or SearchView ? Dec 31 17:34:33 on search Dec 31 17:35:17 ah yes, thanks. i'm wondering if this behavior is system-defined, or if I have to do that manually with a custom ActionView- i looked through SearchView sources and didn't see anything regarding this Dec 31 17:35:57 maybe i need to hook into the 'back pressed' and collapse the view myself, just trying to get my head around what i need to do here Dec 31 17:36:27 g00s, eys when you click a searchview, the app icon becomes a back arrow Dec 31 17:37:45 Ologn thanks; so I guess i would need to do that myself then? (its outside the responsability of a custom ActionView, and system doesn't do it by default) Dec 31 17:37:52 g00s: sorry can't say for sure, never used search. but I believe it's action bar's responsibility i.e. system wide Dec 31 17:38:04 again not sure about that Dec 31 17:38:36 hm, my action view expands but nothing else happens - guess i'll have to dig deeper. thanks vigilancer Ologn Dec 31 17:39:38 g00s, try getSupportActionBar().setDisplayHomeAsUpEnabled(false); Dec 31 17:45:19 Ologn ok, so i guess i need to intercept that touch on <- and see if my action view is expanded, and then collapse it, instead of navigating up. Dec 31 17:51:04 hmm, in what package is the Binding class? Dec 31 17:51:06 https://developer.android.com/reference/android/app/Service.html#LocalServiceSample Dec 31 17:51:17 referenced from the activity part of the local service example Dec 31 17:53:40 hi everyone Dec 31 17:53:50 gradel does not finish Dec 31 17:55:11 iresf gradle's work is never done ! Dec 31 17:55:37 iresf: doing what? Dec 31 17:56:26 i started android-studio with ./studio.sh in debian but gradel does not finish it's work Dec 31 18:00:11 iresf: oh, android studio. i got it to run once and then it crashed pretty soon after :) Dec 31 18:00:17 now i use emacs and the gradle fies Dec 31 18:00:20 *files Dec 31 18:04:37 3:34:11 PM Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources] Dec 31 18:05:15 please help me to solve this problem Dec 31 18:06:32 Found library '/home/msavad/android-studio/lib/libpty/linux/x86_64/libpty.so' at /home/msavad/android-studio/lib/libpty/linux/x86_64/libpty.so Dec 31 18:07:51 anyone here to help me Dec 31 18:08:57 iresf a few people this week have had problems with debian and glibc versions Dec 31 18:09:46 g00s : is there any way ? Dec 31 18:10:12 i haven't used debian, sorry. if it was up to me i'd use ubuntu or something more current Dec 31 18:28:19 my java-fu is weak. in the onCreate method of an Activity i call: Dec 31 18:28:23 bindService(new Intent(Context.this, APIService.class), api_service_connection, Context.BIND_AUTO_CREATE); Dec 31 18:28:42 fps: emacs ok with syntax highlighting, refactoring and other stuff? Dec 31 18:28:56 in terms of android dev Dec 31 18:29:05 vigilancer: syntax highlighting works. but refactoring and so on: nothing :) Dec 31 18:29:30 the biggest problem i'd have with vim/emacs doing android is lack autocomplete on the XML - and i'm constantly screwing up the namespaces with support lib stuff Dec 31 18:29:35 it has somewhat usable indentation and you can call gradlew from within it :) Dec 31 18:30:03 so vim or emacs just question of religion ha Dec 31 18:30:09 i use vim, too :) Dec 31 18:30:38 i was just tired of all IDEs either crashing or doing other silly things like missing screen updates :) Dec 31 18:30:46 i mean no benefits, vim also not so useful Dec 31 18:31:12 java and xml are two horrible languages due to their verbosity Dec 31 18:31:24 fps: kotlin? ) Dec 31 18:31:39 fps: how do you make layouts? without preview Dec 31 18:32:10 vigilancer: by knowing what the classes do Dec 31 18:32:13 the preview in AS has been pretty good lately Dec 31 18:32:40 vigilancer: or recompilation cycles if my understanding was wrong Dec 31 18:32:52 i dont think i would have ever figured out GridLayout if not for constant tinker / see feedback :D Dec 31 18:33:22 anyways, i'm learning as i'm going along :) Dec 31 18:34:31 iirc the Foobar.this syntax gives you a reference to this, but typed to a parent class, right? Dec 31 18:35:21 and Activity inherits Context, so why does Context.this give me "LoginActivity.java:59: error: not an enclosing class: Context" Dec 31 18:35:52 you doing it wrong Dec 31 18:35:58 learn some java Dec 31 18:36:04 #makinglayoutswithoutpreviewmasterrace Dec 31 18:36:10 LoginActivity.this Dec 31 18:37:45 Gradle sync failed: Timeout waiting to lock artifact cache (/home/msavad/.gradle/caches/modules-2). It is currently in use by another Gradle instance. Dec 31 18:37:46 Owner PID: 4308 Dec 31 18:37:46 Our PID: 5228 Dec 31 18:37:46 Owner Operation: resolve configuration ':classpath' Dec 31 18:37:46 Our operation: resolve configuration ':classpath' Dec 31 18:37:47 Lock file: /home/msavad/.gradle/caches/modules-2/modules-2.lock Dec 31 18:37:51 Consult IDE log for more details (Help | Show Log) Dec 31 18:43:55 fps: LoginActivity.this gives you Activity which is inhereted from Context Dec 31 18:44:33 yeah, and the Foobar.this expression refers to the instance of the enclosing class, and has nothing to do with inheritance :) Dec 31 18:44:36 * vigilancer should read first Dec 31 18:45:02 LoginActivity.this is equal to just this if i use it in the onCreate method of LoginActivity Dec 31 18:45:16 uh.. what Dec 31 18:45:35 context is irrelevant in all cases here Dec 31 18:45:40 yep Dec 31 18:45:56 forget the question about context. i was really confused when i asked that question Dec 31 18:46:08 fps was trying to get Context.this Dec 31 18:46:10 ah Dec 31 18:46:15 yeah, which was wrong :) Dec 31 18:46:37 I though that was your way to get context) Dec 31 18:48:04 ok, forget everything i said before because i made unfounded assumptions :) Dec 31 18:49:39 i'm obviously missing something fundamental. i'll paste things instead :) Dec 31 18:49:43 manifest: https://pastee.org/uubsa Dec 31 18:50:22 APIService.java: https://pastee.org/w8de3 Dec 31 18:51:04 LoginActivity.java: https://pastee.org/hte6b Dec 31 18:51:32 line 59 gives me an exception: Dec 31 18:52:04 https://pastee.org/8vghw Dec 31 18:52:15 E/AndroidRuntime(28157): java.lang.RuntimeException: Unable to instantiate service de.symmedia.symmediasp1.APIService: java.lang.IllegalAccessException: class de.symmedia.symmediasp1.APIService is not accessible from class android.app.ActivityThread Dec 31 18:52:34 which surprised me because APIService and LoginActivity should be in the same package.. Dec 31 18:53:15 wrong Dec 31 18:53:30 reread the error Dec 31 18:53:42 service must be public Dec 31 18:54:20 ok, will read more about service attributes then. thanks for the hint Dec 31 18:55:12 service attributes? no, basic java scopes Dec 31 18:55:27 ooh, the class itself Dec 31 18:55:29 sorry :) Dec 31 18:55:44 doh :) Dec 31 18:55:47 thanks :) Dec 31 19:03:59 https://github.com/osamarao/AndroidPermissionsManager Dec 31 19:04:16 that's a pretty nice thing, except it should be implemented as a linter Dec 31 19:25:14 pfn: forgive my ignorance, but with linter you mean an -Xlint flag for the compiler? or an external tool? Dec 31 19:25:52 external Dec 31 19:29:00 ok, so it seems IntentService together with using the ResultReceiver seems to be an effective way to "decouple" my API calls from the activity lifecycle etc.. Dec 31 19:29:37 "API" as in a web api i need to call.. Dec 31 19:30:08 since i have no concurrent web api calls, this should be good.. Dec 31 19:42:10 Hi, I wish to read the ram of another app, in order to add subtitle functionality (need ram for syncing). I saw the other day that you can do this on linux machines http://goo.gl/uPZBrI by reading some files in /proc and successfully managed to dump the ram of my desktop flash player by running 'gcore '. Do you think these methods will work on Dec 31 19:42:10 phones as well? Will rooting be required? That's no problem for me, but gcore didn't need root on the desktop. I wrote a couple of simple apps two years ago, and then my experience with android development paused. Dec 31 19:43:25 sup my android nerds? Dec 31 19:44:07 joel135, will not work Dec 31 19:44:18 Why? Dec 31 19:44:19 joel135: Each app on an Android device runs as a different user, so yes, you’d need something rooted. Dec 31 19:44:48 Also modern android requries pie binaries for executables, not sure what you’re hoping to do but that may have an impact Dec 31 19:44:49 don't be dumb and ask why, the answer is will not work Dec 31 19:45:39 It's not dumb. Dec 31 19:46:47 there is a /proc filesystem on Android. I’m not certain of the details of how /proc works in Linux - i.e., I don’t know whether support for certain things can be compiled out. Android kernels often lack things that are common on desktop Linux. Dec 31 19:47:22 Is the problem with pie that you can't hard code adresses like you (I think) can on game consoles, e.g. Wii, when cheating? Dec 31 19:47:54 I don’t know why pfn is saying it won’t work, nor why he thinks it’s dumb. I don’t know what you’re trying to do exactly, but aside from the different user problem and pie, I don’t know for sure it won’t work. Dec 31 19:49:44 ok, if you think it will work even though you're told it won't, go ahead and do it Dec 31 19:50:10 I’m afraid I don’t know the ramifications of pie well enough to say how it will and won’t impact you, your general concern sounds in the right area. Dec 31 19:50:17 I'm not interested in discussing why, the question was "will it work" the answer is no Dec 31 19:50:44 sorry, didn't need the "don't be dumb" Dec 31 19:50:46 the answer remains, no Dec 31 19:53:12 I'll try and then tell you both when I succeed or give up. I'll learn more about /proc and root access, and try to combine them on my phone. Thanks for your directions. Dec 31 19:53:42 can someone help me figurout why I'm getting an empty ArrayList with this fuction ? http://codepaste.net/9muxrh Dec 31 19:54:21 because the request is async Dec 31 19:54:21 It’s certainly true that without root you won’t be able to read memory from a process you don’t own. If you control both apps you can try the shareduserid attribute in the manifest to ensure that both are running as the same user, that may give you more mileage. Of course, if you’re trying to subtitle an app you don’t control, Android is designed to make that hard. Dec 31 19:55:06 you’ll probably need to compile gcore for your device first - that may or may not be a challenge on its own. Dec 31 19:55:07 if it were the same app/owned by same source, that is easy and doesn't need reading process memory bullshit Dec 31 19:55:09 good luck :) Dec 31 19:55:36 yeah, it’s true - it’s quite possibly not the easiest way to achieve whatever it is you want. Dec 31 19:57:27 @pfn what I've to do to return the arrayList not empty ? Dec 31 19:57:46 you don't Dec 31 19:57:56 android-dev126, you need to program with asynchronicity in mind Dec 31 19:58:24 #pfn how ? Dec 31 19:58:27 It sounds like I will fail, I admit that. Dec 31 19:58:48 android-dev126, read jcip Dec 31 19:59:18 joel135: No reason not to have fun trying ;-) Dec 31 19:59:29 Exactly :) Dec 31 19:59:52 @pfn this will take too much time :/ Dec 31 20:00:34 libpng warning: iCCP: Not recognizing known sRGB profile that has been edited; I wonder how to get rid of that message... Dec 31 20:00:59 https://code.google.com/p/android/issues/detail?id=77704 Dec 31 20:01:00 meh Dec 31 20:01:13 sounds like never gonna get fixed Dec 31 20:09:07 How can I take different paths in espresso depending on an outcome. e.g. I register and my errorTextView says "wrong password" then I want to type a new password, if my errorTextView says anything else, then click the register button again. Dec 31 20:10:56 this was pretty good article about websockets https://samsaffron.com/archive/2015/12/29/websockets-caution-required Dec 31 20:12:45 " reliable server/client live communication. " ... still wonder if its good idea for mobile <--> rabbitmq Dec 31 20:18:35 Is there any way to edit system.img on linux? Dec 31 20:19:00 I've been looking for solution that works for quite a while. Dec 31 20:20:35 Unless there is another way to temporarily load google apps (or just google play) in the android image used by AVD. Dec 31 20:21:45 hexedit should work ;) Dec 31 20:22:39 I'd rather have some more robust solution. Dec 31 20:22:42 :) Dec 31 20:22:47 Furai: a google search brought up this: http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images Dec 31 20:23:03 actually it was a duckduckgo search for "android system.img" Dec 31 20:23:04 ;) Dec 31 20:23:35 Yeah, I'm not using google search either. Dec 31 20:23:52 That's why I'm usually saying that I'm searching the Internet. Dec 31 20:24:15 But everyone else just says to google it. Dec 31 20:24:18 phh Dec 31 20:24:47 fps, thx, I'll look into that. I've been searching for some working solution for quite a while. Dec 31 20:24:55 Let's see if that is of any use. Dec 31 20:26:46 from a brief glance it looks like the author knows what they are talking about Dec 31 20:27:35 But is it used to edit the actual system.img? Like the ones you can get via android sdk? Dec 31 20:27:39 sadly google took all that's good from current GNU/Linux systems and the open source/open standard world and turned it into a fiery pit of hell and pain Dec 31 20:30:08 Hmm, I thought that it was yaffs2 all along. Dec 31 20:30:11 But nope. Dec 31 20:30:27 Google added it's own headers. Dec 31 20:31:48 java.lang.NumberFormatException: Invalid int: "FFFFFFFF" <-- that was from a parseInt(s, 16) Dec 31 20:31:57 how is ffffffff an invalid int? Dec 31 20:32:23 brb, getting coffee will see any replies when i get back Dec 31 20:33:33 mark4: It's too large. Dec 31 20:33:39 because 0xffffffff isn't an int Dec 31 20:34:10 Overflow indicator or some other devilish programmers thing. Dec 31 20:34:42 "parseInt("2147483648", 10) throws a NumberFormatException", to quote the javadocs. FFFFFFFF is almost double that. Dec 31 20:38:10 fizzie isnt it -1 ? Dec 31 20:39:24 parseInt doesn't do a narrowing conversion like that. Dec 31 20:39:36 It's a NumberFormatException if the value isn't in the range of int. Dec 31 20:40:03 drat :P ty lol Dec 31 20:40:19 7fffffff would be fine tho rite? Dec 31 20:40:27 Should be. Dec 31 20:42:28 just made it return 0 or 1 instead Dec 31 20:43:13 yea this is working now Dec 31 20:47:05 hi again Dec 31 20:47:15 i could not solve my problem with gradle Dec 31 20:47:36 the message : Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources] Dec 31 20:50:06 that is not an error Dec 31 20:52:52 if I have free and paid product flavors, how do I run gradlew conntectedAndroidTest on just free? Dec 31 20:53:19 connectedAndroidTestFreeDebug Dec 31 20:54:04 pfn : but gradle work does not finish Dec 31 20:54:22 so? what you pasted is not an error Dec 31 20:54:31 get the actual error and paste that Dec 31 20:55:56 why does not it finish ? pfn ? Dec 31 20:59:26 how would I know, run the command and tell us why Dec 31 21:00:00 fps, the thing you found didn't really work. Forgot to mention it some time ago when I have actually tried it. Dec 31 21:20:49 pfn : which command ? Dec 31 21:21:06 the gradle command you're having a problem with Dec 31 21:27:06 do I need an extra command to load an image? Dec 31 21:27:16 iresf: pastebin whole output - from command invocation to point where you think you have a problem Dec 31 21:27:47 morenoh149: more context? ) Dec 31 21:27:58 err permission I meant Dec 31 21:28:14 INTERNET if from internet Dec 31 21:28:32 I have 'content://com.android.contacts/contacts/3992/photo' Dec 31 21:28:34 *network Dec 31 21:28:59 read contacts Dec 31 21:29:30 hmm okay. I got that already because that's how I get the uri in the first place. My problem is probably something else then. Dec 31 21:30:26 error or it didn't happen Dec 31 21:31:19 vigilancer : i put android-sdk-linux to a folder and android-studio to another folder is it true ? Dec 31 21:32:48 iresf: nothing wrong with it Dec 31 21:33:01 it is my error : http://pastebin.com/BTQVkP3p Dec 31 21:33:13 vigilancer : http://pastebin.com/BTQVkP3p Dec 31 21:35:01 do you have parallel builds? Dec 31 21:35:35 vigilancer : yes Dec 31 21:35:59 stop them I guess Dec 31 21:36:14 I'm running jenkins and I have my tests running on a slave, but when I plug in my device to the slave it's not picked up. any ideas? it's a headless machine. Do I need to have the Android sdk installed on it? I'm pretty sure I have it installed already because all of my other gradle commands run fine Dec 31 21:37:22 eg34: wild guess - udev not configured? Dec 31 21:37:58 vigilancer: udev? Dec 31 21:38:05 I wonder if monoprice sells decent type C cables Dec 31 21:38:14 vigilancer : i stoped them Dec 31 21:38:36 pfn: there is quite few decent type-c cables Dec 31 21:38:44 *there are Dec 31 21:38:46 for now Dec 31 21:39:34 eg34: yeap) Dec 31 21:39:55 eg34: http://developer.android.com/intl/ru/tools/device.html Dec 31 21:39:59 http://www.monoprice.com/product?p_id=13814 Dec 31 21:40:08 that looks exactly like the google type A->C cable Dec 31 21:40:13 same price, too Dec 31 21:40:19 vigilancer : there is Android SDK Tools 25.0.1 rc2 in SDK manager and i did not isntalled is possible my problem related to it ? Dec 31 21:41:02 pfn that google guy was reviewing crappy cables on amazon Dec 31 21:41:11 pfn: http://arstechnica.com/gadgets/2015/11/google-engineer-leaves-scathing-reviews-of-dodgy-usb-type-c-cables-on-amazon/ Dec 31 21:41:19 yes, I know Dec 31 21:41:27 http://gizmodo.com/a-google-engineer-is-publicly-shaming-crappy-usb-c-cabl-1742719818 Dec 31 21:41:32 yeah Dec 31 21:41:41 so does not matter how it looks Dec 31 21:41:53 pick and try as for now Dec 31 21:43:01 iresf: could you explain more precisely what means "not picked up" ? Dec 31 21:44:13 even belkin cables from mac store have lot of negative reviews Dec 31 21:44:29 i did not install Android SDK Tools 25.01 rc2 but i installed android sdk tools 24.4.1 Dec 31 21:45:32 iresf: sorry, you with gradle problem, my bad Dec 31 21:45:48 iresf: version do not relate to your problem Dec 31 21:47:08 vigilancer : i don not understand you mean Dec 31 21:47:34 why the hell does AS autocomplete in XML keep shitting out on me Dec 31 21:48:36 most of the time it seems AS doesn't seem to pick up new resources / IDs etc Dec 31 21:48:48 so everything works, except autocompleting something you just added Dec 31 21:49:33 g00s: IDEA okay with it :p Dec 31 21:50:27 but I saw similar behaviour when almoust out of memory Dec 31 21:54:42 vigilancer : i changed gradle sittings to "use default gradle wrapper " Dec 31 21:55:35 well what component renders an image? I'm assuming I can just pass content://com.android.contacts/contacts/3992/photo as argument to that Dec 31 21:57:41 "use default gradle wrapper " is better or "use local gradle distribution" ? Dec 31 21:58:18 iresf: yes Dec 31 21:59:22 "use default gradle wrapper " is better ? Dec 31 21:59:30 morenoh149: depends on library you using. for example Fresco can handle content:// uris Dec 31 21:59:45 ok Dec 31 21:59:53 something I could read on developer.android.com Dec 31 22:00:17 iresf: yes you gradle wrapper and assemble project with ./gradlew command Dec 31 22:00:25 *you=use Dec 31 22:02:36 I'm seeing plenty of docs for url or network images but nothing on contacts uris Dec 31 22:03:33 this perhaps http://developer.android.com/reference/android/provider/MediaStore.Images.Media.html#getBitmap%28android.content.ContentResolver,%20android.net.Uri%29 ? Dec 31 22:03:52 i's there a web page to educate users on how Google Nearby Messages works ? i'd like to provide a link for that in my app - so they can read about it, rather than trying to educate them myself (i'm lazy :D) Dec 31 22:05:38 pretty much anything i can find is developer centric Dec 31 22:10:25 morenoh149, you keep saying you have a problem, but you haven't said what the problem is Dec 31 22:11:10 Hey guys im dynamically adding views to my items in a recyclerview. These added views should only be related to the item which there added to, but im having a problem where when I scroll, it seems the view is recycled and a new item is loaded, but those previously added views are still there, but now on the wrong item. Dec 31 22:11:22 it's using react native. and no one here is interested in helping me on that. so I just keep to the android apis Dec 31 22:11:31 Can anyone point me in a direction on how to handle this ^ Dec 31 22:12:09 morenoh149, get the stream from the content uri, load into an image and render Dec 31 22:12:16 whether or not it's from contacts is irrelevant Dec 31 22:12:34 and yes, you can use that Dec 31 22:13:39 or you can try at least Dec 31 22:14:34 this https://downloads.gradle.org/distributions/gradle-2.8-all.zip has 60 mb size but in terminal to download that it is downloading more than 200 mg why ? Dec 31 22:14:47 no it doesn't Dec 31 22:17:56 ditor for id: editor.preferences.import Dec 31 22:17:57 Downloading https://services.gradle.org/distributions/gradle-2.8-all.zip Dec 31 22:17:57 it's size is only 60 mg but in terminal it is downloading more than 200 mg and .... Dec 31 22:19:00 iresf because it d/l stuff it needs ... Dec 31 22:19:08 and why 2.8 ? get 2.9 or 2.10 Dec 31 22:23:38 orbyt_: depends. maybe store added views in hashmap and show/hide in bindView based on position Dec 31 22:25:08 g00s : Gradle Build Running does not finish and take a long time Dec 31 22:25:32 vigilancer: that....could work. Dec 31 22:25:33 does not finish != take a long time Dec 31 22:26:42 g00s : Executing tasks: [:app:generateDebugSources, :app:generateDebugAndroidTestSources] Dec 31 22:27:38 g00s : but in windows 8 it finishes after several seconds Dec 31 22:28:14 how hard is it to run a command and pastebin the whole thing.... Dec 31 22:29:28 orbyt_: it will. but maybe you don't need to add views dynamically after all, jsut create in view holder and make invisible on first creation Dec 31 22:30:18 vigili Dec 31 22:30:27 vigilancer: well they have different positions Dec 31 22:30:51 so just toggling visibility between already set Views wouldnt work in this case Dec 31 22:30:55 I didn't know that, just tossing ideas) Dec 31 22:31:04 heh =p Dec 31 22:31:43 how to gradle my project with gradle wrapper ? Dec 31 22:32:13 iresf: ./gradlew clean assembleDebug in command line inside project dir Dec 31 22:34:13 orbyt_: if it's finite number of predefined positions you still can them all in viewholder. just looking for a way to get rid of ugly hashmap) Dec 31 22:35:05 vigilancer : i have gradle wrapper in this path : ~/.gradle/wrapper/dists/gradle-2.8-all/ah86jmo43de9lfa8xg9ux3c4h/gradle-2.8/bin$ Dec 31 22:35:46 vigilancer: No the number of views needed is different for each item. Dec 31 22:40:44 so create multiple view types Dec 31 22:40:51 and handle them appropriately Dec 31 22:45:09 pfn: what? Dec 31 22:45:59 how would you create the different view types without knowing the number of views needed? Dec 31 22:52:54 you always know that Dec 31 22:53:04 how do you create views without knowing how many you need Jan 01 01:19:52 my touch events are going through my nav drawer to the views behind it - how do i prevent ? i'm sure this is simple, just forgot Jan 01 01:20:16 g00s: clickable=true Jan 01 01:23:22 vigilancer i tried that ... but does weird things. its a nav drawer with some buttons, and if i touch the drawer, i see a ripple traverse through all my items with selectableItemBackground Jan 01 01:23:45 if i touch an item and see the ripple, thats sane Jan 01 01:23:56 but if i touch 2 inches away from a button and see a ripple, thats just weird Jan 01 01:24:05 (only in the bounds of that button!) Jan 01 01:24:15 huh? Jan 01 01:24:18 no it doesn't Jan 01 01:24:26 set clickable=true on the container view and it doesn't do that Jan 01 01:24:51 thats what i have Jan 01 01:24:59 it doesn't ripple the background if you do so Jan 01 01:25:43 it ripples the background of any item within a few hundred dp having attr/selectableItemBackground Jan 01 01:26:40 if you say so Jan 01 01:27:33 any serial killers herE? Jan 01 01:27:45 yeah i'm touching around the drawer, its only a few spots this happens (and those spots are blank) Jan 01 01:28:53 maybe i should record a video, its pretty amusing Jan 01 01:29:13 i'll call it the "long touch" :D Jan 01 01:29:39 b4b: sure. are you alone? Jan 01 01:29:51 b4b: what are you wearing? Jan 01 01:35:56 well, seems I'll be killing myself tonight Jan 01 01:36:07 suck a lonely serial killer :( Jan 01 01:36:31 *such )) Jan 01 01:46:59 interesting, i made all the TextViews background=?attr/selectableItemBackground - and they are ALL *simultaneously* rippling Jan 01 01:47:25 with presses inches away. each one gets its own ripple Jan 01 01:47:32 lolwtf Jan 01 01:48:40 but the Buttons with style=?bordlessButtonStyle don't ripple Jan 01 01:57:19 what y’all nerds think about little ceasars inventing walking technology? Jan 01 01:57:29 could revolutionize mankind Jan 01 01:57:40 Hello Jan 01 02:00:14 shibly: you here about lil ceasars tech? Jan 01 02:00:54 I don't see Appdata folder here: C:\Users\shibly Jan 01 02:01:11 But android studio sdk location is on C:\Users\shibly\Appdata ... Jan 01 02:02:39 I will be back. Jan 01 02:03:54 apparently with lil ceasars tech you can put one foot in front of the other, they call it walking Jan 01 02:13:20 pfn, interesting - the effect goes away when i set an onClickListener Jan 01 02:13:44 setting an onClickListener implicitly calls setClickable(true) Jan 01 02:13:49 which is what causes the effect to go away Jan 01 02:14:00 *so* if that is the case, you set android:clickable=true on the wrong item Jan 01 02:14:46 no, i did the FrameLayout container of the Fragment, and also tried seperately the root layout of the fragment itself Jan 01 02:15:05 you set it on the same thing you set the setOnClickListener on Jan 01 02:15:06 for clickable = true. i'll make a video sometime, i'm curious why that would happen Jan 01 02:15:17 setOnClickListener -> setClickable Jan 01 02:15:23 the latter is what makes the effect go away Jan 01 02:17:02 ok let me rephrase this. If you have Parent view with clickable=true, and any child TextView with selectableItemBackground but no click listener, a click anywhere in the parent (outside the bounds of the child) makes all the children ripple independently and simultaneously Jan 01 02:17:22 i see one issue for this about a drawable cache getting corrupted, but seems ... slightly different Jan 01 02:18:21 ok , i'm using nested fragment but I doubt thats the culprit :D :D :D Jan 01 02:20:01 i'm not going to worry about it - i just noticed this because i didn't set up the child textview onClickListeners. i doubt anyone would have selectableItemBackground with no click listener (whats the point) Jan 01 02:25:48 I have no cpu virtualization support, can i run android app? Jan 01 02:27:37 shibly, please refrain from cross-posting and yes you should as long as the laptop/desktop is decently new (circa 2008 - present) Jan 01 02:28:07 and to your earlier issue with AppData its a hidden folder toggle 'show hidden folders' on Jan 01 02:28:26 It's intel pentium D processor for desktop Jan 01 02:29:16 that will be sub par but possible Jan 01 02:30:10 g00s, sounds like you're reusing a drawable you fetched from resources manually Jan 01 02:32:11 when i split large functions into many small ones in elisp, is there a perfomance disadvantage / how big is it ? Jan 01 02:32:47 How can i run android app(Marshmallow = android 6 hello world app) ? Jan 01 02:32:54 No cpu virtualization support Jan 01 02:32:57 I got error Jan 01 02:33:27 Should i create project with android icecreamsandwich? Jan 01 02:34:01 get a real device Jan 01 02:34:20 I don't have a real device. Jan 01 02:36:05 get a better computer or get a real device Jan 01 02:36:24 that is at least 8 years old... Jan 01 02:36:38 Isn't it possible to run android app without cpu virtualization support? Jan 01 02:36:50 somehow? Jan 01 02:37:45 very slowly, particularly on a near-decade-old CPU Jan 01 02:44:06 i'm curious if its possible to use a SBC like a dragonboard 410, but interact with it using koush's Vizor Jan 01 02:44:57 *Vysor Jan 01 02:52:02 ok i cant figure this out. i have a custom view in my layout that has a size set by the space available. its background is set to a 9 patch which is expanding right. problem is, i cant write any text into it. tried all kinds of suggestions from various web sites but i cant figure it out Jan 01 02:52:12 the text is dynamic not set Jan 01 02:52:18 not known till run time Jan 01 02:52:24 and is constantly changing Jan 01 02:52:40 but is of a set number of lines Jan 01 02:53:12 im not trying to create NEW text view with the 9 patch and write text into that Jan 01 02:53:23 i want to write text into a custom view specified in my xml and i cant figure that out **** ENDING LOGGING AT Fri Jan 01 02:59:58 2016