**** BEGIN LOGGING AT Tue Feb 03 02:59:58 2015 Feb 03 03:50:42 A fragment inflates a custom layout that has a custom view as the root. In onViewCreated, the type of the view in the signature is some FrameLayout rather than my class. Feb 03 03:54:46 How are you determining the type of the 'view' parameter of onViewCreated? Feb 03 03:59:23 knapper_tech: http://stackoverflow.com/a/16777679/1229735 Feb 03 04:18:24 interesting, Jon Skeet uses a Surface Pro 3 for development Feb 03 04:20:04 I know some people that use Surface Pro's for dev Feb 03 04:20:12 personally i think their nuts Feb 03 04:20:48 Napalm performance ? screen size ? i think he hooks it up to a 27" monitor Feb 03 04:21:32 I heard some stuff about Surface Pro 2 (and newer) finally getting across the vision MS presented in 2001 Feb 03 04:23:36 would be interesting to see next surface with broadwell Feb 03 04:29:31 hi guys Feb 03 04:35:41 hey there, how do i temporarily exclude files from project build in android studio Feb 03 04:40:37 gobl: how temporary is temporary? like, for one build? or would something like product flavors or build type work? Feb 03 04:47:41 Napalm http://digg.com/video/skrillex-doompy-poomp-wheres-the-damn-drop Feb 03 04:48:49 wtf is that :D Feb 03 04:51:59 g00s_: thanks for that, i feel like my mind has been violated just trying to understand it Feb 03 04:56:39 haha Feb 03 05:04:17 anyone knows about data sms? Feb 03 05:08:01 anyone here using AsymmetricGridView? Feb 03 05:14:37 haha g00s that video made my day Feb 03 05:16:28 Mad3ngineer :D Feb 03 05:50:05 Is anyone else not seeing text on this page? https://chris.banes.me/2014/10/17/appcompat-v21/ Feb 03 05:50:18 I just see images and code samples, with blank space all around them. Feb 03 05:50:28 The text is there in the HTML, though. Feb 03 05:50:37 works in 3 browsers for me Feb 03 05:50:57 "This webpage is not available" Feb 03 05:51:19 Okay, I see the text in Firefox. Just not in Google Chrome. Feb 03 05:51:41 trusty old firefox Feb 03 05:53:29 that's improper font-face fallback Feb 03 06:01:43 are there any libraries that allow font ligatures in a TextView? Feb 03 06:21:23 hey, anybody knows how to get those white color Material Design icons? Feb 03 06:22:08 https://github.com/google/material-design-icons Feb 03 06:27:03 Wow, Jake! :D Feb 03 06:27:41 oh great, thanks! Feb 03 06:31:42 anyone knows about data sms? want to know what they're exactly cuz I came across SmsManager.sendDataMessage Feb 03 06:42:48 Beta 3 is out. Feb 03 06:43:24 Beta 3, of Android studio? Feb 03 06:43:57 Yeah, Android Studio 1.1 Beta 3. Feb 03 06:44:38 did you freak out about the 1.1.0 plugin beta release? Feb 03 06:44:41 i missed it Feb 03 06:45:24 That was released? ;o Feb 03 06:45:40 oh yay i get to witness it Feb 03 06:45:42 I don't see anything on here: http://tools.android.com/tech-docs/new-build-system Feb 03 06:45:52 haha Feb 03 06:46:07 http://search.maven.org/#search%7Cga%7C1%7Ccom.android.tools.build Feb 03 06:46:27 Nice. I'll try it in a minute. Feb 03 06:48:43 alas it's still -rc1 :( Feb 03 06:49:44 and? Feb 03 06:50:20 it could be promoted to 1.1.0 final with no changes Feb 03 06:50:49 It's downloading. I'm nervous. lol Feb 03 06:51:13 In a "I might finally get unit testing" kinda way. Feb 03 06:51:20 an* Feb 03 06:54:21 I'll wait to hear how it all goes :D Feb 03 06:55:14 I added 'test/java' to under 'src' and it's not recognising it as a test-source set. Feb 03 06:55:23 In fact, it's not recognising it as any source set. Feb 03 06:56:03 Oh. Had to select "Unit Tests" in Build Variants. Feb 03 06:56:54 Any clue why removeView() LayoutTransition is abrupt? View doesn't fade out, it simply disappears. Feb 03 06:57:47 addView(), however, does a nice fade in animation. Feb 03 07:01:36 I don't even get an error when I instantiate a TextView in a JVM unit test. ;o Feb 03 07:01:48 I guess it's just blanking out android.jar behind the scenes. Feb 03 07:07:31 RxJava. Views are subscribed to Fragment, but what's a decent way to ensure that view destruction kills subscriptions? Feb 03 07:07:46 JakeWharton: I've got the tests running but they all pass, no matter what. Feb 03 07:07:48 Doesn't seem to work. Feb 03 07:07:58 If I say "assertThat(true).isFalse();", it passes. Feb 03 07:08:21 The tests are running, because I can System.out.println("whatever") and see stuff. Feb 03 07:09:19 I've seen some WeakRef schemes and "bind" silliness, but if I want to retain my fragment like a controller (could be another weak area of implementation) then I...guess I need to return subscriptions so that the fragment can unsubscribe them when the view is destroyed Feb 03 07:09:26 Even if I "throw new RuntimeException();", the test passes. Feb 03 07:09:45 knapper_tech: use the fragment lifecycle Feb 03 07:10:41 JakeWharton, onDestroyView if retained during config change? Feb 03 07:11:40 why are you retaining it? Feb 03 07:13:06 JakeWharton, good question. There were some async operations that I need to move out somewhere. I still don't have a go-to way of instantiating costly things running observers in other threads so that they can publish even through a config change Feb 03 07:14:05 Not sure if I want to use a non-View fragment and persist just longlived things or go Pojo etc. I'd like to avoid creating new processes etc needlessly Feb 03 07:14:17 JakeWharton: Are you able to get these new unit tests to fail? Feb 03 07:14:40 My other-module tests fail if I do something wrong; these ones pass no matter what (though they are running: I can get a breakpoint hit). Feb 03 07:15:18 In the end I need a root for my objects that live through config change. That seems to be a fragment or context...but.. not sure about opportunities to save consistent model state etc if the process gets killed. Standard stuff. Feb 03 07:15:57 TacticalJoke: no Feb 03 07:16:17 lol, thats how google tests software :) Feb 03 07:16:29 haha Feb 03 07:16:51 Should I file a bug report? Feb 03 07:17:32 i doubt it Feb 03 07:17:51 TacticalJoke if you do, have fun and add humor Feb 03 07:17:56 :D Feb 03 07:18:07 I'm so tempted to, because it should just work. Feb 03 07:18:22 well, without release notes maybe there is something to do Feb 03 07:18:36 it also might be a disconnect between AS and Gradle Feb 03 07:19:38 I also don't understand the "Test Artifact" thing in the Build Variants window. Does that mean we can run only unit tests *or* instrumentation tests (and not both)? Feb 03 07:19:43 yes Feb 03 07:19:45 of course Feb 03 07:19:58 I don't understand that. Why the need to switch? Feb 03 07:20:17 because the project model has always only supported a single main and test source set Feb 03 07:20:37 your debug and release source trees aren't enabled at the same time Feb 03 07:20:48 So would it be possible to have instrumentation tests and unit tests in one project (but manually switch between running each type)? Feb 03 07:20:58 yes Feb 03 07:21:16 Okay. Feb 03 07:23:15 g00s_: ! Feb 03 07:23:37 hey thepoosh :) Feb 03 07:23:54 just released our fifth version patching the first week's sprint Feb 03 07:23:57 i fucking hate this Feb 03 07:24:14 so the 6th version patches the 2nd weeks sprint right ? Feb 03 07:24:15 while finishing up the second week and starting the third one Feb 03 07:24:31 we released version #1 Feb 03 07:24:41 was shitty, lots of backlash from users Feb 03 07:24:45 quick version #2 Feb 03 07:24:58 issues found in one of the features wasn't caught by qa Feb 03 07:25:01 version #3 Feb 03 07:25:12 minor fixes to version #2 Feb 03 07:25:17 made version #4 Feb 03 07:25:31 and now, a WTF failure that released version #5 Feb 03 07:25:37 so 5 versions not 6 Feb 03 07:25:47 google is going to start charging you guys for bandwidth :) Feb 03 07:26:00 lol Feb 03 07:26:04 it's gonna be ok Feb 03 07:26:13 i think everyone is noticing that this is not worth it Feb 03 07:26:16 yeah, don't panic Feb 03 07:26:16 too much overhead Feb 03 07:26:17 JakeWharton, looks like using frag manager and non-UI frag with retainInstance is a good way to persist a costly or async managing object but still get notified when the fragment is totally destroyed so I can run cleanup. Feb 03 07:26:34 g00s_: the thing is that devs anticipated all the backlash Feb 03 07:26:39 but priduct didn't give a shit Feb 03 07:26:44 *product Feb 03 07:26:47 uses lifecycle, but not going to interfere with the view hierarchy etc. reasonable? Feb 03 07:27:21 thepoosh doesn't seem the product owner is suffering enough Feb 03 07:27:50 he spent yesterday in a 4 hour post mortem Feb 03 07:27:56 i hope something will come out of this Feb 03 07:28:21 i got angry at them and made sure my manager was aware that 3 devs in his team warned them more than once Feb 03 07:28:54 anyone knows a good zip/unzip library ? i'm doing some tests,zip a bitmap before sending database Feb 03 07:29:59 can you propose a book on android testing ? Feb 03 07:30:52 sci-fi: there is the built in android/java classes for this Feb 03 07:30:52 http://developer.android.com/reference/java/util/zip/package-summary.html Feb 03 07:31:54 thepoosh:ty what would you recommend zipping a bitmap or compress to jpeg to send database via webservice Feb 03 07:32:21 do you need them in full size? Feb 03 07:32:55 sci-fi: jpeg should be enough Feb 03 07:33:25 http://askubuntu.com/questions/274117/why-are-the-zip-files-of-compressed-jpegs-about-the-same-size Feb 03 07:33:49 Hello. Feb 03 07:33:55 hi Feb 03 07:34:21 i want perfect image demonstrate to user,i think that for example 2mb images zip it 500kb and send database and get it back from 500kb and unzip it to show Feb 03 07:34:23 As far as I know I can use configChanged with flag keyboard|keyboardHidden to detect when user opens/hides keyboard, is that right? Feb 03 07:34:28 without loss Feb 03 07:36:05 sci-fi: i don;t know why you think that zipping a 2 MB image will result in a 500KB file Feb 03 07:36:28 just saying i dont know too, i'll test it Feb 03 07:36:37 afl_ext: http://stackoverflow.com/a/6131725/1056359 Feb 03 07:36:57 sci-fi: jpeg ~ zip Feb 03 07:37:00 for images Feb 03 07:37:13 I see now that this event fires only for hardware keyboard :( Thank you thepoosh Feb 03 07:37:20 np Feb 03 07:38:18 Hi, when an app shares something to my app, how can I receive the info without changing screens and just stay on the app which shared the info? Feb 03 07:38:20 thepoosh: yes thank you friend Feb 03 07:38:24 np Feb 03 07:38:32 I use moveTaskToBack(true) but that takes me to home Feb 03 07:38:54 dvass: implement the catching of info in service, not activity? Feb 03 07:39:10 also, you could look into "paint on others" capability, iirc Feb 03 07:39:23 well my activity starts a service Feb 03 07:39:48 Hey all. What's the best way to use a third-party source library in my project? I've been googling around and everything is about importing jars. I'm using AS 1.0.2. Feb 03 07:40:03 p_l: could I move all of the code over from the activity to the service? Feb 03 07:40:20 hesperaux: what seems to be the issue? Feb 03 07:40:37 does the library have a maven repository? Feb 03 07:40:45 or is it just code? Feb 03 07:40:49 thepoosh, no maven repo. Looking at HoloGraphLibrary. It's just code. Feb 03 07:41:14 http://stackoverflow.com/questions/16983364/android-studio-add-project-as-library Feb 03 07:42:44 They're gonna think I'm crazy, but #yolo: https://code.google.com/p/android/issues/detail?id=131080&thanks=131080&ts=1422949349 Feb 03 07:42:51 Oops, wrong URL. But I guess it works. Feb 03 07:43:01 https://code.google.com/p/android/issues/detail?id=131080 Feb 03 07:44:08 you didn't use the right template Feb 03 07:44:18 Doh. Feb 03 07:44:25 Should I have picked 'tools'? Feb 03 07:44:35 which did you choose? Feb 03 07:44:39 Developer. Feb 03 07:45:09 "Android Studio bug" seems more appropriate, and more importantly, it automatically adds Tor as the owner Feb 03 07:45:17 it doesn't matter, they'll see it Feb 03 07:45:27 All right. I'll remember that in future; thanks. Feb 03 07:45:37 hmm, anyone had issues with Espresso 2.0 throwing AppNotIdle exception on API 15 emulator? Feb 03 07:46:42 https://code.google.com/p/android/issues/list?can=2&q=&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&num=100&start=0 holy **** thats a lot of bug-spam Feb 03 07:47:09 Yeah, it's crazy. I've noticed that they do remove the spam periodically, though. Feb 03 07:47:54 surprised they don't have a google spam filter on that somehow Feb 03 07:48:02 dvass: all the code that handled the data and maybe just put a toast or something like that Feb 03 07:48:29 It's weird that they don't use CAPTCHAs for submitting. They use them for adding comments to bugs. Feb 03 07:48:56 i think the accounts should be banned for keyword spam ! Feb 03 07:49:04 oh wait, they do that already Feb 03 07:49:37 I think code.google is just an april fools joke that they forgot to remove Feb 03 07:49:59 Can't find any other reason why noone bothered to modernize CSS in 5 years even though they apparently use it internally Feb 03 07:53:22 is there something i can use like join() for handler.post()? Feb 03 07:53:28 i need to wait until something is processed Feb 03 07:53:32 in handler Feb 03 07:53:38 use CountdownLatch or something Feb 03 07:54:50 well sometimes i need ui-nonui threads Feb 03 07:55:04 my nonui thread needs to wait until ui finishes Feb 03 07:55:18 yeah, so have the ui thread trigger the latch Feb 03 07:55:30 or post back Feb 03 07:55:45 mhm Feb 03 07:57:45 Well, it's exciting. We *almost* have unit testing in Android modules. :D Feb 03 07:58:06 I guess we have the ability to run System.out.println without having a device connected. Feb 03 07:59:28 Method toString not mocked.Set android.testOptions.unitTests.returnDefaultValues=true in build.gradle to make all methods return zero or null. Feb 03 08:00:26 TacticalJoke: it works from the command line Feb 03 08:00:35 java.lang.AssertionError: expected: but was: Feb 03 08:01:33 Nice. Hope they fix the GUI test runner really quickly. :) Feb 03 08:02:00 anyone know why gradle from the command line is always about a second slower than gradle inside AS ? Feb 03 08:02:04 (both use daemon) Feb 03 08:02:56 1 second :) my builds take between 5sec - 45 seconds depending on the phase of the moon, temperature, etc Feb 03 08:03:55 I'm not saying it takes 1 second... just that from the command line it's consistently 0.8s slower than from AS as noted from "Total time: x.xxx secs". I find that odd and wonder why :) Feb 03 08:04:05 actual builds take almost 2 seconds Feb 03 08:04:15 :P Feb 03 08:05:06 gradle is a liar Feb 03 08:05:06 Chainfire: even with the daemon it has to run configuration Feb 03 08:05:19 it doesn't have to do that from AS ? Feb 03 08:05:24 no. it caches it Feb 03 08:05:31 that's why you have to click 'sync' when you change anything Feb 03 08:05:41 (or it prompts you to) Feb 03 08:05:42 ah, I see. No way to do that on command line? :) Feb 03 08:08:47 i don't know. rarely use the command line locally Feb 03 08:09:22 god I love AS Feb 03 08:10:57 Why, hesperaux? Feb 03 08:11:17 It was just really easy to add a source folder as a dependency library Feb 03 08:11:44 It was a lot more annoying to me in EclipseADT Feb 03 08:12:47 my biggest gripe with AS so far (I'm newish to it) is that it doesn't play nice with the NDK Feb 03 08:13:24 never used NDK so I wouldn't know. Feb 03 08:13:53 "NDK" sounds like a rap group or something. Feb 03 08:13:56 i used once it was good :D Feb 03 08:14:04 obviously there are other things about it that I love, too... I've really gotten used to the shortcuts and the autocomplete features. It works very nicely for me. Implementing interfaces with one key stroke is great Feb 03 08:14:22 hesperaux: agreed :) IDEA is great Feb 03 08:14:59 the gradle stuff is weird to me, but it is pretty easy to do basic things with a quick google search. I don't really have to know how it works Feb 03 08:15:11 I like AS, but so many little things bug me. For example, any kind of search result (e.g., that from searching the project) is hard to read. Feb 03 08:15:37 I find the search results easier to read than what eclipse gave Feb 03 08:15:39 A good example if the 'to do' window. Feb 03 08:15:58 yeah, the todo window isn't the best Feb 03 08:16:07 agreed on that Feb 03 08:16:13 You can't get a flat list. Have to have at least one level of nesting. Really not great. Feb 03 08:16:25 And the items are collapsed by default. Feb 03 08:16:29 yeah search results are awful :( Feb 03 08:16:30 I keep adding TODOs but haven't really used the view much. I don't like the nesting either Feb 03 08:16:32 but the "find usages" is great. I use that all the time Feb 03 08:16:38 TacticalJoke: file bugs on YouTrack Feb 03 08:16:40 nesting takes up extra vertical space Feb 03 08:16:54 I find that harder to read than Eclipse's, JesusFreke. Feb 03 08:17:19 I can't stand eclipse's version of that. Or at least, what I had seen of it a number of years ago :) Feb 03 08:17:28 I haven't actually used eclipse for java dev in.. ages Feb 03 08:17:44 also, I love the dark theme AS has... Eclipse hurt my eyes Feb 03 08:17:52 I just really dislike it's whole... mentality. the way it's structured, the way it handles projects.. Feb 03 08:17:59 I used eclipse for pure java a week or two ago Feb 03 08:18:00 This is Eclipse's: http://help.eclipse.org/indigo/topic/org.eclipse.jdt.doc.user/tips/images/todo-example.png Feb 03 08:18:09 The description is the first thing you see. How it should be. Feb 03 08:18:14 The file name is secondary. Feb 03 08:18:20 TacticalJoke, I agree with you there Feb 03 08:18:22 The line is also not very important: it's the comment we want. Feb 03 08:18:41 Eclipse gets a lot of things right that IntelliJ gets wrong, IMO. Feb 03 08:18:49 Having said that, I do hate Eclipse. Feb 03 08:19:44 There have been so many times IDEA just does something unexpectedly *right* Feb 03 08:20:16 just little things, like automatically adding a cast to an expression if you autocomplete a method that requires it, or something. Feb 03 08:21:09 One thing I think the IntelliJ guys should change is the default keyboard shortcuts. The defaults are insane. Feb 03 08:21:23 they work for me Feb 03 08:21:25 Stuff like Ctrl+Shift+Alt+S. Feb 03 08:21:36 I don't even know what that is :) Feb 03 08:21:58 I find the "OS X 10.5+" ones to be great Feb 03 08:21:59 I had to customise almost every shortcut I regularly use. Feb 03 08:22:01 I don't like the ALt key very much at all Feb 03 08:22:06 i keep hitting this weird AS bug on mac - when its fullscreen, a dialog may popup on another window, but i can't focus either Feb 03 08:22:19 g00s_: that's better in 14 Feb 03 08:22:30 as someone who religiously customized keymaps in games... I don't think I've touched IDEA's at all Feb 03 08:22:30 oh sweet, annoying as hell Feb 03 08:22:36 JakeWharton: Do you use IntelliJ for non-Android stuff? (Sorry, I'm nosy.) Feb 03 08:22:42 of course Feb 03 08:23:20 I based my customisations on the Visual Studio ones. :) Feb 03 08:23:26 if you need a graph library, try HoloGraphLibrary. It looks fantastic and it comes with animations Feb 03 08:23:26 It's hard to break old habits. Feb 03 08:23:34 I use Ctrl+F5 to run, for example. Feb 03 08:23:58 I made Shift+F5 my run-configuration selector. Then I was able to hide the toolbar. Feb 03 08:24:09 I wish I could hide the main menu. Feb 03 08:24:15 (Without going into full-screen mode.) Feb 03 08:24:35 Or place the menu/toolbar into the window frame at the top. Feb 03 08:24:59 That window frame is a waste of space. Feb 03 08:25:03 Yeah I'd like to kill the stupid title bar Feb 03 08:25:36 if I may take a quick poll... does anyone code with a 4K monitor and if so, how does AS scale? Feb 03 08:25:48 5k or bust Feb 03 08:26:24 i've had multiple friends return their 5k monitors Feb 03 08:26:49 * hesperaux didn't know there were 5k ones now Feb 03 08:27:11 QHD+ then? Or should I stick to 1080p? I'm trying to decide for later Feb 03 08:27:25 Snowing here in England. Wish this cold would finally go away. Feb 03 08:27:30 hesperaux: the apple one Feb 03 08:27:39 TacticalJoke, man we had 20" of snow yesterday. ugh Feb 03 08:27:42 there's a samsung QHD one which is supposed to be nice Feb 03 08:28:34 Damn. This is the first snow we've had in London. Only a little so far. Feb 03 08:28:57 TacticalJoke: you're not missing out Feb 03 08:29:02 snow is terrible Feb 03 08:29:32 very much so Feb 03 08:29:53 my wife never understands why i hate snow Feb 03 08:30:00 but it's nothing but cold and wet Feb 03 08:30:06 so wtf is there to like?! Feb 03 08:30:35 snow sports :) Feb 03 08:30:43 you only hate it when 1) you drive in it, or 2) you shovel it. Or both Feb 03 08:31:51 soon these phones will be large enough, you can use them as sleds Feb 03 08:31:55 time for bed. gnight all! Feb 03 08:32:01 gnight Feb 03 08:32:01 Good night. Feb 03 08:33:57 Watching a 1-hour-45-minute YouTube video about 2015 Linux predictions. Feb 03 08:34:05 Not sure what they're gonna mention. Feb 03 08:34:13 just jumping in briefly to say: sweet. ripped out a crappy http lib and AUIL and replaced it with okhttp + picasso, across my entire app. relatively painless (< 1 hour), seems comparable or slightly better everywhere. I'll have to spend some time later to really optimize things though :| Feb 03 08:34:54 excellent Feb 03 08:35:27 maybe I'll be able to convince work to make the leap to okhttp. we're all sick of loopj. Feb 03 08:42:02 i have a jpeg which is 1.32 mb (1.388.528 bytes), after i made it contact image it is being almost 2mb (2.073.600 bytes) is it normal ? Feb 03 08:42:21 i use bitmap.getByteCount Feb 03 08:42:48 to see size Feb 03 08:42:57 Bitmap objects are 4 bytes per pixel Feb 03 08:43:06 (assuming ARGB_8888) Feb 03 08:43:28 can i see that bitmap on the file storage ? Feb 03 09:05:37 if I have an ArrayList and I remove the first object Feb 03 09:05:50 does that mean that now when I get the object at index 0, it'll be what used to be the second object? Feb 03 09:06:00 yes Feb 03 09:06:07 fantastic, thank you Feb 03 09:06:35 Oh, gawd, Linux with "material design": http://www.papyros.io/ Feb 03 09:07:18 looks neat Feb 03 09:07:51 I'm sure it's a faithful reproduction and the animations are buttery smooth Feb 03 09:07:54 NOT Feb 03 09:08:12 linux needs strong design Feb 03 09:08:28 ugh, wayland Feb 03 09:11:45 cool, can't wait for material inkscape Feb 03 09:12:41 :P Feb 03 09:14:22 Why does one need an OS to implement Material Design ? Feb 03 09:15:26 especially when zero apps conform to it, it would look silly Feb 03 09:16:30 Yeah. I also don't get the obsession with material design. It looks all right, but it's so... basic. Feb 03 09:16:43 And redditors seem to worship the idea. Feb 03 09:18:10 It's like a religious thing to them, which I could understand if it were something fresh and awesome. But I don't think it is. Feb 03 09:19:08 redditors like dank themes Feb 03 09:19:58 my favorite was Metro, i wish MS took it further - so i hope they didn't undo all the good stuff in Windows 10 pandering to people who wanted to stick to DOS when windows was out Feb 03 09:20:01 I have concluded that those people must be really young. I can't see how else they'd get excited about something so plain. Feb 03 09:20:51 Imagine if those people were all 14. It'd all make sense. Feb 03 09:21:19 I like the idea of Start-menu tiles in Windows 10. Feb 03 09:22:26 Windows 8 would've been awesome if they'd allowed running Metro apps in normal (on-screen) windows. Feb 03 09:22:38 With the ability to resize, minimize, etc. Feb 03 09:23:54 that's what happens in win10 Feb 03 09:24:06 but truthfully, what metro apps would you really be using? I haven't ever needed to use any Feb 03 09:24:15 WPF, and generally metro design, is still pushed forward. Feb 03 09:24:24 f2prateek: in my case... Office ^^; Feb 03 09:24:38 I liked the weather app on my parents' computer. Didn't really see much else I'd use. Feb 03 09:24:44 I guess if the store took off it could be good. Feb 03 09:25:09 I don't know if Office is a metro app, but it certainly does minimize/scale/move like a normal window Feb 03 09:25:39 f2prateek: it uses metro design. Feb 03 09:25:40 If it moves and if Windows 10 isn't out yet, it's not a Metro app. :D Feb 03 09:25:52 the metro app is a misnomer, IMO Feb 03 09:25:57 (Apart from "moving" to the side of the screen.) Feb 03 09:26:31 especially since you can do "metro" back on XP (though it wasn't as smooth as on NT6.0 due to lack of DWM.EXE) Feb 03 09:26:57 Morning All Feb 03 09:28:23 p_l: What do you mean by "metro"? By the usual definition, it's Windows 8 only. Feb 03 09:28:38 I mean WinRT and stuff. Feb 03 09:28:41 Squares and Lists Of Things! Feb 03 09:28:54 TacticalJoke: the whole UI stuff? it's older than Windows 7 Feb 03 09:28:56 is how I've always thought of Metro Feb 03 09:29:37 RT is also a bit older than the rather... annoying push for tablet-likeness in win8 Feb 03 09:29:42 It was on XBOX first wasn't it? Or Windows phone thing Feb 03 09:30:05 the *style guide* that is called "Metro" happened on Windows Phone 7, yes Feb 03 09:30:38 the UI engine behind 99% of "metro" comes from NT6.0 (with a backport to XP), and it's WPF Feb 03 09:45:34 Hey folks! With the old dialog API (onCreateDialog, getDialog) being deprecated in favor of fragments, is there still a less verbose way to create a simple yes/no dialog than creating a whole class for the purpose? Feb 03 09:46:53 AlertDialog.Builder? Feb 03 09:47:11 pehlert: no Feb 03 09:48:03 Levite: Ah, so that stuff is still around? Feb 03 09:49:05 I don't think it's been deprecated... Feb 03 09:49:33 Levite: Thank you :) Feb 03 09:50:02 JakeWharton: Apparently there is with AlertDialog.Builder, right? Feb 03 09:50:16 uh Feb 03 09:50:22 No Feb 03 09:50:23 you use alertdialog.builder inside the dialogfragment. Feb 03 09:50:35 What he said Feb 03 09:50:58 Oh, ahm.. Okay.. I didn't expect that Feb 03 09:52:18 Can anyone recommend me a good way to get auto-scaling text? Feb 03 09:52:33 Thank you all! And on an unrelated note, many thanks Jake for ActionBarSherlock.. I've used it for years (long enough to recognize your name apparently ;)) Feb 03 09:52:42 I try really hard to talk graphic designers out of it, but the lazy fuckers keep making it a requirement Feb 03 09:53:04 pehlert: Glad it was helpful! Feb 03 09:53:50 * Ankhwatcher doesn't list the ways JakeWharton and the team at square make his life easier, because that would take weeks. Feb 03 09:55:41 JakeWharton: if you're ever in or near Ireland let me know, we'd love to have you come talk at GDG Dublin Feb 03 09:56:44 I was in Dublin just over a year ago when I went to Devoxx in Belgium Feb 03 09:57:16 And you found it so charming that you're coming back ... Feb 03 09:57:19 Took a few days after to hit some cities. It was quite fun, although I was running out of money. Feb 03 09:57:52 Haha. I might someday. Unfortunately I don't make it outside the US very often (aside from Canada) Feb 03 09:58:46 Well like I said, let me know if your near. We can ask Daddy Googlebucks to fly you to Dublin Feb 03 09:58:55 *you're Feb 03 10:00:56 I plan on being in Belgium again in November for Devoxx. I usually go through London with the train. Not too far off. Feb 03 10:01:54 Not at all, we should totally do this Feb 03 10:02:03 you like Ryanair, right? Feb 03 10:02:10 :p Feb 03 10:02:40 any xamarin android user here? Feb 03 10:04:17 LiohAu: Tried it this very morning, realised that their "Forms" library (which apparently is required for proper cross-platform fun?) already exceeds the Starter Version build limits so that I uninstalled it a few minutes after ;) Feb 03 10:04:41 there's a 30 days trial Feb 03 10:04:58 25 days remaining ^^ Feb 03 10:05:46 the more I read about Binder, the more I think it's unfortunate they have limited service creation to system server... unless I have misunderstood something, this prevents arbitrary processes using binder for IPC (as they can't find eachother's IBinder) Feb 03 10:06:56 LiohAu: Haha, ic :) Feb 03 10:07:33 Hi guys, does can anyone point me in the right direction to change the colour of a SwitchPreference track. Nothing seems to work for me, I have tried using selectors and also tried 9 patches, nothing; no difference. What am I missing here? Feb 03 10:08:40 anyone willing to give me a hand with something possibly noobish for devs? I'm going through an app a dev dropped on us and i have minimal experience. The logcat shows it can't load "ilbc-codec" which is same issue as here: http://stackoverflow.com/questions/19855237/quickblox-sample-videochat-android-is-not-working-caused-by-java-lang-unsatisf Feb 03 10:08:42 pehlert: A handy thing about using DialogFragment is that the dialog is reusable. :) Feb 03 10:08:54 I'm unsure how to resolve it, where can i find the file and include it Feb 03 10:09:32 it's causing the app to crash everytime Feb 03 10:18:01 Hi there. Feb 03 10:19:03 ls -l Feb 03 10:19:11 doh Feb 03 10:19:14 I use android studio and was wondering what is the easiest or most practical way to implement some functionality from github into my existing project. The functionality in question: https://github.com/MikeOrtiz/TouchImageView Feb 03 10:19:58 Ah. The moment I scrolled down and saw Usage: line :facepalm: Feb 03 10:26:59 Whoa, there's a Human Centipede 3 expected. http://en.wikipedia.org/wiki/The_Human_Centipede_3_(Final_Sequence) Feb 03 10:45:10 JakeWharton: Is there an example anywhere how I would use AlertDialog.Builder inside a DialogFragment? Feb 03 10:45:23 oncreatedialog? Feb 03 10:45:29 on google also Feb 03 10:45:39 The examples I can find use onCreateView() which is expected to return a View, rather than a Dialog Feb 03 10:45:46 TacticalJoke: the human centipedebuilder Feb 03 10:46:20 TacticalJoke: ive always pictured the doctor using a builder pattern Feb 03 10:46:26 pehlert: use onCreateDialog Feb 03 10:46:41 pehlert: http://developer.android.com/reference/android/app/DialogFragment.html#AlertDialog Feb 03 10:46:49 Ashiren: Thank you! Feb 03 10:46:50 kevel1: haha Feb 03 10:47:31 Casting is Java is ugly. Feb 03 10:47:50 you are Feb 03 10:49:09 Smart comeback. Feb 03 10:50:22 nice comeback, Potsie Feb 03 11:00:28 has anyone used CircleImageView from Support-V4 21? Feb 03 11:01:05 I'm trying to use it now and it's crashing on me, I suspect it's some attribute it must have to run Feb 03 11:01:20 but I don't know what that attribute might be Feb 03 11:10:44 ah right, that CIV is part of the Material SwipeRefreshLayout and is not fit for human consumption Feb 03 11:11:00 Hi, I just changed the logo of my app, but had to rename the logo file before i saw any effects.. If i change the logo of a released app do i need to change the name of the logo then too or will it automatically sort it out? Feb 03 11:12:56 access token have a property expires_in. the value is 3600. can I assume that the token stays valid for 1 hour? Feb 03 11:13:08 since no unit is given Feb 03 11:16:17 jutsi: it sounds more like a caching problem for android studio? or where did you in fact change the logo? Feb 03 11:17:01 yes, android studio (i normally use eclipse), but i assumed the caching issue was with android.. hence my concern Feb 03 11:18:10 You shouldn't have to rename the file. Maybe try Build > Rebuild Project after changing the icon. Feb 03 11:18:58 So the problem does lie with android studio, then? Feb 03 11:19:51 If anybody has played with xamarin a little bit - http://stackoverflow.com/questions/28296658/xamarin-java-binding-library-compiler-error Feb 03 11:19:57 Which icon did you change? Feb 03 11:20:04 jutsi: sometimes it doesn't see file changes Feb 03 11:20:12 The app ikon.. the one you see on the front page Feb 03 11:20:21 there's a little refresh icon up in the top left Feb 03 11:20:25 urh i mean in w.e page you have all your apps in Feb 03 11:23:33 The TelephonyManager.getNetworkType does not really show the current connection does it? I am on WiFi and turned WiFI off and it still tells me this is UMTS Feb 03 11:23:40 so I am expecting it only returns capability Feb 03 11:27:21 i want to change a specific contact'ss display image , any keywords guys ? Feb 03 11:37:38 sci-fi, google Feb 03 11:40:04 Hello! I want to put in public content provider intent filter (in manifest). Is there any pitfalls of this solution? I put it because i need to find all providers of all my applicaitions on device using queryIntentContentProviders http://developer.android.com/reference/android/content/pm/PackageManager.html#queryIntentContentProviders%28android.content.Intent,%20int%29 Feb 03 11:41:20 Maybe it is not secure and there is another way "mark" content providers in my applications Feb 03 11:42:03 Actually i don't understand how intent filters work with content providers Feb 03 11:42:39 I'm having an issue with accessing the android publisher API : "Access Not Configured. The API (Google Play Android Developer API) is not enabled for your project. Please use the Google Developers Console to update your configuration." Feb 03 11:43:00 however the project is configured and I have a valid access code Feb 03 11:43:27 But AS highlight this intent filter in content provider in manifest and says that is inappropriate node. Feb 03 11:48:18 I am using Google Analytics Android SKD v4. However, no data is collecting. Does anyone encounter this issue? Feb 03 11:50:56 how long did you wait for the first data? Feb 03 11:51:04 So it is very strange that queryIntentContentProviders was added only in api level 19 and i can't figure out it's purpose Feb 03 11:51:06 might take some time (i think it was 20 min) Feb 03 11:52:15 "Access Not Configured. The API (Google Play Android Developer API) is not enabled for your project. Please use the Google Developers Console to update your configuration." how can I verify that I'm trying to access the right project? Feb 03 11:52:39 because I believe it's configured correctly Feb 03 11:52:43 u wouldnt get that message Feb 03 11:52:49 if it were configured correctly Feb 03 11:52:53 thats how you verify Feb 03 11:53:23 yes, but I'm trying to figure out which project I'm actually accessign, or rather how to access the right project. Feb 03 11:53:57 I might suffer from some confusion between the google developer console and the google play developer console Feb 03 11:56:11 The google play android developer API is definitely eneabled for my project Feb 03 11:57:14 for the GDC (google developer console) project. Feb 03 11:57:39 it also has it's sender id linked to the GPDC project Feb 03 11:57:42 are you using the correct application id Feb 03 11:58:00 its the one that looks like a number afaik Feb 03 11:58:35 I'm trying to access via https://www.googleapis.com/androidpublisher/v2/applications/packageName/inappproducts right now Feb 03 11:58:42 the packageName is the correct one Feb 03 12:00:10 which applicationID would you be refering to? Feb 03 12:04:13 Where is the default assets folder location in a Gradle based project? Feb 03 12:04:20 I can't seem to find my fonts Feb 03 12:08:26 kevel1, do you have any idea how I would configure access? Feb 03 12:09:44 Ankhwatcher, src/main/assets Feb 03 12:10:38 danijoo: thanks, frustratingly that's whear it is, but I can't seem to find the fonts I put in it Feb 03 12:11:38 *where Feb 03 12:11:58 how do you try to access them Feb 03 12:14:25 ffs Feb 03 12:14:37 I want to disable the lock-screen by clicking a hardware button on my device. Is this possible in Android 4.2.2? Feb 03 12:14:39 I wrote the font name as bofa.tff instead of bofa.ttf Feb 03 12:14:44 that's why it wouldn't work Feb 03 12:18:51 Im making a camera app, but when Im first using it, starting the camera preview, the app "blinks" Feb 03 12:22:35 SidFerreira, you should fix that Feb 03 12:23:09 danijoo: lol, Im working on it... but as I was typing I got an idea and seem that it worked Feb 03 12:31:18 Hey I have a javascript countdown timer , Can I place this somewhere in android studio to have it in my app? Feb 03 12:31:29 can i use the