**** BEGIN LOGGING AT Tue Nov 18 02:59:59 2014 Nov 18 03:08:48 hey people. I upgrade to 5.0 from 4.4.4 and now th actionbar in my app is way too big Nov 18 03:08:50 This is what I'm probably gonna go with: http://pastebin.com/ke7U1STR Nov 18 03:08:55 has anyone else experienced this ? Nov 18 03:09:43 Oops, forgot to rename some variables there. Nov 18 03:10:03 Wait, I didn't. Nov 18 03:12:03 That last one should be "ensureJsonString", though, since it's basically "ensure JsonPrimitive && String". Nov 18 03:26:49 That's really cool -- in Eclipse, you can rename (Alt+Shift+N) an exception class from a Javadoc "@throws" statement. Nov 18 03:44:41 holy hell thats ugly http://www.intel.com/content/www/us/en/wearables/fashion-technology.html Nov 18 03:44:51 I'm doing a drag and drop operation. Moving some views from container1 to container2 ( both are LineaLayouts ). On ACTION_DROP I remove the view from previous parent and add it to the new one. However when I use getLeft() I get the value the View had when it was in container 1 Nov 18 03:45:27 g00s: what OS is that running? Nov 18 03:45:38 g00s, yikes !! :/ Nov 18 03:46:49 is it a bad idea to put anything clickable in the top left corner ? because if you port the app to iOS that's where the back button will be ? Nov 18 03:47:12 pieces029 some linux based thing Nov 18 03:48:55 I've noticed a lot of apps just put their unclickable logo with the iOS back button even on android Nov 18 03:50:16 g00s, that' for girls/women, they got very different taste ;) Nov 18 03:50:54 real men run bsd Nov 18 03:51:55 s/bsd/OpenBSD/ Nov 18 03:52:05 ^^ Nov 18 03:52:08 :D Nov 18 03:52:10 agreed Nov 18 03:52:19 my favorite is Open Nov 18 03:52:36 yeah cause macosx is somehow based on BSD too ;) Nov 18 03:52:46 security and stability by simplicity Nov 18 03:52:59 obsd is great o/ Nov 18 03:53:18 it's very clean and simple Nov 18 03:53:56 pf is like heaven compared to ip tables or ip chains Nov 18 03:54:03 csst0111: hahaha oh dear Nov 18 03:54:03 http://android-developers.blogspot.fr/2014/11/google-play-services-65.html fresh Nov 18 03:55:44 "We are also providing developers with more granular control over which Google Play services APIs your app depends on to help you maintain a lean app." Nov 18 03:55:48 \o/ Nov 18 03:56:00 yeah, I wondered why nobody seemed to have noticed that... Nov 18 04:05:36 does that mean there will be little checkbox permissions the user can unselect while installing crippling half the app ? Nov 18 04:06:17 oh ok no it doesn't ;P Nov 18 04:16:22 dont get 'granual app' Nov 18 04:16:34 'granual control' sorry Nov 18 04:16:56 does it mean there will be more libs, not just one ? Nov 18 04:17:27 yes, it looks like it means the play services monolithic library has been broken down into smaller libraries Nov 18 04:17:46 good Nov 18 04:18:21 now we need to only delete one more lib and hopefully I will be able to turn off proguard ;) Nov 18 04:25:17 this will buy everyone a few more months Nov 18 04:30:03 hope so Nov 18 04:30:28 hope there are speed-ups for gradle plugin Nov 18 04:30:32 in pipeline Nov 18 04:30:46 you'll need them for multi-dex :) Nov 18 04:30:48 would like to see that but... is it available somewhere ? Nov 18 05:01:46 is there any way to remove the 'system update available' notification? i'll wait for 5.1. probably be a while Nov 18 05:02:30 g00s: yes.. install it :D Nov 18 05:02:48 ha Nov 18 05:03:05 On my Sony device, the only way I've found is to force-stop Update Centre. Nov 18 05:03:24 But it starts again on reboot. Nov 18 05:03:51 who has an update? which update? i want an update Nov 18 05:03:59 here, take mine Nov 18 05:10:06 i'll just sit tight and wait for the OTA.... dunno what's keeping them. Google needs to develop the "release now we'll fix it later" approach that apple take Nov 18 05:30:10 is using the google maps api free? Nov 18 05:30:26 in your own app, that is Nov 18 05:32:37 StingRay_ did you see, play service 6.5 being split up Nov 18 05:32:49 oh fk really ? Nov 18 05:33:00 yay!!! \o/ Nov 18 05:33:20 you'll probably still be over the limit :D Nov 18 05:33:59 na, I'm not now, so really wont be then Nov 18 05:34:05 but about time they did this Nov 18 05:34:07 http://www.youtube.com/watch?v=xczDd2_X0DI Nov 18 05:34:10 yay!!!! Nov 18 05:40:12 g00s I dont see mention of it ? was this from the dev blog ? Nov 18 05:40:39 yeah Nov 18 05:42:03 StingRay_, https://www.youtube.com/watch?v=oHOR9_yMakU Nov 18 06:48:36 which android app are you most proud of? Nov 18 06:48:55 I made an app that would tell you when your train was coming Nov 18 06:49:30 it doesn't work anymore. The API was in beta, and since then the transit company made a mobile website that is much nicer than my app Nov 18 06:51:44 unfortunately i haven't come up with any good ideas since then Nov 18 06:52:40 I was thinking of making a bus app. Nov 18 06:52:42 For London buses. Nov 18 06:52:48 But I don't have time! Nov 18 06:52:57 RustyShackleford: What do you use your phone/tablet for? Nov 18 06:53:06 I'm pretty happy with my penroser app Nov 18 06:53:18 TacticalJoke: well if the API exists, it's pretty easy. If it doesn't, they its practially impossible Nov 18 06:53:22 it was a thoroughly fun little project :) Nov 18 06:53:40 Yeah, they have a pretty good(-looking) API. Nov 18 06:53:52 JesusFreke: looks like a cool app Nov 18 06:54:01 Though it states something like "It uses a format that's mainly JSON". Nov 18 06:54:04 Mainly? Nov 18 06:54:11 That sounds fun to parse... Nov 18 06:54:26 make a game if you lack of idea RustyShackleford Nov 18 06:54:40 though most of ppl lack of time and skills, not idea Nov 18 06:54:45 i'm trying to write an app that will tell you travel times on the local highways/freeways Nov 18 06:54:45 you have to have an idea for a game too :) Nov 18 06:55:00 but I can't find an API Nov 18 06:55:11 lol yeah, the data doesn't want to be free Nov 18 06:55:19 the local news gets this information from somewhere. So do the radio stations Nov 18 06:55:48 eye in the sky Nov 18 06:55:58 RustyShackleford: When I was much younger, I made a bot for Yahoo! Chat. They didn't like people making unofficial clients, so it was a constant battle against them. Nov 18 06:56:12 But, being so young, I was happy to battle. No way I'd have the motivation today. Nov 18 06:56:13 g00s: no way. Do you think they all figure it out themselves? Nov 18 06:56:29 what a waste of efforts Nov 18 06:57:33 http://www.cisco.com/web/strategy/smart_connected_communities/city-traffic.html Nov 18 06:57:43 you won't be able to get this data Nov 18 06:58:23 many transport system in many countries "protect" their data Nov 18 06:58:26 time for another idea. unless you write something that crowdsources everybody's movement and maps that to congestion Nov 18 06:58:29 it's even worst if you look at fuel stations lol Nov 18 06:58:38 use google maps ? Nov 18 06:58:40 well they do have a website that will show you this information. And even cameras that you can view Nov 18 06:59:01 I'm interested in that new google maps Nov 18 06:59:06 i've been poking through their website with chrome's developer console Nov 18 06:59:16 google uses waze Nov 18 06:59:29 RustyShackleford: Android needs a good Twitter client. Nov 18 06:59:42 what's wrong with official one ? Nov 18 06:59:52 plume is not so bad Nov 18 06:59:55 I can't stand the UI. Nov 18 06:59:59 but i really dislike twitter Nov 18 07:00:00 Of the official one. Nov 18 07:01:01 RustyShackleford, in fact you want an idea with an API available on top it? maybe you have to explore other possibilities Nov 18 07:01:14 That bar at the bottom of the screen just gets in the way. The app icon and the action icons look exactly the same. Nov 18 07:01:24 adq: well I could hack it a bit. Some of the data i need is in html Nov 18 07:01:30 just take a pen and a paper sheet, write down what you like, what you would like to learn, what you are good and bad at, etc.. Nov 18 07:01:38 thats not really ideal for parsing Nov 18 07:01:41 then cross everything which will help you to narrow down the field Nov 18 07:01:54 and the "API" is super messy Nov 18 07:02:00 cause asking others for idea is really the wrong way Nov 18 07:02:23 scrapping web is not sustainable Nov 18 07:02:30 website will change, it is also illegal Nov 18 07:02:37 Scraping HTML is horrible. Nov 18 07:02:44 html is easy with jsoup Nov 18 07:02:47 The whole "coupling to an implementation" thing. Nov 18 07:02:48 legality was another concern. Is it really illegal? Nov 18 07:02:51 but when it comes to other web stuff.. good luck :) Nov 18 07:03:05 adq: Yeah, but they might change the HTML significantly once a week. Nov 18 07:03:06 what? just parse the website with a regex! easy-peasy Nov 18 07:03:08 * JesusFreke ducks Nov 18 07:03:20 jsoup handles regex ^^ Nov 18 07:03:22 It's a shame that regexes don't nest. Nov 18 07:03:22 this site is online publically. How could it be illegal to redistrubte that data? Nov 18 07:03:29 You could take over the world with a nesting regex. Nov 18 07:03:42 (http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454) Nov 18 07:03:44 RustyShackleford, not my concern, you have to know that Nov 18 07:04:24 well i've gotta find the answer somehow i guess Nov 18 07:04:27 RustyShackleford, do something free and educational Nov 18 07:04:30 for learning purpose Nov 18 07:04:44 it's really needed compared to all the ****** available Nov 18 07:05:20 well I try to make something thats useful to me Nov 18 07:05:24 per example, i don't have time, but i want to make a quizz app to learn capital of countries Nov 18 07:05:27 really good for children Nov 18 07:05:37 adq: Where would the data come from? Nov 18 07:05:49 there are already good flashcard type apps though Nov 18 07:05:50 how bout a text file Nov 18 07:06:02 TacticalJoke, where the data of countries capital comes from?? Nov 18 07:06:48 Oh, I kinda extrapolated. Nov 18 07:06:52 ah :p Nov 18 07:06:57 Thinking it was gonna be a quiz about all kinds of stuff. :D Nov 18 07:07:12 :) Nov 18 07:07:21 here's another idea: the DOT publishes an android app with this data also. the app is terrible though Nov 18 07:07:45 i tried a packet sniffer to see if I could figure out where its requesting this data Nov 18 07:07:45 The Department of Tigers? Nov 18 07:07:53 Transportation Nov 18 07:08:06 Ah. (Not American.) Nov 18 07:08:16 Did you packet-sniff the emulator? Just wondering. Nov 18 07:08:33 no, my phone Nov 18 07:08:38 Does that require root? Nov 18 07:08:45 yes Nov 18 07:08:45 I'm gonna probably have to packet-sniff Android at some point. ;| Nov 18 07:08:45 wireshark is complicated Nov 18 07:08:56 I wonder whether I could easily packet-sniff the emulator. Nov 18 07:09:02 Yeah, Wireshark has always been complicated. Nov 18 07:09:17 wireshark is a front-end of tcpdump, + many features Nov 18 07:09:27 I was using my laptop to sniff packets, my phone was connected to the same wireless network Nov 18 07:09:31 it's just that network protocols stuff is enormous, but it's not so complicated Nov 18 07:09:48 RustyShackleford: Hmm, nice idea. Nov 18 07:11:21 this app is so bad. I think they might use the same javascript map as their website Nov 18 07:11:35 the app might just be their website inside a WebView Nov 18 07:15:09 Hmm, I feel like humanity could come up with something nicer than JSON and Yaml. Nov 18 07:15:25 Something that's still a text format. Nov 18 07:16:03 Thank goodness we don't rely on XML much nowadays, though. Nov 18 07:16:10 Well, outside of Android programming. Nov 18 07:16:44 "JSON Schema is based on the concepts from XML Schema (XSD), but is JSON-based. " Nov 18 07:16:46 sorry :) Nov 18 07:17:03 it's a tree Nov 18 07:17:58 you could imagine that the { } of a node are very similar to and Nov 18 07:18:14 it just a different syntax, but concept is highly close Nov 18 07:18:37 protocol buffers have a text format Nov 18 07:18:55 protobuf is binary compressed iirc Nov 18 07:19:36 which is why i said they have a text format not are a text format Nov 18 07:19:56 ahhh indeed Nov 18 07:20:12 you could also just protos as a schema for json Nov 18 07:20:36 yup, i played a bit with it long time ago, when play store was called android market Nov 18 07:20:52 they use protobuff internally to process the requests between the client & the server Nov 18 07:21:13 and it is json based Nov 18 07:23:24 was Nov 18 07:24:00 I have no clue what they are using nowadays Nov 18 07:24:05 they use protos Nov 18 07:24:09 UNREAL Nov 18 07:24:16 Everybody Nov 18 07:24:30 I was using 950 megabytes of video memory :( Nov 18 07:24:55 But I switched to... ... and now everything is excellent Nov 18 07:25:42 Can you imagine Nov 18 07:27:27 oh my god Nov 18 07:27:50 http://pastebin.com/d4NV5ph8, fragment replacements are overlapping hurr durr Nov 18 07:28:08 I'm just trying to wrap around a PullToRefreshLayout dynamically Nov 18 07:28:29 it's so fast now Nov 18 07:28:43 how do I correctly achieve it without the overlapping fragments issue? Nov 18 07:30:26 Agamemnus, my reaction when I got my x86 virtual device running for the first time, I literally jumped! Nov 18 07:30:46 :d Nov 18 07:30:57 too bad it is 2:30 Nov 18 07:31:01 and i need to water the turtle Nov 18 07:31:16 at the time, didn't expect such a difference, on a netbook Nov 18 07:31:23 turtles need watering? o_O Nov 18 07:31:39 trolls do too ! Nov 18 07:32:02 but its best to give them pesticides instead Nov 18 07:32:59 I find they tend to die out if you don't water or feed them ;) Nov 18 07:34:35 they die only with a flamed arrow ;) Nov 18 07:40:30 Hmm, Linus said he doesn't like Debian because it's hard to install: http://youtu.be/qHGTs1NSB1s Nov 18 07:40:33 Not sure if sarcastic. Nov 18 07:41:16 Okay, seems he's not being sarcastic. Nov 18 07:44:10 well packet sniffing isn't working. Are there some android tools I can use to see where my phone is making requests over the internet? Nov 18 07:44:20 adb or something Nov 18 07:49:34 RustyShackleford: I'd like to know the answer to that. Nov 18 07:51:48 well they DO have an API Nov 18 07:52:05 looks like I need to fill out some paperwork. and they have alot of restrictions :/ Nov 18 07:52:41 I can access the xml feed once every 5 minutes. I guess that means I'll need a server to redistribute it Nov 18 07:53:38 What is it? A train/bus/whatever thing? Nov 18 07:53:43 Once every five minutes is kinda strict. Nov 18 07:56:29 Hi Nov 18 07:57:28 a while back i heard google was working on an api for app native help without punting to a browser - anyone hear about that lately ? Nov 18 08:08:12 oh my, seals have been caught having sex with penguins Nov 18 08:10:25 hi Nov 18 08:10:54 I just created an empty project in Android Studio, with a button on it. I tested it on my Nexus 4 (/w Android 5)! Nov 18 08:11:05 If i click the button, the characteristic material design animation does not pop up! Nov 18 08:11:10 do i have to do some extra work? Nov 18 08:11:19 you need more padding Nov 18 08:11:40 if you give the button enough padding and whitespace, it will animate Nov 18 08:12:21 just kidding :D but one you get the animation right, then you are fully material Nov 18 08:13:08 :[ Nov 18 08:13:14 but these build settings seem correct, right? http://ideone.com/p4lgKP Nov 18 08:13:26 g00s I picked out 4 apps that are on play in my field and you can now change all the screenshots between them and it makes no diff, thats the literal result of material following :) Nov 18 08:13:39 evolve/chomp/textra etc Nov 18 08:18:58 I want to invoke a function and when the function finishes its task I want to have a porgress bar showing up.I googled and found that asynctask is best for this kind of situations Nov 18 08:19:16 bankai_au is this what you guys do for fun ? http://giant.gfycat.com/WebbedUnsungBrocketdeer.gif Nov 18 08:19:56 how to implement this Nov 18 08:20:05 niru: Google some more? :D Nov 18 08:20:18 StingRay_ i guess you have 4 competitors ahead of you XD Nov 18 08:20:29 niru: Just create an AsyncTask that calls Thread.sleep(10000) in the background (to simulate doing work). Nov 18 08:20:54 g00s ahead ? I keep telling you I have had material themes available for over 5 months lol Nov 18 08:21:12 and no, not ahead, just....designless grouped ;) Nov 18 08:21:18 so then your app looks like theirs :D Nov 18 08:21:28 well if you choose that theme yes Nov 18 08:21:40 or one of those themes etc Nov 18 08:21:54 TacticalJoke: and where to give progressbar running in postexecute Nov 18 08:22:01 if not then no, looks nothing like lol Nov 18 08:22:29 niru: This is all googlable. Nov 18 08:22:48 I don't mean to be mean. It's just that I would literally be Ctrl+Cing from Google if I answered. :) Nov 18 08:22:51 TacticalJoke: ok Nov 18 08:23:35 does anybody here now squabbler? anyways they're allowing you to draw stuff on an OpenGL rendered map. since i upgraded to android 5, i get really weird drawing errors. does anybody know what has changed in the OpenGL interface in lollipop? where can i go for information? Nov 18 08:23:45 *skobbler Nov 18 08:29:54 How does everyone deal with confidential details within their app? Nov 18 08:30:03 API endpoints, tokens, keys, secrets? Nov 18 08:30:11 proguard of course Nov 18 08:34:01 ravilov, and storing them? Would use place them directly in your code, can u use gradle to do something clever? Nov 18 08:34:46 no idea Nov 18 08:35:19 all I know is, proguard is the way to go Nov 18 08:35:29 >.> Nov 18 08:35:39 ravioli, wat ? Nov 18 08:35:49 Ravioli knows his shit Nov 18 08:44:04 kevel1, try never put sensible data in your app, it's like leaving the key of your door under the doormat Nov 18 08:44:16 try to* Nov 18 08:45:51 adq, sometimes you have to for api auth stuff Nov 18 08:45:52 :( Nov 18 08:46:00 ravilov, ive nearly sorted out proguard Nov 18 08:46:07 just the odd lib i need to fix :( Nov 18 08:54:24 I've spent the last several hours attempting to conquer the android flappy bird easter egg Nov 18 08:54:34 Is there something wrong with me Nov 18 08:56:22 yes Nov 18 08:56:37 Diagnosis: human. Nov 18 08:56:48 Is it terminal? Nov 18 08:56:52 yes, wasting hours on it Nov 18 08:57:17 Yes, it usually is. Nov 18 08:57:35 100% of my patients die. Nov 18 08:57:39 I'm sorry. Nov 18 09:02:42 nice knowing you, maybe ;p Nov 18 09:12:51 Does anyone use multireddits? Nov 18 09:16:39 Good Morning# Nov 18 09:16:43 All Nov 18 09:20:14 Good morning. Nov 18 10:00:41 People hero-worship MKBHD on Reddit. Nov 18 10:02:58 I never got into reddit, the topics always seemed so airheaded Nov 18 10:03:17 It varies so much. Nov 18 10:03:36 http://programming.reddit.com/ is great, for example. Nov 18 10:03:44 http://androiddev.reddit.com/ seems quite good. Nov 18 10:06:31 Could anyone spare a few mins to help me with And_studio? Nov 18 10:06:49 Could anyone spare a few mins to help me with And_studio and thats on windows? Nov 18 10:07:47 bda, what's the matter? Nov 18 10:08:38 the 10dollar dinner Nov 18 10:08:42 subreddit is badass Nov 18 10:09:12 bah, I'm still a slahsdotter Nov 18 10:10:52 Slashdot has the worst UI. Nov 18 10:10:57 Though Reddit's is also pretty bad. Nov 18 10:11:32 Wow, there are Slashdot clients for Android. Nov 18 10:11:39 Though it kinda makes sense. Nov 18 10:11:52 slashdot is the original Nov 18 10:12:16 I got into digg for awhile but then went back to slash Nov 18 10:12:28 its not like Nov 18 10:12:32 EITHER OR Nov 18 10:12:59 true but hey, everything looks the same to me Nov 18 10:13:02 TacticalJoke: what do you expect of a website that named itself purposelly to confuse people? Nov 18 10:23:24 so it looks like google glass suddenly dropped dead Nov 18 10:23:31 woot Nov 18 10:23:43 Was a shitty idea anyway Nov 18 10:23:57 ahead of it's time Nov 18 10:24:27 when you can make it look like an ordinary pair of raybans and have it adjustable transparency with fullscreen 16K resolution ... Nov 18 10:24:47 that's when we'll all want one Nov 18 10:25:04 Still not interested in having people with cameras mounted to their faces passively recording me 24/7 wherever I walk Nov 18 10:25:43 VnM not a prob, google "homemade EMP" Nov 18 10:26:07 Haha, better shield off my own devices then Nov 18 10:26:27 will that effect heart devices too ? Nov 18 10:26:46 a little Nov 18 10:27:09 brilliant! Nov 18 10:32:46 VnM: well, Google Glass was actually rare in making it easily noticeable that you're recorded, comparatively to what is available from two-bit shops in shopping malls Nov 18 10:34:07 Hi all Nov 18 10:34:31 I have 2 dialogs. One for picking a date, and one for picking the time Nov 18 10:34:50 any suggestions for making this work in one dialog, must work on phone & tablet. (ui suggestions) Nov 18 10:36:41 FrancescoV: hide/show container in the dialog Nov 18 10:36:49 use a viewflipper in the dialog? Nov 18 10:36:57 use a scrollview int he dialog? Nov 18 10:37:07 thanks! wasn't thinking about flipping between them Nov 18 11:02:47 which theme should I use to get this time picker? http://a5e2fba00d8bcb729d89839f.javacodegeeks.netdna-cdn.com/wp-content/uploads/2012/12/time-picker-dialog1.jpg Nov 18 11:09:43 how can i style my buttons in android 5? Nov 18 11:09:45 i want to give them some custom _ripple_ color Nov 18 11:26:14 smart_ptr: create a style.xml file with a style/theme and then you can setTheme on the button Nov 18 11:29:38 smart_ptr: you can put like