**** BEGIN LOGGING AT Fri Oct 31 02:59:59 2014 Oct 31 03:06:43 Is it appropriate to do stuff such as "getArguments()" in a DialogFragment.onCreate handler? Oct 31 03:15:16 Is there a way to get a file's uid and gid? Oct 31 03:18:30 did they remove the sources for recyclerview from m2repository? Oct 31 03:18:34 grr Oct 31 03:29:15 Is it okay to call "getActivity().getLayoutInflater().inflate" inside DialogFragment.onCreate? Oct 31 03:36:05 lol, i guess thats who bad the api is Oct 31 03:36:10 *how bad Oct 31 03:38:11 Every time I inherit from one of my classes, I feel slightly ill. Oct 31 03:38:55 just make the classes all final, done ! Oct 31 03:40:40 Final all the classes. Oct 31 03:42:18 pfn any luck on that NPE from LG phones ? Oct 31 03:50:53 nope, don't care about it Oct 31 04:00:41 my new tag line is "Capella... he can marginally improve things" Oct 31 04:01:44 Why is almost all Android sample code (whether in the Android SDK or not) awful? Oct 31 04:01:56 Enormous methods featuring 17 anonymous classes. Oct 31 04:01:58 Stuff like that. Oct 31 04:02:27 It sucks, because people copy that and write unmaintainable code. Oct 31 04:03:41 you need a journal. should keep it private Oct 31 04:05:24 heh Oct 31 04:05:38 Have you read Clean Code, g00s? Oct 31 04:05:46 TacticalJoke i think so Oct 31 04:05:50 It's really good. Though it kinda worsened my obsessiveness regarding code. Oct 31 04:05:51 uncle bob, long time ago Oct 31 04:05:56 Yeah. Oct 31 04:06:30 It's hard to keep methods really short when doing Android UI stuff. Oct 31 04:06:44 My methods are usually no larger than four statements in size. Oct 31 04:06:53 Though it does depend on what's going on. Oct 31 04:07:44 Too much extracting can lead to vague code. Stuff like "doFirstThing(); doSecondThing();". Oct 31 04:09:10 but yet you keep trying to make "helper" classes. which also adds to depth without a need. Oct 31 04:10:14 i have a feeling if pair programming with TacticalJoke one of us would get strangled Oct 31 04:10:30 there would be blood Oct 31 04:13:41 I wrote a helper class once... >:| once... Oct 31 04:17:48 capella-s3 did you call it MyMarginalHelper ? Oct 31 04:18:05 I just dont understand all the whining. if you are working on an idea that you want to turn into an app. you know your end game. if you know your wanted finished product, who cares how bad someone documented X. if you really need X to get your idea finished, you find a way. if you cant, its time to stop&move on. its all just problem solving. you either can or cant. relying completely on others is fail not from getgo Oct 31 04:18:14 or MarginalUtils Oct 31 04:19:21 MarginalImprovements // Utility methods for MarginalImprovement Oct 31 04:19:46 heh - actually I "collected one" ... helper classes are good for getting loosely related methods out of the main train of thought Oct 31 04:19:48 shameless plug: http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/ReadingListHelper.java Oct 31 04:20:27 So that's where the Firefox for Android source is! Oct 31 04:20:29 whatitis i think it depends on personality and temperament. even though myers briggs is kinda bogus; they have one axis thats P (percieving) or J (judging) Oct 31 04:20:30 God, I can never find that. Oct 31 04:20:44 i can see people on opposite P/J spectrum not getting along Oct 31 04:20:56 Dat highlighting tho. Oct 31 04:20:57 hey guys, anyone familiar with BLE? Oct 31 04:21:03 s/highlighting/linkage/ Oct 31 04:21:09 mobile/android/base is the main root ... we have more specialized throughout core Oct 31 04:21:31 widget/android for JNI stuff, etc Oct 31 04:21:38 also, for some its a goal to achieve (deliver this); for others its the experience. the goal is ever changing Oct 31 04:22:23 Cool. Thanks. Oct 31 04:23:29 the goal can be whatever. its the ability to cut through the bullshit and make your idea a real thing that most cant do. so they blame others for their shortcomings, where otheres have succeeded Oct 31 04:23:54 capella, you know anything about this bug or how it was fixed? https://bugzilla.mozilla.org/show_bug.cgi?id=886421 Oct 31 04:24:06 * capella reads Oct 31 04:24:26 whatitis: That's a serious oversimplification. When I rant about the Android framework, it's not because I can't achieve X; it's because achieving X was unnecessarily painful. Oct 31 04:24:35 I usually achieve X and *then* rant. Oct 31 04:24:40 capella i hope e10 lands soon; had to go back to chrome for a little Oct 31 04:24:45 but if its necessary.... Oct 31 04:24:50 you suck it up Oct 31 04:25:13 pfn: it seems stale ... Oct 31 04:25:27 I'm one of those people who complain when things aren't as good as they can be. Oct 31 04:25:36 I also love when my users do this. I don't take offence at all. Oct 31 04:25:56 yes, android is not perfect. but if you want something, complaining doesnt make it less painful. if you can contribute to male it less painful for others Oct 31 04:25:57 If my app sucks, I want people to tell me, in great detail, how it sucks. Oct 31 04:26:11 pfn: I mean, it looks like it was left to bitrot ... is the issue alive / do you experience it? Oct 31 04:26:31 capella, I don't have LG Oct 31 04:26:46 I've heard it no longer occurs though Oct 31 04:26:51 are there any genymotion LG devices ? Oct 31 04:27:03 I feel like some kind of wizard now that I have access to the Fennec (or whatever they call it) code. Oct 31 04:27:06 i uninstalled so i can't check Oct 31 04:27:17 has anyone have any success running bindService inside a preferenceFragment? I am having issues with it not loading, but not giving any errors Oct 31 04:27:18 yah, moz likes to leave things open forever Oct 31 04:27:35 capella yeah no shit Oct 31 04:28:12 I have PM in my blood so I'm like ... "let's close old stuff ... if it's real we can reopen !" ... people seem to hate that ;P Oct 31 04:28:31 jareddlc i peeked at your pastebin last night and couldn't understand it at all. if you have a specific question about BLE ask away Oct 31 04:28:33 It's also nice to read code from Mozilla that isn't C++ or JavaScript. :) Oct 31 04:28:55 FF Mobile (Fennec) has a good chunk of JS Oct 31 04:28:57 i'm kinda excited about Rust Oct 31 04:29:29 It looks nice. Oct 31 04:29:33 hey g00s thanks! so I am trying to run bindService, for my ServiceConnection function, if successfully loaded it should run `onServiceConnected` correct? Oct 31 04:29:34 Ah, so are the #servo guys :) Oct 31 04:29:50 jareddlc yes Oct 31 04:30:01 as long as you use BIND_AUTOCREATE or whatever it is Oct 31 04:30:18 thats not a BLE question :) Oct 31 04:30:27 yeah, so im using Context.BIND_AUTO_CREATE Oct 31 04:30:35 Talking about that "2" naming earlier -- "ActivityInstrumentationTestCase2". Ugh. Oct 31 04:30:37 Worst name ever. Oct 31 04:30:52 jareddlc bind in fragment.onStart, unbind in onStop Oct 31 04:30:53 but does that happen when i connect to BLE device? or when service is running? Oct 31 04:31:20 i dunno you have to understand how your code works ! Oct 31 04:31:31 :) Oct 31 04:31:33 maybe time to read up more on services Oct 31 04:31:56 this may sound silly, but what would be a fair price to get someone to convert code from bt to ble? Oct 31 04:31:57 tacticaljoke, I can appreciate your need for clean workable code. but sometimes with the tools given, it cant be that. but with your hardwork&understanding of how it should be. you make it work with what you have, then you contribute to fix your hardships. the tool makers hear it and concede, or they ignore. either way you have your product. Oct 31 04:31:59 if i recall you did it all as a preferenceFragment, to avoid some UI - thats OK, it should work Oct 31 04:32:20 yeah its almost been a year since ive touch this code, and i really want to finish it Oct 31 04:32:30 jareddlc they aren't anything alike. i have an app that talks both, they may as well be different protocols Oct 31 04:33:24 rfcomm is stream based, BLE is more state transfer with a data model Oct 31 04:33:27 so ive started service in my fragment via: getActivity().startService(new Intent(getActivity(),SettingsService.class)); Oct 31 04:33:41 but im using the android BLE tutorial and it uses bindService Oct 31 04:33:44 tacticaljoke, and you say you are one to complain when things are awry, but do you do that to the people that should hear it, or just your peers? Oct 31 04:34:06 which is why im trying to implment but i cant get the onServiceConnected to execute Oct 31 04:34:20 jareddlc you will have to step back and learn the fundamentals of services. maybe forget the BT stuff for now, just put log statements in a sketeton to get the behavior you want Oct 31 04:34:31 skeleton service Oct 31 04:34:51 im just confused why are they many ways to run services Oct 31 04:35:00 there are only 2 Oct 31 04:35:05 and they are complimentary Oct 31 04:35:18 whatitis: I'd love to say it to them directly. Wish I could. Oct 31 04:35:28 I could go to the issue tracker, but it's flooded already. Oct 31 04:35:38 okay i'll try to find some good docs on bindService Oct 31 04:36:07 i'd say look at the samples, but seems api 21 is missing those still Oct 31 04:36:08 oh btw my service isnt listed in the manifest file Oct 31 04:36:17 im using api 18 Oct 31 04:36:21 so look at api 19 samples, like apidemos / localservice Oct 31 04:36:38 well, gotta list the service in the manifest Oct 31 04:36:45 g00s: checking, was "Cracking the Coding Interview" the book you recommended? Oct 31 04:36:46 i think you are struggling from not reading :) Oct 31 04:37:17 capella whatever the latest book from that lady was Oct 31 04:37:43 that sounds like it though Oct 31 04:37:47 i'll try that, last time I made a service, I didnt have to add it to manifest Oct 31 04:37:48 I hate how Eclipse opens "import" blocks every time I change branch in Mercurial. Oct 31 04:37:54 I have to collapse manually. Oct 31 04:38:02 * g00s strangles TacticalJoke Oct 31 04:38:04 thanks g00s Oct 31 04:38:08 i'll read up Oct 31 04:38:20 so next best thing is your peers? just seems a lost cause, and can come off as not so good. as the ones you express your feelings are others just like you. so its just kinda a circlejerk. shit happens. dont expect you are the first and only, just expect in of the day you can get stuff done. be a positive to your peers, dont try to start a lynching mob Oct 31 04:39:00 oh so you cant say how much would be a fair price to post on craiglist? Oct 31 04:39:20 no idea :( sorry Oct 31 04:39:31 i wouldnt know how much hours it would take. I assum 25hr would be sufficient? Oct 31 04:39:35 cool Oct 31 04:39:39 thanks anyways Oct 31 04:40:18 the android BLE is pretty crazy, so expect lots of problems Oct 31 04:40:39 xD yeah Oct 31 04:40:44 definitely not for the faint of heart :) Oct 31 04:40:47 my device on BT works great Oct 31 04:40:57 but unforuntely iphone doesnt support bt v2.1 Oct 31 04:41:01 so i have to upgrade it Oct 31 04:41:33 g00s: if you wanna see it here it is Oct 31 04:41:35 http://www.youtube.com/watch?v=G-1y5b-LNrc&list=UUDAQzdS27QXAiA5qz2Mttmw Oct 31 04:41:51 i remeber you helping alot earlier this year Oct 31 04:41:56 and i got it working just find Oct 31 04:42:00 but no iphone support Oct 31 04:42:09 hello Oct 31 04:42:14 whatitis: Fair point. Oct 31 04:42:15 is it worth learning iOS Oct 31 04:42:41 Depends on how you define 'worth'. Oct 31 04:42:49 :) Oct 31 04:43:57 when the ListView is long enough to scroll the innermost relativelayout will notshow up - http://pastie.org/9687036 - any idea why? Oct 31 04:45:46 jareddlc nice video :) Oct 31 04:45:50 i liked the music :D Oct 31 04:46:07 haha thanks, my brother made the music. Oct 31 04:46:14 hehe, yeah credits at the end Oct 31 04:49:00 oh i did have a service in my manifest :| silly me Oct 31 04:49:07 for my old service :) Oct 31 04:50:02 and My old service was why the DOT before bluetoothLeService? Oct 31 04:50:21 shmoon_, problem is listview is a consumer of space. unless you specify it to be above something it will just take it all Oct 31 04:52:03 if chatbox is alignparentbottom, set your listview above it, and remove chatbox below your listview Oct 31 04:54:41 whatitis: i am a little confused Oct 31 04:54:54 so i added layou_above for listview and remove layout_below for relativelayout Oct 31 04:55:08 then it was giving me error on runtime so i moved listview below relativelayout in the code Oct 31 04:55:19 it worked but then the chatBox is stuck (fixed) at the bottom of the screne Oct 31 04:55:25 i want it to be at the end of listview Oct 31 04:56:48 does that make sense? Oct 31 04:56:54 yes Oct 31 04:57:38 but, setting a view below listview only works if listview doesnt reach or exceed height of parent Oct 31 04:58:08 you have to set a limit on the listview by putting it above whatever is below Oct 31 04:59:16 wait Oct 31 04:59:24 so how you go about that is up to you. but listview has to be set to above X Oct 31 04:59:44 we playing red light green light? Oct 31 05:01:28 lol no Oct 31 05:02:02 so i add layout_above to lisview and remove layout_below from relativelayout Oct 31 05:02:07 the thign is I get this error then Error:(26, 35) No resource found that matches the given name (at 'layout_above' with value '@id/chatBox'). Oct 31 05:02:27 wondering why Oct 31 05:02:32 to be honest I have no idea the workings of why, but view.below listview, with listview having wrap_content or match_parent if listview grows it eats all space pushing anything set to view.below"listview" out Oct 31 05:02:34 seems like moving listview below relativelayout fixes it Oct 31 05:03:16 that error isnt related to what ive said Oct 31 05:03:44 thats a syntax error Oct 31 05:04:35 might need the + with id Oct 31 05:04:56 ya adde d+ and fixed interesting thing Oct 31 05:05:27 makes sense as you are trying to reference before it was defined Oct 31 05:05:44 yeah Oct 31 05:05:47 so here's my new code buddy http://pastie.org/9687052 Oct 31 05:05:52 and i dont see the listview anymore :S Oct 31 05:06:35 should scrollview height be wrap_content to start with Oct 31 05:07:32 I need to see a screenshot or mockup of what you are wanting Oct 31 05:08:10 main thing is understanding listview needs set above whatever you want below it Oct 31 05:08:12 so basically i want listview that lists chat messages and right below the listview the relativelayout with chat box and send button Oct 31 05:08:19 yah i got that Oct 31 05:08:27 Hi all, I currently have a ListActivity and am trying to update it via a BaseAdapter which I extended in another class. In that class I am overriding getView(...) and for some reason cannot manage to return a correct Layout which the ListAdapter will accept. I'm getting the error: android.widget.RelativeLayout$LayoutParams cannot be cast to android.widget.AbsListView -- has anyone seen Oct 31 05:08:28 something like this? Oct 31 05:08:33 jareddlc: it's a relative reference to the declared package in the manifest Oct 31 05:08:42 is this a dialog or activity? Oct 31 05:08:45 thx JakeWharton Oct 31 05:08:45 currently what I get is this http://puu.sh/cxggF/65ad09ddd0.png Oct 31 05:08:47 activity Oct 31 05:08:58 im just curious why not having the dot worked before Oct 31 05:09:04 i read docs saying it should have the dot Oct 31 05:09:04 JakeWharton: halp me knio's friend :D Oct 31 05:09:16 so listview somewhat gets hidden Oct 31 05:09:21 or removed from the activity Oct 31 05:10:09 shmoon_ in that screenshot, do you have messages for the listview to fill? Oct 31 05:10:19 cause its wrap content Oct 31 05:10:19 zamN: pastebin your adapter Oct 31 05:10:30 whatitis: yup Oct 31 05:10:39 there's ana adapter that fills in message Oct 31 05:11:01 shmoon. if activity, just set listview match parent Oct 31 05:11:03 whatitis: if it helps adding android:layout_alignParentBottom="true" to RelativeLayout pushes it to the bottom of the scren and shows up the listview with content Oct 31 05:11:19 JakeWharton: http://privatepaste.com/c6d87949e3/jake Oct 31 05:11:19 but then it is fixed to the bottom which is not what i want, i want it below the listview relatively Oct 31 05:11:35 JakeWharton: On line 66 is where I get the exception Oct 31 05:11:38 keep align parent bottom, and set listview match parent Oct 31 05:11:56 layout width/height set to match_parent on listview doesn't seems to help either Oct 31 05:12:14 repaste what you are using Oct 31 05:12:27 oh god i'm an idiot. JakeWharton: You can disregard whatever i wrote Oct 31 05:12:33 Line 81... Oct 31 05:12:49 just seems wrap content on listview in activity creates tons of whitespace Oct 31 05:13:56 and a bunch of redraw relayouting if adding 0-x items in listview Oct 31 05:14:01 whatitis: http://pastie.org/9687065 - all good except the relativelayout being stuck at the bottom. I want to see it only after the entire listview has been scrolled Oct 31 05:14:20 or actually have it stuck at bottom by default but when enough scroling is there show up in the end of the listview Oct 31 05:14:25 ugh, samsung announces even more phones Oct 31 05:14:30 to be honest id remove the scrollview too Oct 31 05:15:00 I think I used a scrollview because later I'll insert a ViewPager too Oct 31 05:15:11 as thats what your listview is for, everything else should be static Oct 31 05:15:19 actually viewpager was there but then that is another big issue, it wont scroll with viewpager, so I removed that to first fix this and then get onto that Oct 31 05:18:00 Is there any issue with "getActivity().getLayoutInflater.inflate()" inside a DialogFragment.onCreate callback? Oct 31 05:18:06 seems pretty complicated Oct 31 05:19:07 is there some affordance to show letting people know they can swipe to refresh ? Oct 31 05:20:01 not really sure i like this thing Oct 31 05:23:16 if you use the new PTR layout and start with the progress visible it hides in a way that conveys you can pull it back down Oct 31 05:25:05 shmoon. its not. on this tablet I cant get a working edit. but remove scrollview. set parent relativelayout height match_parent, keep listview above chatbox, remove listview below pager. keep chatbox alignparentbottom, so should be listview takes all space minus chatbox wrap contented on bottom Oct 31 05:25:11 JakeWharton so i would do setRefreshing(true) for perhaps a 500ms and then set it to false ? Oct 31 05:25:23 hm, thanks will try Oct 31 05:28:27 whatitis: ya so the chatbox is anchored at the bottom right ? Oct 31 05:28:56 I'm kinda disappointed that protected members in Java have package accessibility. Oct 31 05:29:11 yes. Oct 31 05:29:29 I don't want the anchoring to happen when listview is long enough to scroll. Oct 31 05:29:39 i want it to place itself below the listview Oct 31 05:29:43 its an activity layout, so use it all. Oct 31 05:30:10 shoom? is long enough or when not long enough Oct 31 05:31:10 so when there are 3 list items its too short. let the chatbox anchor at the bottom. when list view has 30 items too long user can scroll. then let the chatbox not be anchored but places below the listview. so in order to reach there user will have to scroll downa nd then type message. Oct 31 05:32:00 shmoon, so if 1000 items, you want your user to scroll 1000 items to sends a message? Oct 31 05:33:30 I dont like that, if you are wanting something like that, you should either add the chatbox above listview, or make chatbox a floater Oct 31 05:35:05 anyone know of a 3d lib like three.js that can be deployed on android and won't melt my brain cells like opengl Oct 31 05:35:19 good point, I'll go with the floater for now :D Oct 31 05:35:43 how do you change toolbar title text color (g00s) Oct 31 05:35:46 :) sorry that took so long. I misunderstood Oct 31 05:35:57 no man thats cool Oct 31 05:36:30 I'll do some changes and come back with the next difficult question which I haven't been able to solve. Which is when i place viewpager above listview i cant scroll the view pager along Oct 31 05:36:35 scrollview only works on listview Oct 31 05:38:08 shmoon_, its gonna come down to getting the layout right for your situation. so just nail down a format you want Oct 31 05:38:32 ok Oct 31 05:38:40 JacobTabak hmm, dunno gotta probably look at the attrs Oct 31 05:38:48 found it i think Oct 31 05:38:51 titleTextAppearance Oct 31 05:39:08 JacobTabak is there a titleTextColor ? Oct 31 05:39:13 that would be too easy Oct 31 05:39:22 lol Oct 31 05:39:40 eh? http://pastebin.com/Wysbfqdg Oct 31 05:39:55 shmoon_ it maybe as simple as just getting pen and paper and just sketching roughly want you are wanting, then implementing it to mobile Oct 31 05:40:12 used a different version of the class during pre-validation? what? Oct 31 05:40:12 wow, looking through the code for SwipeRefreshLayout - this is pretty hairy. i thought there would be a set of drawables but seems everything is done programatically Oct 31 05:41:31 swipe or pull? Oct 31 05:41:51 g00s: figured out my issue, it was the service in manifest, additionally i had a contructor in my service Oct 31 05:41:56 which i needed to remove Oct 31 05:42:26 g00s you mean bulltorefresh? Oct 31 05:42:47 jareddlc glad you figured it out Oct 31 05:42:47 g00s, if you want to incorperate pulltorefresh and swipe to delete you may have a bad time Oct 31 05:43:00 hm Oct 31 05:43:10 unless you look at the source for gmail if there is one Oct 31 05:43:16 or the notifications bar Oct 31 05:43:55 yeah i've got the source for gmail right here ... Oct 31 05:44:44 heh i sense soem /s Oct 31 05:46:22 soem :) Oct 31 05:46:57 I have a little problem with my test setup. I have a logger that I created as a library. I would like to use it in my test project and the project that I'm testing. It seems that I can't do that with setup A: project and project_test both reference the logger. Or B: project is a library which references the logger, project_test references project Oct 31 05:47:08 I get unable to install apk for the project Oct 31 05:47:08 goddamn toolbar Oct 31 05:47:15 in case B Oct 31 05:47:21 case A gives me http://pastebin.com/Wysbfqdg Oct 31 05:48:16 case B works if I uncheck "is library project" and install the apk, but then i have to recheck it and then run the test.. doesn't seem right. Oct 31 05:48:36 so now im forced to add my address even if im indie? i dont want people looking for my ugly building on street view Oct 31 05:48:40 got it Oct 31 05:48:42 little biatch Oct 31 05:49:40 humm not required Oct 31 05:50:04 cliffreich only if paid Oct 31 05:50:04 oops, fixed it. Oct 31 05:50:33 did not like Log.i(Converter.class.getSimpleName(), text); Oct 31 05:50:37 had to use Log.i("Converter", text); Oct 31 05:50:44 ... silly Oct 31 05:51:03 pull to refresh/endless list are not hard ideas. pull to refresh, add touch events to listview if listview.getfirstvisibleposition==0 && yDifference==X, refresh. endless list add scrolllistener, if visible+currentvisible == total refresh Oct 31 05:51:25 g00s ohh Oct 31 05:51:28 have you made one whatitis? Oct 31 05:51:55 iirc there is a conflict inside those methods, might be resolved by now Oct 31 05:52:02 the new one doesn't push the content down, i think the old one did Oct 31 05:52:02 pull to refresh/endless? yes Oct 31 05:52:10 oh no Oct 31 05:52:14 fuck it, rm -fr /pull/to/refresh Oct 31 05:52:25 ptr + swipe to delete Oct 31 05:53:13 have you seen iOS? where you swipe and it gives the element some padding on the right or left and reveals a button Oct 31 05:53:14 they are seperate entities Oct 31 05:53:26 yeah but gmail has it. Oct 31 05:53:29 ptr is listview, swipe delete is ite Oct 31 05:53:37 item Oct 31 05:55:29 youd set a listener on your item for swipe to whatever. pull to refresh is specific to listview not item Oct 31 05:57:43 I'll give it a go but I haven't seen it and I specifically remember seeing a post about how someone tried to do that and it blew up Oct 31 05:58:10 maybe i dont remember correctly or they were doing it wrong Oct 31 05:58:32 the events trickle down. so if im at layer listview item, and I detect a swipe to whatever, you eat that event, if it doesnt relate to a gesture you pass it along Oct 31 06:14:28 JakeWharton i guess with the new SwipeRefreshLayout, calling setRefreshing(true) shows the disc behind the actionbar :D Oct 31 06:14:42 have to use setProgressViewOffset Oct 31 06:33:03 * capella-s3 not sure Amazon will ever give my credit card back Oct 31 06:34:21 Test run failed: Instrumentation run failed due to 'Process crashed.' Oct 31 06:34:22 wtf Oct 31 06:35:21 nothing in my logcat :/ Oct 31 06:37:38 my logcat got the trace. my bad Oct 31 06:38:15 whered you even get what you got? Oct 31 06:39:56 how do you get plugins in intellij Oct 31 06:41:24 lol this method name in recyclerview: 'considerReleasingGlowsOnScroll()' Oct 31 06:43:50 JacobTabak how are you liking recyclerview so far Oct 31 06:44:13 better question: how do I pull and merge changes to a git repo from inside intellij? Oct 31 06:44:27 tricknology do that shit from the command line :) Oct 31 06:44:32 ew Oct 31 06:44:44 but changes are reflected in intellij or do i have to close that? Oct 31 06:44:51 they are reflected Oct 31 06:45:04 i'd close all the buffers though :) Oct 31 06:45:11 shouldn't matter Oct 31 06:45:11 eclipse is better here with egit Oct 31 06:45:31 i just wates 30 mins on that :( Oct 31 06:45:35 wasted Oct 31 06:46:51 Hmm Oct 31 06:47:03 So actually its not possible to have any view below a ListView Oct 31 06:47:07 is what I realized Oct 31 06:47:32 what does that mean Oct 31 06:48:08 Like say I have a listview that's longer than the viewport, hence need to scroll to view the last item. I cannot have other Views below that Oct 31 06:48:20 If I do, then they show up when listview is short and doesn Oct 31 06:48:25 't requires scrolling Oct 31 06:48:36 but once its longer than the viewport's height they dont show up Oct 31 06:48:44 g00s i like it Oct 31 06:48:50 i can't figure out why the scroll psoition is always returning 0 Oct 31 06:48:52 its driving me nuts Oct 31 06:49:12 JacobTabak this? http://www.reddit.com/r/androiddev/comments/2kt9nr/recyclerview_sample_code_has_a_subtle_bug/ Oct 31 06:49:44 hehe Oct 31 06:49:54 that has nothing to do with scroll position Oct 31 06:50:25 i mean Oct 31 06:50:26 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, int position) { Oct 31 06:50:31 wouldn't common sense Oct 31 06:50:35 and a basic understanding of what a viewholder is Oct 31 06:50:44 no, what i am saying is once listview takes up entire screen space any subsequent items dont show up Oct 31 06:50:46 kind of make it pretty obvious that it's not actually a position Oct 31 06:50:59 subsequent views Oct 31 06:51:08 shmoon_: i understood, wasn't responding to you Oct 31 06:51:50 makes no sense Oct 31 06:51:56 i have an on scroll listener Oct 31 06:51:59 dy > 50 Oct 31 06:52:05 i can see it scrolling Oct 31 06:52:05 JakeWharton: oh sorry ok Oct 31 06:52:10 yet scrollY = 0 Oct 31 06:52:37 and for some reason the sources don't show up Oct 31 06:52:40 JacobTabak: does it maintain scroll position itself rather than delegating to View? Oct 31 06:53:02 JakeWharton possibly, but i'm scouring the api and i can't find anyhting Oct 31 06:53:29 i can't find the sources in m2repository anymore Oct 31 06:53:45 which is really just an inconvenience Oct 31 06:54:11 JacobTabak: BTW, the second parameter in onCreateViewHolder is not position Oct 31 06:54:16 that's what i'm saying Oct 31 06:54:25 it surprised me that someone spent 4 hours trying to figure that out Oct 31 06:54:42 when it seems obvious that position wouldn't be passed into the onCreateViewHolder method because viewholder is position agnostic Oct 31 06:54:52 Ah :p Oct 31 06:55:22 SimonVT a while back you wrote that post "12 easy steps ... crashlytics"; has the setup improved since ? Oct 31 06:55:53 No idea, I haven't needed to create a new user since Oct 31 06:55:57 i used the IDE plugin for Fabric Oct 31 06:56:06 it was surprisingly not the end of the world Oct 31 06:56:14 we're all still here \o/ Oct 31 06:56:20 yeah but it was close Oct 31 06:56:25 and i found three bugs which i reported Oct 31 06:56:41 of course it puts an icon on the toolbar which is the only way you can interact with it Oct 31 06:56:44 Forced plugins needs to die Oct 31 06:56:56 ain't nobody got room on the screen for that stupid toolbar Oct 31 06:56:56 Add value and people will use them Oct 31 06:57:24 the plugin is nice for gradle Oct 31 06:57:30 you can upload distributions from cmd line Oct 31 06:57:36 that's like when i see people with the stupid mac dock taking up like 15% of their vertical real estate Oct 31 06:57:38 not the die plugin tho Oct 31 06:57:42 ide* Oct 31 06:57:57 you're on a 11" mac book air and wasting like 1.5" of vertical height on a stupid dock Oct 31 06:58:06 anyway, i digress Oct 31 06:58:16 where were we... view holders Oct 31 06:58:42 scroll position Oct 31 06:58:44 RAGE Oct 31 06:58:52 where are my sources Oct 31 06:59:34 found you Oct 31 07:00:06 Scroll position on adapter backed views aren't really possible Oct 31 07:00:16 I wonder whether its the same with a grdiview too or not Oct 31 07:00:17 wat Oct 31 07:00:19 GridView Oct 31 07:00:24 it' always worked on listview Oct 31 07:00:38 You'll have to make your own assumptions based on the available data Oct 31 07:01:29 So I scroll to position 10, then change the data in items 1-9. What is the scroll position? Measuring the views is not possible Oct 31 07:01:51 SimonVT it can keep track of the offsets Oct 31 07:02:06 ie, scroll down dy of 50px Oct 31 07:02:09 it can keep an internal counter Oct 31 07:02:18 of how far i've gone Oct 31 07:02:28 i see what you're saying Oct 31 07:02:32 but thats why the scrollbars wobble around Oct 31 07:02:35 on listviews Oct 31 07:02:40 Pretty sure that's what the scroll listener does Oct 31 07:02:42 doesn't mean that scroll position just doenst work Oct 31 07:02:50 Then it resets once released Oct 31 07:03:04 Or something like that Oct 31 07:03:39 i guess i'll just use stuff like first visible position Oct 31 07:03:40 instead Oct 31 07:12:46 That's the only reliable way Oct 31 07:21:15 Hi Oct 31 07:21:59 I know this is a java question regarding jsonobject.For example I have 5 students with each a roll number belonging to a class Oct 31 07:22:23 I want the final data in a jsonobject like this {Name:"ClassRoom",{Roll No:1,name:"pet"},{Roll No:2,name:"Net"},{Roll No:3,name:"John"}} Oct 31 07:23:13 can I get a smaple to start up? Oct 31 07:23:17 sample Oct 31 07:34:12 haha, -25 votes "I hope somebody will make Basic available for Android. It's way better that Go. One of the most successful computer languages of all time. Sadly ignored nowadays." Oct 31 07:36:40 visual basic for android? hmmm....... Oct 31 07:36:51 * ggVGc implements BASIC in lua for android Oct 31 07:39:19 psh, basic... shoud have gone for LOGO Oct 31 07:39:46 nah, lisp Oct 31 07:42:42 you mean like this? https://play.google.com/store/apps/details?id=info.gomi.android.lisp.islisp Oct 31 07:45:36 cute Oct 31 08:06:10 good day cyborg warriors of information Oct 31 08:22:13 Someone worked with Amazon sns ? Oct 31 08:25:34 good my app is receiving 500 (Internal Server Error) Oct 31 08:25:56 why do people with shitty servers provide API's Oct 31 08:26:08 blank page scared the hell out of me Oct 31 08:29:49 hi sarbs Oct 31 08:33:38 Hi all, anyone know tutor to completly clean install or uninstall ADT + Eclipse on Mac OS ? Oct 31 08:45:45 and now twitter is down Oct 31 08:46:06 it's me or this is the end of the world Oct 31 08:46:45 twitter is fine Oct 31 08:46:49 its your connection? Oct 31 08:47:27 is youtube app installed in all android devices? Oct 31 08:47:28 im having 500 internal server error with everything Oct 31 08:47:45 damn Oct 31 08:48:18 sometimes twitter load but if i try to post then 500 Oct 31 08:49:29 sounds like a proxy issue Oct 31 08:50:23 or a MITM issue :O Oct 31 08:50:33 because no proxy Oct 31 08:51:44 PEBKAC? :p Oct 31 08:52:50 wait my phone is having some 500 errors too, so it's my network Oct 31 08:53:36 heheh :P Oct 31 09:02:41 buddies Oct 31 09:02:42 droidconuk hype? Oct 31 09:06:27 storkme: Gutted I can't be there this year, some good talks last year Oct 31 09:07:08 I see they are livestreaming the auditorium talks though which is nice Oct 31 09:10:23 Hi Oct 31 09:12:19 I porting a AOSP and I try to configure the wifi and ethernet each network work Oct 31 09:13:00 but I can't activate the too network at same time Oct 31 09:13:43 I try to used "radioAttributes" in config.xml but nothing Oct 31 09:46:51 hi guys, i want to build a vertical layout (text items on top of each other) and then via drag resize each individual item, what would be the best way to do this? can it be done with a listview? should i create a custom view (based of a layout)? Oct 31 09:52:47 so is a po box ok to get around having to provide my home address on google play? Oct 31 09:53:29 should be Oct 31 09:54:16 cool because i really don't like the idea of my address being public for paid apps Oct 31 09:54:19 :) Oct 31 09:55:00 man Oct 31 09:55:17 where would i decalre $whatever so that jenkins automatically installs the extra-android-m2repository ? Oct 31 09:55:22 some guy just asked me to take a picture of him with chet haase Oct 31 09:55:25 with an iphone Oct 31 09:56:58 lol Oct 31 09:57:10 thana: i alsways manually download the sdk and point jenkins to the sdk dir Oct 31 09:57:24 * monsti is a control freak Oct 31 09:57:29 iphone users should be execute Oct 31 09:57:40 Contrecto: iChaired Oct 31 10:03:09 monsti: im an automatation freak ;) Oct 31 10:05:13 well - autochanging underwar would rock - but the sdk e.g. for API 15 is quite a constant ;) Oct 31 10:08:27 autochanging underwear??? Oct 31 10:09:00 monsti: not if you want to be able to be able to compile it on at least 10ths of computers ;) Oct 31 10:10:42 wow - what a buildfarm ;) Oct 31 10:12:01 not really. our devs should be able to build the projects and the jenkins machines will be killed from time to time Oct 31 10:12:46 put the sdk on a network drive Oct 31 10:12:57 so you save us all the bandwidth Oct 31 10:14:41 let me check my setup .... Oct 31 10:15:45 i think i am a pussy and use some enviornment variables for the sdk - but i might be wrong Oct 31 10:20:18 hi Oct 31 10:20:58 I have a scrollview > viewpager + textviews - I cannot scroll by placing finger on the viewpager but when i try to drag the extra area it scrolls fine Oct 31 10:21:20 i wonder whats going wrong Oct 31 10:23:21 maybe the viewpager is overriding the ontouch from the scrollview Oct 31 10:23:43 *touch actions Oct 31 10:23:54 I haven't specified any onTouch event listener on ViewPager - maybe thats how android behaves behind the scenes - is it fixable? Oct 31 10:25:48 i have a very ugly idea Oct 31 10:26:05 viewpager.requestDisallowInterceptTouchEvent(false); Oct 31 10:28:10 i tried that on scrollview, nothing had happened. will try on viewpager too wait Oct 31 10:28:42 actually this is what i had/have scrollView.requestDisallowInterceptTouchEvent(true); Oct 31 10:29:00 cliffreich: so what you gave, i should put that in viewpager.setontouchlistener right ? Oct 31 10:29:30 ok this works :D Oct 31 10:29:37 why is it ugly, it works great Oct 31 10:29:56 oh ok Oct 31 10:30:23 yeah setontouch with your custom actions Oct 31 10:30:47 i had an uglier version as it was a complex sittuation with some views, so i remembered as ugly Oct 31 10:31:40 heh Oct 31 10:32:09 have you used this app called hot or not? Oct 31 10:32:44 is there documentation about what the project.properties might contain? Oct 31 10:32:50 nope Oct 31 10:33:02 I want to replicate its UI, no idea how it'd be possible Oct 31 10:33:52 so it has a slideshow of images, you can swipe horizontally. and then below each image there's a favourite (heart) icon. when you swipe up the image fades out into nice gradient and you see a block of it at the top with the heard button. while scrolling up a new white screen comes up where it gives further details which is scrollable. Oct 31 10:35:00 sounds like a nice UI. ill check it Oct 31 10:36:02 as my UI had some bad opinions :/ Oct 31 10:43:30 hey guys, been researching all day, trying to decide what I should use to connect to a http server by 'get' that pushes updates down 1 connection that it never terminates. it can be terminated on sleep / out of focus etc, that's fine. looked at a number of ajax libs, but not sure. Oct 31 10:49:03 like websockets or long polling? Oct 31 10:52:54 oddalot, long polling.. think that's the one that client requests by http then server keeps it open and when it feels like it, it posts data... then it terminates... Oct 31 10:53:19 I mean each time it posts it just adds to the data the client gets, and never closes. Oct 31 10:54:07 the server in this case sends ":" or ": -1" every few seconds to keep it open. Oct 31 10:55:33 need a http get method that has "on data arrival" callback that runs for each group of data received, without forcing it to close. Oct 31 10:57:24 AndroidAsync = the nearest I can find, but still not sure how I would use it to do that, examples of such behavour online seem sparse... and hard to find when I don't know the exact terminology for it. Oct 31 10:58:06 Hello guys I am trying to implement https://gist.github.com/slightfoot/d7fb255d6f4d3d43def8 Oct 31 10:58:13 this one in a FragmentActivity Oct 31 10:58:34 but when I try to access getContext in my performClick method Oct 31 10:58:48 I don't get an activity but a ContextThemeWrapper Oct 31 10:59:14 which lead me to the fact that it's because I am setting a custome theme in the application tag Oct 31 10:59:54 JakeWharton, I saw you had a similar problem in Sherlock https://github.com/JakeWharton/ActionBarSherlock/commit/904a6acb7d4b4da772747d14ee01bb65f70455f5 Oct 31 11:00:05 did you manage to come to a solution Oct 31 11:16:16 this is really weird Oct 31 11:16:43 im having a null error right here, but i dont know any other way to check if the values are null http://pastebin.com/qwa53nkc Oct 31 11:16:46 any idea? Oct 31 11:17:15 error is Fatal Exception: java.lang.NullPointerException Oct 31 11:17:31 Java arrays can have null values Oct 31 11:17:32 i even tried with length, null, object check Oct 31 11:17:36 cliffreich, result array itself can be null and by default the ELEMENTS will be null as well Oct 31 11:17:49 cliffreich, and you're most likely calling isEmpty on an element you never set the value to Oct 31 11:18:24 humm i thought that i checked that with if(result!=null) Oct 31 11:18:52 cliffreich, how did that check if the result[0] is null or if the result[1] is null? Oct 31 11:19:05 cliffreich, use the debugger Oct 31 11:19:10 inspect the values. Oct 31 11:19:18 its not me, its some user phone Oct 31 11:19:28 only 1 Oct 31 11:20:00 oh well, the DoInBackground only produces String[] with empty values "" or usable values Oct 31 11:20:07 so thats why i think its weird Oct 31 11:20:37 obviously it doesn't. Oct 31 11:20:49 you're most likely not initializing the values in the array. Oct 31 11:21:07 wait, maybe thats true. sec Oct 31 11:28:11 i have a single return new String[]{val1,val2}... ill check every item from source if exists and if its not empty before Oct 31 11:28:43 and now the array is initialized with empty values as "","" always Oct 31 11:28:52 and assigned later Oct 31 11:30:15 so postexecute cant never get an unexpected val Oct 31 11:30:21 i hope Oct 31 11:35:23 Or just null check before calling methods Oct 31 11:38:32 i had that, thats why it normally works or it'll disable that function if null Oct 31 11:38:53 but that singler user made me think something is different so better triple check Oct 31 12:17:52 I have the following code: Oct 31 12:17:55 Spinner lStringSpinner = (Spinner) getView().findViewById(R.id.mystringspinner); ArrayAdapter lStringAdapter = (ArrayAdapter) lStringSpinner.getAdapter(); Oct 31 12:18:17 How can I program the second bit without getting a warning? Oct 31 12:18:17 that's nice Oct 31 12:18:51 I get the warning Type safety: Unchecked cast from SpinnerAdapter to ArrayAdapter Oct 31 12:18:56 barq: don't Oct 31 12:19:08 don't what? Oct 31 12:19:24 if you've used setAdapter(adapter);, just keep a reference to it Oct 31 12:20:42 "it" being what? Oct 31 12:20:48 the adapter Oct 31 12:21:16 or have you assigned the values in xml? Oct 31 12:23:00 No I used setAdapter in onCreate Oct 31 12:23:08 onCreateView* Oct 31 12:23:23 then set it as a class variable in your activity or fragment Oct 31 12:23:31 yeah? Oct 31 12:23:43 OK, thanks. Oct 31 13:17:01 I've managed to kill android studios nice meta-folders, is there any way to get them back? I now see each individual res folder, and my manifest isnt in a manifests folder and my gradle stuff is amongst everything else :? Oct 31 13:26:57 bpye: multiple res folders? O.o Oct 31 13:27:06 like values, values-v11 Oct 31 13:27:07 etc Oct 31 13:27:20 whats wrong with that? I see them all the time.. Oct 31 13:27:23 Whereas before each resource was shown and it told me the version in brackets next to the name Oct 31 13:27:25 Nothing wrong Oct 31 13:27:32 It was nicer before though Oct 31 13:27:40 that sounds like it is a view setting somewhere Oct 31 13:28:15 screenshot? Oct 31 13:28:37 but dont ask me how to set that. seems like what you dont want to see is default in my intellij ^^' Oct 31 13:29:06 sounds like it could be the difference between gradle 0.12 and 0.13? not sure. Oct 31 13:29:40 for me it sounds like its just a view setting that makes AS/intellij hide the folders. Oct 31 13:31:15 cryptojuice: Thing is, it was working, I accidentally did a hard shutdown and now it's not Oct 31 13:31:29 Bigger problem I'm having is I can't get my nav drawer under my status bar Oct 31 13:32:55 bpye: android 5.0? Oct 31 13:33:19 Yeah Oct 31 13:33:26 with a custom toolbar? Oct 31 13:33:53 Yep Oct 31 13:34:07 https://gist.github.com/benpye/c9aaa4c7ba02632a1fb1 Oct 31 13:34:18 Almost verbatim from the stack overflow in Google's blog post Oct 31 13:34:27 your toolbar is inside of the navdrawer Oct 31 13:34:31 If I apply the red bg to the parent linearlayout, it renders below the status ... Oct 31 13:34:45 No it's not? Oct 31 13:34:58 http://stackoverflow.com/questions/26440879/how-do-i-use-drawerlayout-to-display-over-the-actionbar-toolbar-and-under-the-st Oct 31 13:35:00 it is. root layout is navdrawer, inside is the toolbar Oct 31 13:35:22 Following the post that the blog post gave a link to Oct 31 13:35:57 this guide shows how to have the navdrawer OVER the actionbar Oct 31 13:36:16 so its hidden if drawer is shown Oct 31 13:36:44 if you want it to always stay on top, you have to put it out of the drawerlayout Oct 31 13:36:59 Huh no, I want it over the action bar and under the status bar Oct 31 13:37:06 http://1.bp.blogspot.com/-Ychs6FLcjGA/VE6og8WgM9I/AAAAAAAAA78/uSFiUm5V8kM/s400/drawerlayering.gif Oct 31 13:37:29 oh well. i misread status and actionbar ;) Oct 31 13:37:52 so your problem is its over the actionbar but doesnt overlap with status bar? Oct 31 13:38:22 ewww, why does it have to go under status/notification bar? Oct 31 13:38:44 Because that's what Google seems to think best Oct 31 13:38:52 ewww Oct 31 13:39:16 bpye: dont discuss design descissions with ravilov, please :D Oct 31 13:39:47 ewww Oct 31 13:39:47 it may has something todo with translucent mode? dont know... Oct 31 13:39:54 havnt done much with toolbar yet Oct 31 13:40:45 As it said, https://gist.github.com/benpye/c9aaa4c7ba02632a1fb1 puts the red background behind the status bar Oct 31 13:40:48 I'm a little confused Oct 31 13:41:15 there's the google way, and then there's the sane way :p Oct 31 13:42:20 bpye: have you disabled the Material theme's status bar coloring as told? Oct 31 13:42:40 trying to use custom styles for my textedit, textSelectHandleLeft does not seem to work on 4.4, but it works on 4.3? any idea why? Oct 31 13:43:02 true and @android:color/transparent in my style yeah Oct 31 13:43:09 you have it in values-19 folder? ^^ Oct 31 13:43:39 mh. no idea. sorry Oct 31 13:44:22 using a tool.. it does have a kitkat checkbox.. let's just check it Oct 31 13:44:40 "a tool"? Oct 31 13:44:56 'android holo colors generator' plugin Oct 31 13:45:20 Ew and my CAB is now broken Oct 31 13:45:30 what compatility did you check osxorgate? Oct 31 13:45:39 11+ Oct 31 13:45:44 When my contextual action bar is enabled I get two of them Oct 31 13:46:29 bpye: you should completly disable the native actionbar when working with toolbars Oct 31 13:48:50 i think it's just htc's silly skin that must be messing with it Oct 31 13:49:00 works fine in other 4.4 emu Oct 31 13:50:09 oh well.. the glory custom shit of HTC and samsung... :/ Oct 31 13:52:52 Hmm Oct 31 13:52:59 Going being the status bar makes such little sense for my add Oct 31 13:53:01 app* Oct 31 13:55:10 how to visualise 'distance' in an icon? i can sort alphabetically, and for distance Oct 31 13:57:21 mh. maybe some kind of map-like icon? Oct 31 13:59:30 osxorgate depth/distance Oct 31 13:59:48 bi-directional arrows in perspective that are opposed ? Oct 31 14:00:00 perspective? i have ↔ Oct 31 14:00:13 http://unicode-table.com/en/search/?q=arrow Oct 31 14:00:32 well hard to ascii perspective , but i mean …well 1 sec Oct 31 14:02:40 ugh, cant find example, a 3 quarter shot on 2 opposed arrows using about 45" fov in 3d Oct 31 14:02:45 if that makes sense :) Oct 31 14:03:03 suppose I could do one in photoshop to show you…but bit busy atm Oct 31 14:03:34 i think i understanmd Oct 31 14:03:58 maybe i should just use a walking guy Oct 31 14:05:58 thats an act/action/intent rather than a unit/static blaa (not a awake) Oct 31 14:06:13 may work though Oct 31 14:06:31 it's a toggle between alphabetical and distance Oct 31 14:06:42 so 'a-z' and Oct 31 14:06:48 would work, i reckon Oct 31 14:07:14 or maybe a shoe Oct 31 14:09:35 Guys anyone an idea. Got class that extends another. Overwrite some methods but Android doesn't come in the overwritten one.. Oct 31 14:11:00 Click66: must be that you're incorrect about something ;0 Oct 31 14:11:06 which method it it Oct 31 14:11:16 An own created method Oct 31 14:11:28 why would android call it Oct 31 14:12:18 what does this code do exactly, am a little confused - mViewPager.requestDisallowInterceptTouchEvent(false); Oct 31 14:13:21 osxorgate: because when I click on a button this method is called in the base activity then it prints a log statement but in the overwritten function it doens't Oct 31 14:13:39 well lets see the activity Oct 31 14:14:12 iosched has the status bar as translucent when the nav drawer is out Oct 31 14:14:14 But I can't see how Oct 31 14:14:51 osxorgate: this is the base http://pastebin.com/qNEffuZu Oct 31 14:15:28 osxorgate: this the extended one http://pastebin.com/mGYGq53H Oct 31 14:16:38 and the method in question is? Oct 31 14:18:44 @Override Oct 31 14:18:44 public void submitClicked(String mail) { Oct 31 14:19:56 who should call it ? is it 'onClick' in xml? Oct 31 14:20:45 don't use xml bound onClick Oct 31 14:20:57 OMG thnx. He forgot butterknife :p Oct 31 14:21:02 Is it possible to set Compiler compliance level in Android Studio? There is only one compiler tab in Android Studio which is Gradle. Oct 31 14:21:32 donniezazen_, set it in your gradle script Oct 31 14:22:39 pfn: So can I run any supported version of Java for Android Studio and still point gradle to use any other Java version? Oct 31 14:23:29 osxorgate: it's still incorrect. In my fragment I've got a Butterknfie onclic method and via an interface back to the main activity. Oct 31 14:24:07 Yeah I can get teh drawer under the status bar but I can't work out how the iosched app then darkens the status bar from transparent to a translucent black Oct 31 14:24:14 pfn: Since JDK 7 is going to reach EOL in April, Fedora 21 has removed it from its repos. I am currently running Android Studio with Oracle JDK 8. It works fine. I was just thinking maybe I should set compliance level to 1.7. Oct 31 14:24:40 donniezazen_, yes Oct 31 14:26:14 EOL already? java8 was released less than a year ago... Oct 31 14:34:13 pfn: I think April 2015 for general users. Oct 31 14:42:02 And im still on java 1.6 ... LD Oct 31 14:43:13 you are soooo old!!! Oct 31 14:43:37 newer is always better! Oct 31 14:43:44 software-hipster ^^' Oct 31 14:44:18 * monsti has a virtual CPU that works with air Oct 31 14:44:45 i think wnat i need and some LSD pills gives me pictures Oct 31 14:44:53 Can I have two launcher Icons that open the same activity with another fragment? Oct 31 14:45:16 mine works with electricity.. Oct 31 14:45:19 :D Oct 31 14:45:32 ralala: create a derived activity Oct 31 14:46:51 But then I might get multiple instances of that activity Oct 31 14:47:11 how is that a problem? Oct 31 14:47:21 My app just has one activity and several fragments Oct 31 14:47:48 yes thats no answer to my question ;) Oct 31 14:48:09 Well, I will try it :-) Oct 31 14:48:51 Can I also modify the name that appears in the task manager? Or is it always the launcher label? Oct 31 14:49:40 I'd like to have a launcher "App" and a launcher "Chat" which both open my App, but the Chat launcher should open the chat fragment Oct 31 14:50:05 And in the task manger they should be just named "App", not "Chat" Oct 31 14:55:08 the label isn't the launcher label Oct 31 14:57:48 hey, I need a bit of help with android studio and gradle Oct 31 14:58:00 doesn't everyone Oct 31 14:58:54 is there anyway to compile against a custom sdk Oct 31 14:59:29 for example, if I'm writing an app for a custom ROM, can I use their private APIs in android studio? Oct 31 15:00:47 pfn: which one is it ? Oct 31 15:02:12 ralala, damned if I know, but it's not necessarily the launcher label Oct 31 15:10:52 Hi, Oct 31 15:11:16 everyone afk Oct 31 15:11:31 hi Oct 31 15:11:47 whats up devs. u lost in code Oct 31 15:11:56 yepp Oct 31 15:12:02 but not android code Oct 31 15:12:07 why not Oct 31 15:12:14 then what Oct 31 15:12:42 something i don't really like Oct 31 15:13:11 thats coding, we don't like it but its addicting :D Oct 31 15:13:47 aliasc: I like coding Oct 31 15:13:56 i like coding. but it depends in what you code Oct 31 15:13:59 me too. except when it gets messy Oct 31 15:14:06 aliasc: I dislike debuggin a 4.0.3 htc device that got ~0 ram Oct 31 15:14:13 i like coding. why am i still a deep fryer operator, then Oct 31 15:14:35 Sculptor: Get a degree or something then? Oct 31 15:14:35 i get frustrated when i have to deal with multiple screen resolutions Oct 31 15:14:49 how will degree help me to code better Oct 31 15:14:56 Mrdarknezz, i was just kidding anyways Oct 31 15:15:10 college didn't help me at all. Oct 31 15:15:10 Sculptor: A job will probably improve your coding skills Oct 31 15:15:32 damn those material design animations look wonderful but i dont have any idea about how to make them Oct 31 15:15:40 coding will improve your coding skills Oct 31 15:15:47 i have 28 subordinates atm, but i think that i'll quit my job in a month or so Oct 31 15:15:49 usually companies don't hire juniors. Oct 31 15:15:51 a job makes no difference, other than possibly peer review Oct 31 15:16:24 because i've had it Oct 31 15:16:37 i have experience in php for over 3 years and companies don't like me because i never worked with team Oct 31 15:17:07 develop a dual personality and code in team Oct 31 15:17:53 true Oct 31 15:17:54 that is a really good idea. except that you then also go to a interview as a team Oct 31 15:18:06 i hate being someone else Oct 31 15:18:53 aliasc: but you are someone else Oct 31 15:19:12 thats recursive :D Oct 31 15:20:06 why i always have problems with different resolutions. whats the best approach to target multiple resolutions Oct 31 15:21:26 aliasc: sorry no idea. so far i only needed one resolution Oct 31 15:25:01 hi. I'm working my way through a "halloWorld" example. When I hit the "Run" button in eclipse I got this error: Errors running builder 'Android Package Builder' on... sun/security/x509/X500Name". I've read it could be related to the Java SDK. How do I point eclipse to my own JDK? Oct 31 15:31:55 Has anyone cross compiled LiME (Linux memory extractor) with an android kernel ? Oct 31 15:41:26 so I added this line to eclipse.ini: -vm C:\Users\.....\eclipseAndroidSDK\adt-bundle-windows-x86_64-20140702\eclipse\jre\bin\javaw.exe and restarted eclipse. Still the sun/security/x509/X500Name error :( Oct 31 15:45:17 anybody? Oct 31 15:49:11 crippa: you could try it in #eclipse Oct 31 15:52:58 danijoo_: what do you mean? Oct 31 15:53:05 ahh sure.. thanks Oct 31 15:54:34 what do you guys think about this: Oct 31 15:54:48 http://img-9gag-lol.9cache.com/photo/aKgGxBZ_460sa_v1.gif Oct 31 15:54:51 phonebloks Oct 31 15:56:13 happy halloweenie Oct 31 15:59:17 project ara? Oct 31 15:59:22 yes Oct 31 15:59:30 looks pretty good Oct 31 15:59:35 can kill smartphones of today Oct 31 16:00:16 as long as the crease doesn't show Oct 31 16:01:27 well im sure there will be a cover Oct 31 16:01:30 back cover Oct 31 16:03:35 i cant run my damn robolectric tests in intellij since fabric Oct 31 16:03:41 y u do this twitter Oct 31 16:13:01 pifon, why don't you link to the actual video, and not to a crappy gif? https://www.youtube.com/watch?v=4qsGTXLnmKs Oct 31 16:13:02 @JacobTabak: clearly the next lib for fabric is testing. step 1) break all competitors Oct 31 16:15:32 <|jemc|> I'm deploying a set of *.so libraries as part of my package. They are linked against eachother when building. The second library (libczmq.so) depends on the first (libzmq.so). At runtime, I see the error: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "zmq_z85_encode" referenced by "libczmq.so"... Oct 31 16:15:38 <|jemc|> However, in the debug output, I see that libzmq.so was already successfully loaded Oct 31 16:15:45 <|jemc|> and on my local machine I can run `strings /path/to/android/libzmq.so | grep zmq_z85_encode`, and it is in there Oct 31 16:16:16 <|jemc|> what other issues might cause the symbol not to be found? what should I look for / try? Oct 31 16:17:22 <|jemc|> full runtime output here: https://gist.github.com/jemc/f03e952bf393d9af9d26 Oct 31 16:22:05 <|jemc|> (I've been able to successfully deploy other interdependent libraries to packages in the past using this same process) Oct 31 16:22:28 Errors occurred during the build. Errors running builder 'Android Package Builder' on project 'halloWorld'. sun/security/x509/X500Name Oct 31 16:22:34 any idea? Oct 31 16:23:10 it pops up as I click on "Run as.." Oct 31 16:23:51 #eclipse they say it's android related... Oct 31 16:34:00 x509 is related to SSL I think Oct 31 16:35:09 maybe a certificate thing with your signing key? Oct 31 16:37:45 how do I check? Oct 31 16:38:09 idk I use AS Oct 31 16:38:13 are you using a signing key? Oct 31 16:38:14 is there a keyring conf in eclipse? Oct 31 16:38:24 not that I know.. Oct 31 16:38:39 ^^' Oct 31 16:38:52 not working with eclipse too, so im not a big help i think Oct 31 16:39:17 thyanks Oct 31 16:41:08 those materials guides makes me dizzy... too many tips about everything Oct 31 16:41:22 and not enough code examples.. Oct 31 16:41:28 ^ exactly Oct 31 16:41:39 i'm not the only one ? :) Oct 31 16:43:12 My alarm is set immediately, why? Oct 31 16:43:32 time to wake Oct 31 16:43:55 http://stackoverflow.com/questions/26666491/notification-and-alarm-is-called-immediately-why Oct 31 16:44:07 Hi everybody Oct 31 16:44:27 I wanted to know if is there a way to pin a textview in a scrollview Oct 31 16:45:01 what do you mean by pin? Oct 31 16:45:26 Mugwump101, I mean when the user scroll down my textview stays visible Oct 31 16:47:04 I'm not sure (Haven't done it before) but what about something like this? Oct 31 16:47:06 http://stackoverflow.com/questions/13277785/how-to-have-a-fixed-footer-with-scrollview-in-android Oct 31 16:51:01 Mugwump101, gonna check that thank you Oct 31 17:08:19 i am getting a nullpointer excpetion inside my fragment when i call getActivity() Oct 31 17:08:36 only happens when getActivity() is called from inside an Async callback Oct 31 17:08:42 which lives in my fragment Oct 31 17:08:45 any suggestions ? Oct 31 17:08:51 check if its null :D Oct 31 17:09:06 that will be $2 Oct 31 17:09:44 check if getActivity() returns null ? Oct 31 17:10:09 yeah. the async could be done after the activity is destroyed Oct 31 17:11:02 if its a fragment and asynctask is a nested class you may want a constructor passing the activity to asynctask instead trying everyhintg from inside. just a guess... Oct 31 17:11:23 asynctask is not nested Oct 31 17:11:37 Can someone give a suggestion how i can implement a widget whose buttons have quite complex functions to perform? unfortunately the remoteviews are very limited Oct 31 17:11:56 ive thought about a service, and then calling it with a string parameter for telling it what to do Oct 31 17:12:06 the pass it using constructor anyway Oct 31 17:13:50 oh wait i misread Oct 31 17:14:02 you call getactivity from fragment callback Oct 31 17:14:38 does setting the title of an activity destroy it ? Oct 31 17:16:31 yeah. thats why we never set titles Oct 31 17:17:03 Hey, I'm new to mobile and was working on a chat app for fun using Cordova. I want to push notifications when the app may be minimized and whatnot, and it seems that the only way to do this is via some remote server. Is it possible to push notifications without that? Why are push notifications a special case compared to, say, alerts? Oct 31 17:17:29 asdfasdf_: you need a server Oct 31 17:18:41 danijoo: What happens if the user has his phone off for instance when the server sends them a message? Oct 31 17:21:04 google keeps them Oct 31 17:21:23 theaphone A sends the message to your server Oct 31 17:21:32 your server makes a push query to google Oct 31 17:21:49 google caches the message and makes sure that its delivered when the device goes on Oct 31 17:22:02 for more: https://developer.android.com/google/gcm/index.html Oct 31 17:22:20 there are alternative services but i'd go with google Oct 31 17:27:56 anyone have good experiences using LuaJ on Android ? Oct 31 17:30:44 a while back i wanted to make my app extensible with either JS or Lua; i abandoned that but its in the cards again now :) Oct 31 17:30:47 Card ... Oct 31 17:30:48 ha ha Oct 31 17:30:48 ha Oct 31 17:37:13 hey they finally fixed this :D (attr in selectors) https://code.google.com/p/android/issues/detail?id=26251 Oct 31 17:37:32 bummer it took 2 years Oct 31 17:38:28 AS 0.9,0 is out ! Oct 31 17:38:57 oh yeah? Oct 31 17:39:19 also new support library Oct 31 17:39:22 \o/ Oct 31 17:39:34 gaaah Oct 31 17:39:35 retarded gradle Oct 31 17:39:49 do they do release notes on the support lib? Oct 31 17:39:50 danijoo: Will google still deliver the message from its cloud thing even if the phone is disconnected but has WiFi? Oct 31 17:40:24 JacobTabak lol, you are joking right Oct 31 17:41:07 that will come sometime before the next release :) Oct 31 17:41:23 except for people in wisconsin Oct 31 17:42:02 I guess I'm just trying to understand what's better; if google sends messages out of order for instance, the chat won't have a true representation of the conversation as it happened. Should I simply send a notification like "Hey there's some message(s)" and then query my server for the "canonical" chat so to speak or is it going to deliver everything in order 99 times out of 100? Oct 31 17:42:24 (query my server once the user opens the app, that is) Oct 31 17:45:53 oh i guess a new gradle too. i think i should wait :) Oct 31 17:47:57 mult-dex support Oct 31 17:49:05 extensible with lua is a pain, since you need to bridge jni Oct 31 17:49:12 extensible with js is easy, because rhino is an option Oct 31 17:49:16 luaj doesn't require that Oct 31 17:49:22 oh, is there a luaj now Oct 31 17:49:36 anyway, if I were to pick, I'd say js, because you have more familiarity with it across the board (users) Oct 31 17:53:20 capella does moz have any plans to continue maintaining rhino? it hasn't been updated since 2012 and with Nashorn ... Oct 31 17:54:35 i don't expect the users to be programmers, it will be very simple extensibility. so it comes down to which of the 2 provides better support for numerical computing wrt datatypes, supplied functions, etc Oct 31 18:00:38 come on google, can you provide sdk 23.0.5 direct download so out of the box its not updating itself ... Oct 31 18:06:17 hi Oct 31 18:08:53 hm, does build-tools 21.1 require gradle 0.14.0 ? Oct 31 18:09:19 whats new on build-tools 21.1 Oct 31 18:09:31 I want to check if the tilt angle has changed by more than 5 degress over the last 500ms, what would be an efficient way to do this, both memory and perofrmance wise? Oct 31 18:10:42 havv memory wouldn't be an issue Oct 31 18:11:43 reading the accelerometer does use power Oct 31 18:12:05 but, if you're only reading the values when your activity is running, it should be fine Oct 31 18:12:09 tilt would be gyro right ? Oct 31 18:12:17 nah accel Oct 31 18:14:04 gyro is rate of rotation Oct 31 18:14:32 JacobTabak, it also shows a preview of the camera Oct 31 18:14:37 like if you're standing in a circle and holding the phone in front of you and turning around Oct 31 18:14:52 er, standing and turning around in a circle Oct 31 18:15:14 havv its assumed that your app is going to use a lot of power while the camera and camera preview are on Oct 31 18:15:34 the accel will be negligible comapred to that Oct 31 18:16:11 JacobTabak, yeah, but it's not intended to be used without a power source nearby Oct 31 18:16:26 im not saying its a bad thing to use battery Oct 31 18:16:32 just dont use a lot of battery all the time Oct 31 18:16:35 like when activity isnt open Oct 31 18:17:17 so using a hashmap to store the latest values and check for changes should be fine? Oct 31 18:17:37 hmm not sure i would do that Oct 31 18:17:44 but if you do, you definitely want to sample it Oct 31 18:18:21 JacobTabak do you know to make listview animate the items when filling so it looks like they are coming from the bottom ? is there some simple thing to set ? Oct 31 18:18:40 listview? Oct 31 18:18:42 ha Oct 31 18:18:43 no Oct 31 18:18:48 :( Oct 31 18:18:52 use a recyclerview! Oct 31 18:18:56 meh Oct 31 18:19:06 i will literally do that Oct 31 18:19:06 in 5 seconds Oct 31 18:19:08 and make a video Oct 31 18:19:11 to show you how easy it is Oct 31 18:19:57 is there a way to make the AlertDialog.Builder to work as single threaded and wait for user response before executing the rest of code? cuz the setCancelable(false) didn't do the trick Oct 31 18:20:22 i'm not porting AbslistView.MultiChoiceModeListsner Oct 31 18:20:26 crazy_v_k no and you wouldn't want to do that Oct 31 18:20:48 crazy_v_k set an ondismiss listener Oct 31 18:20:58 oh Oct 31 18:21:26 if you're targeting lower API versions, you need to build the alertdialog first, and then add the ondismisslistener Oct 31 18:21:32 the api wasn't added to builder until recently Oct 31 18:22:02 Is there any way to clear all of my shared prefs? I have three different shared pref names so I have 3 separate files. Surely theres a way to just delete all of them without knowing all of their names... right? Oct 31 18:22:04 yeah I'm building for API 11 Oct 31 18:22:05 g00s, you can set animateOnLayoutChange. think if you want a custom animation, you gotta set it in code Oct 31 18:22:11 api 11?? Oct 31 18:22:15 haha.. Oct 31 18:22:19 nobody uses that Oct 31 18:22:23 whatitis ok thanks Oct 31 18:22:31 I mean to support from 11 to 21 Oct 31 18:22:52 g00s & whatitis you can't do a cascading animation Oct 31 18:23:25 if not 11 :) so what you suggest? Oct 31 18:23:40 15 Oct 31 18:23:48 16 i mean Oct 31 18:23:51 eghdk: Editor has a method for that Oct 31 18:24:08 crazy_v_k 16 has been out almost 3 years Oct 31 18:24:30 yeah, the tablets age :) Oct 31 18:25:02 SimonVT: clear()? Oct 31 18:25:50 so with API 16 I can find a better solution to deal with Single threaded dialogs right? Oct 31 18:25:53 I think clear() only works on a per sharedPrefs file basis. I want to delete all of my sharedPref xml files. Oct 31 18:26:21 crazy_v_k no, and you don't ever want a single threaded dialog Oct 31 18:26:37 you should do what i told you Oct 31 18:26:47 ondismiss Oct 31 18:26:49 yes Oct 31 18:27:07 thank you jacob :) I will try it now Oct 31 18:28:04 the only reason i mentioned api lvl is because http://developer.android.com/reference/android/app/AlertDialog.Builder.html#setOnDismissListener(android.content.DialogInterface.OnDismissListener) was added in API 17 Oct 31 18:28:22 but nothing stops you from building the alert dialog, setting the dismiss listener, and then showing the dialog, its just not as concise Oct 31 18:29:24 sure, thanks :) I'm working on it Oct 31 18:29:56 Hi everyone Oct 31 18:31:05 i want to display a url in my app, what do i use? Oct 31 18:31:29 using webview, it prompts to open the url using web browser - what's my way out? Oct 31 18:31:36 set a webviewclient Oct 31 18:31:39 to your webview Oct 31 18:32:25 ok, but what's a webviewclient? Oct 31 18:32:33 documentation Oct 31 18:32:56 http://stackoverflow.com/questions/7746409/android-webview-launches-browser-when-calling-loadurl Oct 31 18:33:04 JacobTabak thanks Oct 31 18:33:08 first result when googling "webview opens browser android" Oct 31 18:34:21 fancy a bum Oct 31 18:34:42 sorry, my girlfriend thinks she's funny :/ Oct 31 18:34:56 she is Oct 31 18:35:37 fancy a bum << Dunno. I'd have to see it first to know if I'd fancy it. Is she offering? Oct 31 18:37:46 are there release notes for build-tools anywhere at all ? Oct 31 18:37:59 gradle, check. as, check. Oct 31 18:38:04 build tools .. ? Oct 31 18:40:56 Right, I've got my nav drawer under my status bar, however, http://1.bp.blogspot.com/-Ychs6FLcjGA/VE6og8WgM9I/AAAAAAAAA78/uSFiUm5V8kM/s1600/drawerlayering.gif shows that the Google IO app tints the status bar when the nav drawer is under it, how is this achieved? I cannot find where this is done in the Google IO app's source :( Oct 31 18:42:01 iosched used to do it in a previouls build, haven't checked recently Oct 31 18:42:09 whatever the last release was it was undone Oct 31 18:44:05 Hm? Don't think so Oct 31 18:44:08 I built it just today Oct 31 18:44:10 Still there Oct 31 18:45:05 I thought I could use : requestWindowFeature(Window.FEATURE_NO_TITLE); after super.onCreate(savedInstance); but it crashes and I had to add it as first call inside onCreate. What I was doing wrong ? Oct 31 18:47:09 does anyone know how to change the delay for the Documentation popup in Android Studio v0.8.14? It is driving me friggin crazy! Oct 31 18:48:23 I tried to change Autopopup Documentation in ms to 10000 but it still pops up as soon as I hover over anything, disabling also doesn't do anything Oct 31 18:50:11 ok found it, Editor->Show Quick doc on mouse move that is set to 200ms Oct 31 18:59:04 how can I have notifications only go to a debug build of an application? Oct 31 19:02:12 Context has methods fileList() and databaseList(). Is there anything like this to retrieve all shared preferences? Oct 31 19:03:19 downloading AOSP again! Oct 31 19:03:36 should wait till lollipop probably but whatever Oct 31 19:04:32 JakeWharton is there any way to use Retrofit with extended Realm (database) class? Oct 31 19:04:45 i don't know what that means Oct 31 19:04:53 why would Retrofit care? Oct 31 19:05:23 JakeWharton not sure i tryed and i always get RetroFit error with message null Oct 31 19:05:36 tried what? Oct 31 19:05:58 JakeWharton: how kotterknife came to live? :) Oct 31 19:06:06 just an experiment? Oct 31 19:06:10 yes Oct 31 19:06:14 To put extended realm class as response. Oct 31 19:06:45 JakeWharton: just trying kotlin for fun, seems like nice language Oct 31 19:06:46 Hey guys, how's it going? Oct 31 19:06:52 what about dagger for kotlin ? Oct 31 19:06:55 gordon_: yeah it's pretty fantastic Oct 31 19:07:00 gordon_: annotation processing isn't supported Oct 31 19:07:12 yes, I've seen that on bugtracker... Oct 31 19:07:15 too bad Oct 31 19:07:46 ArcaneWater: Retrofit hands the HTTP response to whatever Converter you are using and that is responsible for deserializing the data into an object of the specified type Oct 31 19:08:13 so you should be figuring out how to configure Gson or whatever serializer you are using to work with whatever class types you are using Oct 31 19:08:20 hello guys, I developer in a samsung device, when it change the font the app crash when I back Oct 31 19:08:44 JakeWharton okay will do some work on thath to find solution. thanks :) Oct 31 19:11:25 oops, lookslike if you are using crashlytics, don't update to gradle 0.14.0 Oct 31 19:12:55 Context has methods fileList() and databaseList(). Is there anything like this to retrieve all shared preferences? Oct 31 19:14:04 JakeWharton: are you guys using robolectric daily ? Oct 31 19:14:09 yes Oct 31 19:16:22 :/ did "runProguard" property break for everyone with grade plugin 0.14? Oct 31 19:18:12 yes Oct 31 19:18:28 looking at the stack trace i'm thinking it may have something to do with Crashlytics. Oct 31 19:18:50 Afzal: are you using crashlytics? or just coincidence? Oct 31 19:18:57 it was funny reading a statement from an idea employee about AS; he said google made some changes to intellij - some good, some bad :) Oct 31 19:19:19 jaynewstrom, yup running crashlytics Oct 31 19:19:32 but tbh, I have quite a few libraries in there Oct 31 19:19:40 Afzal lol, did you read the google+ post ? Oct 31 19:20:10 fule 1: when a new thing comes out, check google+ for the pain-o-meter Oct 31 19:20:13 g00s, lol damn, which one? Oct 31 19:20:20 the tools one :D Oct 31 19:20:50 g00s, yeah, the release notes and the property name changes? yes Oct 31 19:21:17 Afzal: did you read the change log? Oct 31 19:21:49 JakeWharton, yup Oct 31 19:22:11 this page: http://tools.android.com/tech-docs/new-build-system Oct 31 19:22:46 "and if you are using third-party Gradle plugins" Oct 31 19:22:48 welp. Oct 31 19:22:59 I mean: " if you are using third-party Gradle plugins, they may need to be updated" Oct 31 19:23:00 welp Oct 31 19:23:01 Afzal https://plus.google.com/+AndroidDevelopers/posts/gvBK7fkYsR7 Oct 31 19:23:24 hahahaha noooooooo!! lol Oct 31 19:23:25 thanks g00s Oct 31 19:24:11 oh they seem to have updated the fabric plugin Oct 31 19:25:46 What are these Google APIs in SDK Manager for? I know Google APIs contains support for let's say Maps. There are Google APIs system images to test apps that use Google APIs. But How do you using Google APIs itself? Oct 31 19:27:28 just ignore them Oct 31 19:27:45 they're legacy infrastructure Oct 31 19:27:50 It works now! perfect! Oct 31 19:31:47 When using the Android SDK emulator to run a Cordova/PhoneGap app, say I make an field in the html of the app. When I click (tap?) on it in the emulator, I can enter via my keyboard. Does this mean that if it were on an actual device, a virtual keyboard would pop up or not? Oct 31 19:35:07 g00s: Not sure when the last Rhino update was ... asking around re: Nashorn but I'd guess you're right Oct 31 19:37:40 capella yeah if you hear anything let me know; seems lots of bitrot Oct 31 19:45:01 This lack of status bar darkening is annoying :( Oct 31 19:45:38 agreed Oct 31 19:46:01 bpye status bar darkening ? Oct 31 19:46:49 http://1.bp.blogspot.com/-Ychs6FLcjGA/VE6og8WgM9I/AAAAAAAAA78/uSFiUm5V8kM/s1600/drawerlayering.gif translucent status bar over nav drawer Oct 31 19:47:21 oh interesting Oct 31 19:47:33 oh that's not what i thought we were talking about Oct 31 19:47:42 that GIF isn't hard to do Oct 31 19:47:54 Yeah but I have no idea how it's done :( Oct 31 19:48:05 Huh, how is that done then? Oct 31 19:48:23 overlay view same height as status bar with translucent black Oct 31 19:48:27 I've been looking through the google io app for how it does it and nada Oct 31 19:48:27 then just draw everything underneath Oct 31 19:48:41 I am, but if you look it's status bar is a dark overlay over the nav drawer Oct 31 19:49:10 yes, that's what i described Oct 31 19:50:52 https://lh6.googleusercontent.com/-9MLKW9CQDWM/VFPn7j3y4uI/AAAAAAAAAI8/RafQmOWrOVg/w192-h320-no/2014%2B-%2B1 Oct 31 19:50:56 You sure? Oct 31 19:51:24 yes, you are missing the overlay view with transparent black Oct 31 19:51:30 whose height matches the status bar Oct 31 19:52:30 I can't see where in the IO app they are doing that however, that would work I admit I just kinda expected a better method Oct 31 19:53:00 why? the status bar draws over everything Oct 31 19:53:01 Would someone care to assist me in getting up and running with the Android SDK? Oct 31 19:53:27 you could probably also set its background to 0x66000000 and let it do all the work for you Oct 31 19:54:30 i assumed you wanted to darken the contents of the status bar which is much more interesting Oct 31 19:54:57 Except they are setting the status bar to transparent and getting that effect, it also fades to an overlay Oct 31 19:55:13 no it doesn't Oct 31 19:55:22 it's always translucent and they just draw purple behind it Oct 31 19:55:26 the combination of colors makes a darker purple Oct 31 19:56:22 Actually maybe you're right Oct 31 19:58:26 Nirvash: if you're talking about basic setup you're better off looking at the docs. if you have a specific problem then just ask :) Oct 31 19:59:49 gsteinert: Okay, thank you; I've tried this abotu 400 times and just have a hard time with the process Oct 31 20:00:06 "Tablet segmentation data available Now you can filter your app statistics by tablet size. " finally Oct 31 20:00:42 Nirvash: how are you going about setting up? are you using eclipse, android studio, netbeans? Oct 31 20:01:09 JakeWharton: https://github.com/google/iosched/blob/dfaf8b83ad1b3e7c8d1af0b08d59caf4223e0b95/android/src/main/res/values-v21/styles.xml#L33 ? Oct 31 20:02:15 ffs! just spent half an hour trying to work out why AS wouldn't recognise my phone... apparently it won't work if the cable is hanging halfway out of the port on your dock! stupid cheap ebay crap! Oct 31 20:03:26 g00s: source? Oct 31 20:06:54 yiati for? Oct 31 20:07:06 The last thing you said Oct 31 20:07:18 Tablet segmentation data Oct 31 20:07:25 oh the tablet fragmentation - yeah its a notification in dev console Oct 31 20:07:32 look at the megaphone Oct 31 20:07:43 Ah okay I see, cool Oct 31 20:08:19 i'd rather see it has a pie chart of all the different screen sizes though Oct 31 20:08:35 but this is a start i guess Oct 31 20:09:03 shit almost 1/2 of my users are on tablets, better get cracking on that :D Oct 31 20:09:18 didn't know if it was worth it until now i guess Oct 31 20:10:56 bpye: that sets it to fully transparent. They might set it programmatically elsewhere. Oct 31 20:14:12 Ooooo.. Spain got a Google tax Oct 31 20:16:06 that oughta end well Oct 31 20:21:38 JakeWharton: Yeah I guess, for now I've just added a rectangle to the top of my drawer that's grey Oct 31 20:23:42 gsteinert, monoprice micro usb 28/24 awg cables! Oct 31 20:24:53 Afzal: the cable wasn't the issue, it's the dock I've got - doesn't take much to knock the cable out of the back Oct 31 20:25:14 ah Oct 31 20:42:49 so how is eeryone? Oct 31 20:44:17 <|jemc|> When using System.load() to load *.so files, is there anything special I have to do to get the *.so files to share functions with _eachother_? Oct 31 20:49:32 gsteinert: So do you have to install the ADT plugin if you download the Android SDK? Oct 31 20:52:15 Nirvash: it depends what program you want to do your development in? Oct 31 20:52:51 Honestly, I don't know =/ I just need to create a basic app that takes user input, concatenates it, and creates a file with .vcf extension Oct 31 20:53:17 is there a way to make SwipeRefreshLayout show a horizontal bar rather than spinning circle ? Oct 31 20:53:56 Nirvash: it's worth spending some time working out which environment you are comfortable in... have you done any Java development before? Oct 31 20:56:14 gsteinert: Very little honestly, but I can learn on the fly if need be... out of curiousity, what are my other options? 0_o Oct 31 20:57:13 Nirvash: the two main options are Eclipse (which you may have used before if you've done Java development) or Android Stuidio (build specifically for android development, but still in beta) Oct 31 20:57:32 Interesting, I hadn't seen Android Studio Oct 31 20:57:32 if you don't mind the beta state, Id recommend Android Studio - generally an easier setup Oct 31 20:57:45 Okay, I'm going to check it out now Oct 31 20:58:00 Nirvash: https://developer.android.com/sdk/installing/studio.html Oct 31 20:58:10 Installing now, thank you gsteinert Oct 31 20:58:39 no worries Oct 31 21:03:32 The Hudl 2 works with ADB. Oct 31 21:08:13 Do I need to install all SDK Platforms from minSdkVersion that my App intend to support? Oct 31 21:09:05 no, only targetSdk Oct 31 21:10:11 I recently saw something on Reddit that every Android developer should do. There was something that you should use to do web requests, anyone knows what it was? Oct 31 21:11:03 thats Mucho vaque Oct 31 21:12:59 g00s: When I am testing my app with a lower API than targetversion, Emulator isn't going to be affected by unavailability of SDK Platform for that version? Oct 31 21:13:08 no Oct 31 21:13:30 you need images for all the platforms to test (on emu), but not SDKs Oct 31 21:14:21 Thanks. Oct 31 21:15:12 Big Nerd Ranch recommends installing all SDK platforms, emulator images and Google API for all versions going back to 2.2 Oct 31 21:15:21 lol Oct 31 21:15:26 I don't mind but that's a lot of downloading. Oct 31 21:15:54 they just say that because they are lazy; otherwise they would have to tell you which ones :) Oct 31 21:15:56 i only install what i need Oct 31 21:16:00 yeah Oct 31 21:16:11 That was probably good advice 3 years ago Oct 31 21:16:50 SimonVT: I would like to know why. Oct 31 21:18:30 Because it wasn't a lot to download Oct 31 21:20:19 Is same true for Google APIs? I mean just get the one from latest API version. Oct 31 21:20:37 If you need to build against it, sure Oct 31 21:22:06 Is Android emulator + Google APIs same thing as Google API System image? Oct 31 21:23:21 No Oct 31 21:23:39 does nayone build against google apis? Oct 31 21:23:52 i didn't even know what it was :| Oct 31 21:23:55 it was useful for the old MapVIew Oct 31 21:24:01 maybe some other things Oct 31 21:24:10 like not even google uses those build targets :P Oct 31 21:24:15 They should kill the build target Oct 31 21:25:59 hmm http://stackoverflow.com/questions/26491689/how-do-i-declare-an-extended-height-toolbar-action-bar-on-android-lollipop Oct 31 21:26:25 something is seriously wrong when framework devs are posting and answering their own questions on SO instead of just documenting it Oct 31 21:33:46 back in the olden days - pre Toolbar (PT) - there was no choices to make; you set hasOptionsMenu(true) in a fragment and inflated AB stuff in the onCreateMenu(). now i'm trying to decide for reusability, if its best to stay that way or have the toolbar in the fragment's layout. but for scenario where fragment is alone in Activity, who then calls setSupportActionBar() and when ... it would have to be after the fragment was added to the view hierarchy Oct 31 21:34:29 and then of course the activity has to know it needs to do this at all which is lame Oct 31 21:36:48 toolbar split actionbar anyone? Oct 31 21:37:27 Use two toolbars Oct 31 21:37:35 how to style it though Oct 31 21:37:41 what style attr Oct 31 21:37:52 g00s he's a developer advocate so it's kind of his job to convey this information in accessible ways Oct 31 21:38:17 JacobTabak d.android.com is pretty accessible Oct 31 21:38:28 Find out what style the actionbar uses, use the same Oct 31 21:38:31 but things cant get upvoted there Oct 31 21:38:42 the actionbar doesnt have centered icons though SimonVT Oct 31 21:38:44 and a split avtionbar does Oct 31 21:38:45 g00s, sorry. Just a good library to for web requests. Oct 31 21:39:12 developer.android.com could redirect to stackoverflow.com. :D Oct 31 21:39:22 i might have found it Oct 31 21:39:28 style="?attr/actionBarSplitStyle" Oct 31 21:40:21 hello, everybody! Oct 31 21:41:32 I have made some pretty simple app with SeekBar one month ago and now I can't remember what code really worked (cause I had a lot of trouble with seek bar, maybe it's different with another API, who would know) Oct 31 21:42:13 and now I desperately need seekbar again, but can't enable it Oct 31 21:42:52 I get the value on progress with: String.valueOf(progress) Oct 31 21:43:50 in other tutorials I've seen another approaches, like: p = progress; p contains the info now Oct 31 21:43:50 but that won't work here Oct 31 21:45:00 I'm not using a screen protector on my new tablet. #yolo Oct 31 21:46:56 TacticalJoke should't it have protection for tactical situations? Oct 31 21:47:23 TacticalJoke, please help me! You have helped me last time. I'm so confused. I understand the problem is minor thing. Oct 31 21:48:48 I need this: On seekbar changed, just display the value of it on TextView. Step = 5. Range 60 - 220 Oct 31 21:48:52 That is all Oct 31 21:49:05 Did you google? Oct 31 21:49:08 yes Oct 31 21:49:08 I've never used SeekBar. Oct 31 21:49:17 I even searched my another hard disk Oct 31 21:49:24 I have lost my project somewhere Oct 31 21:49:37 You should use revision control. Oct 31 21:49:37 only working thing I have is dev-app on tablet Oct 31 21:49:43 And push to BitBucket/GitHub/whatever. Oct 31 21:49:59 alexa, is there a callback/listener for onchange, if so do your work inside it Oct 31 21:50:00 if I could reverse the code of that my app Oct 31 21:50:34 alexa: Are you not using a revision-control system? Oct 31 21:51:22 http://paste.ubuntu.com/8766090/ Oct 31 21:51:45 revision control? I use logcat and console on eclipse Oct 31 21:52:13 AKA version control. Oct 31 21:52:23 Stuff such as Mercurial, Git, Subversion (ugh). Oct 31 21:52:33 alexa, is that not setting your textview with the progress value? Oct 31 21:52:36 I won't even mention CVS. Oct 31 21:52:37 Oops. Oct 31 21:52:40 <|jemc|> ugh... "Android versions before 2.0 behaved as if you always used dlopen(RTLD_GLOBAL); Android 2.0 and later behave as if you always use dlopen(RTLD_LOCAL)." Oct 31 21:52:49 <|jemc|> ttps://groups.google.com/forum/#!topic/android-ndk/PaRyodWf7jA Oct 31 21:53:23 alexa: You're the medical student, right? Oct 31 21:53:30 minSdk = 15 ... solved :) Oct 31 21:53:40 yes Oct 31 21:53:42 Haha. No wonder you don't use revision control. Oct 31 21:53:55 TacticalJoke,you remember me from last time Oct 31 21:53:59 Ya. Oct 31 21:54:10 alexa imagine you could roll back to any step in the surgery Oct 31 21:54:10 well, here is the hole story: Oct 31 21:54:27 does it involve moles? Oct 31 21:54:30 The guy who tried to bring an array to a list situation. Oct 31 21:54:36 lol Oct 31 21:55:12 This is gonna be a really dumb question... Oct 31 21:55:15 As I find little of my free time, I try to create some app that would help me to log blood pressure Oct 31 21:55:15 so I would be an app Oct 31 21:55:15 with 4-5 activities Oct 31 21:55:22 What's the best wallpaper size for a 1920x1200 tablet? Oct 31 21:55:39 so I worked about 2 months with this slow tempo Oct 31 21:55:43 1920x1200 ..? Oct 31 21:55:45 alexa, seekbar inherits progressbar, so set a limit, then on progress change you know where your at Oct 31 21:55:54 regan: Hmm, but what if I change orientation. Oct 31 21:56:13 then all bets are off Oct 31 21:56:31 Wait, I could just check the sizes of the preinstalled wallpapers. Oct 31 21:56:32 that means that I have made about 10 separate apps in which I learned how to: create and work with graph, with seekbar, more than one activity, layout in global, etc. Oct 31 21:56:43 even working with database Oct 31 21:57:05 You've made apps than I have, alexa. Oct 31 21:57:07 more^ Oct 31 21:57:23 Now, I'm so stupid that I've lost the project (the code) for seekbar exercise Oct 31 21:57:38 but the thing is that I still have the app for that installed in tablet Oct 31 21:57:44 it works Oct 31 21:57:59 I remember it took me so much time Oct 31 21:58:12 had to try minimum 10+ tutorials Oct 31 21:58:28 eventually I found the one that worked, thank God Oct 31 21:58:33 alexa, what is the issue with what you have now? its setting the progress value in textview correct? Oct 31 21:58:41 no Oct 31 21:59:03 it exits the app as I touch the "ball of the seekBar" Oct 31 21:59:08 or circle Oct 31 21:59:15 whats it doing then, is the listener not getting triggered Oct 31 21:59:24 crash? Oct 31 21:59:34 yes Oct 31 21:59:42 stacktrace Oct 31 22:00:05 but it shows the progress value if I type: String.valueOf(progress) Oct 31 22:00:19 I can't limit the steps Oct 31 22:00:43 Ooh, the Nexus 7 has 1920x1200. Can just google that. Oct 31 22:00:56 seekbar.setprogress() doesn't work Oct 31 22:01:50 what should be my next move/step ? Oct 31 22:01:52 stacktrace Oct 31 22:02:06 whats the error Oct 31 22:03:14 sisText.setText("" + maca); Oct 31 22:03:15 would work. sisText.setText(maca); Oct 31 22:03:15 wouldnt compile if maca is int Oct 31 22:03:27 it is int Oct 31 22:03:28 whoa Oct 31 22:03:31 ok Oct 31 22:04:14 funny thing is that maca.toString() doesn't also work Oct 31 22:04:24 The autocomplete for user defined variables is not appearing in Eclipse for my Android project. Can someone let me know what went wrong Oct 31 22:04:25 it says Oct 31 22:04:27 so is it not compiling or crashing? if crashing do you know how to read logcat? Oct 31 22:04:36 cannot invoke toString() to primitive int type Oct 31 22:04:39 maca.tostring? Oct 31 22:04:44 yea Oct 31 22:04:44 maca is int Oct 31 22:04:49 so to string Oct 31 22:04:50 exactly Oct 31 22:04:55 but it wont do that Oct 31 22:04:58 ok Oct 31 22:05:04 it compiles Oct 31 22:05:06 so adding "" + maca creates a string Oct 31 22:05:12 ok Oct 31 22:05:13 moment Oct 31 22:06:10 im at a lost right now with what your actual problem is, as there seems to be many Oct 31 22:06:30 omg, it works Oct 31 22:06:36 I'm so stupid Oct 31 22:06:58 what? Oct 31 22:07:03 TextView.setText(int) never works, but ("" + int) works. WHYYYYY? Oct 31 22:07:16 because it wants a string Oct 31 22:07:27 may I say something loud? Oct 31 22:07:28 That "" + nonString thing is ugly. ;| Oct 31 22:07:34 "" + anything creates a string Oct 31 22:07:35 Much better is String.valueOf. Oct 31 22:07:54 MAY I say something loud? Oct 31 22:08:01 you did Oct 31 22:08:04 may Oct 31 22:08:08 I hate JAVA! python is so much easier Oct 31 22:08:18 no variable defining Oct 31 22:08:42 alexa: I hate Python for that reason. :p Oct 31 22:08:45 many people hate what they dont understand Oct 31 22:09:03 Static typing makes things easy. The compiler finds a whole class of errors for you. Oct 31 22:09:16 well, here is the real world: Oct 31 22:09:34 MTV? Oct 31 22:09:58 Yes, there is some special region in my brain that remembers only faces, another region only voice, etc. Oct 31 22:10:19 its just the human brain. patterns Oct 31 22:10:28 Anyone still have prob with android studio?They got the image up but it a zip file odd. Oct 31 22:10:45 thats vague perl Oct 31 22:11:05 at the other hand, you can't say that one thing belongs to only one part of the brain, so one Stimulus (variable) could be of multitype Oct 31 22:11:24 so, variable is a variable Oct 31 22:11:27 that simple Oct 31 22:11:33 whattitis,That the prob i can't install it. Oct 31 22:11:40 alexa, so is your problem resolved for now? Oct 31 22:11:47 anyway, thank you guys! Oct 31 22:11:52 whatitis, for now, it is solved Oct 31 22:11:59 thanks! Oct 31 22:12:18 perlsyntax, just extract to where you want it, run it? Oct 31 22:12:33 alexa: Different objects have different types. A number is not a piece of text, just as a house is not a car. Oct 31 22:12:34 i can run it but i can't find the sdk file. Oct 31 22:12:45 it doesnt contain it Oct 31 22:12:49 I think... Oct 31 22:12:51 You can convert between numbers and text, though: String text = String.valueOf(number); Oct 31 22:12:52 right Oct 31 22:13:14 so dl the sdk seperate, or point it to your location Oct 31 22:13:16 that the odd part. Oct 31 22:13:25 TacticalJoke, you are right Oct 31 22:13:31 oh it is Oct 31 22:13:34 Just use Whatever.valueOf(). Oct 31 22:13:37 its on the site for the link that it doesnt contain it? Oct 31 22:13:45 atleast the 0.9 Oct 31 22:14:02 where would i get the sdk file now they change everything again. Oct 31 22:14:21 i check Oct 31 22:14:26 from google, do you already have sdks ? Oct 31 22:14:46 TacticalJoke, I'm referring to that the human created those categories like variable types. We are not sure if it's like that in nature (those categories are artificial) Oct 31 22:14:58 you'd probably use the sdk manager (either directly from what you downloaded, or via your IDE) to download the new SDK and build tools Oct 31 22:14:58 alexa: We are in nature. :) Oct 31 22:15:00 nope Oct 31 22:15:18 if you have none of the developer tools, developer.android.com is where to get them Oct 31 22:15:18 perlsyntax, just keep AS & SDK as seperate entities Oct 31 22:15:44 alexa: IMO, there's no difference between "natural" and "artificial". Oct 31 22:16:03 A human building a computer is as natural as a bird building a nest. The term "artificial" is totally arbitrary. Oct 31 22:16:49 perlsyntax, even when AS came bundled with the latest SDK, I always deleted it, and just pointed AS to my SDK location Oct 31 22:17:24 odd Oct 31 22:17:29 TacticalJoke, you are right again. I hate when people say:it's not natural. They have hell no idea what natural is. H20 is H20 doesn't matter if it falls from the sky or you create if with hydrogen and oxygen Oct 31 22:17:53 True. lol Oct 31 22:18:21 you say odd alot. are you understanding, or a bit confused? Oct 31 22:18:51 i just say that i can't find the sdk for android studio.Sorry Oct 31 22:19:05 i find the one for eclipse that it Oct 31 22:19:25 perlsyntax, just like java versions, you keep em in a known location and tell AS where to find. same with SDK, tell AS where Oct 31 22:19:43 i think i found it Oct 31 22:19:47 what are extended height app bars for? the example http://www.google.co.uk/design/spec/layout/structure.html#structure-app-bar seems superflous Oct 31 22:20:14 I'm still curious about my previous code. Could I extract it now from my tablet using adb? I only have it as app in tablet Oct 31 22:21:13 perlsyntax, what OS are you deving on? im on windows, I keep my sdk c:\android-sdk\ I always update there with manager. AS doesnt do my updating, but I let it know the location Oct 31 22:25:19 whattitis,I got it to work now and thanks. Oct 31 22:26:19 i thought it came with androd studio. Oct 31 22:27:56 think it used to, but only the latest api, so whatever was new, 19,20 etc. but just keep it separately maintained like java jdk and point AS to it Oct 31 22:29:36 i understand now:D Oct 31 22:29:41 :) Oct 31 22:34:51 alexa, your previous code is gone, you dont want to turn your apk into smali to try to retreive anything. just start keeping backups or use version control Oct 31 22:50:37 how to animate home as up visibilty in toolbar Oct 31 22:51:05 oh nice Oct 31 22:51:09 animatelayoutchanges works Oct 31 22:51:11 \o/ Oct 31 22:52:32 JacobTabak should be able to just set animatelayoutchanges in the manifest and have android animate all the things for free ! Oct 31 22:52:39 ha ha Oct 31 22:52:44 animateAllTheThings="true" Oct 31 22:55:15 what exactly is version control? Oct 31 22:55:15 btw, I managed to extract my own code Oct 31 22:55:18 APK extractor install on tablet Oct 31 22:55:24 moved it on PC Oct 31 22:55:35 is there a limit to so much animation of ever little thing? its nice to animate yes, but at what cost of battery? Oct 31 22:55:42 dex2jar Oct 31 22:56:27 procyon-decompiler-0.5.26.jar --> class to java Oct 31 22:56:28 :) Oct 31 22:56:47 Need to catch some slepp Oct 31 22:56:53 *sleep Oct 31 22:56:57 till later ;) Oct 31 23:01:03 I'm reading this article and I just want to confirm that what this person is saying is right. (http://www.piwai.info/android-adapter-good-practices/) Oct 31 23:01:25 He's saying that you should disable threading with an Adapter instead of using the ArrayAdapter which has locking. Oct 31 23:02:00 ive written a ton of different animations. but in the end I decided to just store em away in leu of longevity of battery. does google take battery into account causing so many redraws simply to create an organic interface. or do they only care about candy&a half life of 5hrs charge? Oct 31 23:03:20 muchoz, what is the real question? Oct 31 23:03:20 whatitis, they barely care. It's the manufacturer's part to build in a good battery. Oct 31 23:03:31 whatitis, is he right? Oct 31 23:03:50 right in disable threading? Oct 31 23:04:08 Yes Oct 31 23:04:44 without looking at link, you cant/shouldnt update backing array data off ui thread Oct 31 23:05:07 So he's right Oct 31 23:05:15 but you can make a copy of said data and manipulate in seperate thread and return a result Oct 31 23:05:16 He's saying you should only do it from the main thread Oct 31 23:05:40 The Adapter can be considered UI Oct 31 23:05:46 Only touch the UI from the UI thread Oct 31 23:06:17 Alright, thanks. Oct 31 23:06:18 so thread manipulation is usable, but with a copy Oct 31 23:06:43 I actually had one more question. Oct 31 23:06:56 youve hit your limit Oct 31 23:06:59 :p Oct 31 23:07:03 Alright, I'm out! Oct 31 23:07:09 jk Oct 31 23:07:12 haha Oct 31 23:07:14 Ofc, I'm typing :p Oct 31 23:07:56 Nvm Oct 31 23:08:02 Dumb question Oct 31 23:09:55 what is it? Oct 31 23:11:45 Nothing, I'm gonna watch a movie. Thanks. Oct 31 23:12:05 gl Oct 31 23:13:33 I'm struggling to build this android example app using gradle from the commandline: http://poly.morphism.org/paste/WzE I thought maybe I didn't have the right SDKs installed but I installed the API Level 20 SDK / build tools... how do I resolve such an error? Oct 31 23:14:29 your gradle is awry? Oct 31 23:15:46 im not an expert, com.android.support:support-v4:21.+. Oct 31 23:15:47 seems to be the problem? Oct 31 23:16:34 does anyone use android studio? Oct 31 23:16:48 whats that? Oct 31 23:17:18 ive heard of studio apartments... Oct 31 23:18:54 quick question, does anyone else breath air(oxygen)? Oct 31 23:20:02 whatitis: yeah, just not sure why that is :/ this is a google example too, so the build ought to be correct Oct 31 23:20:41 cn28h, post your gradle.build, others maybe able to assist Oct 31 23:20:42 s Oct 31 23:21:00 25 Oct 31 23:21:02 Do we have to declare an appropriate so that we don't have "Designed for phones" on Google Play? Oct 31 23:21:47 build.gradle* Oct 31 23:23:21 tactical, what has google told? not sure how it all works, but figured theyd be smart enough to read layouts Oct 31 23:25:10 seems like they are adding an extra layer if you define layouts+have to add what you support. thatd suck Oct 31 23:26:23 As far as I can tell, seems to be key. Oct 31 23:26:29 -n Oct 31 23:27:20 values such as large/xlarge etc seem dated with specifying widths etc Oct 31 23:28:00 wasnt that the old identifiers? Oct 31 23:28:24 not judging, just curious Oct 31 23:29:23 where is SimonVT, this dude work for google or a liason? Oct 31 23:31:22 Neither Oct 31 23:31:43 :) but you have answer? Oct 31 23:31:45 But supports-screens isn't really needed Oct 31 23:32:27 figured youd know Oct 31 23:32:43 http://poly.morphism.org/paste/raw Oct 31 23:32:53 those are the gradle scripts Oct 31 23:33:58 http://arstechnica.com/gadgets/2013/11/google-play-rolls-out-designed-for-phones-tag-of-shame-on-tablets/ Oct 31 23:33:58 cn28h does that dirs.each work? Oct 31 23:34:13 The screenshot from Google Play suggests that you have to specify largeScreens and xlargeScreens. Oct 31 23:34:28 that has 2013 Oct 31 23:34:40 maybe november Oct 31 23:35:16 sarbs: not sure.. I would hope so since this is the build provided by Google in their example Oct 31 23:35:24 qualifiers such as large, xlarge etc are deprecated Oct 31 23:35:25 I assumed the problem is actually with my environment Oct 31 23:35:30 hm, interesting Oct 31 23:35:44 i would have done it differently but always more than one way to skin a cat Oct 31 23:36:09 tactical, what is the heart of your question? Oct 31 23:36:26 How to avoid "Designed for phones" on a Google Play app listing. Oct 31 23:36:38 I just got my first Android tablet today. :) So I just found out about this "Designed for phones" label. Oct 31 23:37:01 are you defining your layout resources accordingly? Oct 31 23:37:38 I'm running into issues building with Android Studio 0.8.14. All of a sudden I'm getting Unable to locate a Java Runtime to invoke. errors Oct 31 23:37:49 if a layout-sw600dp is that designed for phone? Oct 31 23:37:55 Oh, it doesn't apply to my app. I haven't uploded any yet. Oct 31 23:37:59 But it applies to two apps that I use. Oct 31 23:38:23 Urgh. Not sure I like the animations in Reddit News. Oct 31 23:38:28 check the apk for resources Oct 31 23:38:30 When changing subreddit. Oct 31 23:39:09 Is android studio stable ? Oct 31 23:39:16 cobar, be as specific as you can Oct 31 23:39:45 aliasc, think its still beta, but usable if keen to things Oct 31 23:39:57 like for game development ? Oct 31 23:40:25 sure, if you can accept beta&still succeed Oct 31 23:40:26 Wow, everyone raved about how good Reddit News was. I'm not very impressed. Oct 31 23:40:34 It looks nice, but, damn, it's hardly as amazing as everyone said. Oct 31 23:40:36 I think you just have to provide tablet screenshots, then you're food Oct 31 23:40:39 Good Oct 31 23:41:04 Oh, okay. Oct 31 23:41:08 I don't use support-screens at least.. Maybe I should Oct 31 23:41:10 Tactical, then accept its failure, create your own and prosper :) Oct 31 23:41:16 (Can't seem to go straight to comments in Reddit News.) Oct 31 23:41:18 whatitis: :D Oct 31 23:41:21 That's my plan. Oct 31 23:41:27 whatitis: I closed and reopened the project and for whatever reason it's working now. Appears to be related to moving the SDK out of the OS X .app folder. I'll post the error message if it happens again Oct 31 23:41:35 An Android Reddit client without teh suck. Oct 31 23:41:50 aliasc: I've been using Android Studio for about 6 months, it works great most of the time Oct 31 23:42:43 I was kinda concerned that Reddit News would be tough competition for my client. Less concerned now. Oct 31 23:43:25 moreAnimations != better Oct 31 23:44:35 TacticalJoke, zero apps can be competition if they dont have your unique vision. out do them! Oct 31 23:44:51 That's very true. Oct 31 23:46:22 cobar, so you are good? Oct 31 23:48:29 whatitis: ok got it to act up. What I am doing is building a separate module using sh gradlew build from the command line and copying it to my main project Oct 31 23:49:02 whatitis: when I try and build the main project I get an error: Error:Execution failed for task ':app:preDexDebug'. Oct 31 23:49:02 > com.android.ide.common.internal.LoggedErrorException: Failed to run command: Oct 31 23:49:02 /opt/AndroidSDK/build-tools/21.0.0/dx --dex --output /Users/maxwell/Code/Android Projects/MuviChipPlayer-Android/app/build/intermediates/pre-dexed/debug/ChipTabSDK-70606ca279251c7f0b5a8e0e8a0aff68a59d4932.jar /Users/maxwell/Code/Android Projects/MuviChipPlayer-Android/app/libs/ChipTabSDK.jar Oct 31 23:49:02 Error Code: Oct 31 23:49:04 1 Oct 31 23:49:06 Output: Oct 31 23:49:10 Unable to locate a Java Runtime to invoke. Oct 31 23:49:12 oops sorry for spam Oct 31 23:49:31 ChipTabSDK.jar is my newly built module Oct 31 23:50:10 if it cant find java, then there is a linking error. as far as jre vs jdk, thats another path Oct 31 23:50:52 whatitis: any idea where I set the JRE path. If I run java -version from the command line it shows that the 1.7.0 JRE is installed Oct 31 23:52:36 to be honest I dunno. but running things in commandline are relative, so maybe position is issue Oct 31 23:52:55 java is located in /usr/bin/java, so I doubt it's a path issue Oct 31 23:53:14 if you can get as detailed as possible and paste what ypu are doing, others can help Oct 31 23:54:27 Well it's all build issues. I'm just pushing the Build arrow button and it's throwing that error Oct 31 23:54:36 how many versions of java are installed&what is /usr/bin symlinked to Oct 31 23:54:42 I've never had that issue with this project before but a lot has changed in Android Studio world Oct 31 23:54:59 why commandline and not ide? Oct 31 23:55:18 I am building the app in the IDE, but not sure how to get my module to build from the IDE Oct 31 23:55:47 any1 notice that the stop action stopped working in the newest android studio? Oct 31 23:56:04 I cant be of any help :/ but when others arrive they may Oct 31 23:56:19 actually, it's because the only way I know of to generate a JAR file is to do the command line build Oct 31 23:56:44 and I need a JAR file so that I have a module to copy into my app Oct 31 23:57:48 maybe try ##java but leave out android Oct 31 23:58:40 I dunno, it's building sometimes, I can live with that Oct 31 23:58:51 Hopefully 0.9.0 is stable soon and it fixes the prob Oct 31 23:59:22 soon? its out, if not stable itll become 0.9.1 :) Nov 01 00:02:21 Does anyone know how to install a custom watch face or have a reference to how to package one? I don’t have a default activity in either the mobile or wear modules so Android Studio doesn’t want to build and run it. Nov 01 00:02:49 I know I must be missing something obvious. Nov 01 00:15:49 custom watch face? you mean layout? Nov 01 00:16:55 android studio writes a lot to the file system, about 400MB in 15 minutes, and the project is very small. does anyone know how to reduce disk writes? Nov 01 00:17:30 cache or what? Nov 01 00:17:54 and memory or disk Nov 01 00:18:58 i don't know Nov 01 00:19:25 well, i'm talking about disk writes Nov 01 00:19:37 i checked with iotop Nov 01 00:20:02 couldn't identify to which files Nov 01 00:20:54 how is it affecting you? Nov 01 00:21:29 ssd expected life Nov 01 00:21:48 (sort of neurosis) Nov 01 00:22:31 400mB is alot, try to narrow it down of the why if you can Nov 01 00:25:30 maybe if in a system that limits based on priviledge, deny AS privilege Nov 01 00:26:19 or atleast find the disk I/o location and deny it and see what happens Nov 01 00:27:40 I'm refactoring some code, and I've found that, if I call "getActivity().getLayoutInflater.inflate(...)" in Fragment.onCreate, my code is much simpler. But is it okay to do this in Fragment.onCreate? Nov 01 00:28:39 does it work? if so let it go, then refactor based on knowledge Nov 01 00:28:51 It seems to work. Nov 01 00:29:43 ok, then if you cant refactor anymore and it works, whats the real question? Nov 01 00:29:51 "Does it really work?" Nov 01 00:30:00 "It seems to work here" doesn't say very much. :) Nov 01 00:30:31 but also one persons assumptions doesnt really work... Nov 01 00:30:57 what is your endga, e Nov 01 00:31:01 endgame Nov 01 00:31:31 whatitis: It's possible that calling "getActivity().getLayoutInflater.inflate" in Fragment.onCreate is a terrible idea. It might just work sometimes and crash at other times. Nov 01 00:31:36 what are you inflati g? Nov 01 00:31:45 An XML resource file. Nov 01 00:31:55 for the fragment? Nov 01 00:32:16 Yeah. Well, it's actually a DialogFragment. (I didn't mention that, to avoid confusion.) Nov 01 00:32:19 onCreateView is for that Nov 01 00:33:18 onCreate is more for hey, I just started this so lets intialiaze what I can without views Nov 01 00:33:43 Right. That's why I ask. lol Nov 01 00:34:09 The situation is that I'm creating a superclass for two DialogFragments. Avoiding code duplication. But I need to inflate this layout before they get onCreateDialog, and the simplest way is with onCreate. Nov 01 00:34:12 :) Nov 01 00:34:32 you cant inflate onCreate Nov 01 00:34:34 If I used onCreateDialog to do this, they'd have to call super.onCreateDialog, and that looks kinda messy. Nov 01 00:35:24 onCreate is more for setting up, and persistance past it Nov 01 00:35:43 keeping state/setting state Nov 01 00:35:53 I note that onAttach, called before onCreate, supplies the activity, though. Hmm. Nov 01 00:35:53 Yeah. Nov 01 00:36:21 theres a real question somewhere :) Nov 01 00:36:27 I'm googling "onattach activity.getlayoutinflater" to see whether anyone does this in onAttach. Nov 01 00:36:38 nope Nov 01 00:36:51 its inflated onCreateView Nov 01 00:37:38 onCreate is more backing, as if retain onCreate is called once Nov 01 00:38:31 so I create a adapter in onCreate and set in onCreateView it stays persistent Nov 01 00:39:16 onAttach seems tobe more for setting interface Nov 01 00:39:42 The only other option I can think of is make the children DialogFragments call super.onCreateDialog. But that feels weird. Nov 01 00:40:18 DialogFragment is just a fragment. Nov 01 00:40:40 so set what you need when you need it Nov 01 00:41:00 onCreate isnt where you set UI Nov 01 00:41:13 its where you set persistance Nov 01 00:41:31 Yeah. Note that, in this case, I'm not actually doing anything with the inflated layout. Just storing it (for now). Nov 01 00:41:48 It's later used in the children's onCreateDialog. Nov 01 00:42:28 what are you needing? Nov 01 00:42:37 I am writing an uncaught exception handler because when my app crashes the state of the app is indeterminate and it cannot resume the activities on the stack. In the uncaughtexceptionhandler I want to end the app instead of it crashing x amout of times acording to what is on the stack. What is the best option for doing this? I have been reading no go on System.exit() or is that ok in this Nov 01 00:42:37 situation? Nov 01 00:43:07 whatitis: Just to avoid duplications in two closely related DialogFragments. Nov 01 00:43:12 duplication* Nov 01 00:43:41 shady, thats long, catch exceptions you know and proceed Nov 01 00:44:40 yes but when an exception is not caught for whatever reason i am trying to prevent my app from crashing multiple times due to having multiple activities on the stack Nov 01 00:44:50 TacticalJoke, one shouldnt know of two. sorry but I dont understand Nov 01 00:45:39 shady, not caught is bad design if having an assumption to get to X.... Nov 01 00:48:05 I understand that i should catch my exceptions. that is not my problem. This is more of a fallback. for the unforseen exceptions. Nov 01 00:48:53 shady, if executing a method may crash app cause not handling of possib Nov 01 00:49:18 possible exceptions then there is a problem Nov 01 00:49:29 ok look Nov 01 00:50:01 I understand what you are saying but you are missing my point. Nov 01 00:50:26 Clearly if the app is crashing due to an uncaught exception then it needs to be fixed Nov 01 00:50:43 tactical, closely related dialogs means what? never should there be 2 dialogs shown Nov 01 00:51:04 in the meantime if my app crashes and i have 3 activities on the stack then my user gets 3 crashes in a row Nov 01 00:51:16 shady, what is the exception? Nov 01 00:51:24 It doesnt matter Nov 01 00:51:29 One is an "add item" dialog; the other, an "edit item" dialog. They're almost identical, but they're just different enough to be in separate classes. Nov 01 00:51:33 then fix 1st exception Nov 01 00:51:39 its uncaught Nov 01 00:52:14 it maybe uncaught, but obviously shouldnt Nov 01 00:52:40 You keep telling me to fix the error in the first place and i get that. My question has nothing to do with that Nov 01 00:53:14 If the app has crashed I want it to crash all the way. Nov 01 00:53:15 whatitis: I think the solution is to call "super.onCreateDialog(savedInstanceState);". Talking it out helped; thanks. :) Nov 01 00:53:29 not try to resume the activities on the stack Nov 01 00:53:38 whatitis, it seems it's writing a lot to ~/.AndroidStudioBeta/system/[index|cache] Nov 01 00:54:08 good tactical :) Nov 01 00:54:37 shady the point is you dont want a crash Nov 01 00:54:51 Yes i know Nov 01 00:54:51 so trickle down doesnt help Nov 01 00:55:01 fix fne initia Nov 01 00:55:05 l crash Nov 01 00:55:16 ok but what if i do not know about the crash yet Nov 01 00:55:22 i cant fix it Nov 01 00:55:37 but i still do not want my app to crash multiple times Nov 01 00:55:39 you obviosly do Nov 01 00:55:43 Obviously Nov 01 00:56:09 cant crash multiple if fixing first Nov 01 00:56:17 Are you messing with me or something? Nov 01 00:56:26 no Nov 01 00:57:13 im saying if you dont want one crash to keep filtering down on android loading you backstack, fix the initial crash Nov 01 00:58:04 please stop telling me to fix my crash. I understand that i should fix any crashes that happen. That is my Job. But I cannot always forsee every crash and you cant either. If you tell me you can then you are lying to yourself. So are we past that? Nov 01 00:58:29 how cant you forsee it? Nov 01 00:58:44 do you work on a development team? Nov 01 00:59:13 with other people? Nov 01 00:59:22 even 1 other person Nov 01 00:59:27 you expect an outcome, but you are given bad input, you forsee that? Nov 01 01:00:02 clearly you are not trying to help me. Nov 01 01:00:22 I expect input of 123, I get xyz, I dont crash, I forsee failure and adjust! Nov 01 01:00:30 ok... Nov 01 01:00:42 we have spent all this time focusing on !myproblem Nov 01 01:00:43 gl Nov 01 01:05:02 shadynastys: What's wrong with System.exit? Nov 01 01:05:31 From : "The rationale to avoid 'System.exit()', which is different advice from never use it, is that it causes a program exit. If you *want* to exit the program and do it abruptly without any opportunity to clean up, then it's just fine." Nov 01 01:05:32 if an exception is not caught I want my app im trying to prevent my app from crashing. you are a fool Nov 01 01:08:37 damn typing on a tablet is rough Nov 01 01:11:03 basically it seems like he wants his app to not catch an exception, but continue as if it had Nov 01 01:11:47 no Nov 01 01:11:58 He wants his app to die when things have gone terribly wrong. Nov 01 01:12:03 yes Nov 01 01:12:06 Rather than continue to go wrong a little more. Nov 01 01:12:09 yes Nov 01 01:12:12 exactly Nov 01 01:12:30 which seems bad Nov 01 01:12:43 give the user a chance Nov 01 01:12:50 I'm not sure I understand the scenario. Wouldn't it die anyway, shadynastys? Nov 01 01:12:57 Wouldn't that exception simply kill it. Nov 01 01:13:34 he is worried about backstack just following the failure Nov 01 01:13:36 When an uncaught exception crashes your Activity the OS tries to resume whatever activity is on the top of the stack Nov 01 01:14:11 I could make the activities resume properly Nov 01 01:14:15 fix the crash! Nov 01 01:14:36 whatitis: He can't "fix the crash". He's talking about crashes that might happen in the future: stuff that is out of his control. Nov 01 01:14:42 OMG shutup you cant forsee every crash Nov 01 01:14:58 haha yes you can Nov 01 01:15:10 its statically typed Nov 01 01:15:10 shadynastys: only the first crash matters, the app force closes after that anyway Nov 01 01:15:22 shmooz: Right. That's what I thought. Nov 01 01:15:24 no it does not Nov 01 01:15:30 i wish Nov 01 01:15:31 I've never heard of Activities being recreated on crashes. Nov 01 01:15:56 go make a simple app that has a button to start another instance of the main activity Nov 01 01:16:17 and another button that accesses an array out of bounds to crash the app Nov 01 01:16:38 click the button to launch a few main activities and then crash it Nov 01 01:16:49 if you are the programmer, minus errors in the api, how can you not expect A and when B happens not recover? Nov 01 01:16:57 you will get hawever many crashes as you have activities on the stack Nov 01 01:17:13 array out of bounds is your fault Nov 01 01:17:25 yes i know its an example app dummy Nov 01 01:17:35 just stop talking you are not helpful Nov 01 01:17:40 haha, keep failing Nov 01 01:19:24 "if you are the programmer" I am a programmer working with a team of programmers who all touch some code in the same project. There is no way anyone can tell me that they can fix every crash before it happens when working in a team Nov 01 01:20:00 forget working on a team just alone if you work on a large app your app is going to crash some time in production Nov 01 01:21:01 TacticalJoke: thankyou for understanding. I am going to go with System.exit() for now unless i find a better answer over the weekend Nov 01 01:21:11 haha Nov 01 01:21:45 whatitis gl working on your perfect project. Nov 01 01:21:50 should post your company so we can avoid Nov 01 01:22:08 whatitis: You've misunderstood the guy. He's asking about handling worst-case scenarios. Nov 01 01:22:20 no he isnt Nov 01 01:22:20 wow do you ever say anything constructive? Nov 01 01:22:28 yes i am Nov 01 01:22:28 You're telling him to have perfect code that never crashes. Nov 01 01:22:37 that is exactly what i am doing Nov 01 01:22:39 he is whining about not being in control Nov 01 01:23:05 He's talking about unhandled exceptions. When I make the Reddit app, I, too, will have to worry about this. Nov 01 01:23:13 Probably by logging them or something. Nov 01 01:23:30 and i have crashlytics running that logs all my crashes Nov 01 01:23:38 if you are the coder you know all exceptions Nov 01 01:23:46 coder? Nov 01 01:23:53 you are all alone there sir Nov 01 01:23:57 whatitis: No. That's wrong. Nov 01 01:23:58 cant cry when fhings go bad Nov 01 01:24:05 whatitis: That's tantamount to claiming that you know every bug. Nov 01 01:24:06 unless bugs in api Nov 01 01:24:29 whatitis: Apps will have bugs leading to RuntimeExceptions being thrown. Nov 01 01:24:30 you know expectations Nov 01 01:24:41 And not caught. Nov 01 01:24:42 his arent freak accidents Nov 01 01:24:43 whatitis you might work in a group sometime you should warn them that your code is perfect Nov 01 01:24:44 That's the nature of a bug. Nov 01 01:25:13 Thankyou TacticalJoke im off works done. Nov 01 01:25:28 you two should get a fire going and make smores Nov 01 01:26:16 just ignore the troll Nov 01 01:27:44 tactical a bug is unforseen like ive said, but his issue isnt a bug, its failure to know user will fail Nov 01 01:27:51 He's talking about bugs. Nov 01 01:27:56 Uncaught RuntimeExceptions. Nov 01 01:28:01 nope Nov 01 01:28:01 He's trying to handle them in the most graceful way. Nov 01 01:28:12 You simply misunderstood him. What more can I say. Nov 01 01:29:33 he was talking about crashing and that crashing reloaded backstack, crashing those. where did he say bug? Nov 01 01:30:45 besides bugs in his code Nov 01 01:31:25 The bug causes the crash; he tried to handle the crash gracefully. Nov 01 01:31:30 tries* Nov 01 01:31:42 no he didnt Nov 01 01:32:17 he wanted to know why his crash caused backstack to load and crash Nov 01 01:33:11 as I told him to catch inintial crash Nov 01 01:33:19 but he didnt want to Nov 01 01:33:31 anywho hes gone Nov 01 01:34:51 He was handling the original crash. Nov 01 01:34:59 Trying to prevent even more. Nov 01 01:35:50 show me where Nov 01 01:37:13 yes but when an exception is not caught for whatever reason i am trying to prevent my app from crashing multiple times due to having multiple activities on the stack Nov 01 01:37:31 not caught? Nov 01 01:37:32 He's handling the uncaught exception in an "uncaught exception" handler, and trying to prevent multiple crashes. Nov 01 01:37:40 hahah Nov 01 01:37:51 cant be uncaught if caught Nov 01 01:38:01 whatitis: http://developer.android.com/reference/java/lang/Thread.UncaughtExceptionHandler.html Nov 01 01:38:12 It's not caught. It's dealt with after the fact. Nov 01 01:38:18 he didnt post that Nov 01 01:38:23 Yeah, he did. Nov 01 01:38:28 you are just making assumptions Nov 01 01:38:36 I am writing an uncaught exception handler... Nov 01 01:38:41 First sentence. Nov 01 01:39:04 nah, words cant lead to theoretical Nov 01 01:39:45 and Thr email Nov 01 01:40:07 and Thread. Uncaught, man.... Nov 01 01:41:20 Does anyone know any good projects for beginner android developers to tackle? Nov 01 01:41:49 oddalot, what are your interest? Nov 01 01:42:03 I went through some basic tuturials and think I have a decent idea of android development, but I wanted something a little more meaty. Nov 01 01:42:21 I guess I like social networking, like twitter stuff. Nov 01 01:42:31 meaty is more towards your passion Nov 01 01:42:39 A calculator is a good one. Nov 01 01:42:41 Easy. Nov 01 01:42:50 Yeah, calculator might be a good one. Nov 01 01:42:59 Though not very "meaty" (just read that). Nov 01 01:43:03 acronym dictionary Nov 01 01:43:05 going to add that to the list, no pun intended. Nov 01 01:43:10 A Twitter client probably wouldn't be insanely hard. Nov 01 01:43:14 Though I'm not sure. Nov 01 01:43:20 no, a goodone involves what you want that isnt available Nov 01 01:44:07 oddalot: Though I think, in general, it's best to make apps that make us feel motivated to push ourselves. Nov 01 01:44:12 I actually wrote a crappy twitter streaming webapp when I was learning javascript Nov 01 01:44:14 Make stuff that will be really awesome once we've made it. Nov 01 01:44:18 http://www.allthetweets.net/ Nov 01 01:44:28 maybe i could make something like that on android Nov 01 01:44:50 just make stuff that nothing else provides Nov 01 01:44:59 That's kinda neat. :) Nov 01 01:45:00 of course it doesn't scale at all because twitter changed their api so you can't stream much data anymore Nov 01 01:45:11 Does Twitter change the API often? Nov 01 01:45:14 but I use it for job interviews Nov 01 01:45:15 Breaking changes, I mean. Nov 01 01:45:21 can be as simple as aestics (sp?) Nov 01 01:45:25 well, there was one GIANT change back in the day Nov 01 01:45:30 believe it was v1.1 Nov 01 01:45:46 That is such a neat little web app. Nov 01 01:45:51 that prevented you from opening more than one stream at a time, and put rate limits on their api calls Nov 01 01:46:18 Oh. The second window isn't working. Nov 01 01:46:20 Is that why? Nov 01 01:46:26 I'm getting the throbber of death. Nov 01 01:46:37 (On a second "feed".) Nov 01 01:46:58 I'm not even sure if that web app works lol Nov 01 01:47:08 i set it up once and haven't looked at it again recently Nov 01 01:47:23 Okay. One "feed" works fine. :) Nov 01 01:47:34 I like how it retains state across document restarts. Nov 01 01:47:38 Yeah, again, it doesn't actually work really. Nov 01 01:47:45 But it's a nice exercies Nov 01 01:47:47 Yeah. Nov 01 01:47:50 exercise* Nov 01 01:47:53 I love networking stuff such as that. Nov 01 01:48:08 oddalot, android is ever changing, so unless you can write an app in 10hrs things change Nov 01 01:48:14 My go-to project for learning a new programming environment was to create a simple HTTP server. Nov 01 01:48:16 Using basic sockets. Nov 01 01:48:20 The code is horrible, I wrote it back when I didn't even know Javascript that well, it's like jQuery spaghetti code Nov 01 01:48:22 Though that doesn't really apply in Android. Nov 01 01:48:27 most extensive apps take months Nov 01 01:48:42 or years :( Nov 01 01:48:58 I'm sticking with Holo for now. #changeisscary Nov 01 01:49:01 Yes, minus the :( :) Nov 01 01:49:12 Yeah, now that I have actually worked for some companies building apps I'm confident In creating things. Nov 01 01:49:20 Create all the things. Nov 01 01:49:27 I just don't have any native app building training at all Nov 01 01:49:40 How about a diary app? Nov 01 01:49:44 Or something. Nov 01 01:49:55 Holo is scary Nov 01 01:50:01 Do you want it to be really simple? Nov 01 01:50:03 Yeah, diary would be good, especially since I would actually use it. Nov 01 01:50:05 JakeWharton: Why? Nov 01 01:50:12 all the dark themes are scary Nov 01 01:50:16 keep it simple with given api, then go HAM Nov 01 01:50:28 Oh, true. Nov 01 01:50:38 it's halloween, it's supposed to be scary! Nov 01 01:50:41 * ravilov drops in out of nowhere Nov 01 01:50:49 Maybe we can scare users into paying more. Nov 01 01:50:56 The thing about the calculator app I like so much, is that I am a HUGE fan of revese polish notation calculators. I used to know all about the different HP calculatos when I was in engineering school. Nov 01 01:51:05 Yeah, I used to love that stuff. Nov 01 01:51:13 hp 48 ftw Nov 01 01:51:16 I added a light theme to my app, but I hate it so much, I might just forget about themes Nov 01 01:51:17 HP-48 Nov 01 01:51:26 err it was like gx or something that was the good one Nov 01 01:51:33 Holo was bland and ugly Nov 01 01:51:34 JakeWharton if not summoned do you just randomly throw your thoughtz? Nov 01 01:51:45 Also, a calculator can be as simple or complicated as you want it to be. Nov 01 01:51:50 I never fully grasped the concept, I mean I know how it works but I was never too much into it Nov 01 01:51:52 And you can incrementally increase the difficulty. Nov 01 01:51:53 (re: RPN) Nov 01 01:52:02 JakeWharton: Are you a Material fan? Just curious. Nov 01 01:52:06 oh i thought JakeWharton was going to see Holo was scary because of Holo-ween :) Nov 01 01:52:08 I know "material design" isn't hugely well defined. Nov 01 01:52:18 RPN is really simple, just takes a couple of hours and you have it mastered basically Nov 01 01:52:29 <-- traditional 2.2- fan here ;) Nov 01 01:52:42 What was the theme called before Holo? Did it have a name? Nov 01 01:52:43 (not that y'all didn't know that) Nov 01 01:52:49 TacticalJoke, no Nov 01 01:52:51 Some of it. Nov 01 01:52:55 just Android :) Nov 01 01:52:56 ravilov i'm a 2.1 fan , so go take your newfangled hipster OS and hike it Nov 01 01:53:00 I see. lol Nov 01 01:53:03 android:Theme.Light android:Theme.Black Nov 01 01:53:13 Maybe we should create a custom Android distro. One that never changes. Nov 01 01:53:20 Damn, that's a really good idea actually, I'm going to make a RPN calculator. Thanks for the idea! Nov 01 01:53:21 Easing developers' lives. Nov 01 01:53:31 g00s, I do apologize good man, especially everybody knows 2.2 and 2.1 were so unlike each other! Nov 01 01:53:35 :p Nov 01 01:53:42 * TacticalJoke quickly patents the idea of making a calculator app Nov 01 01:53:42 also, 2.2- means "2.2 and before" Nov 01 01:53:47 oddalot just don't mention HP or anthing like that in the play store :) Nov 01 01:53:53 Oh, about that calculator app... Nov 01 01:53:57 especially because* Nov 01 01:53:59 I don't treat Material or Holo like a religion like some do. Nov 01 01:54:13 And you shouldn't either Nov 01 01:54:18 Yeah, I'm not hugely keen on either. Nov 01 01:54:25 join the Square religion instead! :p Nov 01 01:54:29 Do right by your app first, then Android Nov 01 01:54:34 Right. Nov 01 01:54:36 No. Don't. Nov 01 01:54:40 but to say holo was bland and ugly suggest you have a religion Nov 01 01:54:54 or maybe just an opinion Nov 01 01:55:01 nope Nov 01 01:55:09 its pushing Nov 01 01:55:17 such as religion Nov 01 01:55:19 it's a strong opinion, nothing more Nov 01 01:55:37 One thing I dislike about the "material" apps coming out is that they all look very similar. Nov 01 01:55:55 Too similar, IMO. Nov 01 01:55:58 TacticalJoke, that's ironic because that is one of the major goals of material... Nov 01 01:55:59 without a basis? Nov 01 01:56:02 Right. lol Nov 01 01:56:16 "consistency" Nov 01 01:56:23 "I dislike that Material has achieved its goals." Nov 01 01:56:36 TacticalJoke it could also be because ... there's like10 different kinds of apps, and after that they are all similar :D Nov 01 01:56:37 "it made it, and I hate it for it" Nov 01 01:56:41 There's an argument for consistency, but there's also an argument for "personality". Nov 01 01:56:54 g00s, true dat Nov 01 01:57:11 now let's see how many are in the "chat" category :) Nov 01 01:57:28 bland and ugly means so said person has a more intelliglble idea, but without Nov 01 01:57:30 i mean, we barely saved oddalot from writing twitter client # 6543 Nov 01 01:57:38 phew Nov 01 01:57:39 good save Nov 01 01:58:04 One thing, though: Number of good Reddit clients: 0. Nov 01 01:58:12 Number of Reddit clients: 273. Nov 01 01:58:15 f reddit Nov 01 01:58:17 Or some such. Nov 01 01:58:18 TacticalJoke, material provides several palettes, at least you get to pick your fave color, lol Nov 01 01:58:48 like you get to pick is your app going to be essentially green or red or whatever Nov 01 01:58:50 You know, I expected Material apps to use a single colour throughout the app. These new Google apps use a different colour per app section. Nov 01 01:59:02 I thought it was gonna be really cool. Like, a red app versus a green app. Nov 01 01:59:06 With matching icons and stuff. Nov 01 01:59:06 hm, maybe that's all "functional" Nov 01 01:59:13 material is about brandimg? Nov 01 01:59:38 write an app that doesn't crash, you'll be ahead of 99% of everyone Nov 01 01:59:39 TacticalJoke, dunno, hangouts seem pretty consistently green overall Nov 01 01:59:46 play store though, that is just all over the place Nov 01 01:59:46 Oh, haven't tried that yet. Nov 01 01:59:50 g00s: true.dat Nov 01 02:00:21 It's bizarre that some of those trays on the left (I forget the name) go over the toolbar while others don't. Nov 01 02:00:22 * ravilov would maybe even venture into making a decent reddit app if he actually cared about redit, lol Nov 01 02:00:25 In new Google apps. Nov 01 02:00:36 g00s: to be fair, not crashing in android is pretty fucking hard Nov 01 02:00:42 given 2 apps that do the same thing, i'd just pick the one that uses less permissions Nov 01 02:00:44 especially when dealing with the lifecycle Nov 01 02:00:47 Just remember to wear a seatbelt. :) Nov 01 02:00:49 g00s, no it's not Nov 01 02:00:52 ggVGc :D Nov 01 02:01:00 how the shit was holo bland and boring? it created an image Nov 01 02:01:13 whatitis is the pope of Holo. :D Nov 01 02:01:23 whatitis, looks like *you* are the one with a religious position on this, lol Nov 01 02:01:26 The Hope. Nov 01 02:01:32 lol Nov 01 02:01:38 pope of non desktop ui Nov 01 02:01:40 you want a boring, uninspired design? Theme.Holo.Light.DarkActionBar Nov 01 02:01:49 Yeah, I'm not a fan. Nov 01 02:02:03 I don't mind Theme.Holo with a Solid action bar. Nov 01 02:02:12 you most certainly are not, TacticalJoke. you are not cool enough :p Nov 01 02:02:26 lol Nov 01 02:02:40 im saying holo changed a desktop ui Nov 01 02:03:07 dont have to continue it, but got rid of desktop Nov 01 02:03:30 I bet Material dies fairly soon. Nov 01 02:03:31 while 2.2- UI did indeed have some common points with a standard desktop UI, I wouldn't call it a "desktop" UI Nov 01 02:03:39 It just doesn't have that je-ne-sais-quoi. Nov 01 02:03:49 you said desktop Nov 01 02:03:58 it doesn't have a random french phrase? Nov 01 02:04:18 material design isn't new Nov 01 02:04:32 nothing is new Nov 01 02:04:35 it's just a formalization of existing design principles Nov 01 02:04:55 exactly, designs will come and go like fashionable clothes Nov 01 02:04:55 but seperating desktop is wY to go Nov 01 02:04:59 way Nov 01 02:05:14 i have no idea what you are even talking about, whatitis Nov 01 02:05:47 I think he means mobile UIs are not supposed to look like desktop UIs in any way, shape or form Nov 01 02:05:56 thats fine. im saying to say holo is boring is fa Nov 01 02:06:03 it is whatitis ;) Nov 01 02:06:04 false Nov 01 02:06:20 it opens things up Nov 01 02:06:25 whatitis, you fail to understand the concept of an "opinion" Nov 01 02:06:34 I hate typing on tablet :/ Nov 01 02:06:42 i think you also place far too much stock in what Holo is (or was) Nov 01 02:06:48 you have yours, he has his, I have mine. we are all entitled to our own. no need to push your own onto others. Nov 01 02:06:52 yeah Holo is nice for if you want something plain looking Nov 01 02:07:11 it wasn't plain enough for me, I used just pure black Nov 01 02:07:20 ravilov, if he thinks holo is boring what do you think of 2.2 that ypu are on? Nov 01 02:07:25 shmooz, screw colors, amirite? :p Nov 01 02:07:26 that's better than the gross Holo Dark gradient Nov 01 02:07:28 * JakeWharton shudders Nov 01 02:07:41 shmooz uses Theme.Holo.Goth Nov 01 02:07:49 whatitis, I thought I already stated my opinion on that Nov 01 02:07:50 black should save batteries on AMOLED screens Nov 01 02:07:57 supposedly Nov 01 02:08:27 jake im not advocating holo, just that how can it be boring that it moves past desktop Nov 01 02:08:43 he just doesn't get it Nov 01 02:08:45 at all Nov 01 02:08:46 why do you keep talking about desktop and moving past it? Nov 01 02:09:04 because apparently that's ridiculously important to him for some reason Nov 01 02:09:08 cause pre holo equals desktop Nov 01 02:09:15 dang still no changelog for support lib released today Nov 01 02:09:24 he's saying the theme was so good, it was the reason that PC's died Nov 01 02:09:29 whatitis, what's it matter one way or another? nobody seems to care but you Nov 01 02:09:29 ha Nov 01 02:09:47 you can thank iOS and iPads for that Nov 01 02:09:59 silver round buttons.... Nov 01 02:10:05 it's incredibly intuitiveness and brilliant hardware destroyed casual desktop use Nov 01 02:10:15 Android didn't do shit Nov 01 02:10:26 whatitis, dude, okay, you are disgusted with 2.2-pre look, you love holo. we get it. time to move on. Nov 01 02:10:54 fuck holo, but it abstracted a new view Nov 01 02:11:02 oh ok he's saying the previous to Holo themes are PC desktop like themes Nov 01 02:11:10 JakeWharton, android did a pretty good job at copying all the good bits :p Nov 01 02:11:15 oh yeah froyo did look like windows 95 Nov 01 02:11:16 more like, someone saw Tron and thought it'd be cool to theme Android like that Nov 01 02:11:23 well except hardware consistency Nov 01 02:11:35 g00s, yeah, don't you love that?! :p Nov 01 02:11:36 One thing I'll say is that I'm glad Android doesn't look like a '90s Linux distribution. Nov 01 02:11:43 God, those were ugly. Nov 01 02:11:48 And every app had its own brand of ugly. Nov 01 02:11:53 As well as every window manager. Nov 01 02:12:09 TacticalJoke, have you ever seen motif and/or athena? if not you don't get to say what's "ugly" :p Nov 01 02:12:10 Tron is more glowing flourescent Nov 01 02:12:17 I think I've seen motif. lol Nov 01 02:12:25 more as it is more likely to except change&realize there is more than one way to create Nov 01 02:12:32 Some were so ugly I'd rather just not have a GUI. Nov 01 02:12:38 TacticalJoke, if you want to see athena, just run "xfontsel" ;) Nov 01 02:12:40 Yeah, I've seen (and used) motif. Nov 01 02:12:46 shmooz: well 3.x was like that. thankfully 4.0 yanked on the reigns Nov 01 02:12:57 TacticalJoke but ... 2014 linux looks like 90's linux O.o Nov 01 02:12:58 God, whoever designed motif was living in the past or something. Nov 01 02:13:06 Non-horrendously-ugly GUIs already existed. Nov 01 02:13:12 g00s, but it's themable! Nov 01 02:13:18 g00s: Ubuntu and Mint look neat. :) Nov 01 02:14:10 and most apps don't give user a choice of theme, themes are still for programmers to choose, I think that's wrong Nov 01 02:14:44 It's rather unfortunate that their developers are hugely fragmented (e.g., between GNOME and KDE). Nov 01 02:14:48 Such wasted effort. Nov 01 02:14:54 And annoying inconsistency. Nov 01 02:14:54 my linux desktop's look. I like. http://i.imgur.com/6WZKt7B.png Nov 01 02:15:06 there should be some standard way for the user to choose any theme for any app Nov 01 02:15:36 shmooz, theming and/or visuals are kind of secondary when it comes to android Nov 01 02:16:10 Don't forget Unity Nov 01 02:16:21 I would gladly forget unity if I could Nov 01 02:16:33 its suprising all these ridicoulos 3rd party vendors want to control most. it was nice that android expanded further expectations. Nov 01 02:17:05 Omg, I totally heart my new tablet. Nov 01 02:17:12 What have I been doing all these years. Nov 01 02:17:17 Living tablet-less. Nov 01 02:17:21 you 'heart' it ? :/ Nov 01 02:17:35 which tablet ? Nov 01 02:17:41 It's only a Tesco Hudl 2. Nov 01 02:17:43 But it's awesome! Nov 01 02:17:54 yeah people say those are good Nov 01 02:17:59 and cheap Nov 01 02:18:01 The screen puts that of my laptop to shame. Nov 01 02:18:06 Yeah. I got it for around $110. Nov 01 02:18:11 An amazing deal. Nov 01 02:18:21 Wait, less than that. Around $90. Nov 01 02:18:39 if you use your coupons Nov 01 02:18:58 just wait til JakeWhartons ui hits it! Nov 01 02:19:08 Right, shmooz. Nov 01 02:19:16 Good think my parents buy a lot. lol. Bought their coupons off them. Nov 01 02:19:19 yeah and people say now, 'Tablets Are Dead!' Nov 01 02:19:25 Who says that? Nov 01 02:19:31 I thought tablets were the in thing right now. Nov 01 02:19:31 it's like some fashion I have to follow Nov 01 02:19:42 I thought it was the desktop that was dying. Nov 01 02:19:43 ok time for the tablets to die, cause the tech news is saying so Nov 01 02:19:53 don't you mean "laptops are dead"? Nov 01 02:19:53 To be replaced by what? Wearables? Nov 01 02:20:14 fyi: they aren't Nov 01 02:20:14 I look forward to the "implantables" of the future. Nov 01 02:20:15 Phablet you dummy! Nov 01 02:20:21 Phablets are all the rage now Nov 01 02:20:27 Phablets killed the Tablets Nov 01 02:20:29 TacticalJoke, tesco? you got your tablet at a grocery store? lol Nov 01 02:20:36 ravilov: lol Nov 01 02:20:36 guess you were lucky it works so well Nov 01 02:20:38 But it's actually good! Nov 01 02:20:41 I would never get an implantables Nov 01 02:20:42 Check out the reviews. Nov 01 02:21:15 like Nexus 6 and iPhone6+ Nov 01 02:21:24 and Note 4 Nov 01 02:21:28 Phablets are too big for a phone; too small for a tablet. Nov 01 02:21:36 too unsecure Nov 01 02:21:49 phablets suck, I wish the trend would die off already Nov 01 02:21:56 I need to text one-handed while walking down the street sometimes. Can't do that with a phablet. Nov 01 02:22:09 wtf is a "phablets" Nov 01 02:22:12 Yes, *text* one-handed. Nov 01 02:22:19 MDTech-us_MAN, does your google not work? Nov 01 02:22:20 A phone/tablet. Nov 01 02:22:33 A thone. Nov 01 02:22:45 Tech terms are stupid. Nov 01 02:23:00 Upload to the cloud, guise! Nov 01 02:23:04 The cloud! Nov 01 02:23:06 Tablone Nov 01 02:23:31 "Screen real estate" has to be one of the worst computing terms. Nov 01 02:23:34 phablets are too awkward Nov 01 02:23:58 how so tactical? Nov 01 02:24:22 It just sounds so bad, and it's a horrible metaphor. Nov 01 02:24:42 get a tablet or a smartphone [I have both ;)] Nov 01 02:24:43 it makes sense though. .. Nov 01 02:24:51 the evolution is we admit our phone screens are too small and tablet weighs us down , so instead of carrying two devices you carry one large screened phone Nov 01 02:24:58 How about "screen space"? Nov 01 02:25:03 The space metaphor. Nov 01 02:25:20 shmooz: I think the future is resizable screens. Nov 01 02:25:23 TacticalJoke, that would imply 3D-ness to some Nov 01 02:25:27 phablets are... well... not good Nov 01 02:25:29 Perhaps s/think/hope/. Nov 01 02:25:35 screen space isnt in relation to real estate? Nov 01 02:25:38 TacticalJoke: the future is a pair of raybans Nov 01 02:26:24 resizable will only work well if there is no real material to be resized Nov 01 02:26:27 its too small to be a tablet (can't watch a movie) and too big to comfortably hold in one hand Nov 01 02:26:29 I have 2 acres of space, versus 2acres of real Estate, its identicL Nov 01 02:26:30 identic Nov 01 02:26:52 whatitis: Yes, but one sounds horrible and the other doesn't. :) Nov 01 02:27:05 to the unversed Nov 01 02:27:16 they'll have google glasses that are 16k resolution and looking like normal glasses Nov 01 02:27:46 its just relative to the person Nov 01 02:27:55 as far as terms Nov 01 02:27:56 Is it weird to say "super.onCreateDialog(savedInstanceState);"? Looks so weird to me. Nov 01 02:28:06 why? Nov 01 02:28:17 say it in spanish, how weird is that Nov 01 02:28:42 ravilov: Because I thought this callback was all about returning a dialog. The return value is ignored in my example. Nov 01 02:29:08 oh I see. forgot it returns stuff Nov 01 02:29:12 I wanna do some processing in a parent DialogFragment before running the child's onCreateDialog. Nov 01 02:29:21 just pretend walking along on a street and yelling to your self trying to make the google glass do somethin Nov 01 02:29:24 But it looks so weird to say "super.onCreateDialog(...);". Nov 01 02:29:50 JakeWharton confirmed it, no collective is correct, its just personal Nov 01 02:30:02 maybe save whatever it returns and just post-process that? Nov 01 02:30:22 Well, it's the child doing the processing. The parent isn't really returning anything. Nov 01 02:30:36 I mean that the parent does the preprocessing and the child does the rest. Nov 01 02:30:46 The child actually returns something of note. Nov 01 02:31:18 huh? what is it exactly ? Nov 01 02:31:25 what kind of dialog? Nov 01 02:32:21 I'm stuck with a similar problem but mine is theme and color related Nov 01 02:33:03 This is what I mean: http://pastebin.com/aQVy2Q9Q Nov 01 02:33:06 haha Nov 01 02:33:11 Interesting. Nov 01 02:34:06 Basically, I have two dialogs: AddItemDialog and EditItemDialog. They are very similar, but different enough to be in separate classes. Nov 01 02:34:15 There's a small amount of code duplication, so I'm creating a parent class ItemDialog. Nov 01 02:34:37 TacticalJoke i think you are on track for being #1 posted to android-dev for Oct Nov 01 02:34:43 *poster Nov 01 02:34:46 But it seems that I have to call "super.onCreateDialog" to do this stuff. Nov 01 02:34:52 I changed the theme for the Settings screen to match what the user selects, that works great , but when you tap a ListPreference dialog and the radio button choices appear, the title bar background and text are both white :( Nov 01 02:34:57 g00s: Pastebin poster? Nov 01 02:35:04 tactical, you so stuck with helpers Nov 01 02:35:05 g00s: Or messages per minute? Nov 01 02:35:06 no wall of TacticalJoke poster :D Nov 01 02:35:11 Okay. lol Nov 01 02:35:19 so it looks like a blank white titlebar on the ListPreference dialog because I set android:background="#EEE" on the parent and the its parent theme to android:Theme.Light Nov 01 02:35:26 Can anyone recommend a solution to my problem? Nov 01 02:35:54 Perhaps the solution is "don't be so weird about calling super.onCreateDialog". Nov 01 02:35:57 solution to a none problematic Nov 01 02:36:00 Where "weird" means "icky". Nov 01 02:36:01 all I need is to somehow override the dialog to draw black text for the titlebar and I'm done Nov 01 02:37:23 Writing GUI code in Android is so horrible. :[ Nov 01 02:37:27 Having to find views and such. Nov 01 02:38:27 its not horrible, its just knowing what you want Nov 01 02:38:52 yeah its nice till you get stuck Nov 01 02:38:59 findViewById is an abomination, IMO. Nov 01 02:39:17 why? Nov 01 02:39:27 It makes a mess of otherwise-clean code. Nov 01 02:39:42 I know there are libraries that fix this. I'm not huge on third-party stuff, though. ;| Nov 01 02:39:45 that makes 0nsense Nov 01 02:39:53 data binding in WPF is pretty cool Nov 01 02:40:09 Yeah, that stuff is neater. Nov 01 02:40:26 lies, just venting Nov 01 02:40:56 how else do you propose to get links? Nov 01 02:41:27 By some means other than Java statements. Nov 01 02:41:36 hahah Nov 01 02:41:37 Such as what g00s mentioned. Nov 01 02:41:46 repeat it Nov 01 02:42:19 It's boilerplate. Boilerplate makes code harder to read, leading to bugs directly and leading to bugs indirectly because hard-to-read code is also hard to maintain. Nov 01 02:42:20 all he said is WPF .... Nov 01 02:42:46 that says nothing Nov 01 02:42:56 WPF data binding gets out of control Nov 01 02:43:10 You start putting logic there and it all goes to shit Nov 01 02:43:49 bah what he says, you have to link things Nov 01 02:44:37 JakeWharton: you should write a book on pitfalls to avoid in android dev Nov 01 02:44:38 how are you magically wanting to link an id to whatever? Nov 01 02:44:58 no he shouldnt Nov 01 02:45:02 whatitis: There are libraries such as AndroidAnnotations that do this. Nov 01 02:45:16 Fragments is another pitfall Nov 01 02:45:22 AndroidAnnotations is a franework Nov 01 02:45:39 then keep sucking on that teet Nov 01 02:45:52 JakeWharton is there a changelog for support library 21.0.1 ? Nov 01 02:46:09 g00s: run jardiff on it and find out Nov 01 02:46:17 why would he know? Nov 01 02:46:20 A .1 means nothing interesting anyways Nov 01 02:46:34 just want to know which bugs were fixed :) Nov 01 02:47:30 eh, jardiff doesn't tell that Nov 01 02:47:33 Sigh. In my parent class I should return null rather than "super.onCreateDialog(whatever)", because DialogFragment.onCreateDialog instantiates a dialog. It'd be a total waste. Nov 01 02:47:38 This whole problem feels like a total hack. Nov 01 02:47:40 also i had to throw something out there to derail the findViewbyId discussion Nov 01 02:47:45 gah TacticalJoke ... Nov 01 02:47:49 oh i'm glad i missed that Nov 01 02:50:22 looks like I missed it too, there was a discussion? Nov 01 02:50:43 don't think I missed much, lol Nov 01 02:50:49 for days Nov 01 02:50:55 maybe I'll try finding the location of the stupid dialog titlebar text color in a hexeditor and change the apk somehow :P Nov 01 02:50:55 It wasn't that amazing. Nov 01 02:51:09 TacticalJoke is the master of the long question Nov 01 02:51:12 shmooz, good luck with that Nov 01 02:51:13 It was basically me complaining about findViewById being boiletplate and whatitis expressing incredulity. Nov 01 02:51:24 TacticalJoke: use Butter Knife! Nov 01 02:51:34 g00s, there are channel stats somewhere? Nov 01 02:51:45 hm, there used to be Nov 01 02:51:47 f all that 3rd party nonsense Nov 01 02:51:58 Oh, yeah, Butter Knife looks nice. Was checking it out the other day. Nov 01 02:52:01 I'll look again. Nov 01 02:52:23 TacticalJoke, you can reimplement findBiewById's functionality in every activity if you prefer, just traverse the view tree yourself :p Nov 01 02:52:25 tactical yes findview maybe boiler plate, but whats the problem Nov 01 02:52:38 whatitis: The problem is that boilerplate leads to bugs. Nov 01 02:52:45 It also leads to unhappy TacticalJokes. Nov 01 02:52:48 any code leads to bugs.. Nov 01 02:52:57 any code leads to unhappy TacticalJoke Nov 01 02:53:01 haha Nov 01 02:53:06 findview is fundamenta Nov 01 02:53:10 l Nov 01 02:53:10 looks like he's in the wrong business there :p Nov 01 02:53:20 ravilov: I agree. We should limit code length. Nov 01 02:53:33 that's what the 64k dex limit is for Nov 01 02:53:34 Code length seems to be correlated with bug count. Nov 01 02:53:38 TacticalJoke, https://en.wikipedia.org/wiki/Brainfuck Nov 01 02:53:48 :D Nov 01 02:54:03 I just never understood all these extras Nov 01 02:54:42 ya, i don't mind some simple boilerplate. findViewById is nothing. now , ContentProvider is boilerplate of another magnitude :) Nov 01 02:54:48 JakeWharton, I thought it's there just to make a dev's life inconvenient :) Nov 01 02:54:52 butterknife, dagger, rxjava etc seem like bu Nov 01 02:55:22 nah, constraints force innovation Nov 01 02:55:26 looks like you desperately need to find a better way to type, whatitis Nov 01 02:55:34 also a better channel to type in Nov 01 02:55:40 JakeWharton, like all the 64k VGA demos back in the day? :) Nov 01 02:56:03 damn enter button is so close to all on tablet :) Nov 01 02:56:21 there are tons of other keyboards out there... :p Nov 01 02:56:39 :) dont care thohgh Nov 01 02:56:45 lol Nov 01 02:56:45 so I see :p Nov 01 02:57:04 snake oil for all Nov 01 02:57:25 kool aid for you Nov 01 02:57:34 Right now, I extract all my findViewById calls into a method. Nov 01 02:57:49 shush for you Jake Nov 01 02:57:57 If there's one, I call it "findFoo" (where Foo is the widget name). Else, "findViews". Nov 01 02:57:58 wow not even a slush? :p Nov 01 02:58:23 l is further than h Nov 01 02:58:24 But it's still boilerplate. I'm looking into Butter Knife. Nov 01 02:58:38 fuck butter knife Nov 01 02:58:51 whatitis: you're fun to poke at Nov 01 02:58:56 i wish i had one of you when i was a kid Nov 01 02:59:06 doughboy :) Nov 01 02:59:07 and a long pointy stick? Nov 01 02:59:41 jake you are just a drone. its apparent Nov 01 02:59:51 http://www.youtube.com/watch?v=n3J2jDQ9cOE **** ENDING LOGGING AT Sat Nov 01 03:00:00 2014