**** BEGIN LOGGING AT Sun Mar 15 02:59:59 2015 Mar 15 03:00:14 getActivity().getSystemService(Context.INPUT_METHOD_SERVICE).hideSoftInputFromWindow(getActivity.getCurrentFocus().getWindowToken(),0) Mar 15 03:03:14 bankai how long does that wait? where should I add that? Mar 15 03:03:46 i wouldn't auto-hide it on the assumption that a user has finished typing Mar 15 03:04:14 Well people are typing into my app then getting confused on what to do next Mar 15 03:04:37 fix your UI so it's not confusing then Mar 15 03:05:07 :[ Mar 15 03:07:25 g00s: when creating a xml drawable, can I define text in here too? Mar 15 03:10:07 phix no idea sorry Mar 15 03:10:12 why g00s you dont like asynctask Mar 15 03:10:16 has it hurt u in the past Mar 15 03:10:46 no it hasn't, because i haven't used it :D Mar 15 03:12:56 now , if i could just figure out why git stash is taking all my unstaged files and staging then on pop Mar 15 03:29:06 g00s, that might be true but I have yet to be hit by any of them Mar 15 03:29:19 hehe , like you would know :D Mar 15 03:29:34 well I'm not going to switch until I find out :p Mar 15 03:30:57 ravilov if you are using 2.3, you basically reject android after that version - so why not switch to something esle? you can't tell me android 2.3 is better than iOS and WP too ! Mar 15 03:31:24 never used those so can't tell Mar 15 03:31:29 wait, people still target 2.3? Mar 15 03:31:39 ravilov /uses/ 2.3 Mar 15 03:31:40 why not switch to something else? why switch at all? Mar 15 03:31:53 well like i said, tons of security bugs Mar 15 03:31:54 He probably has Win XP too :p Mar 15 03:32:05 capella, I do, what of it? Mar 15 03:32:10 hehehe Mar 15 03:32:10 lol Mar 15 03:32:34 its time for raviliOS Mar 15 03:32:37 my work still uses XP and IE6 Mar 15 03:33:33 bankai_ amazing Mar 15 03:34:10 actually, Lots of specialty office platforms still use XP ... kiosks, etc Mar 15 03:36:05 xp still has its place, it's not ready to be canned Mar 15 03:36:09 just like android 2.3 ;) Mar 15 03:37:13 i'm sure springfield nuclear power plant is still using it Mar 15 03:37:34 what, 2.3? :p Mar 15 03:37:49 XP :) Mar 15 03:40:13 http://www.windows93.net/ Mar 15 03:41:30 i'm gonna click the dolphin icon Mar 15 03:42:55 impressive Mar 15 03:43:13 ravilov you can probably get that on your phone ! Mar 15 03:45:20 dunno, seems complicated Mar 15 03:45:39 not sure if my puny pseudosmartphone can take it Mar 15 03:45:53 sure, just go to the website, and click the dolphin Mar 15 03:46:40 click the dolphin? Mar 15 03:46:42 you perv Mar 15 03:47:35 careful, (dolphon rape caves!) Mar 15 04:44:43 Hey there Mar 15 04:45:39 anyone willing who would possibly want to attempt to help someone learning Android (Parsing Json) that's in over their head :) Mar 15 04:48:53 use GSon Mar 15 04:52:56 learn java first Mar 15 04:53:15 as in https://code.google.com/p/google-gson/ ? Mar 15 04:56:05 I can parse the nodes from a jsonarray, just cant get the objects within each array node Mar 15 05:04:37 +1 for pfn's suggestion Mar 15 05:09:16 what a broad statement. Mar 15 05:09:24 thanks! Mar 15 05:10:02 in AS XML editor i keep seeing this little popup showing chrome, IE, Safari, and opera icons - how do i get rid of that :| Mar 15 05:10:03 I have, I don't know to what level one is supposed to learn java to a point where you can know if you have learnt enough to migrate to android Mar 15 05:10:27 but I can parse an array, just not an object within an array Mar 15 05:11:31 soooo yeah, anyone with any resources would be appreciated Mar 15 05:13:23 found it, damn thing Mar 15 05:16:15 ok I am having issues trying to launch an activity from within a fragment Mar 15 05:16:20 any ideas how I can do this? Mar 15 05:16:45 I really like Android TV Mar 15 05:16:53 got my hands on a Nexus Player Mar 15 05:18:46 That's nice Mar 15 05:20:16 can chromecast do 1080p 10bit mkvs? Mar 15 05:20:30 phix: Paste some code, what are you currently trying, what is your problem atm Mar 15 05:20:34 hi, Chrome for android when load a page change color toolbar ? how can i replicate when i use a WebView? Mar 15 05:20:34 if you want help dont be so damn vague Mar 15 05:21:43 lol Mar 15 05:21:46 devuser: When the webview page is loaded, set the color on the toolbar. Mar 15 05:22:30 desmin88, ok :) it' simple but I know how get vibrant color from bitmap by ColorPalette Mar 15 05:22:56 questiion is.. how can i get color from WebView? Mar 15 05:23:01 ok I want to remote capture my Android TV display so I can present my apps across the net Mar 15 05:23:16 MediaProjection FTW Mar 15 05:54:35 I'm trying to use Picasso in an html imagegetter but cant see any possible way, am i missing something before i try to homebrew my own? Mar 15 05:58:14 desmin88: Html.ImageGetter is synchronous Mar 15 05:58:49 oh Mar 15 05:59:21 desmin88: you might be able to get away with doing your own Drawable that is also a Picasso Target Mar 15 05:59:48 yeah couldnt i just return a drawable and fill it in later Mar 15 05:59:58 thats what i just said Mar 15 06:00:13 i was affirming your statement Mar 15 06:02:45 is there a way to unlock the bootloader if i cant get into the system? Mar 15 06:03:28 wrong channel Mar 15 06:03:44 got a better Channel? Mar 15 06:06:34 i figured it out you fuckers Mar 15 06:06:56 lol Mar 15 06:08:25 Please help. i some how locked the bootloader after wiping the system image phone wont boot, unlock or go into recovery any help? Mar 15 06:10:17 no help here Mar 15 06:10:19 #android-root Mar 15 06:21:01 hi sir i have one issue please help me out regarding android app , That how to remove the focus from keyboard when some snackbar activity is there behind the keyboard in android Mar 15 06:21:07 Please help me out ! Mar 15 06:24:28 Hi is there any mentor who can help me out !! Mar 15 06:27:05 hashbash: take the focus off it by anotherWidget.requestFocus(); Mar 15 06:29:10 We have to add this code just before snackbar activity right ! Mar 15 06:31:52 * capella-s3 googles snackbar activity Mar 15 06:32:20 it's a thing! Mar 15 06:32:51 not understood !! Mar 15 06:33:56 * g00s googles snackbar activity too wtf Mar 15 06:34:23 material related ... heh... i need a new phone Mar 15 06:34:39 oh i have one of those :) Mar 15 06:34:47 sir how to add this anotherwidget code ! Mar 15 06:35:22 hashbash: snackbar activity? Mar 15 06:35:32 g00s: I am missing something here Mar 15 06:35:45 like toasts http://www.google.com/design/spec/components/snackbars-toasts.html Mar 15 06:36:08 ya i went throught this Mar 15 06:36:22 i know what they are.. but "an activity" lol Mar 15 06:36:27 but nowhere i coulf find out the solution of how to remove focus from keyboard Mar 15 06:36:34 *could Mar 15 06:36:41 Napalm also, don't forget about the snackbar fragment Mar 15 06:36:45 and show snackbar Mar 15 06:37:10 g00s: ? Mar 15 06:37:25 XD Mar 15 06:37:25 * capella-s3 wants a snackbar beer Mar 15 06:37:58 Napalm nm, just going nuts Mar 15 06:38:08 lol Mar 15 06:38:21 mmmmmmmmmmmmmmmm ......... beer and nuts Mar 15 06:38:25 beer nuts Mar 15 06:38:52 sir please help me out of how to remove focus from keyboard and show snackbar which is behind it !! Mar 15 06:39:14 why is #android-dev a beacon for those with broken english and poor understanding of java and android Mar 15 06:40:47 anyone thr to help me out ! Mar 15 06:40:59 so the challenge is to prevent keyboard from obscuring a toast, er, snackbar your app generates cause "reason" Mar 15 06:41:04 C:\adb>fastboot flash recovery recovery.img target reported max download size of 536870912 bytes sending 'recovery' (12004 KB)... OKAY [ 0.381s] writing 'recovery'... (bootloader) Unlock before flashing Mar 15 06:41:14 ya Mar 15 06:41:15 Juggalo483 wrong channel, see topic Mar 15 06:41:16 Juggalo483: what did i say? Mar 15 06:41:36 him again - never did ask around #android-root Mar 15 06:41:40 Juggalo483: "no help here \n #android-root" Mar 15 06:42:56 snackbar reason is that whenever use clicks a button in middle snakcbar is shown Mar 15 06:43:28 *there is a button which after doing the keyboard activity user clicks on that Mar 15 06:43:56 so if keyboard work is not over and user clicks on it then the snackabr is shown as a error message Mar 15 06:44:19 hashbash: your saying the keyboard is showing over the snackbar... so you cant see the snackbar? Mar 15 06:44:25 ya Mar 15 06:44:27 idiot Mar 15 06:44:32 hahahahahaha Mar 15 06:44:38 just say that then Mar 15 06:44:40 lol Mar 15 06:44:53 you dont need to move the keyboard focus Mar 15 06:45:04 you want your activity to resize Mar 15 06:45:25 sir i mean both of them is fine ! Mar 15 06:45:27 :P Mar 15 06:45:35 add the android:windowSoftInput="adjustResize" to your and snackbar activity or whatever in your manifest Mar 15 06:45:56 that should position the snackbar above Mar 15 06:46:03 that should be default instead of adjustpan Mar 15 06:46:11 but it sounds like whatever library you are using for snackbar's is crappy Mar 15 06:46:43 i have to add this android:windowSoftInput="adjustResize" to main activity and snackbar aslo Mar 15 06:46:45 pfn: who knows what this guy is doing Mar 15 06:46:57 hashbash: and? Mar 15 06:47:42 sir napalm , a good reason snackbar should be in suppoer library ! Mar 15 06:47:53 understood and on it !! Mar 15 06:47:58 indeed Mar 15 06:48:10 get back to you if some probblem persists Mar 15 06:48:12 Napalm, I mean in general... Android should have done that instead of pan Mar 15 06:48:15 g00s: the thing is.. its just a layout.. its simple stuff Mar 15 06:48:18 shitty default Mar 15 06:48:24 ah Mar 15 06:48:51 sir Napalm , my app doesn't show snacks while editing so i haven't seen it ! Mar 15 06:49:00 pfn: its suppose to auto detect and choose the right one based on the isScrollContainer property of the views Mar 15 06:49:06 nit working Mar 15 06:49:09 *not Mar 15 06:49:12 it's more fun having to drag out of them what it is they're trying to do Mar 15 06:49:23 hashbash which snackbar library are you using ? Mar 15 06:50:11 nispok ! Mar 15 06:50:40 Napalm, I don't think it's ever chosen right for anything I've done Mar 15 06:50:44 hashbash you are using Snackbar.with(myActivity) !? Mar 15 06:51:06 "If you are using getApplicationContext() as the Context to create the Snackbar then you must specify the target Activity when calling the SnackbarManager" ! Mar 15 06:51:19 you didn't mess that up, right ! Mar 15 06:51:50 g00s: let hashbash know to use this if it still doesnt work with the resize option. https://gist.github.com/slightfoot/8a48b8ad0233260a3392 Mar 15 06:51:52 i gtg Mar 15 06:51:53 back later Mar 15 06:52:02 what is the right way to mess that up? Mar 15 06:52:10 gnight sir Napalm|afk Mar 15 06:52:16 i am using firstly this Snackbar bar = getSnackbar(activity) .text(text); and then bar.textColor(activity.getResources().getColor(R.color.android_red_light)); and then nackbarManager.show(bar); Mar 15 06:54:02 and yest i am using Snackbar.with(myActivity) Mar 15 06:54:28 g00s: thr ? Mar 15 06:54:38 yes ! Mar 15 06:55:18 what to do in the above case ? Mar 15 06:55:38 i dont know, maybe something is wrong with nispok, maybe file a bug with wmora Mar 15 06:55:58 on github. he gets to stuff pretty quickly Mar 15 06:57:02 ok sure btw thanks Mar 15 06:57:02 ! Mar 15 06:58:59 well i got a picasso imagegetter to work but cant get the text to flow nicely around them Mar 15 07:00:41 I'd rather not have to use a webview, its pretty bloaty Mar 15 07:00:49 .. just for showing text with some images Mar 15 07:01:00 desmin88 you can use imagespan Mar 15 07:01:18 MikeWallaceDev knows all about that stuff Mar 15 07:01:23 hmm Mar 15 07:01:35 of course the docs say nothing of it Mar 15 07:01:49 although, last time i tried using imagespan - or one of those spans - i almost threw my phone out the window Mar 15 07:02:13 lol Mar 15 07:03:17 ImageSpan is api1 - i'm sure its ravioli approved Mar 15 07:03:26 lol Mar 15 07:09:13 AS 1.2 is so cruel; it keeps underlining my anonymous inner classes and telling me these could be lamdas Mar 15 07:09:25 all it needs now is simpsons "ha ha!" Mar 15 07:10:32 y no retrolambda Mar 15 07:10:41 y no kotlin? :P Mar 15 07:10:42 It kept telling me earlier I needed a NonNull annotation then wouldn't notice that I inserted it Mar 15 07:11:07 treelzebub oh i already have java, not rewriting it Mar 15 07:11:08 capella, i had the same issue. just a warning, but still annoying Mar 15 07:11:36 g00s, i have decided displaying images is not worth it if i have to use imagespan Mar 15 07:11:39 I got rid of it after I noticed I still had the app as a min api8 and set it up to 11 ... :/ Mar 15 07:11:49 id much rather poke my eyes out that mess with it Mar 15 07:11:52 The *poof* msg gone Mar 15 07:12:03 understood. it's a huge overhaul for me right now. my boss is all about some kotlin. and i understand why. Mar 15 07:12:29 treelzebub was someone here saying the plugin wasn't working with AS 1.2 ? Mar 15 07:12:44 man getting good at crashing AS Mar 15 07:13:16 i said that kotlin debuggin wasn't wokring in AS. then i was rightfully asked why we debug with AS in the first place Mar 15 07:13:17 before the year is out all you guys are going to be craving for eclipse Mar 15 07:13:37 hm, ok. must have been someone else Mar 15 07:14:39 kotlin works fine. we still get weird Groovy warnings here and there; that's been consistent from day 1. but if you rebuild, it tends to go away. Mar 15 07:15:05 who knows what's behind that . . Mar 15 07:15:13 after i release, i'll play with it more. right now i have to stay focused Mar 15 07:16:18 yeah, that's the way to approach it. if you can see a benefit for your app, then implement it. if not, then it's def not worth the trouble. Mar 15 07:18:38 Hi, guys so whats the quickest easiest ( dirtiest ) solution to get horizontal line across a layout. Mar 15 07:18:53 in xml? Mar 15 07:19:04 yeah Mar 15 07:19:19 regular Mar 15 07:19:26 with a background, and the appropriate height and width Mar 15 07:19:33 ah Mar 15 07:19:35 ty Mar 15 07:19:42 :) Mar 15 07:21:47 use a hard straight edge and slam the phone down? Mar 15 07:22:16 can you scale a bitmap on a canvas by using canvas.scale? Mar 15 07:24:13 How is 833/2162 (38.5%) for current/total installs? What ratio do your apps usually have? Mar 15 07:25:26 lol lasserix Mar 15 07:25:37 ( I did say dirty ...) Mar 15 07:33:18 g00s: morning Mar 15 07:33:24 morning thepoosh ! Mar 15 07:33:30 i fucked up bad Mar 15 07:33:40 oh shit Mar 15 07:33:42 what happened? Mar 15 07:34:14 design flaw. i have several concrete implementations of this interface, which need to impl Observable foo() Mar 15 07:34:21 one impl is synchronous / blocking Mar 15 07:34:24 the other impl is async Mar 15 07:34:40 now, with the obervable interface, it should be hidden ... Mar 15 07:34:55 but now i need to apply the subscribeOn scheduler somehow Mar 15 07:35:19 its usually one of the last things to do in the chain Mar 15 07:35:24 ok Mar 15 07:35:45 problem is, now the code needs to know which one it is to apply the scheduler ... which stinks Mar 15 07:35:56 client code using the interface Mar 15 07:36:28 is it already in production? Mar 15 07:36:47 no not yet - i'll figure something out, ugh Mar 15 07:36:57 how is it going over there ! Mar 15 07:37:28 ok, trying to get to google's deadline Mar 15 07:37:41 oh yeah . good luck with that - importants stuff Mar 15 07:37:43 i think we'll get there Mar 15 07:37:49 redesign to material Mar 15 07:37:53 and support for tablets Mar 15 07:38:09 thepoosh what breakdown of your users use tablets ? Mar 15 07:38:23 not much Mar 15 07:38:27 yeah same here Mar 15 07:38:29 less than 5% Mar 15 07:38:34 i think android kinda lost it on tablets Mar 15 07:38:37 nobody uses tablets on android Mar 15 07:38:47 that's what iPad and iPad mini Mar 15 07:38:57 my father got an iPad from his job Mar 15 07:39:00 he likes it Mar 15 07:39:07 iPads are having declining sales too though Mar 15 07:39:08 but they beat everyone Mar 15 07:39:19 i would like an iPad pro though, but thats like Sep Mar 15 07:39:20 that's because tablets suck Mar 15 07:39:36 i use for reading books Mar 15 07:39:49 i use books for that Mar 15 07:39:50 :P Mar 15 07:40:02 i have too many books man Mar 15 07:40:08 that is not an option Mar 15 07:40:17 i have about 400 books in my hous Mar 15 07:40:20 house Mar 15 07:40:30 oh thats not much ! Mar 15 07:40:44 the guy who introduced me to my wife said "you'll like her, she has lots of books" Mar 15 07:40:49 she did! Mar 15 07:41:16 It is so incredibly annoying when android studio's auto complete randomly stops working. Mar 15 07:41:18 smart (pick partners that read!) Mar 15 07:41:29 thepoosh what are you reading now ? Mar 15 07:41:39 adimov, again Mar 15 07:41:44 Asimov Mar 15 07:41:47 Ah sweet, SouthPark just came on Mar 15 07:42:05 capella: a new season? Mar 15 07:42:23 Nah, just latenight re-runs :) Mar 15 07:42:40 Either that or Frasier again Mar 15 07:42:56 capella: that's what southparkstudios.com is for Mar 15 07:43:20 Yah :D I like some noise / comedy on in the background Mar 15 07:45:11 thepoosh can you still be featured by google w/o tablet support ? Mar 15 07:45:18 no Mar 15 07:45:22 those fuckers Mar 15 07:45:26 it was one of the todo Mar 15 07:45:33 also orientation Mar 15 07:45:42 meaning tablets + landscape Mar 15 07:45:44 'we're going to suck at tablets, but you need to bust your ass anyhow to get featured' Mar 15 07:45:50 yes Mar 15 07:46:01 so we wrapped many things in DialogFragments Mar 15 07:46:09 thepoosh well, lets hope you don't also need wearable support next to get featured Mar 15 07:46:11 and now they are floating in the middle of the screen Mar 15 07:46:19 already support them Mar 15 07:46:34 hmm, "Activity has been destroyed" crash immediately upon starting the activity Mar 15 07:46:40 "you need to support tablets, cars, tv, and helicopters to be featured' Mar 15 07:46:43 that sucks Mar 15 07:46:47 :D Mar 15 07:46:56 g00s: at least there is no TV support yet Mar 15 07:46:59 thepoosh lol dialogfragment Mar 15 07:47:16 it looks fine Mar 15 07:47:25 thepoosh i kind of did something similar, but instead of dialogfragment i used floating activities Mar 15 07:47:53 floating activity for tablet, its own activity for phone Mar 15 07:48:11 dont forget to call super.oncreate folks Mar 15 07:48:17 or, as we say, 'modal overlay' :D Mar 15 07:48:22 g00s: http://i.imgur.com/uCSySqB.png Mar 15 07:48:57 thepoosh hmm, looks weird the way the blue actionbars are merging Mar 15 07:49:12 whatever, it answers the demand so fuck them Mar 15 07:49:16 lol Mar 15 07:49:31 dude, just dim the bg a little Mar 15 07:49:41 stfu! Mar 15 07:49:45 lol Mar 15 07:49:59 g00s: that sounds like a change request Mar 15 07:50:00 fuck man, don't yo have that high power consultant - put his ass to work ! Mar 15 07:50:09 ticket it and send it on to the team lead Mar 15 07:51:00 If you have a cell and a laptop you pretty much don't need a tablet Mar 15 07:51:41 specially those big ass phones Mar 15 07:51:43 i think tablet form factor apps have more in common with full desktop than mobile, yeah Mar 15 07:51:53 thats why i always like the Surface Pros Mar 15 07:52:07 want one? Mar 15 07:52:14 sure ! Mar 15 07:52:45 Heh - I have that Surface Pro II moz gave me before they cancelled Metro ... it's like new in it;s box Mar 15 07:53:02 hopefully the battery is still ok Mar 15 07:53:23 Oh yah, It's in the box cause I let my aunt try it and it just came back Mar 15 07:53:27 usually it's on charge Mar 15 07:53:32 oops Mar 15 07:53:43 I check once a week for updates Mar 15 07:54:23 At this point I doubt Moz will ever want it back Mar 15 07:56:57 capella i guess your aunt didn't like it Mar 15 07:57:19 Nah, she went with a ThinkPad I found for her Mar 15 07:57:50 Usually she goes cheap ... this time she sprang the bucks Mar 15 07:58:16 * capella thought I could sell the SPII ;) Mar 15 07:58:37 i think the first few revisions were good attempts Mar 15 07:59:03 if i get back into landscape photography, i could easily seem myself getting one and loading Lightroom on it for remote work Mar 15 07:59:34 thats what worries me about android - its a 65k limit platform , more if you bust your ass, but seems like there is a ceiling Mar 15 07:59:50 i dont see it aging gracefully Mar 15 08:00:06 especially since google can't do shit and deprecate stuff quickly, apparently Mar 15 08:00:14 with oems doing whatever Mar 15 08:02:30 65k methods? If it wasn't for Progaurd FF would have issues Mar 15 08:02:44 with windows, you can share code across all form factors, up to desktop - ios little different philosophy - still 2 operating systems with different UX - but still easy to share code between all versions Mar 15 08:03:08 well technically now with multidex but Mar 15 08:03:17 like everything, just a bandaid Mar 15 08:03:27 google can't seem to remove complexity, only add it Mar 15 08:03:44 thats how i know, they dont have the best talent ;) Mar 15 08:03:58 "All booleans must be quad words" Mar 15 08:04:08 "memory is cheap" Mar 15 08:05:18 hehe - maybe not that bad Mar 15 08:05:51 my app is nearing completion and im just so happy Mar 15 08:07:43 support library is no available for API 22? I am getting error here com.android.support:support-v4:22 Mar 15 08:11:36 capella i dont think i could do development on the SP2 Mar 15 08:11:47 John Skeet uses the SP3 for development, so thats doable i guess Mar 15 08:12:16 * capella-s3 can't code wo a kbd Mar 15 08:12:44 tactile feedback ftw Mar 15 08:12:49 hahah "nearing completion" muahaha Mar 15 08:13:19 well Mar 15 08:13:23 sounds like lasserix is giving desmin88 his first review XD Mar 15 08:13:27 google will just release their os "google me" Mar 15 08:13:43 this time im serious Mar 15 08:13:46 its almost done Mar 15 08:14:03 completion of the development phase... then comes implementation and the never ending post production support Mar 15 08:14:18 lasserix psst, you have to say something about the shadows on the cardview looking funny Mar 15 08:14:55 1 star, fix and you'll change it to 5 stars Mar 15 08:15:25 desmin i dont understand why doesnt this app enable me to turn off my lights with my phone!? Mar 15 08:15:49 desmin help help! your app and then i accidently built a shelf Mar 15 08:16:07 instructions unclear Mar 15 08:16:10 dick stuck in ceiling fan Mar 15 08:16:46 back Mar 15 08:16:49 So my app doesn't have any settings - is that bad? I just cant think of any possible user configurable settings that would apply Mar 15 08:16:51 desmin88 you need this feature http://ergofabulous.org/luther/ Mar 15 08:17:23 hey desmin88 Mar 15 08:17:31 desmin88: u serious? Mar 15 08:17:31 hi Mar 15 08:17:31 desmin88: your problem with the image flow is a common one Mar 15 08:17:47 desmin88: i've been working on a nice solution. but its not ready yet. Mar 15 08:17:53 ooooo do tell me more Mar 15 08:17:56 lasserix: yeah... Mar 15 08:18:36 is it a dick measuring app? Mar 15 08:18:58 post viewer for a website with some added functionality Mar 15 08:19:10 font size? Mar 15 08:19:20 hmm Mar 15 08:19:24 offline viewing? Mar 15 08:19:35 background-font contrast theme colors? Mar 15 08:19:36 offline insults ! Mar 15 08:19:55 desmin88 did you see that link ^^ Mar 15 08:19:58 i did Mar 15 08:20:01 luther was hilarious Mar 15 08:20:02 and i enjoyed it Mar 15 08:20:15 lasserix: you see that would require work Mar 15 08:20:37 oh you are not getting paid to do this? Mar 15 08:20:46 no i am Mar 15 08:21:00 well Mar 15 08:21:27 if paid = 100% of profits made Mar 15 08:22:09 ohh you are making a reddit client? Mar 15 08:22:13 no Mar 15 08:22:42 "we despise your whorish impudence" Mar 15 08:23:51 lasserix: its an app for a website Mar 15 08:25:01 pornhub? Mar 15 08:25:18 http://ucatholic.com/ Mar 15 08:25:43 ohh hohoho you MUST add g00s suggestion then! Mar 15 08:25:49 as an easter egg at least Mar 15 08:25:49 lol Mar 15 08:26:10 that can be your settings Mar 15 08:26:19 Hmm user settings, lets see what I can configure... Mar 15 08:26:32 "You prance with the glittery devil you pansmonger!" Mar 15 08:26:45 heh Mar 15 08:27:07 lol thats great - an app for catholics with stuff from luther hahahaha Mar 15 08:28:25 what are reasonable font sizes if default is 14sp Mar 15 08:38:23 desmin88: defaq is that?! Mar 15 08:38:57 desmin88: the graphic design guidelines have the sizes Mar 15 08:39:30 desmin88: http://www.google.com/design/spec/style/typography.html Mar 15 08:39:36 shit Mar 15 08:39:42 you beat me to the line Mar 15 08:39:47 booya Mar 15 08:40:13 i came back to paste the link and it was already there Mar 15 08:40:20 http://i.imgur.com/LQxuqiI.gif Mar 15 08:43:08 is that you? Mar 15 08:43:27 ? Mar 15 08:43:43 dun dun dun! Mar 15 08:43:49 you need a shave Mar 15 08:43:52 it's my boss Mar 15 08:44:20 i'm using material spec sizes but lasserix said possible setting would be changing font size Mar 15 08:45:30 lasserix: this is me: https://scontent-fra.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10978622_10152600659311960_4094612954461097709_n.jpg?oh=b259971e2eee2501b16592e96dcab018&oe=557CF5AC Mar 15 08:46:07 are we sharing photos now Mar 15 08:48:19 desmin88: am i not cute? Mar 15 08:48:26 uhh Mar 15 08:48:30 it's an oldish photo from a few years ago Mar 15 08:48:55 thanks the lord it's the one that i have a shirt on Mar 15 08:52:02 i just realized i have literally no pictures of me Mar 15 08:52:03 anywhere Mar 15 08:52:29 thepoosh you use that for tindeer? Mar 15 08:52:29 lol Mar 15 08:52:41 lasserix: nope Mar 15 08:52:54 happily married in a non-open relationship Mar 15 08:53:15 all i have is this creepshot of me on the right https://scontent-ord.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/11018313_1078645165495272_4503769061152728656_n.jpg?oh=b2b44e99c33eb70b2402ed97e85e0a8d&oe=5580F001 Mar 15 08:53:59 that is one suspicious smile :) Mar 15 08:54:07 lol Mar 15 08:54:14 visitation day for a college im transferring to Mar 15 08:55:07 well, you seem to be very happy about it Mar 15 08:55:12 nice girls/boys? Mar 15 08:55:37 i suppose although, it doesn't matter - i have a girlfriend Mar 15 08:56:08 gl Mar 15 08:56:14 good luck? Mar 15 08:56:17 yes Mar 15 08:56:19 why Mar 15 08:56:34 all the american movies i see tell me relationships in college are hard Mar 15 08:56:39 but what do I know Mar 15 08:56:40 desmin did you just back up the visitor's toilet and know you're going to get away with it? Mar 15 08:56:47 lasserix ;) Mar 15 08:56:54 i started college when i was 25 and got married a week after school started Mar 15 08:56:59 thepoosh: why would you think theyre hard? Mar 15 08:57:06 relationships in college are more or less pointless unless you are going to get married Mar 15 08:57:14 ^^ Mar 15 08:58:40 i started at 15 and im 17 now and its been going alright Mar 15 08:59:07 not the girlfriend part, the college part Mar 15 09:01:04 so it's long distance Mar 15 09:01:10 which makes it a bit harder Mar 15 09:01:15 no Mar 15 09:01:21 in any case, all I know comes from movies Mar 15 09:01:27 coincidentally we are both going to the same college Mar 15 09:01:27 so I would ignore me Mar 15 09:01:34 cool! Mar 15 09:02:44 nah, thing about that age - nobody knows who they are; they think their future self will just be a more refined version of who they are then Mar 15 09:03:01 good ol' g00s Mar 15 09:03:02 probably Mar 15 09:03:09 tastes, important things, everything changes - Mar 15 09:03:26 gotta get lots of experiences under the belt so you can discover yourself Mar 15 09:03:45 i started early and i kinda regret it Mar 15 09:03:47 college, that is Mar 15 09:03:47 if i married the person i dated in college i'd be miserable :) Mar 15 09:04:32 still didn't know what i was doing in my 20s Mar 15 09:04:36 even in my 30s probably Mar 15 09:04:45 * g00s still doesn't know what he's doing ! Mar 15 09:06:56 desmin88 the best relationships - among a whole bunch of other things - both people are going in the same direction. i dont mean having lots in common, although thats usually a good idea too - shared purpose. but its hard knowing what purpose is younger ;) its not making money or babies Mar 15 09:08:01 i got married with my gf from college Mar 15 09:08:07 which i started at 25 Mar 15 09:09:11 ive no clue what i want to do in life :/ Mar 15 09:09:13 after i was in the army Mar 15 09:09:38 desmin88 gotta experiment to find out. no amount of thinking about it helps Mar 15 09:10:11 whatever he said Mar 15 09:10:24 i started out in a different approach completely Mar 15 09:10:44 i think my biggest mistake that time in my life - i put all my energy into what i was interested in. then i got where i wanted to be, to the final destination - and decided it was meaningless Mar 15 09:11:44 then i went a whole different direction, from semi company to seminary Mar 15 09:12:09 then , after a few years of that, decided thats not what i wanted to do either. but you have to try to know Mar 15 09:12:28 right Mar 15 09:12:45 g00s: i was fortunate enough to be patient and lazy Mar 15 09:12:52 lol Mar 15 09:12:56 so I kinda drifted slowly to where i like to be Mar 15 09:13:02 found my comfort zone Mar 15 09:13:06 and stayed here Mar 15 09:13:33 also no, I don't set in stone my decisions Mar 15 09:14:04 :) Mar 15 09:14:21 when i wake up, i'll read my androidweekly :D Mar 15 09:14:24 gnight Mar 15 09:17:07 https://www.youtube.com/watch?v=iQpD9LolO-k Mar 15 09:18:51 cya g00s Mar 15 09:29:38 hi Mar 15 09:29:55 i try record video from camera Mar 15 09:30:21 but in some device it get me just a 32kb file Mar 15 09:30:46 seem mediarecorder don't start in android 4.0.3 Mar 15 09:38:28 Anybody have any clue why a textview would not display the text set to it? Mar 15 09:38:39 Debugging I can clearly see the text it is set to Mar 15 09:38:43 but it never shows it Mar 15 09:46:55 desmin88: are you sure it's connected to the correct view? Mar 15 09:47:11 yes Mar 15 09:47:20 the activity/fragment might have gone through onDestroy and you are still holding a reference to it Mar 15 09:47:23 its like the textview is blank - i can scroll through "invisible" text Mar 15 09:47:25 and now there is a new one Mar 15 09:47:31 oh Mar 15 09:47:33 hmmmm Mar 15 09:49:16 desmin88, maybe textcolor == background color? Mar 15 09:50:58 hmm, i changed it from robototextview to textview and it was visible Mar 15 09:53:08 well, time to go to bed Mar 15 10:09:21 dammit desmin88... go sleep in your own bed Mar 15 10:09:44 * capella-s3 how does he keep getting in here? Mar 15 10:45:34 man i suck at RTL layouts Mar 15 10:45:58 how does it get triggered to choose "alignParentStart" instead of "alignParentLeft"? when it detects a language value that is RTL? Mar 15 10:46:24 like if I had an english value on a textview it doesnt gravitate to the right (start), it stays to the left Mar 15 10:56:08 Odaym, afaik it depends on the phone settings Mar 15 10:56:21 some languages are RTL by default, most arent Mar 15 10:56:33 you can force RTL in developer options if you want to test them Mar 15 11:19:09 i am back Mar 15 11:34:28 hey Mar 15 11:54:42 anyone uses a latst android gradle plugin? for testing? Mar 15 12:42:48 anyone have used the android unit testing? Mar 15 12:42:52 instea of instrumentation testing? Mar 15 12:51:46 Do detailed by-country statistics exist for android dashboards? I'd like to know if the 6.9% gingerbread devices are still present in europe, or if that's mostly asia or other regions Mar 15 12:59:35 Hi, does anyone know how did they maek Mar 15 12:59:49 *make the info in this app http://material-design.storage.googleapis.com/publish/v_2/material_ext_publish/0B0NGgBg38lWWZ1F2b1pUOGFiZHc/patterns-scrollingtech-scrolling-070801_Flexible_Space_with_Image_xhdpi_002.webm Mar 15 13:00:06 Info as in phone number and other information. Mar 15 13:00:14 Is this reciclyerView ? Mar 15 13:07:58 Nightwalkerkg: that is Toolbar Mar 15 13:11:40 thepoosh, no, no. I understand how they did the flexible space, but i am interested in the list under it. Mar 15 13:11:51 That contains email, phone number, etc. Mar 15 13:12:19 Sure, could be a RecyclerView Mar 15 13:17:04 Hello Mar 15 13:19:15 i am juniour android dev, im having some problems about xml parsing.. can someon look into it ? Mar 15 13:20:59 so it seems things in android studio for testing are changing fast Mar 15 13:21:08 i can't find solid documentation Mar 15 13:28:20 Nick-S, you mean the new junit feature? Mar 15 13:28:41 MiracleMars, no, because you didnt post it ;) Mar 15 13:29:10 danijoo: ya they have android.jar with nothing in it Mar 15 13:29:52 Nick-S, there is little information on it because its a pretty new feature. Mar 15 13:30:35 this might help you: http://tools.android.com/tech-docs/unit-testing-support Mar 15 13:31:16 basically android.jar has two "modes". the default is to just throw an exception every time you use a method on it because its only there to make you mock arround it Mar 15 13:31:33 the second mode is that it returns default values Mar 15 13:32:22 danijoo where should i post my problem ? Mar 15 13:32:34 MiracleMars, here :) Mar 15 13:32:51 any way to re-order notifications to my liking in the notification shade ? Mar 15 13:32:52 but look at the topic first Mar 15 13:33:58 XDS2010_: No. If you could do that, what's to stop other apps from doing the same? Mar 15 13:34:26 CedricBeust: who cares ? Mar 15 13:34:28 You can give hints to the system and it will place your notification where it thinks is the most appropriate Mar 15 13:34:53 we have a project in school, our teacher is a crazy programmer.. we are new learners to java suddenly he gave us a project about xml parsing.. and we should use pull parser we have no idea about what are we gonna do.. Mar 15 13:34:55 danijoo: what about a doc that explains how to use the testing at all? Mar 15 13:35:10 I don't want to give "hints" i want to re-order notifications to my liking in the notification shade Mar 15 13:35:19 XDS2010_: Too bad. Mar 15 13:35:40 CedricBeust: thats dumb Mar 15 13:35:47 Nick-S, its plain junit. google for docs about that Mar 15 13:35:59 CedricBeust: it looks stupid too Mar 15 13:36:04 XDS2010_, not possible Mar 15 13:36:46 XDS2010_: No it's not, it's the only workable way of doing it. Just stop and think about it for a minute. Mar 15 13:36:53 danijoo: It kinda throws off visual context Mar 15 13:37:20 What do you call visual context? Mar 15 13:37:36 CedricBeust: see convo or iscrybe Mar 15 13:37:53 *"context"* Mar 15 13:38:00 I have no idea what iscrybe is Mar 15 13:38:03 XDS2010_, it would be absolutly useless to be able to reorder notifications from inside the app Mar 15 13:38:23 because with this feature, every app would just set its own priority to #1 and try to appear on top Mar 15 13:38:26 the app? Mar 15 13:38:38 oh Mar 15 13:38:39 Exactly what danijoo said. Mar 15 13:38:43 so you would have the same "latest news top" order it already is Mar 15 13:38:57 i see Mar 15 13:39:06 still its a pain Mar 15 13:39:16 Like I said, it's the only workable solution. Mar 15 13:39:32 The hints you can attach to your notifications are important though and they can get your notification to appear at the top Mar 15 13:40:08 i tried. LBE and weather always end up at the bottom :( Mar 15 13:40:28 XDS2010_, oh. you arent a developer? Mar 15 13:40:43 danijoo: im a SW dev Mar 15 13:40:51 see ##slax Mar 15 13:41:17 the last comment looked like you are just looking for a way to rearrange your notifications from homescreen and not making an app Mar 15 13:41:55 i want to re-order the shade notifications in general and in turn the statusbar icons Mar 15 13:42:27 anyways. its not possible. A developer can just set some priority flags Mar 15 13:42:35 Keeping yahoo weather on top and LBE under it Mar 15 13:42:35 and the system will do with that what it wants Mar 15 13:43:15 danijoo: again, this throws off visual context Mar 15 13:43:37 You don't get to decide what's the visual context for a user is, the system does. Mar 15 13:43:42 if LBE devs are dickheads, they can just set all their notifications to HIGH_PRIORITY and if weather hasnt done that, they will always end below it :p Mar 15 13:44:17 CedricBeust: the system needs to change ? Mar 15 13:44:32 XDS2010_: No, you need to spend some time thinking about what you're asking. Mar 15 13:45:15 XDS2010_, yits open to you to code the changes and make a pull request to AOSP Mar 15 13:45:59 CedricBeust, well. from the user point of view, it might make sense to have an andorid setting where user can modify the priority of his apps Mar 15 13:46:04 you are basically trying to tell me that apps can in turn steel focus. ok i understand that. but can we all agree here visual context for poinent apps will be overshadowed Mar 15 13:46:24 or atleast to some degree Mar 15 13:46:28 danijoo: From a user standpoint, totally. From an app standpoint, no (like you already know) Mar 15 13:46:28 but the number of ppl using this would be so small.. why should anybody make the effort to change that Mar 15 13:46:53 we have a project in school, our teacher is a crazy programmer.. we are new learners to java suddenly he gave us a project about xml parsing.. and we should use pull parser we have no idea about what are we gonna do.. Mar 15 13:46:55 XDS2010_: No, you want apps to steal focus and I'm telling you it doesn't work that way, and for good reasons. Mar 15 13:47:07 MiracleMars, whats your question? Mar 15 13:49:41 we need some help.. like some sort of teacher to teach us how can we do that Mar 15 13:49:46 CedricBeust: all i want is the yahoo weather apps to stay at the top. i didn't mean for this to get into some heated debate. im losing my sanity over this. and gladly will put away the discussion for another day. Mar 15 13:50:07 MiracleMars, Why dont u ask your teacher? :) Mar 15 13:50:14 MiracleMars: Start by googling pull parsers, but if you're all Java beginners, it's problem Mar 15 13:50:54 if he refuses to explain, he either wants to give you a lesson in teaching your own, or he sucks :p Mar 15 13:51:42 yes the problem is we are java beginners working with normal java not android.. its really troubling.. our teacher is not going to help us.. its the way he does.. he is like try harder type.. Mar 15 13:52:06 MiracleMars: Now I'm confused, you all know "normal" Java? Mar 15 13:52:48 yeah we were c# students.. in first class then we become java student our teaching system is so bad.. Mar 15 13:52:53 so i can choose between instrumentation tests and unit tests which means if i actually run the app? Mar 15 13:53:10 MiracleMars, if your question is about plain java and not android, you are in the wrong channel Mar 15 13:53:14 join ##java for that Mar 15 13:53:27 Ok. Android Java is regular Java, it's just a big Java library. There are plenty of example apps that you can build in a few minutes, after that, learning about pull parsers should be pretty quick Mar 15 13:53:37 btw. is anyone in here using jimu mirror for android dev? Mar 15 13:55:09 my question is about android.. we dont have any information about android Mar 15 13:55:23 MiracleMars: Still not a question... Mar 15 13:55:40 we need help about this project.. Mar 15 13:55:48 danijoo: is it true? Mar 15 13:56:42 Nick-S, instrumentationTest -> running on device with actual app context Mar 15 13:57:00 unit test -> classy junit testcase running on your computer in the jvm Mar 15 13:57:23 danijoo: so if i need to reproduce scenarios of actual device i use instrumentation Mar 15 13:57:51 instrumentation if you want to test android specific classes and behaviour Mar 15 13:57:57 danijoo: btw if i use instrumentation, to what i extent i can access the device? i mean, do i get the objects? the application? the service? cuz i need to assert things... Mar 15 13:58:09 junit if you want to test your POJO for example Mar 15 13:58:32 Nick-S, you should read the documentation on instrumentation tests for that Mar 15 13:58:59 danijoo: yes i have its very short documentation though Mar 15 14:00:46 its over 6 sites.. Mar 15 14:01:21 giving examples for how to test activities and other components of the framework Mar 15 14:06:38 danijoo: what is? Mar 15 14:07:04 what is? Mar 15 14:09:54 over 6 sites ? examples? Mar 15 14:09:59 yes Mar 15 14:10:21 i know this: https://developer.android.com/tools/testing/index.html Mar 15 14:12:35 there are step-by-step guides on the site Mar 15 14:16:07 i want to start developing apps for android. I have some previous experience with c# (many years ago, a bit rusty). Whats the best development tool to start with, android studio or just eclipse. Any good places to start learning ? Mar 15 14:17:03 android studio and d.android.com Mar 15 14:17:53 thanks Mar 15 14:18:15 i don't even understand how to add my src/test to the android studio project Mar 15 14:18:29 You don't know how to create a folder? Mar 15 14:18:32 i created the files manually on the filesystem, but they won't show in the android studio api Mar 15 14:18:58 anyone ever use IcePick? Mar 15 14:19:28 can't get it to integrate with the lines given in this repo https://github.com/frankiesardo/icepick Mar 15 14:19:30 always not found Mar 15 14:20:17 do i need to filddle with the gradle build file in order for it to show? Mar 15 14:26:21 Odaym: Chances are the issue is on your end Mar 15 14:27:13 Or rather, the issue is on your end Mar 15 14:27:29 its just 3 lines isn't it, the maven repo and compile icepick provided icepick-processor Mar 15 14:28:01 Yep Mar 15 14:28:57 is setting {{latest-version}} a valid directive in gradle? Mar 15 14:29:02 No.. Mar 15 14:29:10 ok thought so Mar 15 14:38:33 turns out the repo reference was placed under buildscript > repositories and not under repositories Mar 15 14:38:36 ignorance at a price Mar 15 14:41:01 not really sure what to do with this library though Mar 15 14:41:06 but I said I wanted to try it Mar 15 14:41:36 You should re-think how you ask questions.. Maybe just pastebin your error, code and ask "what did I do wrong?" Mar 15 14:42:00 too passive Mar 15 14:42:56 I remember it next time if I was the one who had to go through it until it was solved Mar 15 14:46:40 Usually you rage a bit more at the platform before showing what you did so we can tell you what it you wrong Mar 15 14:46:57 haha Mar 15 14:57:18 Anyone have any idea how to recreate the list on the left image ? http://cdn.arstechnica.net/wp-content/uploads/2014/07/contacts2-2.png Mar 15 14:57:25 With the phone number, email, etc ? Mar 15 15:00:10 What part of it? Mar 15 15:01:13 Anyone know how to enable the youtube autoplay feature again? Mar 15 15:01:26 Google seems to have added it to test autoplay for a while and i absolutely loved it, it seems to be gone now htough? Mar 15 15:01:32 can't find how to re-enable it again on youtube.com Mar 15 15:02:42 Bantalon: That doesn't sound like an app dev question Mar 15 15:03:20 it doesn't, but I thought i'd give this channel a try for a lack of a different channel Mar 15 15:03:24 if anyone knows, otherwise np :) Mar 15 15:12:56 what happens if user rejects a new manifest permission? Mar 15 15:15:28 Then they don't get the update Mar 15 15:25:07 with the android v7 appcompat library, how do I set a translucent background on my actionbar? Mar 15 15:29:39 what is the need to set a translucent background? Mar 15 15:34:06 DannoCampbell, an activity to view an image Mar 15 15:34:59 ugh, youtube autoplay is the worst thing EVER Mar 15 15:36:11 why dont you simply remove the action bar and use a blank activity? Mar 15 15:38:10 DannoCampbell, so I can have a toolbar when viewing the image? for example maybe a share button? Mar 15 15:38:37 i Mar 15 15:38:40 i didnt asked to be questioned on my reasoning I just wanted an answer to how i set a translucent background on an actionbar] Mar 15 15:39:00 i don't get it, i can't get to add the src/test/java folder to the android studio, i created it on the command line Mar 15 15:39:09 DannoCampbell, it's what he wants, it's not up to us to debate as to why Mar 15 15:39:34 i only questioned so i could advise Mar 15 15:43:23 rymate1234, use toolbar instead Mar 15 15:43:24 android:id="@+id/my_toolbar" Mar 15 15:43:24 android:layout_height="wrap_content" Mar 15 15:43:26 android:layout_width="match_parent" Mar 15 15:43:28 android:minHeight="?attr/actionBarSize" Mar 15 15:43:30 android:background="#10000000" Mar 15 15:43:32 app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" Mar 15 15:43:34 app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/> Mar 15 15:43:39 ... Mar 15 15:43:41 uh DannoCampbell Mar 15 15:43:41 pastespam Mar 15 15:43:52 ^^ Mar 15 15:44:11 sorry didnt mean that :( Mar 15 15:44:11 right I'll use a toolbar then Mar 15 15:44:13 thanks! Mar 15 15:45:39 it should be some code detection in irc Mar 15 15:45:42 preventing from flood ;o Mar 15 15:46:03 go ahead and implement it Mar 15 15:46:17 no bots though :p Mar 15 15:46:28 irc protocol is so old Mar 15 15:46:40 well there's definitely some flood prevention Mar 15 15:46:40 the bot would just kick, not complete prevention though Mar 15 15:46:46 as his messages got slower overtime] Mar 15 15:46:58 i think it was client's default Mar 15 15:47:38 preventing flood by turning it into equally annoying trickle, lol Mar 15 16:03:52 What would you all say is the best way to make use of the new Android reference app? Anyone know if it has support for devices before Lollipop? Mar 15 16:26:01 Does launcher crash for you guys when using Nexus 6 skin in emulator? Mar 15 16:30:32 yes it does, i just teste Mar 15 16:31:39 cool Mar 15 16:32:04 are you using intel HAX? Mar 15 16:34:11 try slightly reducing the RAM Mar 15 16:55:49 hey Mar 15 17:01:31 ok Mar 15 17:01:48 there is abolutely no clear data how to end up having test calasses in an existing project of android Mar 15 17:01:53 and i am talking android studio Mar 15 17:17:38 do anybody has successfully compiled lollypop aosp_x86_64-eng? Mar 15 17:27:15 In Eclipse when you stop an app it stops monitoring it. In Android Studio, I can't find a similar option. In AS I could terminate an application but if I leave the emulator running and terminate my app then AS continues to monitor other processes. Mar 15 17:34:18 Does "monitoring" mean logcat? Mar 15 17:53:00 Is there a doc or something i can learn from how to design and code my app ui ? Like when to use RecyclerVeiw, when to use ListView, when to use this and that. Mar 15 17:54:04 d.android.com/training Mar 15 18:04:40 I have an older android project that I'm trying to "convert to gradle". The online documentation says "apply plugin: 'com.android.application'" should be at the top of the module file, but that seems to cause failures for me. Mar 15 18:04:43 "Could not create plugin of type 'AppPlugin'." Mar 15 18:06:55 a blog article indicated the plugin should be 'android'. Which is correct? Mar 15 18:09:39 where is AppPlugin, as you posted apply plugin Mar 15 18:11:07 whatitis: I did. That's what the error says, with a referent to the line where "apply plugin:" is. Mar 15 18:27:41 something like https://dl.google.com/android/ndk/android-ndk-r10d-3-linux-x86_64.tar.bz2 Mar 15 18:27:45 i need to get that file Mar 15 18:27:51 it used to be up, but the file was taken down Mar 15 18:27:59 is there any other location where i can find that exact file Mar 15 18:29:19 http://stackoverflow.com/questions/6849981/where-do-i-find-old-versions-of-android-ndk Mar 15 18:29:24 I think that with the Nexus 5, the option to set HDR to true on the camera that you start up from your app is disabled to save devs from memory issues Mar 15 18:29:48 napster; i need r10d Mar 15 18:30:15 I'm testing my app on a Galaxy S3 and the option to have the resolution of the photo be 3264x2448 is not disabled and I do take very high def pictures but run into memory issues Mar 15 18:31:52 Hi everyone, I’m new to IRC. Is it ok to ask an Android dev question I just posted to Stack Overflow? Mar 15 18:32:14 ghopper21, post the link Mar 15 18:32:14 if I lower the resolution down 1 notch (3264x1836), no memory issues anymore Mar 15 18:32:23 devmarth https://dl.google.com/android/ndk/android-ndk-r10d-linux-x86.bin Mar 15 18:33:01 Question about audio play v pause/stop v volume setting latency: http://stackoverflow.com/questions/29063819/relative-latency-of-playing-pausing-stopping-and-setting-volume-of-audio-in-an Mar 15 18:55:30 hi (programming newbie here), what excatly does return do in this code: http://pastebin.com/tVV8rGjg Mar 15 18:59:42 @johnc-- it returns the opposite of the value of ranBefore, that’s what the exclamation mark means Mar 15 19:00:38 ok time to try gridlayout again, last time i left all bloodied Mar 15 19:01:48 ok thanks ghopper21 Mar 15 19:04:12 Hey all. Is there a way to enable line wrapping in AndroidStudio's logcat output Mar 15 19:05:50 its not good johnc-- Mar 15 19:06:42 hmm no nvm Mar 15 19:06:51 canurabus, there's a "enable soft wrap" button in the logcat window Mar 15 19:07:17 you can return true inside the if Mar 15 19:07:20 and outside the if you return false Mar 15 19:07:30 no need to do the confusing return !ranBefore Mar 15 19:07:41 Odaym: okay i see. im trying to do is check whether it is firstrun, if true show changelog. Mar 15 19:07:47 I know Mar 15 19:07:53 Right in the middle of the down arrow and the print button Mar 15 19:10:08 you guys got any font recommendations? Mar 15 19:10:47 so far I've tried Adobe Garamond, Open Sans Light, Nexa Light, Lato Regular and Helvetica Neue Thin Mar 15 19:10:48 Odaym, Comic Sans Mar 15 19:10:49 Odaym for ? Mar 15 19:11:06 its an app about books and reading Mar 15 19:11:11 Faylite, ty Mar 15 19:11:14 Odaym: like this? http://pastebin.com/RWHs0ihq and please why is it bad in the first statement Mar 15 19:11:40 I don't know the actual cost of doing the version you showed first, johnc-- but it made me think about the statement Mar 15 19:11:46 shouldn't need to think about such a thing Mar 15 19:12:04 just be clear, return true when true and false when false, I avoid doing the booleanValue = !booleanValue Mar 15 19:12:26 cause I have to trace back the last place where booleanValue was set to figure out the outcome in the end Mar 15 19:13:16 ok, got it. thanks Mar 15 19:13:31 Does anyone know whether or not you're supposed to include a copy of the STL in your application for c++ code? Mar 15 19:36:08 anyone know how to remove all this wasted space in the android view http://i.imgur.com/9yNh4dm.png Mar 15 19:36:45 or at least smoosh it 50% or so Mar 15 19:41:03 how do i access an oracle db from my application? Mar 15 19:41:18 how do i access an oracle db (an a server) from my application? Mar 15 19:42:29 profligacy i think somebody already told you - use a web service or messaging bus (mq) Mar 15 19:42:46 g00s: Which web service can I look into? Mar 15 19:42:59 lol, you need to make it Mar 15 19:43:31 g00s: But with what? Mar 15 19:43:34 JDBC? Mar 15 19:44:06 profligacy you have a lot of reading to do Mar 15 19:44:07 http://shop.oreilly.com/product/0636920028468.do Mar 15 19:44:13 g00s: Is there anyway that I can view code of someone that has implemented this Mar 15 19:44:13 http://shop.oreilly.com/product/9780596805838.do Mar 15 19:46:16 profligacy once you write the web service, come back for the android parts which can use retrofit or whatever Mar 15 19:46:31 g00s: Ok, thanks. Mar 15 19:50:29 That's a lot of reading. Mar 15 19:50:40 Is there anything in particular that I should focus on? Mar 15 19:51:12 focus on knowing what you dont know Mar 15 19:51:33 and how to know it :) Mar 15 19:54:17 hey Mar 15 20:09:33 not sure if i should use google+ or google groups for alpha / beta testing Mar 15 20:09:44 whats easier for users ? Mar 15 20:09:57 is one more flexible than the other ? Mar 15 20:14:04 g+ is more modern, heh Mar 15 20:34:46 hello, is there away i can use android:configChanges="orientation...." and layout-land at the same time ?? if i use orientation then it will not change to layout-land and if i do NOT use orientation then onSaveInstanceState wont get triggered.. i need it to change to layout-land but i also need onSaveInstanceState to work .. it seems i cant do both ? Mar 15 20:35:02 Is it generall yproper to build against the latest SDK, and simply specify an older target if you're worried about backward compatability? Mar 15 20:36:07 dcorbin_ yeah, say targetSdk=22, minSdk=16, and use lint Mar 15 20:36:28 if youknow the api is newer then you'll have to do a if ( am i this api) { xxx } else { } Mar 15 20:39:33 g00s: that's what it seemed like, but I thought I"d check. Mar 15 20:57:20 ugh, wtf is going on here ... onReadRssi is reporting numbers like -95 (make sense -db) /and/ positive numbers - of course docs don't say what is what, units - maybe its reporting fucking cows / acre Mar 15 20:58:08 its bananas Mar 15 20:58:26 ahh ! yes, it is ... Mar 15 21:03:07 Hi folks Mar 15 21:12:08 Hi guys, anyone with experience with SupportMapFragment/google maps fragments? I've been fighting with a weid issue for two days now Mar 15 21:12:51 Do I have some device specific bug? On an eumulator a textview displays text correctly. On my device, its as if i can scroll through the text but cant see it. Mar 15 21:13:29 have you tried change the text color Mar 15 21:13:47 Yeah its not an issue of background color matching textcolor Mar 15 21:14:10 can you pastebin the code Mar 15 21:14:39 yeah hold on a sec Mar 15 21:17:39 Heres my xml of the robototextview and how it is loaded - http://pastie.org/10028433 Mar 15 21:17:52 If change the robototextview to a normal textview, the correct text will show Mar 15 21:19:03 mhm Mar 15 21:19:16 does Paint.setTextSize() set the heigth of the text in pixels? Mar 15 21:19:36 This is the raw html i'm loading in: http://pastebin.com/U4smj6iY oddly enough it is only this specific html that gives me problems Mar 15 21:22:35 Ashiren: two separate emulators display the text correctly. Its only on my actual device does the text appear invisible Mar 15 21:26:38 dunno Mar 15 21:29:42 yup. Mar 15 21:31:03 I am really frustrated. I'm trying to instantiate and show my SupportMapFragment. It works when it is defined as a static fragment in xml. When I changed it to a FrameLayout in XML and then tried to instantiate it programatically - it is not being created. Mar 15 21:31:58 The weird part is, when I start the app I can see the google map showing and I get no error in Logcat - but have Log.d in all Fragment lifecycle methods and none of them is showing. onCreateView, onCreate, onResume are not being called! Mar 15 21:34:30 I'm doing a fragmentTransaction.replace(container, fragment) in the onResume of the main activity - I suppose that the result should be onCreateView being called? Mar 15 21:34:45 beginnerAndroidD: paste, code Mar 15 21:36:42 http://pastebin.com/JxATyaBD - this is my main activity where I try to show the fragment Mar 15 21:38:26 http://pastebin.com/du0E44EP - this is my activity_main.xml, the main activity layout Mar 15 21:38:28 have you stepped through the debugger and made sure your fragment transction code is actually running Mar 15 21:38:51 I have a Log.d right after commit() and it is showing every time I start the app Mar 15 21:39:35 hmm Mar 15 21:39:37 my Log.d in onCreateView of the fragment is never showing. Also, the app doesnt force close or anything, nothing weird in LogCat, I can scroll through the google map no problem. Mar 15 21:39:46 generally fragment transacions go in oncreate from my experience Mar 15 21:39:52 but idk Mar 15 21:40:32 I can try to move it to onCreate instead of onResume Mar 15 21:40:49 try Mar 15 21:41:44 tho I think the issue might be in the XML or something, I'm not sure I understand correctly how fragment layouts should be defined Mar 15 21:42:43 you dont need the inner framelayout either Mar 15 21:44:23 yeah before I had just the 'root' layout and was doing ft.replace(R.id.root, fragment) - didnt work either Mar 15 21:47:47 is fragment hardcoded in xml? Mar 15 21:48:11 you cant replace fragments from xml Mar 15 21:48:18 I know, but this is my layout: Mar 15 21:48:23 http://pastebin.com/du0E44EP - Mar 15 21:48:37 the inner FrameLayout is supposed to be the fragment Mar 15 21:48:44 not sure if I defined it ok Mar 15 21:49:14 well you dont need another framelayout, the root is ok Mar 15 21:49:31 also, maybe try to add first, not replace Mar 15 21:50:38 I'll try Mar 15 22:04:21 g00s: Why is it that we use webservices over JDBC or JPA? Mar 15 22:04:28 is it acceptable to create a fake back stack when crossnavigating from an activity that i’s finishing. Mar 15 22:04:34 is* Mar 15 22:09:47 Why is it that we use webservices over JDBC or JPA to use an external db? Mar 15 22:16:32 a better question would be why would you connect directly to a DB instead of using a web service Mar 15 22:22:26 Heres my app layout on tablet landscape: http://gyazo.com/3970d72f4cbc810bdacd2f786c339384 what do you folks thinks would be the post way to display a list of comments in the detail view of the screen? Mar 15 22:22:51 I was thinking just have it all vertically scroll, however the detail view is all rolled into a scrollview and you cant have a listview in a scrollview Mar 15 22:25:36 I guess you could make the whole thing a ListView. Not sure whether it's a good idea or not, though. Mar 15 22:25:44 (Instead of using a ScrollView for that pane.) Mar 15 22:25:48 Whats up TacticalJoke Mar 15 22:25:50 Hey. Mar 15 22:25:56 How you been? Havent talked in a few Mar 15 22:26:04 TacticalJoke: That image header at the top has the possibility of being a youtube player fragment Mar 15 22:26:10 don't think i can really have that in a list view Mar 15 22:26:12 drose379: Yeah, I've been AFK so much lately. Not bad; you? Mar 15 22:26:19 desmin88: Ah. Mar 15 22:26:37 Also each post may or may not even have comments Mar 15 22:26:43 some are able to be commented on, others arent Mar 15 22:26:57 Not bad, spent this weekend getting my new machine going Mar 15 22:27:10 i was thinking perhaps action bar tabs with a viewpager but two tabs stretching across the entire screen would be dumb Mar 15 22:29:09 maybe i could a viewpager with page and comments in it, but i would need a better way to tell the user the comments exist Mar 15 22:29:51 Hi all! I have this service: http://sprunge.us/NYNj but there is nothing about it in the logs. Any input will help ;) Mar 15 22:30:36 Ashiren: now I get my fragment onCreate, onCreateView and onResume() called Mar 15 22:30:58 I tried a few things, not sure which one worked now but I think it was adding the support library to my build.gradle (compile dependencies) Mar 15 22:31:22 drose379: Which computer? Mar 15 22:31:53 but now I have another issue, I call '(SupportMapFragment)fm.findFragmentById(R.id.mapFragment)' and the returned fragment is null Mar 15 22:31:54 Lenovo ThinkPad t450s Mar 15 22:32:20 I do it in fragment's onResume() Mar 15 22:33:12 hmm, cant really think of an effective way to show the comments other than actionbar tabs Mar 15 22:35:04 MapsFragment.java: http://pastebin.com/hyaa6LCQ , MapsActivity.java: http://pastebin.com/L4LUpcSW Mar 15 22:37:17 beginnerAndroidD: Saying "super.onResume();" at the end of onResume doesn't look right to me (though it may be unrelated to the current issue). Mar 15 22:37:32 I have an UI/UX question. I gave the possibility to show the "Picture Of The Day", and they can switch between days through swipe. Where should the arrow for "Day before" and "Next day" be ? Right or Left ? Firstly, we thought "before" mean "left". Then, we remarked that when you see the first picture (today), to see previous, you will need to swipe left, it's kind of weird... what do you think ? Mar 15 22:37:33 I think those lifecycle callbacks should call through to the superclass at the *beginning*. Mar 15 22:37:43 thanks, I'll try it Mar 15 22:37:49 sorry, had a huge issue with my computer, I just came back Mar 15 22:39:32 TacticalJoke: I'd really like to place it at the bottom of the postview, but can't think of an appropriate view considering its a scrollview Mar 15 22:39:49 Yeah, it's kinda annoying that we're not supposed to put a ListView inside a ScrollView. Mar 15 22:39:54 I don't see why this couldn't work in theory. Mar 15 22:40:40 You could add children to a ViewGroup at run time, but performance would probably be terrible with a large number of children (because of not recycling views). Mar 15 22:40:46 exactly Mar 15 22:42:03 are header views of a listview fixed, or do they scroll with it? Mar 15 22:42:05 My idea was to ListView the whole thing: have the main content be the first ListView child, and have comments be subsequent children. Mar 15 22:42:13 Though I haven't tried this exact thing, so I don't know how well it'd work. Mar 15 22:42:26 They scroll with it. Mar 15 22:42:40 so could I just build the entire view and then add it to the listview as a header Mar 15 22:42:45 But I don't think using the header-view thing is a good idea. It's much more flexible to use multiple view types in an adapter. Mar 15 22:42:59 (That's what header/footer views do under the hood, ultimately, anyway.) Mar 15 22:43:07 Yeah. Mar 15 22:44:02 hmm Mar 15 22:44:15 this blows Mar 15 22:44:48 mainly because i dont want my header view or anything else getting recycled Mar 15 22:45:10 My app actually does something similar right now: reddit self-posts are the first child of a ListView, and comments are the next children. If someone has posted a huge self-post, there's a lot of scrolling just for the first child. Mar 15 22:47:06 Why don't you want stuff recycled? Mar 15 22:47:31 well i guess its okay if i save the stuff Mar 15 22:47:50 but theres a lot of html scraping and parsing on the post content Mar 15 22:49:22 plus theres the fact that most posts dont actually have comments Mar 15 22:49:45 so id be doing all this work with listviews and first childs for only a few of the total posts Mar 15 22:50:59 How about a ViewPager and also a "Show Comments" button (which does the same thing as swiping)? Mar 15 22:53:18 hmm Mar 15 22:53:21 thats a good idea Mar 15 23:02:15 Does anyone know of a non-hacky way to set a time picker to have increments of 15 minutes? Mar 15 23:04:15 t0astt: most things done onandroid will feel hacky Mar 15 23:04:22 :'( Mar 15 23:07:39 any ideas for my service that doesn't log anything? http://sprunge.us/NYNj Mar 15 23:07:51 (and doesn't seem to start, for that matter) Mar 15 23:08:34 moviuro, show us the code that starts it Mar 15 23:09:01 shouldn't that start it? I have enabled:true in the manifest Mar 15 23:09:43 http://developer.android.com/guide/components/services.html Mar 15 23:09:44 read that page Mar 15 23:09:52 might clear up some things Mar 15 23:10:27 thanks poutine Mar 15 23:14:51 indeed, I never started the said service... (systemd's influence: enable once, forget about it) Mar 15 23:25:21 Does anybody use https://github.com/futuresimple/android-floating-action-button ? Trying to get my fab to hide on list scroll but it doesn't have that built in Mar 15 23:42:25 TacticalJoke: I went with just a 'container' fragment with my post and comment fragment, disabled viewpaging swiping and put a little button if comments were even available Mar 15 23:52:39 Hmm, my recyclerview in my viewpager wont scroll Mar 16 00:06:30 Heres my comment layout - http://gyazo.com/ebd2369a0760b58972de2a9814acd761 - its kinda trash. any ui/ux people who could lend a hand? Mar 16 01:00:46 how do I filter a map in Kotlin? Mar 16 01:01:09 map.filter { ???? -> true } Mar 16 01:04:31 "The change sees YouTube's hamburger menu flipping right out of the interface, going the way of Google+ in discarding the left-side navigation drawer." Mar 16 01:04:47 "Instead, users are given four primary tabs .." Mar 16 01:04:55 lol, they keep going in circles with UI design Mar 16 01:07:37 "As it turns out though, Lollipop 5.1 is not without its own memory leak" Mar 16 01:07:43 but its fixed internally Mar 16 01:08:57 * capella-s3 doesn't care for sliding navigation drawers Mar 16 01:09:10 I was surprised about the navigation-drawer thing. Though, to be honest (and probably not many people share my view here), I'd much rather see tabs on the YouTube app than the hamburger menu. Mar 16 01:09:20 what does "fixed internally mean"? suppressing symptoms vs. addressing causes? Mar 16 01:09:29 i think google must have absolutely zero inter-deparment communication Mar 16 01:09:32 capella-s3: Fo sho. Mar 16 01:09:40 treelzebub fixed, but nobody knows when it will be released Mar 16 01:09:43 no releases are ever consistent Mar 16 01:09:58 webpages are doing that nonsense now Mar 16 01:10:33 g00s better than nothing! Mar 16 01:11:25 Web pages with app bars are the worst. Like, gee, thanks for effectively making my screen smaller. Mar 16 01:13:46 mobile layouts have got to cut out this pop-up bullshit: newsletters sign-ups, etc. it's like 1998 on geocities all up in my phone :P Mar 16 01:20:32 whats an easy way to tell if an app is a webview (like phonegap, cordova, etc) app or native? Mar 16 01:22:25 if it sucks Mar 16 01:22:38 :D Mar 16 01:22:40 lol Mar 16 01:22:49 other than that :P Mar 16 01:23:07 I didn't have such good experience with cordova and ionic, the ui was laging a lot. Mar 16 01:23:27 Which apps use WebView for their entire UI? Mar 16 01:23:35 the bad ones Mar 16 01:23:58 when i use the kindle app - and i go to the store screens - its obvious somethng just went to hell Mar 16 01:25:02 ok not necessarily webvie Mar 16 01:25:05 w Mar 16 01:25:12 but an html5 mobile app vs native. wanted to know how to tell ;) Mar 16 01:26:29 tejasmanohar, well, if you want to build an app that will work on all OS, then build an html5 and find a way to fix the performance. Mar 16 01:26:40 But if you want to build for specific platform then go native. Mar 16 01:27:02 Or you can learn Java,Swift and C# and build for all platforms in native. Mar 16 01:28:23 no Mar 16 01:28:27 i know that Mar 16 01:28:37 im just saying how do i know if an app i install on my phone is naticve or not? Mar 16 01:28:40 decompile the APK? Mar 16 01:28:44 Nightwalkerkg: ^ Mar 16 01:29:56 tejasmanohar, if you are not that lazy, sure. :D Mar 16 01:32:10 Hey guys, I am looking at List's .remove(object) method Mar 16 01:32:17 And that could be used to remove a string right? Mar 16 01:32:34 list.remove((String)stringName) Mar 16 01:34:13 It'd remove the first occurrence of that string. Mar 16 01:34:19 Why don't you use List.remove(int)? Mar 16 01:34:45 Android's ArrayList.java is so bad. Mar 16 01:34:48 Full of duplicate code. Mar 16 01:35:01 Cause I think it would be easier to just remove the string Mar 16 01:35:12 If i did remove(i) I would have to use two loops Mar 16 01:35:21 If I remove the literal string, I only need one. Less room for error Mar 16 01:35:33 Nightwalkerkg: is there a faster way? Mar 16 01:36:10 tejasmanohar, Well, if the performance is crap, then it's html5. Mar 16 01:36:32 Nightwalkerkg: lol... can that really be said? Mar 16 01:36:46 Okay. I've never used that method overload before, so I was curious. Mar 16 01:37:24 tejasmanohar, yup, i tried makeing apps in html5. Mar 16 01:37:25 Nightwalkerkg: if you hate on html5 apps so much wait till you see this Mar 16 01:37:44 Nightwalkerkg: venmo took an html5 app first, and then made their web app -> https://pbs.twimg.com/media/B_2U9w1UwAAmbcO.png:large Mar 16 01:37:44 Then switched to native and didn't look back. :D Mar 16 01:37:48 some parts dont have a desktop view Mar 16 01:38:00 Nightwalkerkg: ive made some html5 yeah Mar 16 01:38:08 didn't find performance a big issue, depends on what youre doing Mar 16 01:39:10 TacticalJoke I got a question for you, you got a min Mar 16 01:39:20 Yeah. Mar 16 01:39:31 Ok, so have you seen the new tab layout I have on the main activity? Mar 16 01:39:35 Where all the subjects are shown Mar 16 01:39:57 Yeah, I think so (I don't have my phone with me at the moment, though). Mar 16 01:40:04 Ok Mar 16 01:40:09 Basically there are 3 tabs Mar 16 01:40:22 My Subjects (everything you created yourself) Mar 16 01:40:34 Public Subjects (all subjects that others have created that they marked as public) Mar 16 01:40:41 And then Bookmarks Mar 16 01:41:11 So from the public subjects tab, the user can long press on a subject card, and choose to bookmark it, this will show the subject in their bookmarks tab Mar 16 01:41:13 Question: Mar 16 01:41:36 When the user bookmarks a public subject, should it be removed from their public subjects tab, and only shown in the bookmarks tab? Mar 16 01:42:17 Im thinking it would be more organized that way Mar 16 01:42:58 Hmm, I think that could work. Mar 16 01:43:20 Another option might be to remove the "Bookmarks" tab and place all bookmarked (public) subjects at the top of the "Public Subjects" list. Mar 16 01:43:32 Blaaaah, i hate designing UI. Mar 16 01:43:38 I'm assuming that all bookmarks are public. Mar 16 01:43:48 I mean "are of public subjects". Mar 16 01:43:49 All bookmarks would be public yeah Mar 16 01:44:00 Hmmm, I think I want to keep them seperate to be organized though Mar 16 01:44:31 Okay, that makes sense. Mar 16 01:44:55 Ok, just wanted to make sure Mar 16 01:48:59 Does crashlytics need any special proguard configuration? Mar 16 01:49:57 desmin88: I believe you need to upload the proguard symbol table but after that, you get full stack traces Mar 16 01:50:09 thanks! Mar 16 02:03:59 How about the rxjava/rxandroid libs? I can't find much online if they need anything special Mar 16 02:19:26 So I could've sworn I saw something awhile back that said you can customize what happens when using the back button. Meaning, it would still utilize the backstack but you could add onto that? If that makes any sense? I think it's an extra parameter? Mar 16 02:23:50 yeah you can Mar 16 02:43:35 Yeah I found it. Ok, so now I have a tricky situation. So in my recyclerview adapter I set some onClickListeners on individual components of my recyclerview list items. Because they're on components within those list items I had to do the onClickListeners in my Adapter class. This is all fine and dandy except that on one of those onClickListeners I need to access a "refreshContent" method in my fragment, which I'd rather not change from private to p Mar 16 02:45:00 eventbus perhaps Mar 16 02:45:04 or a interface Mar 16 02:47:10 I wish I knew about EventBus when I started this app Mar 16 02:47:18 but I was a noob when I started Mar 16 02:53:17 everyone was a noob once **** ENDING LOGGING AT Mon Mar 16 02:59:58 2015