**** BEGIN LOGGING AT Sat Apr 09 02:59:58 2016 Apr 09 03:41:51 Is using RxJava for long running network tasks a good idea? Apr 09 03:42:45 how long does the response take? Apr 09 03:43:41 Can be from 10 seconds to 10 minutes Apr 09 03:43:49 It's downloading a file Apr 09 03:45:38 felicianox: Probably best to use a service/intent service. Apr 09 03:45:54 Then again you can use Rx in any of the above but I dont think thats what your asking. Apr 09 03:46:14 I'm currently using AsyncTask, I'm calling it from within a Service Apr 09 03:46:37 Then yea I don't see a reason to not switch over to Rx. Apr 09 03:47:42 Right now, if an activity is open, it binds to the service and receives download progress info, etc... Apr 09 03:47:42 My plan is to subscribe to the downloader and get the information directly without needing to bind to the service. Apr 09 03:48:49 when I turn of AS Toolbar (View -> Toolbar) there are still a few buttons showing - where do those come from ? are they a toolbar also? In preferences I did not see anything listing those commands (Prefs -> Appearance -> Menus & Toolbars) Apr 09 03:48:54 *turn off Apr 09 03:50:49 oh weird, found them. some special stuff i guess Apr 09 04:02:52 Hello all.I have an idea for a hackathon in about 4 hours from now.Can anybody tell me this in regard to that : Do plane crash survivors get any kind of signal or network when they crash? Apr 09 04:04:25 batdroid you might have to try it to find out Apr 09 04:05:09 bankai_ there ? Apr 09 04:05:19 surely it depends on where you crash? Apr 09 04:07:20 in Android Studio Prefs -> Menus & Toolbars -> Main Toolbar, there are certain groups in there that seem to have special status. For example, if I had the toolbar, some of the groups still show (like "VCS Actions"). anybody know where the special status for those groups comes from ? Apr 09 04:39:21 the zoom feature on AS 2.0 is friggin glorious Apr 09 05:32:48 i am a new android studio user, i cant found where can create a new go project since i have installed a go plugin, is it possible? Apr 09 05:37:48 is there anyway to get access to an sql database from a web-view context? Apr 09 05:39:34 crazyhorse18, with android studio, is it possible that create a project that is not a android project ,such as a golang project? Apr 09 05:45:48 ni Apr 09 05:46:14 hi Apr 09 05:47:59 crazyhorse18: context is a context, shouldn't matter if it was used for a webview or not. Apr 09 05:48:45 jvava: https://github.com/go-lang-plugin-org/go-lang-idea-plugin#pre-release-builds Apr 09 05:54:02 Ping_2_Ur_Pong, i have installed golang plugin from the plugin list of settings, but i have found the expected new golang project in new menu, if i installed a scala plugin, i still can not found where i can create a sbt project, but i saw a sbt build window. is it gg's intention that ban any attemp of create a non-android project? Apr 09 05:54:24 have NOT found the expected Apr 09 05:55:26 or how to open the door Apr 09 05:55:32 Ping_2_Ur_Pong, ok so if i need to persist data i should be able to do it from javascript into android's sql database? Apr 09 05:55:59 I wouldn't mind just saving everything to indexeddb but i'm not sure how well web-view data is persisted Apr 09 05:57:01 yea can do it into the webview's db, but I wouldn't depend upon it. Apr 09 05:57:16 For the session yea, but long term, hell no. Apr 09 05:57:28 hmm, i need to persist lots of long term data Apr 09 05:57:41 on the web-browser i can persist anything pretty much Apr 09 05:58:39 Ping_2_Ur_Pong, any idea? Apr 09 05:58:48 check your intellij version Apr 09 05:58:52 that's the only thing I am seeing. Apr 09 05:58:59 http://stackoverflow.com/questions/27741379/android-studio-and-go Apr 09 05:59:14 the newest android studio 2.0 Apr 09 05:59:30 crazyhorse18: then persist it locally. You can inject javascript into your chrome instance. Apr 09 06:00:09 https://github.com/litehelpers/Cordova-sqlite-storage/blob/core-master/README.md << this might work an sqlite storage adapter Apr 09 06:00:18 so that you can natively interface with the sqlite database Apr 09 06:01:02 jvava: After the plugin is installed any file named *.go inside the source path for the current module will be parsed and highlighted as a go source code file. You will also need to download / compile and define a Go SDK in order to be able to compile and run go applications. If you encounter any issues with the plugin, please report them on the bug tracker: Apr 09 06:01:04 https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues. Apr 09 06:02:22 Hi, is there a way to intercept the android camera and add effects realtime? therfore working with any camera app Apr 09 06:03:34 persistance through the browser instance is a pretty shitty idea, IMHO. If you have information to save come up with tanother way. Unless you are doing a 100% webview controlled application it just shits on itself and even in that instance, what about if there is no network, what are you gaining by saving it to the browser. My experience has taught me never to depend on the browsers state to stay the Apr 09 06:03:36 same. Apr 09 06:04:33 Nedd you mean the taking of the picture or the usage of the camera? Apr 09 06:06:31 Ping_2_Ur_Pong, there all says idea, i believe idea works, but android studio no way create a go project, today i open studio, a tip say " see our wiki to setup a go project", but i have no time click it, it elasped Apr 09 06:06:50 Nedd: for other camera apps? no Apr 09 06:07:26 Both yes, but A you can setup a broadcast receiver, B you need to create the application that the user uses and inject whatever you want to show. https://github.com/search?utf8=%E2%9C%93&q=android+camera+effect&type=Repositories&ref=searchresults is a push in the right direction. Apr 09 06:08:09 Can somebody please tell Google to get rid of the App Drawer Apr 09 06:08:27 and put the apps on the screen when you swipe right Apr 09 06:08:54 and let me create non-android project Apr 09 06:08:55 The App Drawer is redundant Apr 09 06:09:15 non-android project is must Apr 09 06:09:23 jvava: https://github.com/go-lang-plugin-org/go-lang-idea-plugin/wiki/Documentation Apr 09 06:10:09 Dr_Coke: I rather like the app drawer, I don't like having 50 apps on my desktop Apr 09 06:10:23 I put the common ones on the desktop everything else goes tot he drawer. Apr 09 06:10:34 That's just rubbish Apr 09 06:10:48 how many apps do you have installed on your phone? Apr 09 06:11:02 Well I don't have an android phone Apr 09 06:11:02 You're one of those guys with 5000 images on your computers desktop aren't you? Apr 09 06:11:07 I have an IOS phone Apr 09 06:11:23 No I'm not Ping_2_Ur_Pong Apr 09 06:11:32 Its useful, then wtf is the problem? Apr 09 06:11:33 I have 4 apps on my desktop Apr 09 06:11:36 computer Apr 09 06:11:37 i have jar of dirt Apr 09 06:11:58 Ping_2_Ur_Pong it's not useful at all that's the problem Apr 09 06:12:08 Xiaomi has the right idea Apr 09 06:12:10 I just gave you the usecase. Apr 09 06:12:25 and a few other chinese phone makers Apr 09 06:12:31 they got rid of the app drawer Apr 09 06:12:43 also please limit to no more then 2 apps open in memory Apr 09 06:12:54 and don't just fill everything into memory on startup Apr 09 06:12:55 Doesn't the iphone have an app drawer? Seriosly, its a rather stupid gripe. You're not required to use it. I presume you want your application on the home screen? Apr 09 06:13:02 that's why your android phone laggs so bad Apr 09 06:13:07 and slows right down Apr 09 06:13:09 Android doesn't put everything into memory on startup. Apr 09 06:13:20 Dr_Coke: are you just in a bitchy mood today? Apr 09 06:13:22 Ping_2_Ur_Pong Oh yes it does Apr 09 06:13:51 Which version, because I have over 50 apps installed on my cell phone right now and only 3 outside of google services are running. Apr 09 06:14:07 google services are heavy Apr 09 06:14:08 well let me give you an example Apr 09 06:14:13 Ping_2_Ur_Pong, the Document looks helpful, im checking it Apr 09 06:14:51 * Ping_2_Ur_Pong android phone will smoke your iphone. Apr 09 06:15:02 ios manages memory by allowing no more then 2 apps open at a time the other apps it closes and deletes from memory but saving their state before it I think Apr 09 06:15:03 err, burn, out run... kick its ass. Apr 09 06:15:35 android allows so many apps open and doesn't close them and in the end it just laggs the phone out so bad Apr 09 06:15:43 it doesn't manage it's memory very well at all Apr 09 06:15:56 Dr_Coke: that is completely wrong, the system closes apps when memory is needed Apr 09 06:16:05 as its done on iOS if memory serves me correctly. Apr 09 06:16:09 Ping_2_Ur_Pong the only android phone which technically has a faster processor then my iphone 6s plus Apr 09 06:16:19 is one with a snap dragon 820 Apr 09 06:16:29 but then it's still not going to manage its memory right Apr 09 06:16:36 so it will end up slowing down anyway Apr 09 06:17:01 didReceiveMemoryWarning is called on iOS Apr 09 06:17:06 Xioami mi 5 pro looks nice Apr 09 06:17:21 for an android phone 4gb ram 128gb rom snapdragon 820 Apr 09 06:17:28 * Ping_2_Ur_Pong isn't in the argumentative mood today. Apr 09 06:17:28 4 cores clocked at 2.15ghz Apr 09 06:17:45 I want one but I don't know where you can get one Apr 09 06:18:06 only the mi5 32gb and 64gb with 3gb ram Apr 09 06:18:21 and a lower clocked processor are available Apr 09 06:19:19 otherwise you have to preorder the pro but who knows whens it coming and xioami wanted 415$ usa dollars for the pro not now everywhere you find the pro the lowest I've seen it for is 499$ usa and it doesn't even look like a real site Apr 09 06:19:27 589$ and up Apr 09 06:19:56 * Ping_2_Ur_Pong is actually doing the comparisson between the 6P and 6s. Apr 09 06:20:14 Have you actually seen the bench marks for them Apr 09 06:20:19 the 6s smokes it Apr 09 06:20:26 I know because I considered the 6p Apr 09 06:20:41 not to mention that the 6p bends even worse then the iphone 6 plus did Apr 09 06:21:08 price + specs 6P wins. I am looking for the benchmarks right now. Apr 09 06:21:26 nah waste of money Apr 09 06:21:31 the snapdragon 810 was a dud Apr 09 06:21:34 this really isn't #android-trolling Apr 09 06:21:40 Dr_Coke: piss off Apr 09 06:21:50 Leeds I'm not trolling Apr 09 06:21:56 I'm giving real facts Apr 09 06:22:08 the 820 is twice as fast as the 810 Apr 09 06:22:23 and has 4 cores and qualcom went back to its custom cores Apr 09 06:22:26 of course you're fucking trolling Apr 09 06:22:58 because the cores the from the 810 were just so bad Apr 09 06:23:13 they weren't qualcoms custom cores Apr 09 06:23:31 they were just from a company i forget the name Apr 09 06:24:24 Coby best tablet! <-- trolling Apr 09 06:24:56 In fact, I just looked some up on eBay just this week. Apr 09 06:25:05 LULz prices for old crap. Apr 09 06:25:23 https://www.youtube.com/watch?v=6_CWMuPd6yA Apr 09 06:26:20 THere comes a point where the UI is what makes something slow, not the CPU. Apr 09 06:26:22 * Ping_2_Ur_Pong hugs his 6P real world dusts the iphone. Apr 09 06:26:32 Awkward user interfaces FTL Apr 09 06:26:32 :( Apr 09 06:26:51 * Ping_2_Ur_Pong could care less either way. Apr 09 06:26:58 iPhone: So nice, too bad I'll never buy one. Apr 09 06:27:09 Note: That is a bit of snark. Apr 09 06:27:15 "So nice" Apr 09 06:27:18 https://www.youtube.com/watch?v=kQFKtI6gn9Y Apr 09 06:27:23 "Too bad" Apr 09 06:27:24 hehe Apr 09 06:27:50 Leeds, I love that clip Apr 09 06:28:23 Ping_2_Ur_Pong: no you don't Apr 09 06:30:16 * Ping_2_Ur_Pong lulz at Leeds Apr 09 06:41:30 Your ui isn't the issue Apr 09 06:41:48 It's your operating system android's memory management Apr 09 06:42:03 it doesn't completely kill the apps it leaves them in memory for next time Apr 09 06:42:55 I think Xioami may have edited the kernel and fixed that Apr 09 06:42:57 too Apr 09 06:43:02 but I'm not sure Apr 09 06:43:37 You know you can get up to like 50% more battery life Apr 09 06:43:48 by making this change if you can pass the message to Google Apr 09 06:43:58 and a lot better performance Apr 09 06:46:20 Hey guys What does hint do on checkbox do, and how would I access it? Apr 09 06:47:06 hey leeds and Ping_2_Ur_Pong http://www.redmondpie.com/real-world-speed-test-iphone-6s-plus-with-2gb-ram-smokes-galaxy-s7-edge-with-4gb-ram/ Apr 09 06:48:35 Also: Setting processes to have <1% of your CPU when not active, unless they actually are high-priority. Apr 09 06:48:49 Demon_Jester: git clone https://github.com/appium/android-apidemos.git and look through they have several examples Apr 09 06:49:06 Sadly, a lot of apps enter redlining mode when doing that. Apr 09 06:49:21 http://www.phonearena.com/news/AnTuTu-benchmark-tests-of-various-chipsets-has-Apple-A9-on-top_id76402 Apr 09 06:49:44 The chip that no one is allowed to know the specs of? Apr 09 06:49:53 j/k Apr 09 06:57:19 http://wccftech.com/iphone-6s-plus-annihilates-galaxy-s7-in-latest-benchmarking-run-what-is-samsung-doing-wrong/ Apr 09 07:40:36 If anyone ever used Barcode4J please check out my StackOverflow question -> http://stackoverflow.com/questions/36514067/barcode4j-on-android-missing-bufferedimage-support Apr 09 10:12:20 Does it matter what nexus 7 i buy and i want to make sure i get the right nexus 7 tablet so i can install image onto the tablet? Apr 09 10:14:32 i hope someone can help me:) Apr 09 10:49:53 Hey! Is there a way to get the device default seekbar thumb drawable? Anyone knows :D ? Apr 09 10:52:12 so that i can re-use it somewhere else? Apr 09 10:54:00 your not talking about the search bar are you? Apr 09 10:55:38 JosefFilzmaier: just query the theme style attribute Apr 09 10:56:07 wyrdtrtle: no, i'm talking about seekbar Apr 09 10:56:35 Napalm: which theme style attribute and where do i query it? Apr 09 10:56:57 ok, just wanted to make sure i understood the question Apr 09 10:56:58 JosefFilzmaier: https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/widget/SeekBar.java Apr 09 10:57:14 see the constructor that has attrs only it specifies R.attr.seekBarStyle Apr 09 10:57:35 and then the super class https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/widget/AbsSeekBar.java Apr 09 10:58:00 it queries it for android:thumb attribute for the drawable Apr 09 11:04:55 Napalm: Thanks that's a good hint. But i cannot access R.styleable.Seekbar from within my project... Apr 09 11:05:16 you dont Apr 09 11:05:26 its part of the android package.. because its the system resources Apr 09 11:05:56 So there's no way to access this drawable? Apr 09 11:07:14 i told you how to access it Apr 09 11:07:26 So it don't mater what nexus 7 tablet i get i can still install gogole image on it? Apr 09 11:08:38 JosefFilzmaier: https://gist.github.com/slightfoot/6ad3f775879d2656a46c4796c2acc853 Apr 09 11:08:39 there you go Apr 09 11:08:45 took me all of 5 seconds Apr 09 11:09:32 perlsyntax: huh? Apr 09 11:10:51 Napalm,I lost there are 2 nexus 7 image on google developer image web site.I want to make sure i buy the right nexus 7 so i can install image on it for testing sorry about that:) Apr 09 11:11:44 hello Apr 09 11:12:15 hi Aoi Apr 09 11:13:15 finally found some time to do some stuff .. and now I am looking for some sort of multi-switch (widget) - does anyone happen to know of some? I tried android-comboseekbar, but it seems not well documented.. does someone know of such a widget? Apr 09 11:14:08 Napalm,I try to find out which image go with what nexus 7. Apr 09 11:14:14 perlsyntax: there were two generations of N7 - they're both pretty old now though, and probably won't get official N when it releases later this year Apr 09 11:14:34 leeds,thanks Apr 09 11:15:29 I'd expect any N7 for sale now to be *really* cheap, since there are much better options Apr 09 11:15:30 Napalm: Hey, thanks! This works! - Learning something new every day ;) Apr 09 11:15:46 Leeds, i understand now. Apr 09 11:15:57 perlsyntax: you havent asked which device for which image... what image are you trying to use? Apr 09 11:16:47 Aoi: what do you want exactly a seekbar that only seek's to specific points? like 10 steps only? Apr 09 11:17:31 Well I am trying to have a multi-way Switch, but I read it's probably easier to use a Seekbar for that purpose than attempt to extend the existing Switch widget Apr 09 11:17:41 Leeds,Have you try android studio 2.0 yet? Apr 09 11:18:07 perlsyntax: no, because the Android SDK still isn't 64-bit on Linux Apr 09 11:18:10 Aoi: i dont follow.. multi-way switch? Apr 09 11:18:38 Aoi: can you explain a little more? Apr 09 11:18:50 yes - Switch, which does not just "return" true or false, but several states.. so the user can select "on", "off", "default", "custom" for example Apr 09 11:19:06 it's meant to be a toggle for the cache states, that I want to offer Apr 09 11:19:07 Aoi: sounds like a Spinner to me Apr 09 11:19:08 Leeds,Oh i thought you where useing a mac Sorry. Apr 09 11:19:34 Napalm - more like this: http://stackoverflow.com/questions/11920704/android-multi-state-switch Apr 09 11:19:45 I haven't used a mac for 10 years... Apr 09 11:19:55 perlsyntax: I always use Apple products when coding in ANdroid and ANdroid products when coding in Apple Apr 09 11:20:18 perlsyntax: and Linux when writing for WIndows and vice-versa Apr 09 11:20:35 Aoi: theres a reason you dont see that kinda thing on Android.. you cant guarantee the amount of screen space.. but you could make sure it scrolls i suppose Apr 09 11:20:43 wyoung,I use to like linux but when i went to apple never want to go back.:) Apr 09 11:20:47 Aoi: thats simple enough to make with a Seekbar Apr 09 11:21:09 perlsyntax: is that like once you go black? Apr 09 11:21:11 Napalm - true, but I thought there might already exist something someone might know of Apr 09 11:21:16 yes.. Seekbar Apr 09 11:21:17 lol Apr 09 11:21:21 perlsyntax: but apparantly apple fucks you arder Apr 09 11:21:23 harder* Apr 09 11:21:40 in any case.. I will probably extend Seekbar, and combine it with some TextViews and such.. should work fine. Thanks! Apr 09 11:21:43 ok off-topic Apr 09 11:22:14 also @ perlsyntax - I am using Android 2.1 on Windows (7) Apr 09 11:22:28 wow Apr 09 11:22:41 i use windows for coding Apr 09 11:22:47 Windows 10 Apr 09 11:23:20 I might allow Windows 10 to install itself on my notebook, but not on my home main machine. Apr 09 11:25:23 Aoi,I like the looks of windows 10 only worry me about windows is virus. Apr 09 11:25:37 nothing new D: Apr 09 11:26:13 I might have to build myself another machine.. one for just games and browsing, one for development and for security Apr 09 11:26:26 I use Windows for killing n00bz Apr 09 11:26:27 so the gaming system would get Windows 10 Apr 09 11:26:33 that is all Apr 09 11:26:44 wyoung I bet you are hacking 127.0.0.1 really hard all the time :> Apr 09 11:26:56 but with steam os I will probably switch to linux for all my gaming Apr 09 11:27:12 Aoi, i use to play games on windows now i got into android try to make money. Apr 09 11:27:14 Aoi: It isn't hacking when I know all of the passwords Apr 09 11:27:19 the selection of games for linux - while growing bigger - is still nowhere near the one for windows Apr 09 11:27:28 Aoi: correct Apr 09 11:27:33 Yep Apr 09 11:27:39 Aoi: but the worth while games are in linux Apr 09 11:28:03 also I am getting into android for fun.. I do JEE development for work Apr 09 11:28:16 Aoi: same could be said about music, pop music has more songs than actual music, doesn't mean pop is bette r;) Apr 09 11:28:25 Aoi,I think andorid is alot easy the ios. Apr 09 11:28:51 also @ wyoung - I for instance often play Dead or Alive 5 LR (even though the game visually sucks compared to PS4 version), Rocket LEague, used to play ArcheAge and sometimes I also play Sonic games, because of nostalgia Apr 09 11:29:24 Aoi: WOrld of Tanks, World of Battleships (under wine), TF2, CSS Apr 09 11:29:31 the great thing about Windows (7 at least): it simply works. I configured it at the very beginning - several years ago - and it works and works and works :D no need to do anything Apr 09 11:29:32 (native) Apr 09 11:29:58 Aoi: windows 7 costs the same about as a hooker, both work, but there are other reasons not to use them Apr 09 11:30:11 like? Apr 09 11:30:12 about = amount Apr 09 11:30:23 Aoi: viruses Apr 09 11:30:30 that's really bs ^^ Apr 09 11:30:37 totally Apr 09 11:30:50 I thought it was a good anology :_) Apr 09 11:30:51 Aoi,I got alot to learn with android studio 2.0 Apr 09 11:30:58 if one is stupid enough to open a mail with office documents and open those and allow them to run in admin mode.. lol Apr 09 11:31:03 it's their fault really.. Apr 09 11:31:40 Aoi: stil, the hooker analogy applies :) Apr 09 11:32:17 well linux is a free hooker, that claims to always use uhm what is it called.. precaptions or something?.. you know.. to stay safe.. Apr 09 11:32:18 ok, time to update to AS 2 Apr 09 11:32:52 Aoi: linux is like a relationship, you need to work at it and sex is a bonus Apr 09 11:33:17 Aoi: and more gratifying Apr 09 11:33:25 haha ... I wish I could argue, .. then again you could have a relationship with a hooker, too Apr 09 11:33:48 Aoi: you could also inject aids into your system too Apr 09 11:33:55 besides linux is free.. and whenever you feel like saying things are too hard to configure or there's a bug here and there - people say "hey - it's free, fix it yourself" Apr 09 11:34:01 or smoke crack Apr 09 11:34:18 Aoi: no buddy, you are mistaken there Apr 09 11:34:50 well look at free applications such as GIMP.. it never becomes usable, because it's "free" D: Apr 09 11:35:02 Aoi: Linux is a great platform, I mean Android uses it for that reason Apr 09 11:35:14 Aoi,What about photoshop? Apr 09 11:35:15 are you saying Android is not useable? Apr 09 11:35:24 how many times do you run make file or anything compile-related on an android machine? Apr 09 11:35:37 Aoi: as many times as you want to Apr 09 11:35:47 usually one does never do that, wyoung Apr 09 11:35:54 wtf? how the hell am i updating AS? I use help>check for updates and im not presented with an option to install it? Apr 09 11:35:55 Aoi: make files are C/C++ specific, you can use other languages Apr 09 11:35:58 in contrast to the "real"(TM) linux Apr 09 11:36:08 Aoi: of course you do Apr 09 11:36:12 if tou are compiling from source Apr 09 11:36:14 tou = you Apr 09 11:36:15 Napalm - use different channel Apr 09 11:36:18 it gives me "more info..." "remind me later" "ignore this update" Apr 09 11:36:21 I am on Canary channel D: Apr 09 11:36:28 Napalm,I do a fresh install of android studio. Apr 09 11:36:42 https://sites.google.com/a/android.com/tools/recent Apr 09 11:36:52 Aoi: you can also use makefiles compile other languages, you can also not use make files Apr 09 11:36:52 "You can update your current 1.5 or 2.0 installation to 2.0 Stable by using the built-in patch mechanism" Apr 09 11:36:53 also @ perlsyntax - Photoshop is better in this regard.. though I bet it's because I am using this program for around 20 now Apr 09 11:36:55 20 years* Apr 09 11:36:56 Aoi: it is your choice Apr 09 11:37:01 says i can use inbuilt patch mech Apr 09 11:37:33 in capability photoshop and gimp are similar, in premade GUI tools, photoshop is better Apr 09 11:37:46 wyoung - one can use window managers in linux.. but IF something happens or you need to be able to configure something that the UI does not allow to do directly, you are doomed.. Apr 09 11:37:53 in cost GIMP is better Apr 09 11:37:56 Aoi,Oh really i try to learn it to:) Apr 09 11:38:01 capability similar? nowhere near that @ wyoung Apr 09 11:38:18 Aoi: no you are not, you just drop to console, easy fix Apr 09 11:38:23 then again I'd assume non-Photoshop pros would claim that :D Apr 09 11:38:41 you drop to console.. what if I don't even have a keyboard at the PC? Apr 09 11:38:47 Aoi: GIMP has a great library, you can code what ever you want in it Apr 09 11:38:59 see - android just works .. but many linux systems only work if you argue with them long enough Apr 09 11:39:04 Aoi: suicide obviously Apr 09 11:39:11 Aoi: incorrect Apr 09 11:39:24 in photoshop you don't have to code anything - it just works xD Apr 09 11:39:30 and that's what I like Windows for - it just works Apr 09 11:39:44 Aoi: that is what i said, there is more GUI in photoshop than gimp Apr 09 11:39:55 Aoi: but you can do the same stuff in both Apr 09 11:40:04 you just need to do some code in GIMP :) Apr 09 11:41:01 Aoi: photoshop is great if what you want to do is covered by photoshopds options / use case Apr 09 11:41:12 wyoung - GIMP has troubles managing layers and I wouldn't use it for e.g. CMYK graphics Apr 09 11:41:35 like.. if you compare Illustrator and InkScape, the latter is about as awesome and as easy to use... but in Photoshop vs GIMP .. Apr 09 11:41:42 Aoi: if you want to extend on it then you either have to wait for photoshop to be bothered to implement (a few months to a year or never) or code it yourself in gimp (in a few hrs to a few weeks) Apr 09 11:42:07 Aoi: yes, unkscape is better at vector graphics Apr 09 11:42:12 what to delete in org.mozilla.firefox ? Apr 09 11:42:16 inkscape* Apr 09 11:42:27 NYTimes: rm org.mozilla.firefox Apr 09 11:42:29 wyoung you could create photoshop plugins for pretty much anything.. Apr 09 11:42:49 to delete navigation informations Apr 09 11:42:58 Aoi: what's the licence on the sdk and creating plugins again? Apr 09 11:43:00 like dumps, cookies.. Apr 09 11:43:01 . Apr 09 11:43:03 so it's very extendable if you need it to be (most designers won't need that) Apr 09 11:43:16 most designers are not programmers though Apr 09 11:43:21 unless you use gimp Apr 09 11:43:22 then most are Apr 09 11:43:37 wyoung: not all of it you fool Apr 09 11:43:40 lol Apr 09 11:43:41 which is why GIMP has no chance in the free market.. if you just want to edit your vacation photos - it's easy Apr 09 11:44:14 and it's something I'd use GIMP or Paint.NET for .. but for professional works where you have to ensure coloring etc. to be precise, I wouldn't .. but it's a personal opinion really Apr 09 11:44:43 Aoi,I try to become a programmer and designers Apr 09 11:44:54 what shall I delete in org.mozilla.firefox to get rid of personal informations ? ? Apr 09 11:45:01 ? Apr 09 11:45:01 Aoi: what aer you on about? Apr 09 11:45:12 NYTimes: your profile Apr 09 11:45:36 wyoung - if you just want to modify your private pictures (e.g. remove "red" eyes, add simple text etc.) - GIMP or Paint.NET will get the job done Apr 09 11:46:13 but if you need to deliver professional results (e.g. labels for products or catalogue pages), you'd use Photoshop as well as Illustrator and InDesign Apr 09 11:47:04 I know for Illustrator you got to pay for. Apr 09 11:47:35 Photoshop, too.. luckily I bought a creative suite :D Apr 09 11:49:11 I got a prepiaid card to use protoshop. Apr 09 11:49:31 I have been trying to find a summarizing api for texts for android but haven't been able to find one.I did found two python github projects to use.Is there any way i can run those files on android and show the result. Python github project:https://github.com/DataTeaser/textteaser Apr 09 11:49:33 ah .. well I did not get Photoshop/Illustrator CC .. I am on CS6 Apr 09 11:51:06 look like i got alot of read to do on android:) Apr 09 11:51:42 Aoi: I see Apr 09 11:51:44 what shall I delete in org.mozilla.firefox to get rid of personal informations ? http://pastebin.com/Auc4b25Y ? Apr 09 11:53:48 NYTimes: Try #android if you need help with apps or your device. This channel is for app dev Apr 09 11:59:01 Lets code photoshop in android Apr 09 12:04:55 Have fun @ wyoung^^ Apr 09 12:06:40 weeeee! Apr 09 12:25:11 wow I knocked out at 7pm last night Apr 09 12:26:18 RustyShackleford: $$$$$$$$$ Apr 09 12:26:43 what about money? Apr 09 12:27:02 working late means you earnt loads of dosh Apr 09 12:27:11 no it doesn't Apr 09 12:27:13 i'm salaried Apr 09 12:27:14 oh Apr 09 12:27:25 then why work past 5PM? Apr 09 12:27:27 have to open the work laptop today as well. motherfucker lol Apr 09 12:27:46 good question. Cause everyone else does, I guess Apr 09 12:27:48 lol I only work mon-fri .. and I passed away at around 7pm last night, too Apr 09 12:27:48 salary to me means 9-5 only Apr 09 12:28:10 salary means free overtime to many employers Apr 09 12:28:13 if they want you to work more than put you on a wage and pay you extra Apr 09 12:28:32 I should definitely bring that up Apr 09 12:28:46 I sometimes work more in order to get +hours, which I then can use for additional off-work days Apr 09 12:28:56 Aoi: paid work? Apr 09 12:29:00 yeah Apr 09 12:29:00 paid off days that is Apr 09 12:29:14 they pay me as if I was working while I don'T :D Apr 09 12:29:23 just like vacations Apr 09 12:29:24 I dont get any of those as I am self employed, but I don't do work unless someone is willing to pay me Apr 09 12:29:35 I mean since I had to work late yesterday and today, i'm going to leave at like 3 on monday Apr 09 12:29:44 and tuesday Apr 09 12:29:50 SimonVT: if you know why don't you just tell me Apr 09 12:29:56 well I am working at a gov institution .. and we usually are only allowed to work 10 hours max; I usually work much less Apr 09 12:30:16 working on this bug related to Talkback Apr 09 12:30:21 of course I have to do accounting, marketing and other stuff that takes up time and I dont get paid for. but I get more business so it is an indirect payment Apr 09 12:30:32 honestly I don't see how the blind can use this. I can see and I can barely use it Apr 09 12:30:54 so I highlight an item and swipe up Apr 09 12:30:55 yeah.. but I want to just you know go to work 9-5 (sometimes it's 9-6 and VERY seldom it's 9-8) Apr 09 12:31:09 go to work + come back and not care about work Apr 09 12:31:12 the previous fragments items are selected instead of the one on the current page Apr 09 12:32:44 RustyShackleford, are your layouts clickable in the xml? Apr 09 12:33:54 Aoi: then don't work for a salary Apr 09 12:34:08 your employer will try to milk every hour in your day Apr 09 12:34:24 and you wont get any benefit fro it Apr 09 12:34:26 from* Apr 09 12:38:53 Ping_2_Ur_Pong, thanks for your link, now i can enter my golang project. Apr 09 12:39:59 NoirAvlaa: the layout itself? Apr 09 12:40:01 or views? Apr 09 12:40:06 layout itself Apr 09 12:40:13 i'll check. Should it be? Apr 09 12:40:24 UI stuff is really not my thing Apr 09 12:40:38 If 2 fragments are on top of one another, then click events can go through the top fragment to the bottom Apr 09 12:40:46 Adding clickable to the layout absorbs the click Apr 09 12:41:09 So only views on top of the layout can be clicked Apr 09 12:41:17 Bit of a hack I think, but it works Apr 09 12:42:47 does android studio NOT support maven project? though i install a maven-run plugin, i can NOT open a mave project. if i lose some step please let me know Apr 09 12:45:32 the parent layout is clickage Apr 09 12:45:38 clickable Apr 09 12:45:53 do all the child layouts also need to be clickable? Apr 09 12:57:27 RustyShackleford, no, they effectively sit "on top" of the parent layout Apr 09 12:57:42 You're just using it to absorb clicks so they don't go through to previous fragments Apr 09 13:16:38 NoirAvlaa: gotcha. So the parent layout is already clickable Apr 09 13:16:42 what now? Apr 09 13:16:59 That should be it Apr 09 13:17:34 that seems like such a hack ha. Is that the standard way to do it? Apr 09 13:17:49 I mean, talkback shouldn't have to rely on that Apr 09 13:24:48 NoirAvlaa: thanks man. I would have not figured that out myself Apr 09 13:25:19 RustyShackleford, no idea tbh, I've seen other people do it but I'm assuming there might be a more elegant way for it Apr 09 13:25:33 But it's simple enough that this shouldn't cause any issues Apr 09 13:25:40 I've never had issues doing it like this Apr 09 13:25:51 I suppose another way would be to replace fragments and manage the stack yourself Apr 09 13:26:07 But that feels more wrong to me haha Apr 09 13:28:04 talkbacck has to be some of the most frustrating software I've used Apr 09 13:28:28 how do blind people manage with it? Apr 09 13:47:40 If anyone ever used Barcode4J please check out my StackOverflow question -> http://stackoverflow.com/questions/36514067/barcode4j-on-android-missing-bufferedimage-support Apr 09 13:55:57 hey guys Apr 09 13:56:18 Ive got a weird error when running my app Apr 09 13:56:20 Caused by: java.lang.UnsupportedOperationException: Failed to resolve attribute at index 13: TypedValue{t=0x2/d=0x7f01005c a=-1} Apr 09 13:56:59 Caused by: android.view.InflateException: Binary XML file line #17: Binary XML file line #17: Error inflating class android.widget.ImageButton Apr 09 13:57:17 line 17 in my xml is http://pastebin.com/N2hhG4B3 if you need the xml file Apr 09 14:04:38 Hello guys, how can I move the map to an address based on string address instead of lat lon? Apr 09 14:05:04 I'm sorry, I use a MapView object :) Apr 09 14:23:09 Hey Apr 09 14:23:30 Any guides to creating an android app? Apr 09 14:23:40 android calculator app* Apr 09 14:23:58 Can we discuss how to implement one? Apr 09 14:24:18 I haven't any experience developing for android Apr 09 14:24:36 I have the sdk installed and am gonna download an emulator Apr 09 14:24:52 grey something was one that was recommended Apr 09 14:24:57 what was the name? Apr 09 14:25:18 ~graymotion Apr 09 14:25:27 I don't know Apr 09 14:26:10 ah, genymotion Apr 09 14:27:12 They have a personal use plan, would that include for school assignments? Apr 09 14:27:27 Apparently the Android Studio 2.0 emulator is better than it Apr 09 14:27:33 I see Apr 09 14:27:33 Yes, it would Apr 09 14:27:40 I'm using the personal plan Apr 09 14:27:55 still using Genymotion because my AS hasn't updated Apr 09 14:27:58 I'm on 1.5 :D Apr 09 14:28:09 that's an old version? Apr 09 14:29:06 Alright, so where can I get the 2.0 emulator? SDK Manager? Apr 09 14:30:34 Ah, android studio 2.0 has just been released Apr 09 14:35:40 So im gonna have to reinstall all the tools installed by the sdk huh? Apr 09 14:35:56 if I update to Android 2.0 Apr 09 14:36:05 if I update to Android Studio 2.0* Apr 09 14:42:39 Anyone use NetBeans for Android dev? Apr 09 14:44:09 Is it possible to use NetBeans for Android dev? Apr 09 14:45:07 I don't know, there is a standalone SDK so maybe Apr 09 14:51:04 markmarkmark: Don't bother, use Android Studio Apr 09 14:52:46 ^ Apr 09 14:53:11 I don't know why you want to make your life much harder when Android Studio has been developed for Android developers to make Android apps Apr 09 14:53:59 If you're not familiar with the layout, just keep using it. I went from using JCreator -> NetBeans -> IntelliJ in Uni when I was doing Java work Apr 09 14:54:31 I have used intellij before Apr 09 14:55:23 but I like NetBeans so wanted to use that if possible Apr 09 14:56:30 I will work with Studio 2.0 for the project Apr 09 14:56:39 its a Calculator Apr 09 14:56:44 I will call it Krunch Apr 09 14:56:56 ugh, nothing i do is preventing AS from permanently hanging when I wake up my machine from sleep. as of 2.0 i can't even untuck it by killing adb, and even disabling adb integration beforehand does notthing Apr 09 14:57:34 rgb-one: NetBeans is dead, move on Apr 09 14:57:37 restart your machine Apr 09 14:57:42 g00s: ^ Apr 09 14:57:47 rgb-one did that Apr 09 14:58:04 It was never alive Apr 09 14:58:07 CedricBeust didn't tor used to work on netbeans ? Apr 09 14:58:08 You probably didn't press the power button hard enough Apr 09 14:58:21 tor? Apr 09 14:58:25 tor norbye Apr 09 14:58:32 Yes he did Apr 09 14:58:41 like most former Sun people Apr 09 14:59:00 But as soon as you're out, you switch to a real IDE :) Apr 09 14:59:21 i had to disable instant run too, but that looks promising Apr 09 14:59:24 It isn't features why I use it Apr 09 14:59:32 It is all free Apr 09 14:59:38 and its a useful tool Apr 09 14:59:42 instant run is pretty nice, the speeds are pretty darn nice. Apr 09 14:59:55 when it works, sure heh Apr 09 15:00:11 If I use my mouse to re-focus the emulator it always has reloaded before I have it open Apr 09 15:00:30 g00s: sounds like you need a computer that isn't as slow as old people fucking. Apr 09 15:02:16 well yeah, now that i shut down AS every time I walk away from the machine long enough it could go to sleep - and then restart it, wait for index, build, etc - would be nice if i had a faster computer Apr 09 15:03:20 i'll try adb over wifi again Apr 09 15:04:07 what's OS do you use g00s Apr 09 15:04:08 ? Apr 09 15:04:52 "It is all free" Apr 09 15:05:01 rgb-one: So is AS Apr 09 15:05:07 nothing like working on a saturday again Apr 09 15:05:17 I mean't for Java Apr 09 15:05:20 should I just quit on monday? Apr 09 15:05:21 You can get a community edition with IntelliJ Apr 09 15:05:22 rgb-one os x Apr 09 15:05:37 RustyShackleford, deadline coming up? Apr 09 15:05:42 sorta yeah Apr 09 15:05:56 I had plenty of time when I commited to this story earlier in the week Apr 09 15:06:05 then they filled up my time with a bunch of other things Apr 09 15:06:06 If overtime on a weekend day is the exception and not the rule then it's not too bad Apr 09 15:06:16 well I did this last weekend Apr 09 15:06:25 Do they expect you to come in? Apr 09 15:06:30 Or do you just go in? Apr 09 15:06:30 no I do it from home Apr 09 15:06:32 Ah Apr 09 15:06:35 rgb-one i think its related to this https://code.google.com/p/android/issues/detail?id=82425 Apr 09 15:06:37 Do they expect you? Apr 09 15:06:39 its epxected to get done Apr 09 15:06:50 Are you working for a startup? Apr 09 15:06:52 the fix up until now was just to kill adb, and then you would be ok Apr 09 15:07:01 nobody said to do it today I suppose. It won't get done unless I do Apr 09 15:07:08 markyosullivan: no, big corporate place Apr 09 15:07:12 Then fuck it Apr 09 15:07:18 they don't need it urgently Apr 09 15:07:22 when you say you "committed to this story" is that some 'agile' thing? Apr 09 15:07:25 thats not how they see it Apr 09 15:07:32 Leeds: yep Apr 09 15:07:44 Agile is really dumb IMO Apr 09 15:07:57 its not the magic bullet everyone makes it out to be Apr 09 15:08:18 well like everything, it was invaded by people selling certifications, consultants, etc Apr 09 15:08:22 Agile is the lesser of evils Apr 09 15:08:34 You'd definitely rather agile than waterfall Apr 09 15:08:36 if your process was idiotic doing waterfall, its going to be idiotic in agile Apr 09 15:08:44 they just expect things faster now Apr 09 15:08:59 It sounds like whoever is running the project is just useless Apr 09 15:09:04 processes can change in agile Apr 09 15:09:05 useless people everywhere Apr 09 15:09:08 unlike waterfall Apr 09 15:09:28 I waas trying to get genymotion at work since I use the stock emulator all day Apr 09 15:09:30 RustyShackleford you the only Android dev? Apr 09 15:09:45 no there's 20 or so between onsite and offshore Apr 09 15:09:55 Were you saying they rejected it because of "security issues" Apr 09 15:09:56 ? Apr 09 15:10:00 yeah Apr 09 15:10:05 Haha Apr 09 15:10:08 Virtualbox is a potential security risk Apr 09 15:10:10 Do you work for a financial firm? Apr 09 15:10:23 their suggestion: ask the vendor to make us an implementation that uses VMWare Apr 09 15:10:39 could I have a ham sandwich, except instead of ham I want turkey Apr 09 15:10:40 work with it Apr 09 15:10:46 Sounds like you're working as an Android dev for a big corporation which doesn't understand software Apr 09 15:10:52 markyosullivan: bingo! Apr 09 15:11:03 Jesus, leave asap Apr 09 15:11:05 i'm beginning to really hate it Apr 09 15:11:06 that's my nightmare Apr 09 15:11:31 I was looking for a job in Edinburgh and felt like shit knowing I could be working for a financial based firm which doesn't understand software development Apr 09 15:11:36 all the corporation lifestyle bullshit Apr 09 15:11:52 lots of financial firms in this area... I might need to move elsewhere Apr 09 15:11:54 or an oil company! Apr 09 15:12:02 * Ping_2_Ur_Pong has fallen in love with it makes setting up the color schemes and UI elements remarkably easier Apr 09 15:12:11 I got in touch with a startup and I think I might be joining them Apr 09 15:12:23 they said they'd offer me a contract when I go to see their office Apr 09 15:12:24 i dunno about startups. I'm looking for a balance Apr 09 15:12:31 how is virtualbox a security risk? Apr 09 15:12:37 Ping_2_Ur_Pong: beats me Apr 09 15:13:00 its not any more of a risk than Microsoft Word IMO Apr 09 15:13:05 but i'm not a security guy Apr 09 15:13:33 thank god for the 2.0 emulator. Waiting to get that on my computer Apr 09 15:13:39 You don't have to work for a startup, just don't work for a financial firm :D Apr 09 15:14:07 * Ping_2_Ur_Pong misses it entirely the vm instance encapsulates the OS that is running, so I don't see how it could cause any problems. I use a vm instance to test shit when I am security weary. Apr 09 15:14:08 Ping_2_Ur_Pong do you have an example ? Apr 09 15:14:09 I'm a final year uni student so pretty nervous about joining a startup Apr 09 15:14:10 financial firms and insurance companies are they main employers of software devs around here Apr 09 15:14:12 (declare-styleable) Apr 09 15:14:15 ew Apr 09 15:14:22 Where you based Rusty? Apr 09 15:14:25 chicago Apr 09 15:14:30 Boston nearby? Apr 09 15:14:38 hah no, not really Apr 09 15:14:44 14 hour drive Apr 09 15:14:47 markyosullivan well now is the time to do it, when you're in your 40s with wife, kid it kinda sucks Apr 09 15:14:48 What :o Apr 09 15:15:05 g00s yeah that's what I thought, try and learn as much as I can now Apr 09 15:15:11 Apr 09 15:15:11 markyosullivan otoh it might be better to go first to established employer and get some cred Apr 09 15:15:12 pretty good guess. Google maps says 15 Apr 09 15:15:15 means I can work long hours without family needing me Apr 09 15:15:22 markyosullivan: you're not from the US are you? its a big country haha Apr 09 15:15:23 g00s interned at SAP Apr 09 15:15:35 Big company's don't really interest me Apr 09 15:15:43 markyosullivan: join a startup or a company that is so big you get respect from their name Apr 09 15:15:59 markyosullivan: not about the interest, its about building your resume for future job security. Apr 09 15:16:01 markyosullivan i think its good to get experience at big and small companies, and inbetween Apr 09 15:16:07 I think big tech company can be a decent compromise Apr 09 15:16:18 working tech in a big non-tech company sounds like a bad idea Apr 09 15:16:19 Ping_2_Ur_Pong I felt my resume would be built better with a startup where I'd be involved in more work Apr 09 15:16:20 * Ping_2_Ur_Pong can pretty much walk into most companies because his resume looks like something out of a advert. Apr 09 15:16:33 markyosullivan: recruiters are stupid Apr 09 15:16:38 markyosullivan yeah don't want to work for dept that is cost center Apr 09 15:16:39 RustyShackleford: I'm from the UK Apr 09 15:16:42 90% of the time you will be working with them Apr 09 15:17:04 Ping_2_Ur_Pong: Managed to avoid recruiter with this startup job Apr 09 15:17:14 they annoy me Apr 09 15:17:21 you usually wont be able to, they are the middle men with the keys. Apr 09 15:17:31 I heard that I shouldn't be picky because I will be a graduate Apr 09 15:17:44 so I was prepared to work 6-12 months in a bigger company, then go straight to a startup Apr 09 15:17:51 trust me, if you want to do software for the long term. Spend your first couple years in the industry at somewhere that has a big name. Apr 09 15:17:53 want to get experience in a startup as young as I can be Apr 09 15:17:55 same boat I was in hah. Took the only job offer I had Apr 09 15:18:27 entry level jobs seem much harder to come by. If I had 5 years experience I could find a new one easily I think Apr 09 15:18:40 Ping_2_Ur_Pong but in a big company you've got one thing to do and you don't get to learn multiple things, which sucks Apr 09 15:18:54 markyosullivan: jack of all trades master of none Apr 09 15:18:55 I feel that hinders your ability Apr 09 15:19:04 you want variety after you've mastered one thing Apr 09 15:19:05 markyosullivan: except you may get to move roles without having to move job Apr 09 15:19:10 markyosullivan: not true here anyway Apr 09 15:19:17 I can definitely jump around between teams Apr 09 15:19:25 markyosullivan watch out for devops culture :P Apr 09 15:19:28 I'm trying to fix different things that somehow nobody has done yet Apr 09 15:19:29 maybe move *country* as well, if that interests you Apr 09 15:19:40 Ping_2_Ur_Ping, or you could be a master of something so obsecure and not widely used by other companies that you're stuck doing the same boring shit you hated ;) Apr 09 15:19:48 *Ping_2_Ur_Pong Apr 09 15:19:56 for example, we use gradle now, but we have to paste our dependencies into the libs/ folder Apr 09 15:20:08 library projects, like we had to do in eclipse Apr 09 15:20:12 I'm working on fixing that Apr 09 15:20:20 g00s: Yeah chef seems to be popular Apr 09 15:20:25 Chef and puppet isn't it? Apr 09 15:20:42 markyosullivan: touche... But that's career management. A career in tech is more than learn A and stick with it for 30 years. You need to actually understand where you want to be in 10 years and move towards that. Apr 09 15:20:51 markyosullivan oh i meant, watch out like - another way of saying you'll be doing everything :P Apr 09 15:21:05 which is fine for startup, a few people have to wear multiple hats Apr 09 15:21:10 Ping_2_Ur_Pong: Android dev is what I want to do, most other companies are looking for Java devs Apr 09 15:21:15 similar but not what I wanted Apr 09 15:21:39 hardly any positions for mobile developers so I applied for the startup thinking I wouldn't get it Apr 09 15:22:00 the industry is hot for both right now Apr 09 15:22:26 I got my first job out of university at a graduate careers fair - every other job I've had since then has been through a personal connection or recommendation Apr 09 15:22:44 The industry is awash in Android/Mobile jobs. Every company wants to feel like it has a front facing business for consumers. Apr 09 15:22:54 g00s: Plan is work for a startup, learn lots from doing more mobile dev, help out in other areas which I'm sure i'll be asked to do, if it closes or I leave I'll have more experience in mobile dev which I wouldn't have gotten at a Java role and experience in other areas which might make me want to change roles in the future Apr 09 15:22:56 Leeds: so where do you find connections outside your company? Apr 09 15:23:22 Leeds: my first out of uni through a recruiter, every job since then from fucking recruiters. I hate the bloody bastards but they can present great jobs. Apr 09 15:23:28 Ping_2_Ur_Pong: What do you think of startups and big corporations? Apr 09 15:23:40 I have a freind from high school who is in software dev, but he's in a different part of the country Apr 09 15:23:47 markyosullivan: big companies give you clout, startups give you something interesting to do. Apr 09 15:23:56 and another buddy who I'm sure would recommend me, but his company is small and not hiring Apr 09 15:24:06 a big companies name will sell you and allow you to avoid a lot of stupid ass hoops Apr 09 15:24:06 I'm hoping to move away from startups when I'm in my late 30s Apr 09 15:24:10 or early 30s Apr 09 15:24:13 RustyShackleford: my 2nd job came about because my company was laying people off, and a colleague spoke to people she knew at similar companies through doing standards work with them Apr 09 15:24:20 will want more free time then for family probably Apr 09 15:24:32 got one job through pure nepotism :) Apr 09 15:24:42 hah I dunno how startups compare to corporate places as far as work/life balance Apr 09 15:24:45 Ping_2_Ur_Pong: Do you work for a big company atm? Apr 09 15:24:48 markyosullivan the goal isn't just to get experience with things, but also to develop social capital early on. make lots of econnections Apr 09 15:24:56 RustyShackleford: I could imagine long hours and pressure to meet deadlines Apr 09 15:24:57 markyosullivan: I contract atm Apr 09 15:25:01 econnections g00s ? Apr 09 15:25:10 connections Apr 09 15:25:13 Ping_2_Ur_Pong: Happiest now than you ever been? Apr 09 15:25:24 or would you go back to a certain company if you could? Apr 09 15:25:25 yea, big companies can be a pain in the ass. Apr 09 15:25:27 Oh Apr 09 15:25:34 one job, I'd interviewed somewhere, didn't go too well, but I got along with one of the interviewers - he moved to a new company, he came to me and said he wanted to hire me Apr 09 15:25:40 markyosullivan: at which? Apr 09 15:25:43 But, what you learn is great for people management, getting shit done and over all understanding how to grow a product. Apr 09 15:25:55 RustyShackleford: Startups more so Apr 09 15:26:00 They depend on you more Apr 09 15:26:01 * Ping_2_Ur_Pong thinks you learn more at a big company where you know you can't push too much. At least people skill wise. Apr 09 15:26:07 nowadays... meetups, lots of meetups, lots of drinking with techies Apr 09 15:26:13 make yourself visible Apr 09 15:26:16 speak at events Apr 09 15:26:19 jobs will come to you Apr 09 15:26:19 Ping_2_Ur_Pong: definitely learning some of that Apr 09 15:26:28 I wish I could tell a bunch of people off, but I cant Apr 09 15:26:39 RustyShackleford: its a very good skill to have. Apr 09 15:26:42 I've learned that my manager is tough to convince sometimes Apr 09 15:26:54 Once you know how to nicely say go fuck yourself you enter a new world. Apr 09 15:26:54 but I know some people whose opinion she trusts Apr 09 15:27:09 so I convince them first, then I try my manager Apr 09 15:27:14 * Ping_2_Ur_Pong nods Apr 09 15:27:16 mentioning that X and Y are onboard Apr 09 15:27:39 I just think in a big company, you're just a number, you're just 1 employee, whereas in a startup you've got a lot more power and responsibility Apr 09 15:27:49 you learn the dynamics of working with people more in big companies, and tbh... the tech is only 10-20% of the equation in most businesses/startups. People skills are far more important. Apr 09 15:28:06 yeah business and people skills Apr 09 15:28:06 well I have some wiggle room, I'm one of two employees. The rest on android are contractors Apr 09 15:28:23 there's a lot more room to advance in a big company Apr 09 15:28:25 I could probably push the envelope more than I do Apr 09 15:28:39 markyosullivan: yea/no... But starting out you don't care about that you care about longevity of your career. You need names to make you look like you're God rolled into an engineer. Apr 09 15:28:46 Ping_2_Ur_Pong: You can't really learn people skills. You'll find people across the world aren't good with people and suck at managing Apr 09 15:29:03 markyosullivan sure you can ! Apr 09 15:29:05 lol Apr 09 15:29:16 unless you're autistic Apr 09 15:29:25 g00s: You can improve them but a lot of people in the world are stubborn lol Apr 09 15:29:30 markyosullivan: Dale Carnegie "How to win friends and Influence people" Apr 09 15:29:31 i'm definitely getting better. Just with the sheer number of people I have to deal with every day Apr 09 15:29:58 Im going from a small company to a big company, interested to see the diff Apr 09 15:30:05 you have to learn how to go about persuading people. Seriously read that book, it opens your eyes to how to work with people. Apr 09 15:30:08 RustyShackleford also some of people skills at large co is learning politics Apr 09 15:30:16 oops markyosullivan sorry Apr 09 15:30:58 Sounds like the higher you progress in a big company, the less coding and the more managing you do Apr 09 15:31:18 often there is an engineering and management track Apr 09 15:31:22 markyosullivan: depends where and what you want Apr 09 15:31:28 "Don't phrase what you want in terms of your desires, phrase it in terms of the other persons desires" ie... "I believe your team would be best suited by hiring an engineer that embodies the character of your company, I exemplify those qualities" vs "I really like what you're doing and think it would be great to work here" Apr 09 15:31:44 markyosullivan: i made buddies with this guy whos been here for 10 years Apr 09 15:31:46 markyosullivan http://www.poetryfoundation.org/poem/173536 Apr 09 15:32:05 asked him exactly this. He says every year he makes it clear to his manager that he will remain a developer Apr 09 15:32:23 they have tried to push him into a more management role Apr 09 15:33:01 markyosullivan if you go to big co, one thing to look out for is engineering culture Apr 09 15:33:10 which is good Apr 09 15:33:44 can I test TalkBack in the emulator? Apr 09 15:35:49 hah I wonder how soon I can give ultimatums Apr 09 15:36:05 RustyShackleford: check Accesibility on the emulator. I don't see talkback but there are other features there which might do what you need. Apr 09 15:36:21 if you want me to stay, I need a laptop that is up to the task, and a real android device to develop on Apr 09 15:36:34 RustyShackleford: never be that guy Apr 09 15:36:48 ask if they say no, move in another direction, but don't be a dick. Apr 09 15:37:09 okay well being polite is not working Apr 09 15:37:11 Yeah I'd hate to stick with a company after making an ultimatum Apr 09 15:37:16 it'd be awkward Apr 09 15:37:19 how do I be firm and push back without being a dick? Apr 09 15:37:54 18 minute compiles and using the stock emulator. I'd give their tools a F grade Apr 09 15:37:59 you state that you cannot get it done Apr 09 15:38:18 pfn: "well we've had no trouble getting it done in the past" Apr 09 15:38:25 you describe that building takes 6 hours out of your day Apr 09 15:38:29 Well they want you to do a job, so if you say you can get the job done quicker or faster I'm sure that'll interest them Apr 09 15:38:36 and you only have 2 hours to work Apr 09 15:38:37 etc Apr 09 15:38:41 pfn: 6 hours is not far from the truth Apr 09 15:38:53 Be logical about the reasons why you need X. "By denying my request to have upgraded equipment you are costing yourself money. I spend X time doing Y and with a faster system that would be C" "Over a month that adds up to R time." Apr 09 15:39:00 I cooked up an example that shows they they cannot possibly lose moeny by getting the team better laptops Apr 09 15:39:10 I like Ping_2_Ur_Pong's response Apr 09 15:39:23 so long as everyone is paid more than 10 bucks an hour, they make back the investment in 6 months Apr 09 15:39:46 borrowed an iOS dev's macbook to see it only takes 4 mins on that machine Apr 09 15:39:57 Yeah one of the things I'm nervous about working for a startup is if I'm one of the only mobile devs, what if they want me to do something I'm not sure how to do? Apr 09 15:40:15 markyosullivan: there's google for that Apr 09 15:40:45 Yeah but that's one of the good things working for a bigger company, you have seniors who you can ask for advice Apr 09 15:41:03 like fuck you can Apr 09 15:41:11 not my experience either Apr 09 15:41:16 they can point you in the right direction, whereas I might implement a solution which could lead to performance issues or complications Apr 09 15:41:24 really? Apr 09 15:41:37 I thought you'd be able to get guidance from seniors if you're a junior dev Apr 09 15:41:38 there are people I can ask for help but I'm mostly on my own Apr 09 15:41:46 Try to avoid asking more expereinced engineers questions that can be googled. It will give you a bad rep, 1. To... a lot of engineers are dicks... so theyll use that against you. Apr 09 15:41:47 no mentor or anything like that Apr 09 15:41:54 Big companies are all about perception. Apr 09 15:42:05 I do have a coworker who is also new. We help eachother out Apr 09 15:42:32 Ping_2_Ur_Pong I don't understand that mentality, why be a dick to someone who's just looking to learn? Unless they're asking the same stuff over and over again Apr 09 15:42:45 or it's easily to find on Google Apr 09 15:42:51 markyosullivan: always do your due diligence for research before you implement any solution. You should know if what you're doing if going to have far reaching complications in the future. Apr 09 15:43:06 markyosullivan: because people are dicks Apr 09 15:43:19 its why you learn people skills so well working at bigger companies. Apr 09 15:43:21 How can you know if you don't have experience of whether or not it'll cause complications? Apr 09 15:43:34 markyosullivan: by doing your due diligence of searching Apr 09 15:43:50 If your google fu is strong you will find the holes you need to check. Apr 09 15:44:10 However, if you're under pressure to meet deadlines, you might not have enough time to research appropriately Apr 09 15:44:22 markyosullivan: bullshit Apr 09 15:44:32 it takes 10 mins to research just about anything Apr 09 15:44:38 ish Apr 09 15:45:40 Ping_2_Ur_Pong: maybe if I was as smart as you :p Apr 09 15:45:43 If you know what you're researching, I've gotten better at it but it's something which needs to be taught to first year students Apr 09 15:45:46 nothing takes 10 mins Apr 09 15:45:47 ever Apr 09 15:45:58 development related or not Apr 09 15:46:12 "How to Google" should be the first class in CS courses Apr 09 15:46:34 "The Art of Google: 101" then the senior version "Google it could do your job: 349" Apr 09 15:47:26 Honestly, there's some people in my year, I'm final year and they STILL don't know how to use Google Apr 09 15:47:42 "How do I do this" Apr 09 15:47:50 Google is not a person -_- Apr 09 15:48:19 https://www.youtube.com/watch?v=YuOBzWF0Aws Apr 09 15:49:32 whats the deal with xml files? Apr 09 15:49:41 ??? Apr 09 15:49:54 do you ever notice that after editing xml layouts or strings, you need to clean and rebuild? Apr 09 15:49:54 Oh boy, I'm going to enjoy this video I'm sure :D Apr 09 15:50:07 RustyShackleford, nope Apr 09 15:50:09 otherwise those changes aren't included in the apk Apr 09 15:50:16 it's only you Apr 09 15:50:17 RustyShackleford: ive never noticed that Apr 09 15:50:28 are you using eclipse cause yea that's shit Apr 09 15:50:30 it can't only be me Apr 09 15:50:37 no Android studio Apr 09 15:50:38 I've noticed it when I include new library xml classes Apr 09 15:50:46 I don't know the correct term Apr 09 15:50:51 assets are the same way Apr 09 15:51:33 What's the correct term for the likes of TextView, EditText, LinearLayout, etc in the layout files? Apr 09 15:51:43 XML class? Apr 09 15:51:56 XML resource? Apr 09 15:52:05 resource Apr 09 15:52:09 is what i'd say Apr 09 15:52:19 strings, layouts, styles, etc Apr 09 15:52:45 okay Apr 09 15:52:56 then each resource has attributes Apr 09 15:53:29 So yeah whenever I use external xml resources from a new library, I have to build gradle again for them to work Apr 09 15:53:48 That might be similar to you Rusty? Apr 09 15:53:57 existing file Apr 09 15:54:15 I change a string resource's contect from "foo" to "bar" Apr 09 15:54:25 press the play button, and "foo" is still there Apr 09 15:54:56 What? Apr 09 15:54:58 :s Apr 09 15:55:11 What version of AS are you using? Apr 09 15:55:34 1.5.1 Apr 09 15:55:56 i've had it happen on my own machine too. The tools don't seem to notice that the file has changed Apr 09 15:57:56 i remember that happened a lot on eclipse / adt Apr 09 15:58:07 its really obnoxious. Especially when it takes 18 mins to rebuild the project Apr 09 15:58:14 wat Apr 09 15:58:32 18 minutes?! Apr 09 15:58:33 :| Apr 09 15:58:34 i'm working on it. I have a feeling library project slow it wayyy down Apr 09 15:58:42 HOW Apr 09 15:58:52 My laptop can do it in a couple of minutes Apr 09 15:58:55 remember the eclipse way of including 3rd party libraries? Apr 09 15:58:56 though my project isn't massive Apr 09 15:59:15 you make a dependent project, such as googlePlayServices Apr 09 15:59:21 I don't remember that, but I do remember what you were describing happening on Eclipse like g00s Apr 09 15:59:23 and drop it into the libs/ folder of that project Apr 09 16:04:06 Is there any reason to set canvas.antialias(true) when using Paint.Style.Fill? Apr 09 16:11:55 by the way, guys, in terms of office politics and startups etc. - I'm reading Dan Lyon's new book, and it's pretty good :) Apr 09 16:13:43 Leeds: which, whats the premise? Apr 09 16:15:12 no premise, it's autobiographical - "I was fake Steve Jobs, I was tech editor at Newsweek, then I got fired and ended up working at a bullshit spam/marketing startup when I was 20 years older than everyone else" Apr 09 16:16:06 it's called Disrupted Apr 09 16:16:28 Leeds read any other good books lately ? Apr 09 16:16:50 http://imgur.com/PPQmRZn I am trying to make it so that under freezing the color is light blue and above its red, question anyone have a thought on how I can cut out the section that dips under freezing so it doesn't show red blue. But is the color above the path.. My current thought is do a path where I cut Apr 09 16:17:04 the top portion out. Apr 09 16:17:33 g00s: mostly been re-reading recently... have you read A Fire Upon The Deep? sci-fi Apr 09 16:18:27 Leeds ah, no haven't read that. stick mostly to non-fiction. but lots of non-fic turns out to be fiction :P Apr 09 16:19:25 pretty classic epic space sci-fi - but one interesting thing is that the whole book is brought together by, essentially, galactic-scale Usenet Apr 09 16:20:14 Leeds, is that the one with the sentient dogs and slow zones? Apr 09 16:20:30 Mavrik: that's the one - hive-mind dogs Apr 09 16:20:43 Ah yeah. Apr 09 16:20:50 That got wierd after second book or so Apr 09 16:21:05 yeah, I think I read the second one, a while ago - didn't get to the third one Apr 09 16:21:16 Ping_2_Ur_Pong, you trying to change the freezing colour to blue? and change the red tint to a blue tint? Apr 09 16:21:23 (line color) Apr 09 16:22:25 everything below freezing to light blue, above the light red. The line is the temperature so if it goes before freezing I don't want it light bluw I want it to stay red. Apr 09 16:23:08 * Ping_2_Ur_Pong can only think of using a path to cut out from the top to the line. It would work but there must be something better. Apr 09 16:27:37 The cops make 70k per year. Maybe I should rethink my career choice Apr 09 16:27:53 70k after a year anyway. Starts at 55k. Not bad at all Apr 09 16:28:25 meh... google senior android developer salaries Apr 09 16:28:53 this office politics conversation has me pretty bummed out hah Apr 09 16:29:12 you think they dont happen with cops? Apr 09 16:29:28 well you can take your frustration out on some poor innocent citizen :p Apr 09 16:29:33 office politics are endemic to the work world Apr 09 16:29:42 RustyShackleford well, now you know you shouldn't be a cop :P Apr 09 16:29:53 apes have politics Apr 09 16:30:01 politics pervades everything Apr 09 16:30:01 its joke okay. I thought it was a funny one Apr 09 16:30:14 animal kingdom, humans, tribes, countries Apr 09 16:30:55 at least nobody has chewed me out yet Apr 09 16:31:09 I heard this one manager screaming at her team for like 3 hours on wednesday Apr 09 16:31:21 I like to think I'd walk out on the spot Apr 09 16:31:22 i do find that hard to believe Apr 09 16:31:37 RustyShackleford stop venting here and prepare for your next gig ;) Apr 09 16:31:49 venting in between compile cycles Apr 09 16:32:03 do what scot adams did and make a cartoon or something :D Apr 09 16:32:15 18 minutes is retarded, fix that shit Apr 09 16:32:18 realistically i'll have to ride out another 6 months either way Apr 09 16:32:22 that's a bad manager and a corosive company. Anywhere that tollerates people screaming at their sub-ordinates isn't a place you want to work. Apr 09 16:32:28 * Ping_2_Ur_Pong doesn't deal with that shit. Apr 09 16:32:37 my manager is pretty nice, ill give her that Apr 09 16:33:00 its not that she doesn't want us to have the tools we need, she can't get them for us from her bosses Apr 09 16:33:32 Ping_2_Ur_Pong: it was excessive. Bitch needed a swift backhand Apr 09 16:33:45 Ok guys enough off topic Apr 09 16:34:08 * Ping_2_Ur_Pong was thinking something similar, but was waiting for someone to bring up something android related Apr 09 16:34:13 any good resources on refactoring? Apr 09 16:34:31 right click -> refactor Apr 09 16:34:34 There are some things I'd like to change. Whenever I try, things get so broken that I can't make it compile again Apr 09 16:34:44 not a simple rename. Stripping out deprecated libraries Apr 09 16:34:47 are you still using eclipse? Apr 09 16:35:06 nope android studio Apr 09 16:37:39 "Comey admits he puts a piece of tape over the webcam lens on his laptop" Apr 09 16:38:30 g00s: I saw that, makes sense though.You don't know who/what is watching. The FBI director is a huge target. Apr 09 16:38:37 Topic. Apr 09 16:38:58 okay lets suppose he put a piece of tape on his android device's camera Apr 09 16:41:21 Let's suppose you're still offtopc. Apr 09 16:41:21 Anyone read any good android dev articles recently? Ohh I haven't read this weeks android weekly Apr 09 16:42:38 Reddit is best for Android dev stuff Apr 09 16:43:26 meh... android-dev is good on reddit, which is where I think this channel is from. But... I try to keep my tech and bullshit seperated Apr 09 16:43:55 hmm... Isn't the guy that does fragmented podcast the mod on android-dev on reddit and here as well? Apr 09 16:44:03 This channel was created way before /r/androiddev existed Apr 09 16:44:13 agh Apr 09 16:45:31 From what I've seen, there isn't a huge amount of wisdom on /r/androiddev. Apr 09 16:45:41 So many false claims are upvoted, for example. Apr 09 16:47:06 * Ping_2_Ur_Pong ohhh nice Apr 09 16:47:08 https://www.youtube.com/watch?v=IL50oWdgfNY&feature=youtu.be Apr 09 16:47:25 romainguy never comes here anymore. Apr 09 16:48:01 idiocy abounds on r/androiddev Apr 09 16:48:21 Oh again. Apr 09 16:48:25 so looking through google keep, i notice a peculiar pattern. instead of having one framelayout and swapping fragments (from nav drawer), they do something like this: Apr 09 16:48:34 pfn, did they start learning Swift again? :P Apr 09 16:48:53 Or is there more whining why Google didn't provide library for exactly their use case and they have to use a filthy opensource one? :P Apr 09 16:49:00 markyosullivan: I've not found anything better than this channel, personally. I would not trust /r/androiddev. :s Apr 09 16:49:03 Apr 09 16:49:03 Apr 09 16:49:03 Apr 09 16:49:16 anybody know what this accomplishes over using one framelayout ? Apr 09 16:51:47 g00s: is the source for google keep published? Would you link me to the git if you have it. Apr 09 16:51:50 Mavrik i do hear a lot of whining in here though about /r/androiddev straw men Apr 09 16:52:05 Ping_2_Ur_Pong oh i decompiled it Apr 09 16:52:08 is google keep source code available? Apr 09 16:52:11 oh okay Apr 09 16:52:25 the dont use proguard? Apr 09 16:52:35 the layouts are fine Apr 09 16:52:46 apktool decompiles those OK Apr 09 16:52:49 do layouts not get obfuscated? Apr 09 16:53:00 not even with proguard, maybe dexguard Apr 09 16:53:33 maybe they feel bad knowing we need to study their stuff to learn and left it easy to reverse :D Apr 09 16:53:38 I'm so close to joining the `minSdkVersion 21` master race. Apr 09 16:53:55 AppCompat is such a mess. Apr 09 16:54:09 TacticalJoke: seriously? Ive thought it was nice. Why? Apr 09 16:54:17 TacticalJoke lol, that vector drawable fiasco Apr 09 16:54:33 i went through all the shit of wrapping my vectors in stateListDrawables Apr 09 16:54:44 and then they decide, oh shit, this doesn't work well Apr 09 16:55:23 Ping_2_Ur_Pong: It's mainly little annoyances, such as my toolbar spinner highlighting with my accent colour when I click it. That doesn't happen on Lollipop without AppCompat. Apr 09 16:55:32 And other things such as what g00s just mentioned. Apr 09 16:56:14 TacticalJoke yeah i have considered minSdk=21 too but kitkat still has so much share :( Apr 09 16:56:23 now i'm doing minSdk=19 Apr 09 16:56:25 And it just seems like a mess. AppCompat's styles.xml, for example, is horrible to look at. Apr 09 16:56:41 That's cool that you're targetting 19 already. Apr 09 16:56:59 but 19 is like gingerbread was a few years ago Apr 09 16:57:11 i still have kitkat Apr 09 16:57:17 the big blob of share thats significantly different than the minSdk you want :D Apr 09 16:58:53 Need help with some layouts Apr 09 16:58:53 http://pastebin.com/EMgt1US5 Apr 09 16:58:56 TacticalJoke justJanne and I noticed in google keep, that each fragment has its own toolbar which i thought was interesting Apr 09 16:59:12 I wanted my listview as a whole to attach to the right of the screen Apr 09 16:59:12 Also, and this is gonna sound kinda weird, I can't stand Chris Banes's attitude. He acts like AppCompat is his personal favour to the world, and if someone doesn't like something about it then they're being unreasonable. Apr 09 16:59:26 the way i had it was activity had the toolbar, and each fragment put stuff in there (but didn't own it) Apr 09 16:59:37 1. it is coming full screen 2. it is left aligned Apr 09 16:59:53 any help how to fix it with dynamically generated listview inside a linear layout? Apr 09 16:59:56 g00s: Yeah, I've considered that before. But I don't use Fragments, personally. Apr 09 17:00:27 TacticalJoke maybe its his 20% project :P Apr 09 17:00:31 heresy! Apr 09 17:00:54 any pointers please? been at it for a couple of hours now. no headway Apr 09 17:01:17 TacticalJoke i love reading the comments about that swift article the other day though haha. so much fun Apr 09 17:01:31 its almost like 'hmm, lets poke them and see how they react' Apr 09 17:01:40 android-dev117: I think you're not supposed to use `wrap_content` with ListView. Apr 09 17:01:40 social media is just an experiment with lab rats Apr 09 17:02:19 g00s: I like to do my own experiments. :D Apr 09 17:02:31 hehe Apr 09 17:02:59 can I use talkback in the emulator? Apr 09 17:03:00 TacticalJoke: then? 1. how do i make it stick to right side of the main activity and keep its width limited to the width of contained items? Apr 09 17:03:08 some of these gestures seem rather impossible to do Apr 09 17:06:21 TacticalJoke: Here is how it looks right now Apr 09 17:06:24 https://beta.postimg.org/image/3md8y5leb/ Apr 09 17:07:22 android-dev117: Why not start with something simple (e.g., a TextView) so that you can figure out whether your LinearLayout stuff is correct. Apr 09 17:09:15 Be sure to set the TextView's background colour to create a pleasant debugging experience. Apr 09 17:09:39 hey, i am developing android for raspberry pi Apr 09 17:09:39 And pour a few glasses of wine. Apr 09 17:09:47 one of the main issues is that Apr 09 17:10:07 only 25% of the cpu is being utilized Apr 09 17:10:16 that is only one out of four cores Apr 09 17:11:08 source https://github.com/peyo-hd/local_manifests Apr 09 17:11:25 device https://github.com/peyo-hd/device_brcm_rpi2 Apr 09 17:12:18 kernel https://github.com/peyo-hd/kernel_rpi/tree/vc4 Apr 09 17:12:27 TacticalJoke: Which linear layout should I check? 1.Listview item 2.listview's parent LinearLayout 3.listview's parent's parent layout? Apr 09 17:12:44 I set clickable=true on the parent layout of this fragment Apr 09 17:13:05 yet when I select white space, talkback selects the previous fragment's items Apr 09 17:16:02 android-dev117: The one containing the ListView. I'm saying that you should be certain that your LinearLayout stuff is correct before even beginning to tackle the complex notion of using `wrap_content` on a ListView (which may or may not be valid; I can't remember). Apr 09 17:16:14 hah oh. This bug is all over our app Apr 09 17:16:19 For aligning the ListView to the right -- align something simple first. Apr 09 17:16:24 RustyShackleford, match parent Apr 09 17:16:32 Forget* Apr 09 17:16:41 so when you scroll past all the items in the list Apr 09 17:16:58 you then start scrolling into the previous fragment's items as well Apr 09 17:18:50 pfn: also set Apr 09 17:19:20 TacticalJoke: I checked - its working OK - the linearLayout is attaching to the right and of smaller size when I added a text view. so that linearlayout is fine. Apr 09 17:21:31 :o Apr 09 17:21:36 Percent Support Library sounds nice Apr 09 17:23:01 android-dev117: If the ListView isn't working with `wrap_content`, I'd suggest googling "listview wrap_content width" or something. It might that you need to use RecyclerView if you want to use `wrap_content`. Apr 09 17:23:19 Or I guess you could take the easy road and define a width. Apr 09 17:23:22 only RV works with wrap_content Apr 09 17:23:25 TacticalJoke: What would you trust for Android dev related news? Apr 09 17:23:26 (height) Apr 09 17:23:39 markyosullivan: Not sure. g00s probably has a few links. :D Apr 09 17:23:40 hmm - TacticalJoke searched a lot. I am doing the define width to a dp value now. checking. Apr 09 17:24:08 markyosullivan there is androidweekly.net - it has its ups and downs Apr 09 17:26:08 weird thing was more discussion about AS 2 on /r/android than /r/androiddev Apr 09 17:27:04 my life will be so much easier with that emulator Apr 09 17:27:12 especially if it continutes to improve Apr 09 17:27:36 a/b comparison with Genymotion, its REALLY close Apr 09 17:28:15 TacticalJoke: Thanks - giving a fixed width worked. will read more about recycler soon. but I dont have huge datasets. Apr 09 17:28:29 btw any pointers, how to make this work with different screen sizes? TacticalJoke Apr 09 17:28:56 Hmm, Theme.Material.BaseDialog sets both `colorBackground` and `windowBackground`. This doesn't seem to make sense, as the latter seems to override the former. Anybody know what's going on there? Apr 09 17:28:57 https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/res/res/values/themes_material.xml#1053 Apr 09 17:29:49 android-dev117: Hmm, not sure. I guess you could use sp units, but that might be a crazy idea. Apr 09 17:31:18 Or switch to RecyclerView. *sad trumpet plays* Apr 09 17:32:00 TacticalJoke google keep us using support libs :D Apr 09 17:32:27 I hate the term 'support' in 'support lib'. Sounds like we developers have special needs or something. Apr 09 17:32:42 lol Apr 09 17:33:03 they have the right idea with appcompat Apr 09 17:33:15 support lib should have been named compat lib Apr 09 17:34:19 hm, memory leak from goofle analytics Apr 09 17:35:55 my internet connection keeps dropping on comcast's end Apr 09 17:36:01 I wonder if I should even bother calling Apr 09 17:38:47 Hi all Apr 09 17:41:39 hey its baug ! Apr 09 17:42:01 RustyShackleford probably better off calling FCC heh Apr 09 17:43:36 TacticalJoke the stuff from support 23.2 still isn't on d.android.com Apr 09 17:43:43 its on their end haha Apr 09 17:43:57 but they won't do anything until I restart my router (done) and all my devices Apr 09 17:43:58 i keep typing classes on AS and decompiling them just to read their javadocs Apr 09 17:45:12 <[1]Psycho> Hi Apr 09 17:45:38 <[1]Psycho> Anyone mind helping me a bit? :\ Apr 09 17:48:28 What kinda help? If we're talking relationship problems, count me out. Apr 09 17:48:46 g00s: That's annoying. I'm lagging on the support thing lately. Apr 09 17:49:05 TacticalJoke: lol Apr 09 17:49:40 TacticalJoke you saw the Kotlin roadmap last week hopefully ? Apr 09 17:49:44 <[1]Psycho> Haha not that. Apr 09 17:49:58 <[1]Psycho> But a weird issue I'm running into while trying to run my app Apr 09 17:50:09 g00s: i figured out ios development is better than android's one. what you think about? Apr 09 17:50:41 gdrc lol you're trying to start a riot Apr 09 17:50:43 <[1]Psycho> I'm running into errors like this one "E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method travi.travitest.MainActivity.access$super" all over the place Apr 09 17:51:11 g00s: I like those Apr 09 17:51:32 g00s: Yeah. With the Jack thing, did they just mean that they'll be compatible with Java code that uses Jack? I had been hoping they were gonna write a Kotlin Android Compiler Kit kinda thing. Apr 09 17:51:55 Though that might be a crazy idea. Apr 09 17:52:08 [1]Psycho: ProGuard? Apr 09 17:52:31 Oh, wait. I guess not. Apr 09 17:53:02 Try googling it, [1]Psycho. Apr 09 17:53:09 <[1]Psycho> I tried Apr 09 17:53:12 <[1]Psycho> Nothing helped Apr 09 17:53:35 <[1]Psycho> I'm at the brink of burning my computer Apr 09 17:54:54 <[1]Psycho> It's like, everything runs fine but anytime I see an error code or the compiler gives me a string mispell error it drives me NUTS Apr 09 17:55:09 I guess your username is relevant. Apr 09 17:55:23 j Apr 09 17:55:24 lol Apr 09 17:55:25 Oops. Apr 09 17:56:12 [1]Psycho: It's probably a quick solution. But you need to give more info. Apr 09 17:56:30 <[1]Psycho> There's a reason why my friends think I should be locked up away from society. but that's getting us offtopic Apr 09 17:56:53 <[1]Psycho> well I tried implementing list view, then removed it and everything related to it Apr 09 17:57:06 ... Apr 09 17:57:11 maybe coding isn't for you Apr 09 17:57:33 You get a lot of errors when you code Apr 09 17:57:40 well at least I do :D Apr 09 17:58:14 <[1]Psycho> I've been programming for years now... Apr 09 17:58:14 That's just dalvik verifying a class and finding methods or classes that don't exist Apr 09 17:58:15 just get used to it Apr 09 17:58:15 relax Apr 09 17:58:28 Just ignore it Apr 09 17:58:46 Unless you're using stuff that doesn't exist, in which case don't do that Apr 09 17:58:55 in AS 2 XML editor, there is a strip on top showing the path it seems , like what does this do beside tell me the obvious Apr 09 17:59:19 can you use it to edit nodes for example? Apr 09 17:59:51 <[1]Psycho> Well I'm currently only using the built in libraries Apr 09 18:00:44 g00s: I guess it's useful for enormous files (e.g., platform ones). Though it doesn't seem *that* useful. Apr 09 18:01:07 Useful as we can click the parent node to scroll up. Apr 09 18:01:33 Oh, and we can go back to where we were before. Apr 09 18:02:17 ah ok Apr 09 18:02:37 is there a way to disable an item for talkback? Apr 09 18:02:51 its just like an icon, I don't want it to be selectable. It doesn't do anything Apr 09 18:03:01 TacticalJoke i am experimenting with a UI trick. I have a bottom sheet that contains NavigationView and BottomNavigationar. when its expanded, its shows NV, collapsed it shows Bottom nav bar Apr 09 18:03:14 maybe I can just remove contentDesciption? Apr 09 18:03:19 i'll show a video its kinda strange Apr 09 18:09:38 Hello everyone, I have Three fragment that I infating on An activity in Navigation drawer…. In one of the fragment, I have a list view. When I click on an item on the list view.. It calls an Activity. This activity has a toolbar back button….. Onclick of that two bar, The parent activity is the MainActivity, When I click the back button, It loads the fragment I added in my oncreateView of the MainActivity… How can i make it call the ListView whe Apr 09 18:09:39 click the back button? Apr 09 18:11:14 <[1]Psycho> Yay it works! *Victory Dance* Apr 09 18:45:41 "The new offset of this bottom sheet within its range, from 0 to 1 when it is moving upward, and from 0 to -1 when it moving downward." Apr 09 18:46:10 i never see it go negative moving downward Apr 09 18:50:22 I've just noticed the library I've been using has changed the class names Apr 09 18:50:25 confused me Apr 09 18:50:37 think the old way is still supported but thought I'd update just to be safe Apr 09 18:50:57 g00s: that's a neat idea! Is also similar to what I did. Apr 09 18:51:27 Although my problem was even worse: an edit text that's singleLine in collapsed, but MultiLine in expanded Apr 09 18:51:53 And scrollable vertically and horizontally each in a different way Apr 09 18:54:42 justJanne i'm still working out the details a bit, but i'll post a video when its ready. but sounds like you already did it Apr 09 18:55:18 shouldn't setting focusable=false prevent the user from selecting the ui element with ada? Apr 09 18:55:30 justJanne btw, did you use fernflower to decompile Keep the other day ? Apr 09 18:55:59 i never figured out how to use fernflower from the commend line :P Apr 09 18:56:21 seemed like it came bundled as an intellij plugin, although the original project wasn't Apr 09 18:56:29 so it needed some context to run Apr 09 19:07:19 man this is bad ... instant run, on my machine, in best case scenario is taking ~20 seconds to build and compile Apr 09 19:07:43 the old stuff, using AS 1.5.1 and gradle 2.11 was taking ~7 seconds for a full build Apr 09 19:08:46 but i don't think its IR per se, probably something with gradle-plugin 2.0 performance regression Apr 09 19:08:53 I'm looking at someone else's code and I see Intent flags that I can't seem to find in the docs. Is there somewhere that might have info on such things? Apr 09 19:09:18 ProgBot most android apps are strings and framelayouts all the way down Apr 09 19:10:20 g00s: it’s simple, the change in compilation speed comes from Jack & Jill Apr 09 19:10:27 also, g00s, I used fernflower, yes. Apr 09 19:10:29 g00s: Not completely sure what you mean by that Apr 09 19:10:36 justJanne oh i'm still using javaC Apr 09 19:10:40 ie how that applies Apr 09 19:10:44 g00s: no, you aren’t. Apr 09 19:10:50 IR only works with J&J Apr 09 19:11:04 i thought IR only works with old javac Apr 09 19:11:08 Anyway, on Arch linux it’s in the repo, so I could simply do "yaourt -S fernflower" Apr 09 19:11:12 also I have AS 2.0 not 2.1 Apr 09 19:11:20 and then "fernflower something.jar" Apr 09 19:11:23 okay, that is weird then Apr 09 19:11:52 yeah i think j/j is in AS 2.1, built-tools RC, and gradle-plugin 2.1.0 Apr 09 19:22:00 justJanne ok, have a video. where is a good place to put a mp4? Apr 09 19:25:55 hm i thought imgur did on the fly mp4 -> gifv Apr 09 19:28:03 g00s: for mp4? dropbox Apr 09 19:28:11 otherwise, use your server Apr 09 19:29:14 justJanne ok here https://gfycat.com/FlawlessHonestEidolonhelvum Apr 09 19:29:39 forget about the FAB :P Apr 09 19:29:57 that’s a pretty awesome concept. Apr 09 19:30:25 maybe add a button switching between up and down arrow for open/close Apr 09 19:30:41 many users don’t know about gestures Apr 09 19:30:41 yeah, thanks ! Apr 09 19:45:03 Why not jsut leave it open, will the list of things in the drawer get longer? Apr 09 19:45:49 oh... this discussion was 15 minutes ago. Apr 09 19:45:50 nevermind Apr 09 19:51:20 rowan7 yeah, it will default to open. eventually, if the list is long enough the goal is that scrolling will cause the nav to collapse Apr 09 19:51:47 like what you see in normal bottom navigation spec Apr 09 19:53:35 Hey guys, in Android Studio 2 -- how can I switch to landscape mode in the emulator? The LCTRL + F11 doesn't seem to work. Instead the LCTRL gives access to multiple simultaneous clicks. Apr 09 19:55:44 cmd+left/right on osx. Probably translates to ctrl. Or just use the two rotate buttons Apr 09 19:56:28 It works with LCTRL + Left/right -- thanks SimonVT ! Apr 09 19:57:24 Mousing over the emulator controls give you their shortcuts Apr 09 19:59:21 hm guys.. if I have a custom control, which derives from Seekbar, and I want it to hold customizable states (basically a TextView), how do I do it and how do I access it within the Seekbar-derived control in order to draw them? Apr 09 20:01:04 is that even possible? Apr 09 20:02:56 Basically I have a MultiSwitch, which derives from Seekbar.. it currently takes a String as "states" argument and splits it by comma. Now I'd like to provide more than just a String if possible. I could work around by adding attributes to the control, but I'd like to have child-controls /-widgets instead. Apr 09 20:07:15 What's the Material Design way of picking between showing two types of objects? I have a recyclerview which is a list of either A or B. Should it be a navdraw or some sort of tabs? Apr 09 20:14:08 rv for 2 things seems way overkill Apr 09 20:18:34 rubenwardy could a Spinner work ? Apr 09 20:19:11 This is the app: https://play.google.com/store/apps/details?id=com.rubenwardy.minetestmodmanager Apr 09 20:19:17 It's currently used to manage mods Apr 09 20:19:28 I want to add the ability to manage "subgames" as well Apr 09 20:19:35 (subgames are gamemodes) Apr 09 20:29:47 Are there any other methods besides getResultData() I can use after my intent gets back? Apr 09 20:30:12 Just like I use intent.putExtra I'd like to get back a dictionary of data as well Apr 09 20:34:01 It looks like I want tabs: https://www.google.com/design/spec/components/tabs.html# Apr 09 20:50:56 hi guys Apr 09 20:51:09 Hi Apr 09 20:51:21 I'm thinking to start learning android development.. but first.. I want to ask you guys some questions Apr 09 20:51:51 Any previous programming knowledge? Apr 09 20:52:06 I'm not sure if I should start putting some effort on Java + Android or go directly to some of those solutions like Phonegap or React Native Apr 09 20:52:25 Richa_: yeah.. I have a couple of years of experience in development Apr 09 20:52:37 What languages usually? Apr 09 20:52:49 ule android dev is java Apr 09 20:53:01 or kotlin! :D Apr 09 20:53:15 even so, i'd start with java Apr 09 20:53:35 then get fancy later ;) Apr 09 20:53:37 yeah.. but I was reading some news last week that google plans to use Swift Apr 09 20:53:55 That cant be true, i cant belive that Apr 09 20:54:22 ule can you repost that, i killed my buffer just afterwards Apr 09 20:54:45 That's just android-dev clickbait Apr 09 20:54:52 Noone actually believes they'll switch Apr 09 20:55:03 http://www.androidauthority.com/google-swift-java-685209/ Apr 09 20:55:17 ... stirring the pot ;) Apr 09 20:55:35 ule oh, well even if that was the case it would be very far out Apr 09 20:55:42 so its java for now Apr 09 20:55:46 just type on google: swift android Apr 09 20:56:03 so.. I'm just wondering what's gonna happen in the future Apr 09 20:56:12 nobody knows ule Apr 09 20:56:22 they don't even tell us when the next support lib is coming out Apr 09 20:56:24 Isnt that more planning to "support" rather than a full transition? Apr 09 20:56:30 if solutions that convers javascript and html5 to apps will dominate the market Apr 09 20:57:01 like this: Apr 09 20:57:07 https://facebook.github.io/react-native/ Apr 09 20:57:28 I mean.. the market on my city have positions for both Apr 09 20:57:38 one things is coming clear, both large and small companies are getting tired of supporting so many platforms Apr 09 20:57:52 and small startups don't often have budget for ios / android / web / desktop Apr 09 20:58:29 so i think economic forces keep nudging us towards a more universal runtime / platform ;) Apr 09 20:58:29 yeah.. startups usually are going to solutions like React Natiive Apr 09 20:59:01 Honestly it wouldn't surprise me if at some point Google changed language Apr 09 20:59:03 ule and who knows with web assembly, that makes things interesting also Apr 09 20:59:03 Much like iOS has done Apr 09 20:59:09 We are thinking of dropping angular for react Apr 09 20:59:26 g00s: so.. in your opinion.. we're always gonna have space for the official Google Android Java tools.. Apr 09 20:59:28 For our web anyway(unrelated to droid) Apr 09 20:59:49 ule i have no idea. i think as a platform android has mostly run its course Apr 09 21:00:03 I totally believe that the future will be a middleware like LLVM converting any language for the specific app Apr 09 21:00:11 g00s what makes you say that? Apr 09 21:00:20 Richa_: what are you using to develop apps? Apr 09 21:00:25 g00s: how about you? Apr 09 21:00:33 NoirAvlaa: How about you? Apr 09 21:00:40 ule i'm using java like almost everyone else Apr 09 21:00:43 Java Apr 09 21:00:51 cool Apr 09 21:00:59 We run native dev cycles for each platform in house. I head android in java. A colluegue heads ios in objc and we have a wp team in c# Apr 09 21:01:12 But then again we have financial backing Apr 09 21:01:17 Java's a good language, because if google move away from Java then it's still useful for a large chunk of server applications out there Apr 09 21:01:23 Also it's not a hard jump from Java to C# etc Apr 09 21:01:27 Richa_ sad to see WP struggling still Apr 09 21:01:39 It needs to die Apr 09 21:01:41 Imho Apr 09 21:01:44 g00s, yeah, it's quite nice as a platform Apr 09 21:01:45 Guys.. Is there a way I can receive multiple values from my BroadcastReceiver instead of just a string/int. Picture: http://imgur.com/OUaVRhZ -- I'd like to get back a dictionary of values in my 'onReceive' method. Apr 09 21:01:46 Richa_, why? Apr 09 21:01:56 I see Apr 09 21:02:11 well looks like I'm gonna jump on Android + Java Apr 09 21:02:15 :) Apr 09 21:02:17 It does not have the gravitas to pull people in. Its ecosystem is poorer than any Apr 09 21:02:24 Bar blackberry ofc ;) Apr 09 21:02:34 And Nokia's catastrophe Apr 09 21:02:43 Richa_ i just think that the overall high level APIs of android, the lifecycle components (activities, fragments, services, broadcast receivers, content providers) are total crap Apr 09 21:02:46 It's still a nice platform tbh though, it's a shame it's not bigger Apr 09 21:03:03 Richa_ so it would be nice if they just started over from a clean slate Apr 09 21:03:09 Hopefully MS's IoT stuff will help get it larger Apr 09 21:03:31 g00s i can relate to the android api really well. Coming from predomently winforms schooling... i can relate to them really well Apr 09 21:03:31 'how would you design an oS that scales from IoT to Desktop' Apr 09 21:03:50 in 2016 Apr 09 21:03:51 are there any alternatives to google speech recognition online service? Apr 09 21:04:43 so.. I wanna ask another thing Apr 09 21:04:45 I think all offline speech recognition engines are pretty bad Apr 09 21:04:55 so.. some apps looks like it's a kind of browser.. Apr 09 21:05:00 tried only Sphinx tho so far Apr 09 21:05:01 g00s is a full IoT to Desktop even achieveable with satisfaction for all forms? Im not so sure. Each demands a very different workload and use cases Apr 09 21:05:16 is it common on android dev? Apps that just opens an url inside it? Apr 09 21:05:41 ule: happens. can't say it common Apr 09 21:06:10 ule is common for companies to wrap their websites in"apps" to start with. Later improving them to use full apps Apr 09 21:06:21 I see Apr 09 21:06:22 Richa_ it would be interesting if you could apply something like java jigsaw to a whole platform Apr 09 21:06:27 alright guys thanks Apr 09 21:06:50 I'm gonna install the android sdk here and start playing Apr 09 21:07:14 Richa_ i guess we do already see google reworking things in the brillo / android / chrome merger Apr 09 21:07:18 g00s im not a huuuuuuge fan of java but i love droid so i pretend to love java ;) Apr 09 21:07:40 ule good luck. Keep hec Apr 09 21:07:47 in brillo, a few of the critical android services which were written in java will be rewritten in C/C++ Apr 09 21:07:53 ... checking in here from time to time ;) Apr 09 21:07:58 yeah sure Apr 09 21:08:29 i bet as time goes on, iOS / OSX converge more, and the same with brillo / android / chromeOS Apr 09 21:08:31 g00s c++ i can get onboard eith Apr 09 21:08:34 With* Apr 09 21:08:57 if you guys have any github repo with some codes and wanna share with me please pvt Apr 09 21:09:00 so what i wonder is if android will use the rewritten brillo components Apr 09 21:09:34 ule: https://android-arsenal.com. pick any Apr 09 21:09:36 Richa_ brillo has no java stuff so sounds automatically nicer to me :D Apr 09 21:09:43 so yeah c++ :D Apr 09 21:09:52 g00s sign me up!!!!! :D Apr 09 21:10:04 Richa_: One word for you: Kotlin Apr 09 21:10:18 Im not familiar.... Apr 09 21:10:21 c++ has gone a long way since i used it last. back then they didn't really have much for concurrency at all Apr 09 21:10:26 Richa_: look it up Apr 09 21:10:42 Will do. Whats the abstract? Apr 09 21:11:03 It's the name of the next super hero movie coming out in 2017. Apr 09 21:11:07 Or maybe a programming language. Apr 09 21:11:23 is it dc comics or marvel ? Apr 09 21:11:26 I like both answerz Apr 09 21:12:09 g00s: it's jetbrain's comics Apr 09 21:12:14 i'm looking through the Google Keep Content Provider now, i don't know how anybody can comprehend this thing Apr 09 21:13:09 so like, when you're on a gapp team at google and get a bum wrap, do they put you on the apps content provider? Apr 09 21:13:26 because they all tend to wind up as nightmares Apr 09 21:13:47 Yeah Apr 09 21:13:56 It's like the dogs application at microsoft ~15 years ago Apr 09 21:14:20 dogs application? Apr 09 21:14:53 MS had an "MS Dogs" application years back which they'd punish devs with, "for lolz" I guess... Apr 09 21:15:11 ha Apr 09 21:15:25 http://fossbytes.com/microsoft-threatened-weak-programmers-to-work-on-a-weird-app-called-microsoft-dogs/ Apr 09 21:15:56 Lifecycle Start Date 20-6-1995 Apr 09 21:16:06 sounds like fun place to work Apr 09 21:16:11 Lol Apr 09 21:16:14 ~20 years ago sorry Apr 09 21:17:08 Anyway im out guys ciao! Apr 09 21:17:14 o/ Apr 09 21:18:08 Chow! Apr 09 21:18:31 vigilancer: that website is awesome Apr 09 21:18:34 Content Provider was one of recommended way to go with rest by the way Apr 09 21:19:00 i think it was a bad idea from the beginning Apr 09 21:19:27 when you have multiple systems that need to share state, i think its worst practice to have them tightly coupled to the same database Apr 09 21:19:39 well, I can understand how idea can come in mind. you see two similiar thing and think "hm.. why not" Apr 09 21:19:42 you usually expose a service for those systems to use Apr 09 21:20:03 then you wind up with 2 apps tightly coupled to a data model Apr 09 21:21:44 aren't you always? Apr 09 21:22:09 or you prefer to get model structs from server too? Apr 09 21:22:59 i guess we could talk database design and both physical and logical data models; apps should probably just rely on logical model - but content provider exposes raw sqlite tables for the most part so you get exposed to physical model Apr 09 21:24:19 Android Studio looks great Apr 09 21:24:32 last time I played it was with eclipse + android sdk Apr 09 21:24:53 try vim, it's mind blowing :D Apr 09 21:25:36 I'm vim master Apr 09 21:25:41 (: Apr 09 21:26:09 you can use vim keybingings in AS Apr 09 21:26:19 or any of the intellij products Apr 09 21:26:49 I'm gonna use the official solution Apr 09 21:26:55 android studio and thats it Apr 09 21:27:04 g00s: failed to see the problem here. provider exposes 'local physical model', hence logical representation Apr 09 21:31:37 android groups on LinkedIn most useless things on topic Apr 09 21:32:35 topic in question is 'android' of course :) Apr 09 21:37:08 Is there a way I can reset line number mapings for debugging? I am getting a strange NPE in the setContentView method, but for some reason when I step through, the debugger steps to unrelated comments. example http://i.imgur.com/cxXTOtk.png Apr 09 21:48:09 rowan7, you won't ever get accurate line numbers in Android framework, unless you're on a Nexus device Apr 09 21:48:32 i am ona physical device Apr 09 21:48:40 so? Apr 09 21:48:46 is it a Nexus device? Apr 09 21:48:55 it is a nexus too Apr 09 21:49:01 I suppose line numbers match up with emulator as well Apr 09 21:49:13 set platform sdk to the same thing your device is running Apr 09 21:49:17 and it will match Apr 09 21:49:21 ok thanks! Apr 09 21:49:28 ill check on that Apr 09 21:56:53 hi Apr 09 22:00:40 hello Apr 09 22:00:50 thanks pfn, that worked Apr 09 22:02:20 so when a view is too big for the screen android seems to automatically downscale it Apr 09 22:02:57 but why do my other views still think it hast the not-downscaled size ? Apr 09 22:03:19 wrap_content vs. match_parent? Apr 09 22:06:02 layout:alignStart="@id/viewthatgetdownscaled" Apr 09 22:06:33 Toubs: That is another element which is aligned to the start (left?) of another element which has been "downscaled"? Apr 09 22:08:44 yes but it is not aligned at the downscaled element it is at the position where the downscaled would be if it would not be downscaled Apr 09 22:08:59 can you pastebin the whole layout xml? Apr 09 22:13:21 http://pastebin.com/pZ0edysZ Apr 09 22:13:45 and which is the id of the view you think is been scaled down? Apr 09 22:14:21 the switchBg gets scaled down and switchFg is then actually bigger than switchBg Apr 09 22:14:48 although they are aligned android:layout_alignStart="@id/switchBg" android:layout_alignEnd="@id/switchBg" Apr 09 22:15:34 from your naming structure, is switchFg supposed to appear over the top of switchBg? (Assuming Bg & Fg mean background & forground, respectively) Apr 09 22:16:06 android doesn't need to downscale switchFg because it is not too long for the screen yes switchFg is over it Apr 09 22:16:32 uh, hey all I think I'm confused about using intents for communication. I have an activity that starts a service, which then schedules itself to run. Each time the service runs, it schedules the next time it runs before it terminates. Apr 09 22:16:46 the idea is, the service runs periodically even when the activity isn't around Apr 09 22:17:20 so that the service knows whether it is being run for the first time (do initialization) or on schedule, I put some data in the extra of the intent I use to schedule / run it Apr 09 22:17:39 however, when the service runs (onStartCommand) the intent is kinda empty Apr 09 22:17:40 Toubs: I would try nesting your bg and fg images inside a FrameLayout Apr 09 22:17:41 I think I did it right, it is just how android handles it and now i search for a workaround. Apr 09 22:17:59 basically, am I using intents right? Apr 09 22:18:14 (which just contains those two ImageView's) Apr 09 22:19:11 yeah well at first there wasn't acutally a RelativeLayout around those imageviews so that was my try to fix it (so it scales down the whole Group), but wouldn't FrameLayout be the same? Apr 09 22:20:30 Canvas spacing priorities change depending on the type of backing view you use (Relative, Frame, Linear etc...) trying a different backing layout will (should*) have very different visual affects on your layout Apr 09 22:20:34 but i will just try it Apr 09 22:20:35 give it a try, what have you to lose? ;) Apr 09 22:21:40 I personally find FrameLayout the easiest for placing views over the top of each other. I dont think I have ever used a relative layout to achieve this Apr 09 22:21:56 well layout_alignStart etc. are not available in FrameLayout right so I have to think about placing them first correctly Apr 09 22:22:52 true, but FrameLayout offers you other pragmas which are not available in relative layout Apr 09 22:23:33 for example, the ordering of elements in a FrameLayout tag define the rendering order of the canvas, whereas for relative layout they also determine the layour order Apr 09 22:23:33 and CoordinatorLayout is also pretty cool (FL on steroids) Apr 09 22:23:44 g00s good shout Apr 09 22:23:56 yep I will try thanks, maybe I will have luck Apr 09 22:43:11 silly question but how do you switch the device you are using on AS 2.0. It used to prompt me to choose now it auto starts the one I havebeen using, which is good, but now I want to actually test on a device Apr 09 22:44:24 Go to Run > Edit configurations Apr 09 22:44:41 in the deployment target options, choose "Show Device Chooser Dialog" Apr 09 22:45:09 * Ping_2_Ur_Pong bows Apr 09 22:45:49 so in FrameLayout I can't really make the foreground as big as the background with a little padding or Apr 09 22:46:16 Toubs you are seeing results closer to what you want, though? Apr 09 22:47:28 still trying around Apr 09 22:49:26 but i might just have to do a new layout for smaller screens Apr 09 22:50:16 oh, you are only seeing this on certain screen sizes? I must have missed that detail Apr 09 22:51:44 well if the screen is large enough for the layout and android doesn't have to downscale anything to make it fit it works like it should. Apr 09 22:52:21 its not uncommon for apps to have layouts for different sized screens Apr 09 22:52:46 usually they fall into discreet categoriies Apr 09 22:52:57 mdpi, ldpi. xldpi etc... Apr 09 22:53:35 yeah i know, would just have been cool if i can get it to work with one layout Apr 09 22:55:40 yea that is always the dream, but sometimes that will come with usability trade off its not executed flawlessly Apr 09 22:57:16 i mean on normal screens it works, the problem is just on those really small screens like 3.2 Apr 09 23:23:43 Hey I have 3 layouts... where a section is the same in all three. How do I write one layoute that I can include in the others? Apr 09 23:23:50 LIke what do I read up on Apr 09 23:40:33 TinFury you use the tag Apr 09 23:41:13 markyosullivan were you the one earlier talking about going to a startup ? Apr 09 23:43:07 hm, no way to deselect a tab in tablayout. well i guess that makes sense normally .... Apr 09 23:48:25 g00s yeah dude Apr 09 23:48:27 what's up? Apr 09 23:49:32 markyosullivan hehe, i'm reading about this looks interesting http://www.amazon.com/Disrupted-My-Misadventure-Start-Up-Bubble/dp/0316306088 Apr 09 23:49:49 g00s: I finished reading it last night... Apr 09 23:50:04 I recommended it here last night :P Apr 09 23:50:27 Leeds oh! i never put it together - what stuck out was the cover Apr 09 23:50:33 who can forget that :D Apr 09 23:51:05 I have 2 framelayouts, 2 of them are shown at once and the other is shown at another time. They are all inside a linearlayout, I want to be able to switch between the two being show and the 1 being shown. But, if I hide the fragments that are inside the framelayout the container is still there. How can I hide the containers. I tried android:setvisibility="true" but I can't seem to access from code to Apr 09 23:51:07 unhide. Apr 09 23:51:09 http://www.hastebin.com/eriyujanuh.xml Apr 09 23:51:21 when no_network is shown it should cover the other two framelayouts Apr 09 23:51:28 eh, covers don't stick out as much with ebooks Apr 09 23:51:29 g00s that sounds like something which will make me scared heading into a startup :P Apr 09 23:51:34 do I have to completely change the layout file I am using? Apr 09 23:52:00 ie... when there is no network, set inflate a different file entirely? Apr 09 23:52:23 I have 3 framelayouts, 2 of them* Apr 09 23:52:31 markyosullivan: the two main themes of the book are that it was a particularly inane and insane marketing startup, and that the author, as a highly-experienced 50-something grey-hair completely failed to fit in, failed at office politics, etc. Apr 09 23:53:16 I've heard stories of that happening before, where older employees find it harder to fit in Apr 09 23:53:21 which is a shame really Apr 09 23:53:24 I heard the guy that wrote that book marketing it on NPPR this morning. Apr 09 23:53:33 NPR* Apr 09 23:54:31 Leeds out of interest is the startup still going or has it closed? Apr 09 23:54:55 it's an entertaining book, but it's sort of two books squished together into one - a memoir of a roller-coaster crazy time in one guy's life, and a book about the current startup bubble/craze Apr 09 23:55:12 it veers between personal anecdotes and industry commentary Apr 09 23:55:21 markyosullivan: still going, still worth billions Apr 09 23:55:48 Hey guys. I'm using broadcasts to get/modify data from my app. The problem is the data I'm modifying or inserting into my explicit BroadcastReceiver is not being saved. Every time I send a new intent the previous data that I sent isn't there -- what could cause this? Apr 09 23:55:50 Leeds from the little i've read seems the main theme is the pervasive "disruption" is just the moniker for new ways of capital to fuck over labor (and everyone else) Apr 09 23:56:02 like uber, etc Apr 09 23:56:46 just a short hop until we're all just competing against each other in some kind of reverse ebay bidding scheme Apr 09 23:57:27 Psychiatrist the previous data ? Apr 09 23:58:25 Psychiatrist are you using broadcasts to get system events, or communicate from one part of your app to another Apr 09 23:59:04 g00s: right, so that's the industry commentary side of things Apr 10 00:00:09 markyosullivan have you heard about the guy in SF that had to turn away young male techies from botox treatment haha Apr 10 00:00:24 g00s what?! Apr 10 00:00:26 Leeds doesn't like paying taxes to the UK because he doesn't want to pad Cameron's off-shore bank accounts Apr 10 00:00:36 Don't tell me I'm going to get wrinkles at a young age Apr 10 00:00:39 Ologn haha Apr 10 00:00:40 I'm only 22! :( Apr 10 00:00:50 if i recall this guy was like 27 Apr 10 00:00:51 I think I've started getting grey hairs already Apr 10 00:00:57 my sister pointed them out Apr 10 00:01:06 What's the best way to go about hiding a fragment and showing another. I tried .hide but the framelayout container is still visibile. Apr 10 00:01:07 better use some kind of dye :D Apr 10 00:01:21 Ping_2_Ur_Pong yeah hide O.o Apr 10 00:01:24 I think I'll just go grey tbh Apr 10 00:01:30 grey fox ;) Apr 10 00:01:31 haha Apr 10 00:01:42 https://github.com/mikepenz/Android-Iconics Apr 10 00:01:43 Ologn: mostly, I just don't like paying more tax than necessary - I'm not unhappy about paying the 8%-10% or so that I do now, and it helps to have a 4-page (now online) tax return Apr 10 00:01:51 Is there anything wrong with using a library like that? Apr 10 00:02:16 I've got drawables in my app already but was going to replace them with that Apr 10 00:02:21 well icon drawables Apr 10 00:02:43 Ping_2_Ur_Pong hide() and show() should be sufficient Apr 10 00:02:55 I got all the drawable icons in different folders but they have separate names Apr 10 00:03:01 R.drawable.ic_home_black_24dp Apr 10 00:03:01 fragmentTransaction.hide() and .show() Apr 10 00:03:04 R.drawable.ic_home_black_48dp Apr 10 00:03:05 etc Apr 10 00:04:02 g00s: I was thinking the samething. The only odd part is that I have a third framelayout that I use... hmm... maube I need to hide that framelayout at the start. Apr 10 00:04:08 * Ping_2_Ur_Pong ponders and checks Apr 10 00:04:47 at the end of the day framelayouts are the best :D Apr 10 00:05:02 Why frame layouts? Apr 10 00:05:18 markyosullivan they are pretty powerful; wnen you do stuff like CoordinatorLayout behaviors Apr 10 00:06:36 What would they be needed for? Apr 10 00:06:47 Also can anyone suggest an icon to use for the word 'Bookings' Apr 10 00:07:00 I'm putting an option into my drawer for viewing the user's upcoming bookings Apr 10 00:07:11 markyosullivan: https://design.google.com/icons/ Apr 10 00:07:17 I'm looking at them Apr 10 00:07:18 :P Apr 10 00:07:19 markyosullivan bookings of what ? Apr 10 00:07:30 tables at a restaurant Apr 10 00:07:48 local dining icon? Apr 10 00:07:58 https://design.google.com/icons/#ic_local_dining Apr 10 00:09:35 Hi guys... I am making an android app. But during beta testing, i have received complaints that the app is crashing alot... Apr 10 00:10:04 I was also thinking this icon: https://design.google.com/icons/#ic_view_headline Apr 10 00:10:20 Please can you suggest me how can i get crash reports. Apr 10 00:10:27 PS: This is my first time Apr 10 00:10:32 rsthelord you could add google analytics Apr 10 00:10:37 or use crashyltics Apr 10 00:11:18 i was told in the other channel about logcat.. Apr 10 00:11:40 as a developer nobody should be telling you about logcat :) Apr 10 00:12:21 Logcat is the console which shows erorr messages rsthelord just in case you weren't sure what it was called Apr 10 00:12:26 *error Apr 10 00:13:07 scratch the local dine icon, I used that for the food menu Apr 10 00:13:36 ok... logcat is something like trace in .net, right? Apr 10 00:18:22 how could you get to the point of publishing an app more complex than hello world without meeting logcat? Apr 10 00:20:41 Well tbf Leeds he didn't say he developed it, just that he published the app ;) Apr 10 00:23:34 markyosullivan: he said he made it :) Apr 10 00:24:26 Ahhh Apr 10 00:24:29 I missed that Apr 10 00:24:37 Was trying to be funny but failed Apr 10 00:24:44 ._. Apr 10 00:25:13 I remember you saying you no longer live in Leeds despite your name Apr 10 00:25:27 Do you support the football club though? Apr 10 00:25:47 the Rhinos? Apr 10 00:27:00 No no, the football club, Leeds United Apr 10 00:27:15 nah, I'm not much of a sports fan... Apr 10 00:27:31 the Rhinos are the rugby league club, in case you didn't know... Apr 10 00:27:55 Ah I see, yeah I remember hearing about them :) They're supposed to be good I think Apr 10 00:28:30 better than the football team, who've had a shocking couple of decades :) Apr 10 00:29:42 That's true! I like to tease my Dad about it, he supports the football club haha Apr 10 00:34:20 my dad used to, now he's mostly given up Apr 10 00:34:54 10-15 years ago, he and my uncle used to go to matches fairly often Apr 10 00:35:50 Being from Northern Ireland it's hard for my dad to get across, not that I think he'd want to much these days anyway Apr 10 00:36:01 Hello... crashlytics(fabric) does not support eclipse anymore? Apr 10 00:36:07 You're using eclipse? Apr 10 00:36:18 Why do people still use eclipse :( Apr 10 00:36:28 yeah :( Apr 10 00:36:46 It's still used by quite a few people but Android Studio is built for Android development Apr 10 00:37:03 I'd recommend switching Apr 10 00:37:10 ah yeah, not quite as convenient as my dad going from north Leeds... Apr 10 00:37:11 but others here would probably disagree Apr 10 00:37:25 well, some others Apr 10 00:37:57 although they're "Cruising the Arabian Sea" today, on the last day of a 3 week cruise :) I'll see them in Leeds in a couple of weeks Apr 10 00:38:18 That's pretty cool :) Apr 10 00:38:24 My parents love cruises Apr 10 00:38:27 does acra support eclipse? Apr 10 00:38:42 acra? Apr 10 00:39:07 Leeds where is it you're based now? I forget what you said Apr 10 00:39:12 Ever miss home? Apr 10 00:39:25 Hongkie Kongkie Apr 10 00:39:28 Yes that's it Apr 10 00:39:36 flip, big culture change :o Apr 10 00:39:48 You speak madaran? Apr 10 00:39:52 *mandaran Apr 10 00:40:04 * mandarin Apr 10 00:40:09 had to Google Apr 10 00:40:22 least that's what I think they speak in Hong Kong? Apr 10 00:42:28 it is not the local language, no - that'd be Cantonese Apr 10 00:42:44 and I don't speak it beyond some really basic stuff :) Apr 10 00:45:04 it's actually quite a sensitive issue nowadays, because mandarin is the language of mainland china, and its use is growing in HK, which is seen as one of the signs of growing beijing influence Apr 10 00:46:35 as I said, I haven't lived full-time in Leeds for over 20 years, so it's not really home anymore - although I'll always be 'from Leeds' Apr 10 00:47:12 I take it their English must be good there if you only know basic stuff? Apr 10 00:47:28 Have you lived in HK for 20 years? Apr 10 00:48:52 been here 11 years... English levels vary wildly from 100% fluent to my gf's mum who doesn't go much further than yes, no, thank you, very good Apr 10 00:50:15 Must make for some awkward convos at the in laws haha Apr 10 00:51:46 nah, we get along great Apr 10 00:53:18 that's good! Apr 10 00:53:44 Did it take you long to settle into HK when you first arrived? Apr 10 00:57:55 That was such a fucking pain in the ass. Apr 10 00:58:33 If you have multiple framelayouts inside a linearlayout with layout weight set, and you want to swap between them, you can't just .hide and .show Apr 10 00:58:45 hmm, yes and no... I came over here for a job with a cousin-of-a-cousin (yes, pure nepotism), so that gave me a pretty soft landing, but it took a while to get out of that bubble Apr 10 00:59:04 you have to get the framelayout itself and setVisibility(View.Gone) and View.Visible Apr 10 01:00:27 What's the pros of using a framelayout compared to other layouts? Apr 10 01:00:43 Quite fortunate the way it worked out for you Leeds Apr 10 01:02:05 not perfect, but pretty well so far Apr 10 01:27:15 hello everyone Apr 10 01:27:23 hello :) Apr 10 01:27:28 hows the weather? Apr 10 01:28:12 pleasant this time of the day. gets unbearably hot in few hour. :) Apr 10 01:28:56 I'm in the oposite it's called now outside Apr 10 01:29:12 cold* Apr 10 01:29:51 so, i'm very new to android. started out two few days ago. i'm trying to create fragment but Android Studio compains "Frangment name is not a valid class name". what am i missing? Apr 10 01:29:55 I just had some delicious steak Apr 10 01:30:14 refactorial, haha. good for you. i just woke up and haven't had a thing. Apr 10 01:30:53 I don't feel like answering peoples questions right now, some one else will probably help you out Apr 10 01:31:07 so, WorkoutDetailFragment is what i'm trying to name the Fragment. Apr 10 01:31:28 but it sounds like you have a typo somewhere or not using fully qualified names properly, or proguard is removing your fragment. Apr 10 01:31:29 refactorial, blame it on the steak Apr 10 01:31:43 yeah the steak lowered my moral to be lazy Apr 10 01:32:08 i'm just trying to create one, it wont even let me make the fragment. Apr 10 01:33:30 i'd manually create the file, but i think i'd need to mess with other files too somehow? so, i don't dare do that Apr 10 01:34:19 are you doing ".WorkoutDetailFragment" in xml or "com.bla.stuff.WorkoutDetailFragment"? Apr 10 01:34:28 you should be doing the latter. Apr 10 01:36:14 refactorial, umm, actually i don't even have the xml file right now. it won't let me create one. wait, a sec Apr 10 01:37:06 So you are instantiating the fragment via code? ie `new WorkoutDetailFragment();`? or `WorkoutDetailFragment.instantiate(...)`? Apr 10 01:38:31 umm, i so not in the code right now. Apr 10 01:38:48 wait, i'll take a screenshot. this is probably really dumb. Apr 10 01:40:43 this : http://i.imgur.com/23mJgA8.png Apr 10 01:42:08 maybe you already have a file called WorkoutDetailFragment? Apr 10 01:42:47 be sure to use the latest 2.0 android studio Apr 10 01:43:51 file is not present, it goes inside of layout, right? Apr 10 01:44:34 yeah, looks like a bug in android studio then Apr 10 01:44:47 i don't have the latest android studio, i just found out. i had this version built some months ago. just installed without rebuilding. updating it Apr 10 01:45:17 yay updates \o/ Apr 10 01:46:18 so many apps out there I barely use any Apr 10 01:47:13 refactorial, not so much. i have 33KBps connection, took me a day to download the whole thing, sdk, adb, studio and what not. new kind of #thirdworldproblem Apr 10 01:47:41 omg that's slow speed Apr 10 01:48:15 yup, 256Kbps is what they promise. Apr 10 01:49:03 i get about 300KBps on Youtube traffic though. don't know how they manage to do that. Apr 10 01:51:10 according to your ip you are from nepal Apr 10 01:51:24 refactorial, i am. Apr 10 01:52:13 I was going to ask you where your from but it's faster for me to just lookup your ip. Apr 10 01:52:37 faster? do i reply really that slow? :P Apr 10 01:52:50 you reply pretty fast actually, Apr 10 01:53:14 haha. thanks. i pinged you. took 1.8 secs Apr 10 01:54:59 IRC feels so insecure lol Apr 10 01:55:07 Someone lookup my ip Apr 10 01:55:08 lol Apr 10 01:56:15 TinFury, found a jamaican!? Apr 10 01:56:36 yeap Apr 10 01:56:42 lol how you do that through irc? Apr 10 01:57:04 your ip is 104.244.228.105 Apr 10 01:57:05 try /whois some_username Apr 10 01:59:07 or if your client supports you can right click on peoples names and choose whois and etc.. Apr 10 01:59:58 IRC even tells you what os people are using lol Apr 10 02:01:38 Someone should make a new protocal that's more secure Apr 10 02:02:25 refactorial, so, which OS am i on? ;) (i can't see yours) Apr 10 02:03:05 your on arch-linux Apr 10 02:03:14 using HexChat Apr 10 02:03:17 whoa!! how did you do that? Apr 10 02:03:38 right click on your user name and press version Apr 10 02:03:47 i feel nacked. lol Apr 10 02:05:10 I just learned IRC can do this lol. Apr 10 02:20:59 omg, I just got the beauty of command + shift + a I don't think ill ever touch my mouse again. Apr 10 02:21:00 * Ping_2_Ur_Pong dances Apr 10 02:21:25 refactorial you can also type /version Apr 10 02:22:14 meh, you secure irc from your client, you can setup a bouncer or your client can just refuse to reply to the /version request Apr 10 02:22:48 Ping_2_Ur_Pong, that is noice! Apr 10 02:23:21 no it's not /version Apr 10 02:25:05 refactorial, version just gave me the irc client/ver Apr 10 02:27:37 refactorial, i can see when you do that! :P Apr 10 02:27:55 lol Apr 10 02:28:37 haha. but apparantly /version is supposed to give you that. irc client/ host os Apr 10 02:29:05 I don't know what command my client is issuing but /version doesn't give the same output as when I rightclick on user and select version. Apr 10 02:29:10 anyone know how caching headers work with retrofit & can link me to some resources on that? Apr 10 02:30:38 refactorial, no rightclick/version available on hexchat. Apr 10 02:31:08 bibek22 I see you found it lol. I'm using Konversation Apr 10 02:31:38 refactorial, yup, that's what i did it for. trying to look up how it does that. Apr 10 02:31:55 what's the command you issued? Apr 10 02:33:22 refactorial, /version refactorial Apr 10 02:33:39 CTCP VERSION Apr 10 02:34:22 I found it Apr 10 02:34:26 "/CTCP bibek22 VERSION" Apr 10 02:34:31 it's like that without quotes Apr 10 02:34:47 i just did that on you!! ahaha gives me same outupt. Apr 10 02:36:53 :D **** ENDING LOGGING AT Sun Apr 10 02:59:58 2016