**** BEGIN LOGGING AT Thu Jun 26 02:59:58 2014 Jun 26 03:00:07 g00s: where you reading that anyway? Jun 26 03:00:13 Napalm reddit Jun 26 03:00:15 https://twitter.com/chendo/status/481972376327184384 lol...... Jun 26 03:00:16 I love the line from keynote about it ;P Jun 26 03:00:48 "two people? That's one more than I expected" <--- after asking about who liked listview or something like that :P Jun 26 03:01:31 pfn keeps thinking i'm crazy when i say these things are good Jun 26 03:02:31 now, i wonder if RecyclerView will extend AbsListView Jun 26 03:02:36 because if it does … hehe Jun 26 03:03:40 extends uicollectionview Jun 26 03:04:11 haha, hey burke said he liked cocoa Jun 26 03:04:15 :D Jun 26 03:04:21 * Nilium stabs g00s to death Jun 26 03:04:26 Slenderman made me do it. Jun 26 03:04:31 hey Nilium Jun 26 03:04:39 * g00s pulls on Nilium 's tooth Jun 26 03:04:55 You'd have a hard time pulling on it when the only part of the tooth left is below the gumline. Jun 26 03:05:03 :O Jun 26 03:05:27 One does not get a crown without losing half a tooth. Jun 26 03:05:28 i want to see that part in foreside where they talk about scala again, that was funny Jun 26 03:05:32 *fireside Jun 26 03:05:37 time for a replay Jun 26 03:05:53 I have no idea what you're referring to but I'd assume it's either making fun of Scala or something else Jun 26 03:06:27 somebody did bring it up, but when they were responding - i think dianne - i couldn't quite make out what she said Jun 26 03:06:39 but i thought somebody was giggling Jun 26 03:06:46 http://android-developers.blogspot.com/2014/06/developer-preview-and-play-services-5.html <--- has a breakdown of what goes into Android L and what goes into Play Services Jun 26 03:07:16 Oh, right, there was an Android thing today, wasn't there Jun 26 03:08:15 using createScaled Bitmap vs using a matrix i been reading there might be quality issues with createscaled bitmap does anyone have any input on this? Jun 26 03:08:49 p_l project Volta excites me; but come on they had a bunch of command line crap - that needs to just be in some tool window Jun 26 03:10:49 i also have to rewind fireside - did burke say wifi or bluetooth was buggy ? Jun 26 03:11:36 g00s: fuck window Jun 26 03:11:55 commandline for lyfe Jun 26 03:11:59 bitch Jun 26 03:12:09 well it seemed like a few command line steps to view in a gui Jun 26 03:12:21 CLI4LYFE Jun 26 03:12:25 he Jun 26 03:12:30 Oh, that's enough characters that it'd fit on my knuckles Jun 26 03:12:33 * p_l lives in an urxvt Jun 26 03:13:01 * g00s likes iTerm2 Jun 26 03:15:01 this material design - some will like, some will not - i'm gonna have to think hard about the underlying philosophy duarte was trying to convey with physics. in many ways this is what the WP UI is like already. stuff seems to have mass. you squish things, they wiggle, clicking on something isn't a highlight but movement instead Jun 26 03:15:12 they also have a power save mode, seems like everybody is copying everybody :) Jun 26 03:18:17 Far as I can tell, Android L is the "we added lots of unnecessary animations (and playstation controller buttons)" release and L.1 will remove the animations because they'll be really annoying Jun 26 03:19:00 i just hope this isn;t a pita as a developer Jun 26 03:19:04 Kind of like how iOS 7 updates have slowly made animations faster or toned them down Jun 26 03:19:10 seemed like they said the difficulty was a gradient Jun 26 03:19:12 It's going to be a PITA if nobody gets an update Jun 26 03:19:24 Because then all the improvements will be for naught Jun 26 03:19:27 oh good deal my 1+1 was too responsive/fast, needed something to slow it down some Jun 26 03:19:54 zinx: Needed some slow down and some stuff to sap the battery a little more. Jun 26 03:20:01 It's always a good idea. Jun 26 03:20:37 p_l has good terminal emulator taste Jun 26 03:20:46 meh, most people are going to be using 4.0-4.4 for the next couple of years anyway Jun 26 03:20:56 they said they did the testing with very low end devices Jun 26 03:21:05 (animation, speed, etc) Jun 26 03:21:07 there won't be any mass-market L devices until 'the holiday season' Jun 26 03:21:27 yeah so i'll start thinking about it around this time next year maybe Jun 26 03:21:40 around the next I/O :D Jun 26 03:22:28 which leads to the question of how much is in a) the support libraries and similar b) play services/games/etc and c) the OS itself Jun 26 03:22:54 anyone here use mit app inventor Jun 26 03:23:02 basketball i doubt lately Jun 26 03:23:09 did you ask about that the other day ? Jun 26 03:23:31 idts Jun 26 03:23:32 "uncompressed YUV at full 8 megapixel resolution / 30fps" ehhhh that's not anywhere near full wtf you guys talking about :P Jun 26 03:23:39 gtg Jun 26 03:24:19 anyone know where i can catch the adt google android tv session ? Jun 26 03:39:11 lasserix adt google tv session ? Jun 26 03:39:45 oh yeah, i think that was interesting too - seems like eclipse / adt isn't getting much love Jun 26 03:39:59 or will not for the foreseeable future Jun 26 03:40:11 at least in gradle support Jun 26 03:40:48 damn Jun 26 03:40:58 I love new design guide lines Jun 26 03:49:34 yeah the new settopbox also called adt Jun 26 03:53:06 lasserix: https://www.youtube.com/watch?v=y3dCUPeyhag Jun 26 03:54:43 please, I am trying to use Retrofit.. I created "CheapBeersService service = restAdapter.create(CheapBeersService.class);" CheapBeersService is an Interface that has this signature: "void listCheapBeers(Callback cheapBeerCallback);"... why I cant call service.listCheapBeers(callback)?? Jun 26 03:56:40 here is the code: http://pastebin.com/gZ4w2gij Jun 26 04:09:29 Napalm: thanks! Jun 26 04:12:43 Im trying to use Retrofit to request async http calls but I cant call the void methods (asynchronous with callbacks).. please anyone know why? here is the example: http://pastebin.com/gZ4w2gij Jun 26 04:56:40 Hello Jun 26 04:57:55 Is it possible to make activity landscape only if it is run on tablet? Jun 26 05:04:01 http://www.youtube.com/watch?v=3TtVsy98ces Jun 26 05:13:47 Napalm listview2 was mentioned in the presentation gordon_ just posted Jun 26 05:13:54 @ 3:38 Jun 26 05:13:58 yep Jun 26 05:14:01 recycle view Jun 26 05:14:02 ? Jun 26 05:15:27 hehe, yeah Chet is hilarious Jun 26 05:15:32 :) Jun 26 05:15:44 like the animations Jun 26 05:15:52 in dialer, gmail Jun 26 05:15:55 those from keynote Jun 26 05:28:12 whenever i see animations i think "battery drain" Jun 26 05:29:01 hm. battery is fine on my lumia 521, and WP has tons of animations Jun 26 05:29:23 i think they are actually borrowing a lot from metro Jun 26 05:29:43 a lot of it looks like they smashed iOS and 'modern UI' together Jun 26 05:29:50 I have a permission related question. Can anyone help? Jun 26 05:29:54 bankai_au somebody did ask about that though Jun 26 05:30:09 … in the fireside. interesting, the devs used very low end devices Jun 26 05:30:19 bankai_au: seems like battery is better with dalvik now Jun 26 05:30:31 tfu Jun 26 05:30:33 ART Jun 26 05:30:38 :) Jun 26 05:30:40 that's just like saying subway is 'low fat', there's heaps of variables you need to consider Jun 26 05:30:58 and large images are in different memory space Jun 26 05:31:07 ahulr: you need to ask before anyone can help Jun 26 05:31:18 ok Jun 26 05:31:21 gordon_ hmm .. i thought that was just GC movement Jun 26 05:31:47 a long time ago they used to be off the java heap, and then they put them on the heap Jun 26 05:31:50 maybe ui thread will have higher priority Jun 26 05:31:53 like in... iOS Jun 26 05:31:59 so it should be smooth Jun 26 05:32:08 :) Jun 26 05:32:10 also... battery drain tools are available now Jun 26 05:32:29 i've seen a lot of apps that do a good job of draining battery :) Jun 26 05:32:40 of course Jun 26 05:32:56 I'm not saying that it will be perfect Jun 26 05:33:06 just saying what they say on keynote / presentation Jun 26 05:33:27 but new notifications and stuff seems to be nice Jun 26 05:33:34 yeah but sooooooooo ugly Jun 26 05:33:41 which one? Jun 26 05:33:46 the lock screen notifications Jun 26 05:33:48 the floating ones or lock screen ? Jun 26 05:33:52 a Jun 26 05:33:57 i was talking about floating ones Jun 26 05:34:09 that thing up the top they showed when he was playing the game? that was kinda cool Jun 26 05:34:16 yes Jun 26 05:34:27 it's one of those things you think "wow, why have we waited this long" lol Jun 26 05:34:27 http://www.youtube.com/watch?v=isYZXwaP3Q4 Jun 26 05:35:06 btw Jun 26 05:35:33 I use a lockscreen so that people can't at my content Jun 26 05:35:36 when I close on activity from 3rd party library - the content of my navigation drawer disappear, any hint ? Jun 26 05:35:42 particularly work emails etc Jun 26 05:35:54 lockscreen widgets/notifications are therefore retarded Jun 26 05:35:56 wabz: there are 4 types of that notifications Jun 26 05:36:09 including secret notifications Jun 26 05:37:30 wabz: http://www.digitaltrends.com/wp-content/uploads/2014/06/Screen-Shot-2014-06-25-at-2.36.00-PM.png Jun 26 05:38:01 lol Jun 26 05:38:08 they talked about personal / work profiles ; i wonder if you can just make arbitrary jails. like , a jail for trusted apps, and one for crap i don't Jun 26 05:39:20 g00s: SElinux is now turned on Jun 26 05:39:44 i also like new notifications in that dropdown menu Jun 26 05:40:16 I'm not sure how much it just is, or is based on, or is incorporating, the stuff from Divide that they just bought Jun 26 05:40:44 from new things I like scheduler Jun 26 05:41:03 too bad no new language ;) Jun 26 05:41:19 new list view might also be nice Jun 26 05:49:05 Leeds ah, reading about divide now Jun 26 05:49:05 hm Jun 26 06:00:04 anyone got problem with disappearing navigation drawer before ? Jun 26 06:00:11 seems like internet doenst know ;( Jun 26 06:00:26 i haven't Jun 26 06:00:42 love 3rd party libs... Jun 26 06:11:57 I wonder why the new design guidelines are so ikky Jun 26 06:13:48 thepoosh hipsters Jun 26 06:14:10 looks like metro and card UI's bastard child Jun 26 06:14:20 link? Jun 26 06:14:53 http://www.google.com/design/spec/material-design/introduction.html Jun 26 06:15:22 g00s: I'm now looking at TC bashing the keynote Jun 26 06:15:27 but I hate them now Jun 26 06:15:34 since they bashed us too Jun 26 06:16:07 thepoosh which tc article ? Jun 26 06:16:18 http://techcrunch.com/2014/06/25/watch-our-wrap-up-of-google-io-keynote-and-day-one Jun 26 06:16:29 or are you asking about us? Jun 26 06:17:16 i actually really like the new guidelines Jun 26 06:17:25 rymate1234: you suck and you should feel bad Jun 26 06:17:33 it's a refreshed holo Jun 26 06:17:36 with colour Jun 26 06:17:59 it's colours are too bright and annoying Jun 26 06:18:22 and the animations are like looking at a PPS file from 10 years ago Jun 26 06:18:38 dont have to use bright colours when developing the apps Jun 26 06:19:27 true, but the emphasis on grids is annoying Jun 26 06:19:35 and was like that already in WIN 8 Jun 26 06:20:43 im most worried about the effect this will have on aosp Jun 26 06:20:52 how much of this will end up in aosp Jun 26 06:21:04 and how much will be propietary Jun 26 06:21:06 anyone know any good java forums or sites with beginner problems/exercises? :D Jun 26 06:24:03 hey all, having problems with my preferences. Desired functionality: Upon launching preferences, checks to see if previous account information has been saved. If there is info, it will gray out and disable the "login" button. if no info is found, it will gray out and disable the logout button. I receive a crash upon preference activity launch Jun 26 06:24:12 here's relevant code: preferences.xml: http://pastebin.com/KvA5VztN preferences.java: http://pastebin.com/7XxHn8aT stacktrace: http://pastebin.com/2iTicBU5 Jun 26 06:24:51 any help is greatly appreciated Jun 26 06:25:46 I am using some deprecated code and am planning to transition over to a fragment environment in the future. but for now im still using the stack-activities method Jun 26 06:25:54 therue: try vogella and d.android.com/training Jun 26 06:28:23 http://www.youtube.com/watch?v=K3meJyiYWFw Jun 26 06:28:25 ;/ Jun 26 06:28:32 first question... Jun 26 06:29:27 "It was so annoying to listen to you say Like several hundred times - learn to speak for Pete sake" Jun 26 06:29:33 hehe Jun 26 06:30:11 thepoosh didn't sound like they were too down on things Jun 26 06:30:20 i was mostly meh myself Jun 26 06:35:09 g00s: in general I don't like TC anymore Jun 26 06:35:18 but they matter unfortunately Jun 26 06:35:28 really? i don't read it either Jun 26 06:35:41 actually i read very little tech stuff Jun 26 06:35:47 well, they are the buzz creators for the valley Jun 26 06:35:49 me too Jun 26 06:35:54 I mostly read reddit Jun 26 06:36:18 but our CEO claims they're important Jun 26 06:36:21 yeah, some reddit, HN Jun 26 06:37:00 HN? Jun 26 06:37:05 hackernews Jun 26 06:37:05 hacker news Jun 26 06:37:35 oh myyy Jun 26 06:37:46 i have a glowing and general dislike for big tech, which sounds like big pharma, big agra - and silicon valley Jun 26 06:37:50 *growing Jun 26 06:38:14 i think i should become a farmer and have goats Jun 26 06:38:35 lolz Jun 26 06:38:37 most of the stuff these days gets the same reaction from me "thats fucking stupid" Jun 26 06:38:44 if they can be electric sheep Jun 26 06:38:49 than I'll do it Jun 26 06:38:50 :) Jun 26 06:39:32 like, much of the stuff about android wearable / car - just do some planning and you don't nead decision support on how to get to work Jun 26 06:39:52 soon people aren't going to be able to plan a trip to the grocery Jun 26 06:39:52 :) Are you hurting sheep by herding sheep? Jun 26 06:40:27 i saw a funny vid the other day on goat parkour Jun 26 06:40:32 buttermilk was such a badass Jun 26 06:40:39 lol Jun 26 06:40:49 thepoosh i think it was on reddit Jun 26 06:40:56 g00s: have you seen the trailer of the horror movie about killer sheep? Jun 26 06:41:03 no Jun 26 06:41:04 anybody mind taking a quick gander at my preferences code? find out why im crashing? Jun 26 06:41:04 I think it's called black sheep Jun 26 06:41:15 Jesperhead: logcat! Jun 26 06:41:33 yeah findPreference seems to be returning null? Jun 26 06:41:40 g00s: http://youtu.be/z4PkMPAlMFo Jun 26 06:41:45 I pasted my code/stacktrace above Jun 26 06:41:56 that's too far behind Jun 26 06:42:03 paste the logcat and then the code Jun 26 06:42:56 preferences.xml: http://pastebin.com/KvA5VztN preferences.java: http://pastebin.com/7XxHn8aT stacktrace: http://pastebin.com/2iTicBU5 Jun 26 06:43:03 thepoosh i'll have to watch tomorrow , otherwise maybe i won't sleep :P Jun 26 06:46:47 figured it out Jun 26 06:46:49 my problem is scope Jun 26 06:46:57 tried to find a preference before inflating Jun 26 06:47:08 at least im pretty sure thats what it is Jun 26 06:48:14 yay! Jun 26 06:54:47 http://www.youtube.com/watch?v=K3meJyiYWFw Jun 26 06:54:52 26:00 Jun 26 06:54:55 about scala Jun 26 06:55:23 and some cool info about gradle Jun 26 06:59:01 gordon_: thanks, listening Jun 26 06:59:28 sarcasm about swift is as bonus ;) Jun 26 07:03:31 genymotion came up Jun 26 07:03:38 where is JakeWharton? Jun 26 07:04:52 i should try geny on this laptop Jun 26 07:04:58 see if it's better than the stanard emu Jun 26 07:08:51 * Muchoz is waiting for L Dev Preview to be uploaded. Come one Google, it has been the 26th for 9 hours now... Jun 26 07:09:34 Do you think L Dev Preview would be stable enough? Jun 26 07:13:01 myke: standard emu is pure crap Jun 26 07:15:26 well come on now Jun 26 07:15:36 I have made an app which uses device's camera to take user's picture. I have added the camera permission in the manifest but this makes the app unavailable for devices with front camera or no camera. Jun 26 07:16:30 How do i make it to work in devices with no camera? Can i remove the camera permission and still use it? Jun 26 07:20:57 Hi all, I have a ListView and using the onItemLongClick but it's called twice every time I long-click an item, what can be the problem? Jun 26 07:22:21 Now a Google IO question, about this session https://www.google.com/events/io/schedule/session/3956992c-52fb-e311-903f-00155d5066d7 will there come a video of it (+ when?) or not? Jun 26 07:23:44 FrancescoV: probably ? Jun 26 07:23:53 ask on google+ twitter Jun 26 07:24:55 gordon_: ok thanks Jun 26 07:33:01 Why do I keep getting "cannot get method getItemAtPosition(int)"? I am trying to learn Spinner. Jun 26 07:41:58 donniezazazn, can you share your code? Jun 26 07:44:45 ahulr: interesting Jun 26 07:46:06 myke: Any solution? Jun 26 07:47:56 this is very good: http://youtu.be/K3meJyiYWFw Jun 26 07:54:23 Hi, I'm drawing a circle which gets streched , unfortunately. Any ideaas what might be causing this? http://pastebin.com/22yuN8SW Jun 26 07:56:20 hey guys i am trying to set the background color in my theme using this command Jun 26 07:56:20 #ff2153d1 Jun 26 07:56:28 it does not seem to like the hex numbers, why is that? Jun 26 08:03:26 Psil0Cybin: I believe with hex color codes, you need to define them in strings.xml, ie #000000 Jun 26 08:03:44 then in your xml use "@color/black" Jun 26 08:04:36 actually im pretty sure that doesnt matter now that i think about it. Jun 26 08:05:05 Jesperhead, okay thanks, but sorry how would i change the background color in the theme i am working on Jun 26 08:05:13 like not the action bar background Jun 26 08:05:16 but the actual white background Jun 26 08:12:37 sorry guys what would be the place where i type the command to change the background of my application not the action bar Jun 26 08:12:38 ? Jun 26 08:14:05 nvm got it :D Jun 26 08:14:07 needed the strings Jun 26 08:20:16 my app’s icon is appearing on the launch screen without a label Jun 26 08:25:36 exit Jun 26 08:31:58 yaw, on a vm , or on your actual device? Jun 26 08:32:11 on an actual device Jun 26 08:35:31 yaw: in your androidmanifest, in activity, what is android:label=? Jun 26 08:36:04 correction Jun 26 08:36:07 in not activity Jun 26 08:36:18 Jesperhead: which activity? the main activity Jun 26 08:36:43 in which has been defined in strings/xml Jun 26 08:36:56 k. now lets take a look at your strings.xml Jun 26 08:37:01 and what is the string there Jun 26 08:37:10 not the string, the line of code Jun 26 08:37:32 FoodLine Jun 26 08:38:04 :-/ all i had Jun 26 08:38:34 Jesperhead: thanks :). I’d continue to look and share the solution I find Jun 26 08:44:52 My app is crashing after I log in/log out in my preferences. After i do my login/logout login in a sep activity, I call back to my preferences activity to run adjust_layout() which disables/enables the login/logout button accordingly. Jun 26 08:45:10 If I have inputtype datetime_variation_time, can I make sure the user cannot enter seconds? Jun 26 08:45:18 getting a nullpointerexception :-\ Jun 26 08:57:21 nested fragment argggh Jun 26 09:00:01 FRRRAAAAAAAAAGGGGG! Jun 26 09:00:06 gdrc: you gonna have bad time ;) Jun 26 09:00:06 ? /shatner Jun 26 09:06:58 k how about animators, do we have any animators in the house? Jun 26 09:07:59 i cannot figure out this masking for the life of me Jun 26 09:16:38 is there a place I can check the status of the gcm services (if they're experiencing uptime issues)? Jun 26 09:16:59 Can anyone help me out please? I am including a fragment in my activity. The fragment creates a spinner from some values. Everything works but when I select another item, the first one is still shown. Here's the code and image of what it looks like http://pastebin.com/8zqh2Nbb --- http://i60.tinypic.com/hvupo5.png Jun 26 09:21:58 Does it make sense to use activity + fragment if you use the fragment as an overlay? Hiding the underlying layout? Jun 26 09:22:22 wats most exciting things u heard in google I/O? Jun 26 09:23:17 sarcasm about swift ;) Jun 26 09:23:48 really? Were they joking? :D Jun 26 09:30:12 hi Jun 26 09:30:34 if i'd like to integrate xmpp into my app as a feature, what's be the best way to go about it? Jun 26 09:31:36 library Jun 26 09:31:39 and why xmpp :> Jun 26 09:31:49 gordon_, hmm something like smack? Jun 26 09:32:05 dont know which one Jun 26 09:32:13 but implementing that by yourself is overkill Jun 26 09:32:22 gordon_, well, it doesn't have to be as long as it supports live messaging Jun 26 09:34:03 gordon_, if not xmpp, what would you recommend? Jun 26 09:34:41 hmm Jun 26 09:34:45 web sockets maybe ? Jun 26 09:35:27 gordon_, hmm but why not xmpp? Jun 26 09:35:49 this I cannot answer Jun 26 09:35:58 you asked for the alternative so I answered Jun 26 09:36:02 maybe search in google ;) Jun 26 09:36:32 try this javascript base library for xmpp - http://strophe.im/strophejs/ Jun 26 09:36:40 gordon_, oh right. well, i've done a bit of research and xmpp seems to serve the need Jun 26 09:37:03 oh wow! room is full :) Jun 26 09:37:07 sup guys! Jun 26 09:37:08 https://plus.google.com/+IanBicking/posts/QGahRV3gQeH Jun 26 09:37:14 could also possibly use gcm Jun 26 09:37:15 http://www.ajanicij.info/content/why-xmpp-over-websocket-connection-manager Jun 26 09:37:20 nutrino, thanks for that Jun 26 09:37:22 http://stackoverflow.com/questions/11994061/using-xmpp-or-websocket-why-there-is-a-server-needed-in-real-time-communication Jun 26 09:37:49 http://stackoverflow.com/questions/16617775/xmpp-vs-html5-websocket Jun 26 09:37:58 read and tell me your answer ;) Jun 26 09:38:06 maybe I will learn somethinh new Jun 26 09:39:05 gordon_, oh for one, we'd need to store the log of the chat on server-side Jun 26 09:39:29 dont see the difference ? Jun 26 09:41:43 maybe xmpp will be nice Jun 26 09:41:57 since you know Jun 26 09:42:07 there are many xmpp clients Jun 26 09:42:12 you can also get open fire server Jun 26 09:42:16 and use that Jun 26 09:50:31 i`m tryin to save a string to sharedpreferences and it works, at least after pressing return button and restarting app. but if i long-press return (set up in android settings for closing an app) or reboot device it is not saved because onPause is not triggered (where i save to sharedpreferences). how can i save/restore even @Long-pressing and rebooting? Jun 26 09:55:43 adkins: couple of things... firstly, that button is called "back" not "return"... Jun 26 09:55:57 Leeds: sorry, right Jun 26 09:56:06 secondly... save the value earlier, if you're worried? Jun 26 09:56:28 Leeds: good idea ;) Jun 26 09:57:09 even more things? ;) Jun 26 09:57:20 brb Jun 26 10:11:47 Leeds: re Jun 26 10:12:03 was it just 2 things you wanted to tell or even more? Jun 26 10:12:37 is tim roes around? Jun 26 10:13:07 anyone with knowledge about EnhancedListView? Jun 26 10:14:38 anyone? Jun 26 10:15:47 anyone with knowledge about TIM ROES EnhancedListView? Jun 26 10:16:20 Tim Jun 26 10:16:22 Roes Jun 26 10:16:36 if someone would be there, you would get the answer Jun 26 10:17:00 alright Jun 26 10:17:03 sorry Jun 26 10:20:24 and maybe ask what you want to know ? Jun 26 10:22:20 gordon_: when I rotate the device (with the undo toast shown) the swiped list item gets completely removed, while it's recovered in the EnhancedListView demo app Jun 26 10:56:57 hi all Jun 26 10:57:37 i'm new in eclipse.. i'm using eclipse +adt for android, how change Title displayed in upper side of my app? sorry for me but i'm a girl :P Jun 26 10:58:37 why are 90% of the messages in this channel timeouts?... Jun 26 10:59:06 @alfreda that's no excuse :) EQUALITY BIATTCHH Jun 26 10:59:09 hahaha Jun 26 10:59:29 Alfreda: Actionbar? "getActionBar().setTitle()" Jun 26 11:00:00 If you're just a beginner, I'd recommend diving right in and using Android Studio instead of Eclipse. Jun 26 11:00:17 this i mean : http://postimg.org/image/iw5btwab3/ Jun 26 11:00:28 i view ever the app title Jun 26 11:01:57 kakazza: how to change this? Jun 26 11:05:50 MarsMarsMars: because there are a lot of afk here and for one reason or another they timeout Jun 26 11:06:29 is it always like that or is something wrong with the server ? Jun 26 11:06:38 @Foxandxss Jun 26 11:10:01 Can anyone help me out please? I am including a fragment in my activity. The fragment creates a spinner from some values. Everything works but when I select another item, the first one is still shown. Here's the code and image of what it looks like http://pastebin.com/8zqh2Nbb --- http://i60.tinypic.com/hvupo5.png Jun 26 11:10:33 skulltower: problem is in line 23 Jun 26 11:11:52 try this instead https://gist.github.com/danijoo/f656547c16b77d9e4fe3 Jun 26 11:12:17 what is best way to develop cross platform app (Android, iOS and win phone etc)? Jun 26 11:12:44 the fragment manager automatically reataches an old fragment on screen rotation. What you are doing is recreating it on your own again, which will cause multiple fragments overlaying each other Jun 26 11:12:49 my code snippet prevents that Jun 26 11:14:45 i have got SIGSEGV crash, can anybody guide me to debug Jun 26 11:14:57 i have got SIGSEGV crash, can anybody guide me to debug Jun 26 11:14:58 i have got SIGSEGV crash, can anybody guide me to debug Jun 26 11:14:59 i have got SIGSEGV crash, can anybody guide me to debug Jun 26 11:14:59 i have got SIGSEGV crash, can anybody guide me to debug Jun 26 11:15:00 i have got SIGSEGV crash, can anybody guide me to debug Jun 26 11:15:23 good job for making everybody NOT wanting to help you. Jun 26 11:15:49 ban that guy! Jun 26 11:16:07 angryMob.aggravate() Jun 26 11:16:49 i am new here, tell me if somthing is wrong with me Jun 26 11:17:26 the number of ctrl+v was wrong Jun 26 11:17:29 danijoo, i made the change but it still gives the same results :/ Jun 26 11:18:12 did you make both changes? the if-clause AND the change in fragmentTransaction.add ? Jun 26 11:18:16 Does anyone know when the updated support libs will be out? Jun 26 11:18:17 something is wrong with you Jun 26 11:18:57 danijoo, yeah :| Jun 26 11:19:00 heinrisch: as they said "today", I would guess in about 6 hours (when its evening in PST) Jun 26 11:19:38 skulltower: can you show me your activity_book.xml? Jun 26 11:19:39 danijoo: thanks, I did only hear that about the preview. Did not hear anything about the support libs Jun 26 11:19:56 heinrisch: same here. but i'd guess they will release it all together Jun 26 11:20:18 hopefully :) Jun 26 11:20:26 danijoo, it's there in pastebin Jun 26 11:20:37 oh sorry Jun 26 11:20:42 didnt see it Jun 26 11:20:46 yeah. i see the problem Jun 26 11:20:54 You are still adding it twice Jun 26 11:21:00 once in XML, and once in java code Jun 26 11:22:23 you can either remove all that fragment code from the activity, or rewrite your xml like this: https://gist.github.com/danijoo/bd3462d345262eccdc24 Jun 26 11:22:42 I would go with second because fragments defined in XML have some disadvantages Jun 26 11:24:45 danijoo, wow. I thought i have to declare fragment in xml to be able to add something to it Jun 26 11:25:07 danijoo, thanks a lot! it's much clearer now Jun 26 11:25:40 skulltower: no :) you can add fragments to every viewgroup. in fact you are _kinda_ replacing that viewgroup with the fragment Jun 26 11:25:54 or put it on top of it, filling its while space Jun 26 11:30:01 danijoo, so am i free to remove that myTag check now? Jun 26 11:30:11 no Jun 26 11:30:25 because if you rotate the screen, onCreate will be called again Jun 26 11:30:34 but you dont want to recreate the fragment in this case Jun 26 11:30:45 the fragmentmanager will handle that for you. thats why you need the check Jun 26 11:31:00 danijoo, is it something i should do with all the fragments then? Jun 26 11:31:05 yes. Jun 26 11:31:20 danijoo, i see. great, thanks again :) Jun 26 11:31:30 if you dont, on every screen rotate you will create a new frag and put it on top of the old, consuming more and more memory Jun 26 11:31:38 but be sure to use a different tag for each one :p Jun 26 11:32:03 danijoo, yes that much i understand xD Jun 26 11:32:09 : > Jun 26 11:34:10 how can i have a background of a layout that will also add padding to the layout? I want to have a line on the bottom, where there can be no subviews. preferrably in xml Jun 26 11:40:57 osxorgate: seems like you have to create a subview for that Jun 26 11:41:28 maybe a layout containing a viewgroup for your content along with the view of the line which has some margin from bottom Jun 26 11:41:59 or you create an image and set the padding according to the pixel in the image Jun 26 11:42:18 i want to avoid having to create extra views Jun 26 11:43:16 if you have a background image with that line, you could set android:paddingBottom according to the margin of the line Jun 26 11:43:28 not a fancy solution though :o Jun 26 11:46:40 Is it possible to have a sliding pane layout where the children don't overlap? I want the first pane to fill the width of the screen, and to be able to swipe from the very edge to access the second pane Jun 26 11:47:34 if one child fills the complete screen, how do you want to show the second without overlapping? Jun 26 11:49:54 Can you recommend a good intermediate-level guide to android layout? Everything in the docs seems to be super basic. I think I understand the basic syntax but I'm struggling to create an orderly layout Jun 26 11:50:10 good q d0de Jun 26 11:50:14 danijoo: I want to be able to swipe it in, and it can overlap then, but before any swiping it should be hidden Jun 26 11:50:28 layout is an entire skillset really Jun 26 11:50:47 and not one of mine...i'm a backend troll Jun 26 11:51:24 layout is try-and-error, but with some time you get a feel for it.. Jun 26 11:51:42 vozz: You mean like in the playstore app? Jun 26 11:51:54 does anybody know something like shortcutfoo for mac? Jun 26 11:52:11 danijoo: Yes but I want to be swiping from the right Jun 26 11:52:29 and the swiped in pane should cover the full screen also Jun 26 11:52:32 vozz: Thats called DrawerLayout and is available via android support package Jun 26 11:52:51 drawerlayout is more for menus is it not? Jun 26 11:52:55 myke, if you'd told me a month ago that I'd ever say "I miss CSS", I wouldn't have believed you Jun 26 11:53:08 I'm definitely doing more of a detail view thing Jun 26 11:53:09 you can put anything in it. fragments, lists, views.. Jun 26 11:53:15 okay, I'll have a look, thanks Jun 26 11:53:22 but it cant cover the actionbar though Jun 26 11:53:59 Ah, but the reason I want to use a sliding pane layout is because on a tablet I want to show both side by side Jun 26 11:54:10 can the drawer do that? Jun 26 11:54:38 it may can. but you shouldnt do it that wa Jun 26 11:54:39 y Jun 26 11:55:05 you should provide different layout xmls for tablet (showing both panes) and phones (showing one pane + drawer) Jun 26 11:55:25 hm okay Jun 26 11:55:27 thanks a lot Jun 26 11:55:42 theres a design guide for exactly that usecase from google Jun 26 11:55:47 let me see if i can find it Jun 26 11:55:51 Hey, is it possible to "install" a library project on a device? Or are library projects only for static linking Jun 26 11:56:23 here you go: http://developer.android.com/guide/practices/tablets-and-handsets.html Jun 26 11:56:38 danzat: they are for including in your real project Jun 26 11:56:47 and will be kinda "merged" into it Jun 26 11:56:53 danzat: All library projects end up in the .jar and later .apk. You shouldn't install them. Jun 26 11:56:59 thanks a lot Jun 26 11:57:42 So there's no way I can have some jar/apk like the ones in /system/framework Jun 26 11:58:11 *odex/apk Jun 26 11:58:18 danzat: You mean dynamically loading apk? Jun 26 11:58:23 yes Jun 26 11:59:04 danzat: Well, that's possible. What do you need it for, there may be more sensible solutions? Jun 26 12:00:07 We have some in-house applications which share some functionality. I'd like to export it to a library, and not compile it statically into every application we have Jun 26 12:02:37 danijoo, thanks, I know that wasn't for me but it's very helpfup Jun 26 12:05:33 flan3002: What did you have in mind? Jun 26 12:06:59 danzat: I don't think that's a sensible idea. Some applications have used it to pass the method amount limit, but just saving space is not a good reason to justify the huge additional complexity. How big is that library? Jun 26 12:08:13 flan3002: Not very large, yet, but how complicated is the dynamic solution? Jun 26 12:09:07 flan3002: Just humour me Jun 26 12:10:18 I'm trying to get the value of an EditText from the fragment that the EditText is in. (I added it using a custom layout). But I just get "The method findViewById(int) is undefined for the type TimeInputFragment" Jun 26 12:12:48 oh, I need to use getView() ? Jun 26 12:17:39 danzat: Well, for one, you'd have to install these _shared libraries_, which would take more effort than it's worth already. Then, you have to load it, which already presents another challenge: If you run ART, the files are highly unlikely to already be compiled. Which would have been no problem if you put them in your installation .apk. Jun 26 12:18:08 danzat: Just loading these dex files is not that hard. http://stackoverflow.com/questions/6857807/is-it-possible-to-dynamically-load-a-library-at-runtime-from-an-android-applicat Jun 26 12:19:25 flan3002: I see Jun 26 12:19:45 danzat: But what does it help? You save 100 kilobyte? Jun 26 12:20:19 flan3002: My intention was to save network usage Jun 26 12:20:37 flan3002: When deploying updates to multiple applications Jun 26 12:20:38 danzat: So we're speaking of an application on Play? Jun 26 12:20:55 flan3002: No, it's an in-house application suite Jun 26 12:21:20 i have add a Image button Jun 26 12:21:28 but my image is reduced Jun 26 12:21:30 danzat: Please. How big is the library? Approximately. Jun 26 12:21:34 how i can do for enlarge it? Jun 26 12:21:46 i have add a Image button but my image is reduced how i can do for enlarge it? Jun 26 12:22:16 Right now, 1.9MiB Jun 26 12:22:44 danzat: And how does it cost to transfer those 1.9MiB a hundred times? Jun 26 12:23:03 Assuming you update it hundred times, which you shouldn't. Jun 26 12:23:29 When the server is under load, it will be significant Jun 26 12:24:28 flan3002: There are much more than 100 employees in my company Jun 26 12:25:04 danzat: Well. It's your choice. It's probably not worth it, but if you want to give it a try... Jun 26 12:26:21 flan3002: Thanks for the help :) Jun 26 12:27:21 I'm trying to download a pdf with java. I make a get call, I get the body content of http response, convert to byte[] and write to file. File is created but any pdf view can't open it. any idea? Jun 26 12:27:47 Hi, I'm drawing a circle which gets streched because the view is not square. If the view is forced to be square, the circle is indeed a circle. Has this to do with the units used to draw the circle? http://pastebin.com/22yuN8SW Jun 26 12:28:16 gdrc: You should try to identify what part of the process doesn't work. E.g. pull the file and try to view it locally. Jun 26 12:28:50 On the pc? Jun 26 12:29:08 i have add a Image button but my image is reduced how i can do for enlarge it? Jun 26 12:29:17 thanks Jun 26 12:29:21 freiform: You paint to a bitmap. The circle on the bitmap itself will be normal, but when you stretch the bitmap by setting it as the background, it won't. Jun 26 12:29:56 gdrc: Yes. Jun 26 12:30:03 flan3002: it's blank. Jun 26 12:30:05 flan3002: help me? Jun 26 12:30:31 gdrc: Debug and find out if the byte[] is empty. Jun 26 12:30:47 of course it's not. the file is 132kb Jun 26 12:31:13 here's what I receive http://pastebin.com/Y3xSTxSn lol Jun 26 12:31:16 gdrc: Flushed or closed? Jun 26 12:31:21 Alfreda: Code? Jun 26 12:31:35 waht? Jun 26 12:31:46 i want enlarge only image in ImageButton Jun 26 12:31:57 flan3002: I write data, flush and clsoe the fileoutputstream Jun 26 12:32:07 Okay, wait a second for me to load the online docs... Jun 26 12:32:29 flan3002: how can I prevent the stretching? Jun 26 12:32:38 gdrc: Is the file you're downloading really only 132 kb big? Jun 26 12:32:50 yes Jun 26 12:33:16 Hash the file when downloaded from PC and when downloaded from your app. Jun 26 12:33:31 Compare hashsums, so we know if it's wrong. Jun 26 12:34:00 is it possible to detect activity\fragment onResume from inside a custom view? Jun 26 12:34:11 I'm struggling to get an EditText in a fragment from the same fragment. I'm using myText = (EditText)getActivity().findViewById(R.id.MyId); but I get a null pointer exception when I try to extract the value Jun 26 12:35:39 freiform, Alfreda: http://stackoverflow.com/questions/20075350/android-imagebutton-do-not-stretch-image Jun 26 12:37:04 can an activity see elements in an attached fragment with findViewById? Jun 26 12:41:17 im using org.json.simple (not for long i hate it) but say i have a JSONArray of JSONObjects, inside one of those objects is a unique string. is it possible to get the index of the JSONObject containing that unique string ? Jun 26 12:41:55 ^without using loops Jun 26 12:42:55 freiform, Alfreda: If you didn't see from the above link, you want this method: https://developer.android.com/reference/android/widget/ImageView.html#setScaleType(android.widget.ImageView.ScaleType) Jun 26 12:45:35 hi. I want to display image in YUP420 format in android native window. is there any way to do that directly? Jun 26 12:51:56 Anyone ever see onItemCheckedStateChanged not fire for an AbsListView while it's in action mode and you're tapping on list items? Jun 26 12:52:38 Or is onItemCheckedStateChanged purely for pre-honeycomb android versions? Jun 26 13:04:34 did i understand correctly that android L developer preview will be released later today? Jun 26 13:04:48 Syzygy: thats what they said Jun 26 13:04:53 "made available" Jun 26 13:04:59 yeah but my shitty htc will never see a rom with android L Jun 26 13:05:20 have they dropped names and are just going for letters now btw? Jun 26 13:05:21 why Looorddd!!!! WHHYYYY Jun 26 13:05:32 what do you think. will the n4 get android L in the future? Jun 26 13:05:51 snowpong: I think they just dont want to tell us what "L" is before the release Jun 26 13:06:11 to keep the rumors and publicity Jun 26 13:06:13 danijoo: I hope so too. It's a lot better to google for ICS than I Jun 26 13:07:51 http://mashable.com/2014/06/25/google-android-l-letters/ Jun 26 13:08:11 thanks internet. you've been too helpful today .. ^^' Jun 26 13:09:39 so presumably it will be lollipop Jun 26 13:10:09 Hey Jun 26 13:10:15 or liquorice, but I don't like the taste of that Jun 26 13:10:15 is google android maps v2 location services down Jun 26 13:10:17 or something Jun 26 13:10:21 i can load gmaps fine Jun 26 13:10:25 but i cant get a location Jun 26 13:14:36 so any guess on what phones the android L preview can be installed on? Jun 26 13:14:58 anyone run IntelliJ on a Mac by any chance? Jun 26 13:21:12 IntelliJ looks pretty cool Jun 26 13:21:19 kinda like eclipse Jun 26 13:21:25 do i use cursorloader to return results from db query? Jun 26 13:21:26 http://pastebin.com/zBPNFF0p Jun 26 13:21:28 * flan3002 hides from DarkChaoz. Jun 26 13:21:32 lol Jun 26 13:21:38 im not staying xD Jun 26 13:21:49 just one question then i disappear :P Jun 26 13:24:13 Syzygy: I think that in the "What's new in Android" session yesterday Chet Haase said the L preview would be available for Nexus 5/7 Jun 26 13:25:58 * DarkChaoz still waiting.. :/ Jun 26 13:26:22 hmm, not sure if i want the nexus 5 Jun 26 13:26:32 would be more interesting in getting a galaxy s 5 Jun 26 13:27:57 DarkChaoz: yes Jun 26 13:29:08 ok thought so, Jun 26 13:29:12 now bye :p Jun 26 13:38:48 Installed Android Studio (0.6.1), filled in details for new project, program has been stuck on "Gradle: Build" for 30 minutes Jun 26 13:39:10 Like this: http://i.imgur.com/KS9xze2.png Jun 26 13:43:45 Have a very peculiar problem. When I tether my Nexus 5 to my Nexus 7 I cannot visit any google.com site from the Nexus 7. I did a factory reset on my phone and same problem. I swapped SIM cards with my wife and then it worked, when I went back to my SIM it didn't. Jun 26 13:43:52 ... I can visit other sites, but not any google.com site Jun 26 13:44:50 ELFrederich: sounds like a DNS problem Jun 26 13:45:07 heinrisch, is DNS tied to the SIM card in some way? Jun 26 13:45:35 I'm not sure how those settings are stored when it comes to mobile Jun 26 13:45:48 are you and your wife on the same carrier? Jun 26 13:45:53 I can visit google.com from my phone, just not when it is tethered to my nexus 7 Jun 26 13:46:01 heinrisch, yes... both t-mobile Jun 26 13:46:28 ok, you could try some dns or trace software to see what is happening Jun 26 13:46:56 on the Nexus 7? Jun 26 13:47:09 problem is I can't connect the Nexus 7 to the play store to download any dns tracing app Jun 26 13:47:16 p3lim: We aren't dead. Yet. Jun 26 13:47:33 We just don't always know how to answer your questions. Jun 26 13:47:42 lol Jun 26 13:47:53 heinrisch, I have adb access though on the nexus 7... can I do some dns tracing there? Jun 26 13:47:55 yes we do, we just don't want to help Jun 26 13:48:03 j/k Jun 26 13:49:12 I don't understand when something as big as an official google IDE for android development can fail at installing, updating AND starting Jun 26 13:49:42 When I installed it failed to find my JDK, even though I had JAVA_HOME env set up properly Jun 26 13:50:12 And when I tried to update to 0.6.1 it crashed until I found out by googling for 20 minutes that I had to run a bat file hidden deep in the files to make it work Jun 26 13:50:14 I don't use Gradle, so I can't help... Jun 26 13:50:31 And lastly, this thing with gradle, there is not even an option to turn it off! Jun 26 13:50:36 But Android Studio is just that... Beta software. Jun 26 13:50:43 hi Jun 26 13:50:50 ELFrederich: you can try doing "adb shell", and then "ping google.com" Jun 26 13:51:03 Even though it's beta, basic functionality such as starting up should work Jun 26 13:51:09 Especially since it's public Jun 26 13:51:17 p3lim: Well... There isn't really, but you could have created the project differently and become an "IDE bitch". Not much better. :) Jun 26 13:51:30 p3lim: It does work for some people, apparently. Jun 26 13:51:34 is there any google official measure of the versions of android usage? Jun 26 13:51:51 tiagowanke: yes, one sec Jun 26 13:51:55 heinrisch, not working... just sitting there. PING google.com (74.125.131.139) 56(84) bytes of data. Jun 26 13:51:56 If it works for some people, I'd like to know how they've managed to make it run Jun 26 13:52:09 heinrisch, but I can't ping xkcd.com either and that website loads fine Jun 26 13:52:13 tiagowanke: https://developer.android.com/about/dashboards/index.html Jun 26 13:52:19 so I don't think ping is a good test Jun 26 13:52:32 ELFrederich: xkcd loads from the device? Jun 26 13:52:35 heinrisch: tnk u very mutch Jun 26 13:52:56 flan3002, xkcd.com loads in Chrome on my Nexus 7 tethered to my Nexus 5 Jun 26 13:52:57 Hello! Anyone who knows whether Android can make use of bluetooth HS? Jun 26 13:53:18 flan3002, but I can't ping xkcd.com from adb on my Nexus 7... so I don't think ping is a good test Jun 26 13:53:54 ELFrederich: it was a good test, since you find google's IP, so it should not be the dns Jun 26 13:55:17 any other ideas to test? Jun 26 13:56:04 hi, i have a Mainacivity that has a status bar in upper side with icon and APPName, now how i can do for insert this in an other layout? Jun 26 13:56:06 thanks Jun 26 13:57:24 what is the sense of use always open navigation drawer? Jun 26 13:57:43 I don't know how this tethering works but I find it weird that I can use the play store and visit news.google.com on my phone but not on things tethered to my phone. Jun 26 13:58:30 cmon google its' the 26th Jun 26 14:01:24 gdrc I was all excited, until I realized we have a Nexus 4, not 5 Jun 26 14:01:44 but I'll just have to live vicariously through yall Jun 26 14:04:58 vicariously I, live while the whole world dies, you all need it too, don't lie Jun 26 14:08:45 hi, how i can realized a gallery of image in a folder in a url? for example www.mysite.com/img/ Jun 26 14:08:46 ? Jun 26 14:09:29 Hey guys I haven't develoed for andoid in a few years now, I want to start up again and was wondering if I can just use android studio and not eclipse? Jun 26 14:10:07 Dev007: you certainly can, I use AS exclusively and have for a year or so now Jun 26 14:10:16 Dev007: expect some hassle getting to learn gradle, other than that Jun 26 14:10:29 Ok I just wanted to make sure it can be used primetime Jun 26 14:11:29 I have to learn gradle? dragorn Jun 26 14:11:45 is it common to hide UI elements using android:visibility? Jun 26 14:12:04 yaw: yes Jun 26 14:12:04 AS does some of it, but you're going to need to learn enough to fix when AS screws up, or when you update, or similar things. Jun 26 14:12:22 Hi i'm using eclipse adt and i have 2 layout, in upper side i view app_name in both layout.... how i can change this text only in 1 layout? Jun 26 14:12:44 yaw: use invisible if it should still take up space in the layout, and gone if it should not take up space. Jun 26 14:13:20 heinrisch: it should. it shows after I have updated another UI element Jun 26 14:13:37 Alfreda: I would recommend that you read through some basic andoir tutorials Jun 26 14:13:52 for some of them (buttons) their caption depends on the results returned after an API call Jun 26 14:14:24 how are you updating the other element? are you recreating anything? Jun 26 14:15:02 what is the most up-to-date way of implementing a simple xmpp interaction between the application and a server? Jun 26 14:15:17 basically it's a simple chat system between all users using the application, no fancy stuff Jun 26 14:15:40 So dragon is it too much of a hassle to use AS for the benifits? Do the pros outweigh the cons. Jun 26 14:17:04 *dragorn ^ Jun 26 14:17:31 hey Jun 26 14:17:45 Hey, you managed to register. :) Jun 26 14:17:51 finally :D Jun 26 14:18:25 Ask your question again for everyone else. :) Jun 26 14:18:53 Is it too much of a hassle to use AS for the benifits? Do the pros outweigh the cons. Jun 26 14:19:12 everyone ^ Jun 26 14:19:17 Dev007: Only you can decide that for yourself. Jun 26 14:19:29 I don't use AS, I prefer IntelliJ. Jun 26 14:19:42 I've got a little question... Soo I want to create a map making tool for desktop which saves the maps in text files which then can be put in the resources of an android app and loaded by the app. I've already created a custom storage class which works with the "File" class of java. Now I just need to somehow create a File via the resource id of the text files... Jun 26 14:20:35 what's the correct way to hide the soft keyboard after the user has hit the "submit" button on my text-entry form? Jun 26 14:20:53 just called into t-mobile... while I was on the phone with them my Nexus 7 started showing a t-mobile splash page for wifi hotspot when I visit google.com Jun 26 14:20:56 I don't want to interfere with the keyboard reappearing at some later point in the activity Jun 26 14:21:13 Dev007 Hey man! I will HIGHLY recommend Android Studio. no way in hell I'd go back to Eclipse + ADT now. You will probalby have a little frustration at first, since you were used to Eclipse. You will need to learn Gradle, but believe me, it rocks. Jun 26 14:21:18 I thought if I had a pure nexus device and used the built in tethering that t-mobile couldn't tell the difference Jun 26 14:21:18 ELFrederich: are you working on a tethering app? Jun 26 14:21:31 what I need is: File file = new File( ) Jun 26 14:21:43 maybe via an inputstream? Jun 26 14:21:44 Dev007 We released our version 1 app at my company on Eclipse ADT, then switched to AS. Been on AS full time since. Jun 26 14:21:49 Black_ixx: You don't want to use resource ids for that, as it would require recompilation. Jun 26 14:22:09 so maybe the direct path of the file instead? Jun 26 14:22:10 mattblang_ will do thanks for the advice Jun 26 14:22:11 Black_ixx: Rather, you'll probably want loading files from internal/external storage. Jun 26 14:22:39 flan3002: you mean I should save the files on the device and then load 'em? Jun 26 14:22:55 Black_ixx: Yes. Jun 26 14:23:10 hm Jun 26 14:23:39 sounds like a good et Jun 26 14:23:41 entry* Jun 26 14:23:47 I'll try that out. Thanks :D Jun 26 14:23:59 Black_ixx: :) Jun 26 14:25:16 what is the best way to implement an xmpp chat in android? Jun 26 14:25:28 Do we need another? Jun 26 14:26:49 jvrodrigues: http://xmpp.org/xmpp-software/libraries/ Jun 26 14:27:37 flan3002, thansk Jun 26 14:27:56 jvrodrigues: If you have to thank for that, google next time before asking. :) Jun 26 14:28:45 i googled, but i all that i found were a ton of posts from 4 years ago. I though i'd want something more uptodate, dowloaded a few libraries, some targetting api 2. Jun 26 14:28:53 felt i was way over my head and i should ask Jun 26 14:29:29 You need to add a new entry to the global table called "tether_dun_required" with a value of 0. Jun 26 14:29:37 jvrodrigues: Why do you want to build another XMPP client, if I may ask? Jun 26 14:29:41 ... to /data/data/com.android.providers.settings/databases/settings.db Jun 26 14:29:46 how can I do that? Jun 26 14:29:53 is there an app to edit the sqlite database? Jun 26 14:30:08 ELFrederich: are you working on a tethering app? Jun 26 14:30:24 flan3002 some people want to just practice development and need a reason too, just sayin Jun 26 14:30:33 Leeds, no.. I'm trying to get tethering working.... http://forum.xda-developers.com/showpost.php?p=47203432&postcount=70 Jun 26 14:30:43 mattblang_: Sure, but maybe something... cooler than an XMPP client? :P Jun 26 14:30:44 ELFrederich: then why are you asking in the app development channel? Jun 26 14:30:50 flan3002 lol! Jun 26 14:30:52 Leeds, oh... sorry Jun 26 14:31:10 ELFrederich: SQL Debugger. Jun 26 14:31:21 ELFrederich: SQLite Debugger. Sorry. Jun 26 14:31:32 Hi i'm using eclipse adt and i have 2 layout, in upper side i view app_name in both layout.... how i can change this text only in 1 layout? Jun 26 14:32:15 flan i need to implement an xmpp interface for user communication within the application Jun 26 14:32:21 it HAS to be xmpp Jun 26 14:32:30 Question about services Jun 26 14:32:52 is there a reason my service would be starting before my activity? Jun 26 14:33:39 jvrodrigues you are probably thinking right now, "man, if I knew asking a question would turn into an incquisition..." Jun 26 14:36:35 jvrodrigues: you want this http://www.igniterealtime.org/projects/smack/ Jun 26 14:37:11 jvrodrigues: heres an example of using smack with gcm to do xmpp https://developer.android.com/google/gcm/ccs.html#smack Jun 26 14:37:19 i see Jun 26 14:37:21 thanks N Jun 26 14:37:26 Napalm* Jun 26 14:37:31 http://developer.samsung.com/android/technical-docs/Building-a-Chat-Application# i was looking at this Jun 26 14:37:47 flan3002, I don't see an option for insert, just update, delete, select, from, where, and order by Jun 26 14:38:16 jvrodrigues: what are you trying to build? a chat app? Jun 26 14:39:15 ELFrederich: Tried manually typing the insertion? Jun 26 14:40:08 is there any word on when the google fit API will be released? I know they'll release a lot of stuff today, any chance google fit will be part of that? Jun 26 14:42:12 Hi i'm new on eclipse adt. I have 2 layout, in upper side i view app_name in both layout.... how i can change this text only in 1 layout? -->http://postimg.org/image/6brn0twl7/ Jun 26 14:43:19 What would you rather suggest... sending the AsyncTask result object via Event Bus to the activity or store the AsyncTask reference in the activity and get it on the event callback? Jun 26 14:43:34 I don't want to update the interface elements directly in the onPostExecute method Jun 26 14:45:14 alas, can I expect some stuipid overhead when sending pojos via event bus Jun 26 14:45:24 flan3002, yeah... I got it. Figured they'd have a shortcut for that. Jun 26 14:46:56 platzhirsch, all Eventbus is is a clever set of listeners and senders Jun 26 14:47:26 jonc: yeah, I mean I wouldn't expect it to induce any overhead, I am just wondering if this approach of mine would be complete bonkers Jun 26 14:48:03 it uses introspection to find the events that an object that registers will receive, makes those into listeners and then boom good to go, the only real overhead is registering, sending is just going to be n function calls Jun 26 14:50:42 Hi i'm new on eclipse adt. I have 2 layout, in upper side i view app_name in both layout.... how i can change this text only in 1 layout? -->http://postimg.org/image/6brn0twl7/ Jun 26 14:51:01 Hi i'm new on eclipse adt. I have 2 layout, in upper side i view app_name in both layout.... how i can change this text only in 1 layout? -->http://s14.postimg.org/boa5cxfup/Untitled.jpg Jun 26 14:53:10 Napalm, i'm implementing a chat interface for user communication in the app i'm building Jun 26 15:05:07 hmm, which linux dist ships with btrfs as a default fs now? Jun 26 15:06:48 I don't think on any Jun 26 15:06:59 well, actually, you can format in what you want Jun 26 15:07:05 so, maybe all of them Jun 26 15:07:57 opensuse Jun 26 15:08:02 can't wait to L preview, grrr Jun 26 15:10:45 i think these guys are watching the "whats new in android session" http://imgur.com/cxiFRpM Jun 26 15:11:54 http://martinvalasek.com/blog/pictures-from-a-developers-life Jun 26 15:12:37 What UI element should I use to display a countdown to the user? Time will be counting down from some arbitrary amount to 0 Jun 26 15:12:44 a TextView Jun 26 15:12:53 Chronometer is stupid... Jun 26 15:13:17 capella hehe, thats great Jun 26 15:13:25 yeah, textview Jun 26 15:13:30 kk, thanks Jun 26 15:13:58 Is there a bundle alternative where I can put it non-parcelable/serialiazble objects? Jun 26 15:14:07 I don't want to use it for intents or stuff Jun 26 15:14:14 just like a map Jun 26 15:14:19 platzhirsch your own holder class :) Jun 26 15:14:31 g00s: yeah, basically... Jun 26 15:14:40 yeah too bad we don't have tuples Jun 26 15:14:44 Pairs Jun 26 15:14:52 I was just gonna implement the countdown myself with a runnable and some modulo arithmetic, is that sensible? Jun 26 15:14:56 i wouldn't use Pair though, readability is poor Jun 26 15:15:09 yep Jun 26 15:15:09 I mean the countdown function, not the UI Jun 26 15:15:10 Chronometer is stupid, but it does work Jun 26 15:15:22 just use the right time base XD Jun 26 15:15:50 "just like a map" Jun 26 15:15:52 So... Jun 26 15:15:55 A Map? Jun 26 15:16:06 g00s, what do you mean by time base please? Jun 26 15:16:25 d0de you use system up time, not wall time Jun 26 15:16:43 frankdrey wishes he was using lua :) Jun 26 15:17:02 Java has Map... Jun 26 15:17:37 g00s, I was just going to use a runnable running every 1000ms to tick down Jun 26 15:18:11 I guess you meant objects of different types Jun 26 15:18:30 can do that. same thing with Chrono though, when your activity goes to bg you'll have to stop that, maybe save what was last displayed, etc Jun 26 15:18:34 (Put as Object and cast back?:D) Jun 26 15:18:57 * g00s can't wait to play with listview2 Jun 26 15:19:06 g00s, I actually have a background service for the app already so I was just going to have the countdown in the service and then have it send an intent every tick when the activity is bound Jun 26 15:19:23 d0de i wouldn't send an intent every tick Jun 26 15:19:30 too much garbage :) Jun 26 15:19:45 g00s how would you do it then? Jun 26 15:20:03 d0de i just joined, and didn't see all of your question / what you are trying to do Jun 26 15:20:08 g00s: missed that (lv2) is there any video or images? Jun 26 15:20:27 Foxandxss its @ 3:38 in what new in android i think Jun 26 15:20:34 (the video) from yesterday Jun 26 15:20:35 ah, cool Jun 26 15:20:36 RecyclerView Jun 26 15:20:40 I found the video later Jun 26 15:21:09 it is not up yet, rigbht? Jun 26 15:21:19 new support lib? no Jun 26 15:21:22 video video Jun 26 15:21:31 g00s, I have a background service playing audio. It has various timers (e.g. "fade out over 30 seconds" ) where the user enters a time and it does something over that time. I want the activity to display how long until the current timer runs out Jun 26 15:21:35 check beck after the tools session in a few minutes Foxandxss :) Jun 26 15:21:48 I want to see the tools video Jun 26 15:21:50 I love tools Jun 26 15:21:59 you are a... no, too easy :) Jun 26 15:22:02 I keep track of how many seconds are left until 0 in the service, I just need a way to communicate that to the activity whenever its bound Jun 26 15:22:05 Leeds :| Jun 26 15:22:39 d0de hmm. well, i guess you could have the service call back to the UI every second, just make it efficient Jun 26 15:22:48 like call a method, don't create an intent Jun 26 15:23:16 has implementing a tranparent overlay for actionbar changed in Android 4.4.x? this https://developer.android.com/training/basics/actionbar/overlaying.html doesn’t work Jun 26 15:23:35 I don't actually know how to get a bound service to call a method in the activity it's bound to, that why I created the intent interface in the first place :P Jun 26 15:23:53 damn material stuff with polymer is crazy awesome Jun 26 15:24:07 broadcastReceiver I mean Jun 26 15:24:16 d0de its easy. once the (local) service is bound, just say myService.setListener(this) Jun 26 15:24:27 and in onStop, clear that out Jun 26 15:25:22 d0de i have a similar scenario: i have a connection timer in my UI Jun 26 15:25:29 but the service only hold the time of the event Jun 26 15:25:45 the UI uses Chronometer based off that event time Jun 26 15:26:24 g00s, are there any docs you can link to re: setting up that listener? Jun 26 15:26:36 stand back and think of it this way: the service is business logic; is broadcasting this event (a countdown) really business-esque of UI function ? Jun 26 15:26:50 *or UI function Jun 26 15:27:06 yo g00s Jun 26 15:27:24 d0de no i dont think so, just define a listener interface in the Service, like 'public interface Listener { void onTick() ; } Jun 26 15:27:29 hello therue Jun 26 15:27:46 I would make my life an awful lot simpler if I could implement this listener you're talking about, if it means I can call methods in the activity from the service Jun 26 15:28:01 yeah, its very typical. devs do this a lot Jun 26 15:28:17 gotta eat some before 1st session Jun 26 15:28:46 I'm using eclipse to make an android project... how do I build it from command line? Jun 26 15:28:52 (not through the build button in eclipse) Jun 26 15:28:57 finally decided to go with java/android. i'm learning java now and doing exercises in IntelliJ. :) Jun 26 15:29:08 g00s: @ I/O ? Jun 26 15:30:57 no necessary Jun 26 15:31:08 I want to eat something before and I am at home :P Jun 26 15:33:34 any good third party libraries for doing an expandable / collapsable view? Jun 26 15:34:00 how to do for put a little image like < in upper-left for return to Mainactivity from another layout? Jun 26 15:34:10 setHomeAsUpEnabled Jun 26 15:35:30 g00s, how to I setup the callback in my service? Jun 26 15:36:30 d0de in your service, make an interface Listener { void onTick() {} ; } … and then define 2 methods setListener(Listener) and clearListener(Listener) Jun 26 15:37:00 in ServiceConnection onServiceConnected set the listener to the activity, and onStop clear it Jun 26 15:37:20 just like any other listener interface. localservice is just a regular class Jun 26 15:38:38 g00s, will try, thanks. It's just a little different than other interfaces I've set up, e.g. between a fragment and the parent activity Jun 26 15:43:37 pfn: i have insert getActionBar().setDisplayHomeAsUpEnabled(true); in onCreate(Bundle savedInstanceState) Jun 26 15:43:55 i view the back button but when i click on not return to homepage Jun 26 15:44:19 is it out yet? Jun 26 15:44:42 Afzal: what? Jun 26 15:44:45 Alfreda, that is the exact problem I'm having with one of my apps Jun 26 15:44:56 And I was just asking about L dev preview lol Jun 26 15:45:05 :D Jun 26 15:45:15 dont work this funcition :| Jun 26 15:45:16 why? Jun 26 15:45:20 Afzal: not yet Jun 26 15:46:14 Alfreda, try setting the parent activity name in the Manifest. That just solved it for me right now :) Jun 26 15:46:27 Hello. I've a question. I know, its not possible it all to make a service keep alive forever aslong as its not a foreground-service. How about widgets? Is it possible to keep it alive without an notificationbuilder? Or how about rooted/systemapps? How do they get the service run forever? Jun 26 15:47:11 daemons... Jun 26 15:47:48 g00s, sorry, I feel really dumb but I still don't totally follow you. What parameter does the Activity use when it calls setListener in the service? and what should the method setListener actually do? Jun 26 15:50:45 misterli, depending on what the service does. You can even get away with not having to run it in the background all the time. See if there's a Broadcast Intent from the system that might be relevant enough to start what you want to do Jun 26 15:51:29 No, this was not my question. :-) I'm not a beginner in Android-Developing. I know that there are several ways making sure that the service is still running, but it's not secure doing this with RETURN_STICKY and/or AlarmManager etc. Jun 26 15:51:49 If the GBC want to kill it it, it will kill it. It's because of a Long-Polling-Connection which should be persistent all the time Jun 26 15:52:06 And i know that systemapps like google play have a service which is ALWAYS running. Jun 26 15:52:46 d0de you make the activity implement this, and you pass it to the service.setListener Jun 26 15:53:11 hey g00s, How'r u? Jun 26 15:53:19 misterli, well since you aren't a beginner, can I ask what this long polling connection does? :) Jun 26 15:53:25 with ORMLite do I have to call dao.create(obj) on the same thread that the dao was created from? Jun 26 15:53:29 hey misterli seems like they fixed that service bug right ? Jun 26 15:53:34 at least in 4.4.3 Jun 26 15:53:41 Yep, they did Jun 26 15:53:45 \o/ Jun 26 15:53:49 that was fucked up Jun 26 15:53:52 misterli: apps in /system have extra permission... :D Jun 26 15:53:56 Well, Cyanogenmod implemented it in their current rom aswell. Even in 4.4.* Jun 26 15:53:59 g00s, and what should setListener actually do? Sorry for all the questions, I really want to understand :S Jun 26 15:54:30 p_l, i know. This is why im asking that :/ and yes Afzal. It should keep the connection persistent. All the time. I know LP will ping out and reconnect, but this was just an example case Jun 26 15:54:31 d0de your listener.onTick updates the UI ! Jun 26 15:54:32 o.O what bug with services? I just got into this Service stuff :/ Jun 26 15:54:53 Afzal, check my SO Jun 26 15:54:53 http://stackoverflow.com/questions/22553582/android-kitkat-how-to-fix-return-sticky-bug-in-service Jun 26 15:55:06 oh, sorry Jun 26 15:55:07 I mean http://stackoverflow.com/questions/20636330/start-sticky-does-not-work-on-android-kitkat-edit-and-jelly-bean Jun 26 15:55:36 Or does ormlite handle threading issues by posting to a handler? Jun 26 15:55:58 o.O dang lol, I think I will come across this bug pretty soon as I write my first non-intent Serivce Jun 26 15:56:00 Service* Jun 26 15:56:11 g00s, there is a very good workaround by registering a batteryreceiver and alarmmanager and override onTaskRemoved() Jun 26 15:56:20 yuck Jun 26 15:56:34 well glad its fixed, too bad for the suckers on 4.4.2 Jun 26 15:56:46 Well, there will be alot changes with Android L(codename not relesed) Jun 26 15:57:01 When dalvik will be removed completly.. Jun 26 15:57:05 yeah people will have those in their hand earliest xmas Jun 26 15:57:53 g00s, did you see the test (Android 4.3/4.4 DALVIK vs 4.4 ART)? Jun 26 15:57:55 Day 2 Room 8 :D woohoo Jun 26 15:58:12 misterli yeah … 2x isn't really that great. they need like 7x Jun 26 15:58:22 c++ is still like 20x faster Jun 26 15:58:23 2x? haha Jun 26 15:58:34 Battery usage 4.3 12%, 4.4 11% 4.4 ART 10% Jun 26 15:58:45 I'm getting an exception when trying to use dao.create(obj). The database seems to be created, just can't add anything to it: exception http://pastebin.com/MH5uszSG http://pastebin.com/vUL3dDLQ object trying to be added Jun 26 15:58:46 Ramusage 4.3 433mb~ 4.4 420mb~ 4.4 ART 388MB~ Jun 26 15:59:08 Get ready for Android Studio 1.0 beta :p and Hopefully the SDK release in a few min? :D Jun 26 15:59:29 I just hope I can write the system img and not have to clear my data for this dev preview Jun 26 15:59:32 ram-usage with SOFTWARE (spotify). Android 4.3 2,5GB, Android 4.4 2,5GB and now 4.4 ART GODDAMN 2,9 GB! Jun 26 15:59:37 what? Jun 26 15:59:53 weren't ANT applications supposed to be slightly larger? why does it use less ram? Jun 26 16:00:13 g00s: https://www.google.com/events/io#5WI_lCmBKE8 Jun 26 16:00:14 :) Jun 26 16:00:19 misterli, shouldn't it use less RAM? Jun 26 16:00:22 ah Jun 26 16:00:30 haha, i thought that, yes. But now it takes about 10% more RAM Jun 26 16:00:31 Whys that? Jun 26 16:00:42 I thought it's compiled to native code while installation already Jun 26 16:00:45 compiled, optimized,... Jun 26 16:01:07 art is also some jit Jun 26 16:01:09 some Jun 26 16:01:10 yeah, it's supposed to take 10% more *storage* instead of RAM Jun 26 16:01:25 oh well, not like we don't have enough of RAM and storage :p Jun 26 16:01:27 Yea, but that's not true. In all the tests it took about 10% more ram Jun 26 16:01:49 I'm honestly still not sure what the actual motivation behind ART was Jun 26 16:01:52 well, afaik google released their first x64 device with 4GIG of memory, right? Jun 26 16:01:55 stream live! Jun 26 16:01:59 misterli: android is x64 bit now :D Jun 26 16:01:59 Afzal, speed Jun 26 16:02:05 well, just a green screen Jun 26 16:02:06 gordon_, Android, but the CPU is not Jun 26 16:02:11 yet Jun 26 16:02:24 misterli, is it really that much of a performance improvement to warrant this? Jun 26 16:02:31 session now starts ? Jun 26 16:02:31 will device emulation become viable with ART? Jun 26 16:02:34 Afzal, should be yea Jun 26 16:02:36 yeeee, it's on! Jun 26 16:02:37 the tools one Jun 26 16:02:41 ok good Jun 26 16:02:45 Because now it's not compiled while runtime anymore. Native-Code is alwys quicker Jun 26 16:02:56 hmm interesting. True true Jun 26 16:02:58 But how about all those apps who've dex-Loaders like Facebook, Whatsapp, Gmail, whatever? Jun 26 16:03:12 they're gonna have to use something else Jun 26 16:03:13 dex can't be rode anymore, am i right? Since dex are those davil compiled crap shit Jun 26 16:03:17 AS BETA! Jun 26 16:03:18 yayayyaya Jun 26 16:03:21 lol Android Studio Beta Jun 26 16:03:22 :D Jun 26 16:03:23 good news Jun 26 16:03:35 g00s, I'm sorry to bug you with this but I just don't get it. I don't suppose you could take a minute and show me the skeleton of how it should look? http://hastebin.com/axodeliyev.java Jun 26 16:05:09 How recall a php script from my app? for example i have a test.php that connect to my DB and echo "Success" ... Jun 26 16:05:14 lol hastebin Jun 26 16:05:33 hey Jun 26 16:05:47 lol I'm super happy with the current performance :D Jun 26 16:06:02 I just want better error messages from gradle and such Jun 26 16:06:02 AS is not ready. it can't even format the XML correctly. Jun 26 16:06:14 bitkiller, does for me Jun 26 16:06:37 anyone use https://github.com/eluleci/FlatUI é Jun 26 16:06:38 ? Jun 26 16:07:39 IntelliJ has this bug which messes up the code while undo-ing redo-ing though, that was is really annoying Jun 26 16:07:49 not for me Jun 26 16:07:55 well, at least the flavours I use Jun 26 16:07:55 not for me either Jun 26 16:08:10 wish faster dexing Jun 26 16:08:23 what i found annoying is this: you set option 'format this way' and it does 'this way'. if i uncheck 'format this way', it keeps doing 'this way', because it doesn't know the 'not this way' Jun 26 16:08:23 and easy language / plugin integration Jun 26 16:08:29 multiple apk splits; interesting Jun 26 16:08:37 g00s: ++ Jun 26 16:08:45 * g00s glad he's using gradle ;) Jun 26 16:08:51 good stuff Jun 26 16:08:55 of course Jun 26 16:09:00 ant should die long time ago Jun 26 16:09:07 Hi guys, is there anyone who knows how to use MapFragment properly? : ) Jun 26 16:09:19 you mean google map ? Jun 26 16:09:23 yep Jun 26 16:09:29 Hey how is everyone? Jun 26 16:09:30 yeah I'm using that Jun 26 16:09:33 gdrc: huh, interesting library :) do you use it? Jun 26 16:09:52 i would like but it doesnt work Jun 26 16:09:53 trying to figure out how to pass the options set in MapFragment to the GoogleMap Jun 26 16:10:03 I have a hard time understanding Xavier :P Jun 26 16:10:20 wasnt scopes working with gradle and android ? ;O Jun 26 16:10:28 *werent Jun 26 16:10:31 did he say new manifest module? Jun 26 16:10:44 oh NICE! Jun 26 16:10:44 yep Jun 26 16:11:02 Afzal: what's that? Jun 26 16:11:21 Foxandxss, flavour-specific permissions apparently Jun 26 16:11:26 I see Jun 26 16:11:42 more control over the manifest merger Jun 26 16:12:21 I don't know why we still have to write the Manifest at all. So easy to just use build.gradle and let it do ALL the work Jun 26 16:12:31 I second that Jun 26 16:12:35 disconnected, did I miss anything? Jun 26 16:12:51 d0de_ the typical nonsense. Jun 26 16:13:06 libs not ribs.. Jun 26 16:13:32 hi Jun 26 16:14:17 Xavier is using a regular clock! Jun 26 16:14:18 heh Jun 26 16:14:35 bugger it, I'm just going to use intents Jun 26 16:14:40 oh yeah Jun 26 16:14:43 naming apk <3 Jun 26 16:15:04 :D Jun 26 16:15:16 this is the real stuff lol, love these improvements Jun 26 16:16:59 how do i use cursorloader, i have this Cursor lol = myDbHelper.getData(1); Jun 26 16:17:24 getData is a public cursor function which returns db.query Jun 26 16:17:46 but not sure how to use cursorloader to get the resultset of the query Jun 26 16:18:05 DarkChaoz: is google i/o we don't answer stuff for the next 30 minutes :P Jun 26 16:18:43 lol Jun 26 16:18:46 DarkChaoz, example of using cursor loader. https://github.com/AfzalivE/MI-Chat/blob/master/android-app/src/main/java/com/afzaln/mi_chat/activity/MessagesActivity.java Jun 26 16:18:57 thats why its called a dev channel xD Jun 26 16:19:12 But this is easier to follow http://developer.android.com/guide/components/loaders.html Jun 26 16:19:36 ok I'll try to see how its used Jun 26 16:19:37 thanks Jun 26 16:19:52 loaders... what a terrible api... Jun 26 16:20:08 With CursorLoader, you only need to manage the cursor in the implemented methods, nothing outside it Jun 26 16:20:14 new sdk tool is avaible for download Jun 26 16:20:32 pfn, I highly disagree with that one :) Jun 26 16:20:35 tools looks exciting Jun 26 16:20:43 Afzal: cheers, it is hard to see good projects open source on android Jun 26 16:21:01 Foxandxss, lol, flattered. Jun 26 16:21:10 can anyone point me to a BoshConnection example? Jun 26 16:21:19 I have to see the course first! but meh, I suck at android :P Jun 26 16:21:32 ohh thank the lorrrd. No more broken build.gradle files! Jun 26 16:21:46 I see the tools and platform tools update Jun 26 16:21:48 what are those exactlyt? Jun 26 16:21:53 Downloading lol Jun 26 16:21:58 haha Jun 26 16:22:10 uh, AS 0.8.2 Jun 26 16:22:10 so whats the messagetable.content_uri, Jun 26 16:22:12 that is a big jump Jun 26 16:22:17 oh come on, are we still at this importing from Eclipse thing Jun 26 16:22:20 i assumethe messagetable is the class Jun 26 16:22:24 oh dang, 0.6.2 to 0.8.2 Jun 26 16:22:24 he's showing libraries in eclipse Jun 26 16:22:27 can't wait! Jun 26 16:22:28 I want to spew.. Jun 26 16:23:00 gordon_, it's so easy to just do it by writing a build.gradle file and import the project :/ Jun 26 16:23:18 * kbs agrees with pfn vis-a-vis loaders - simpler ways to solve the problem Jun 26 16:23:40 ah, API L Jun 26 16:23:43 downloading Jun 26 16:23:50 API L? WOO! Jun 26 16:23:52 yeah Jun 26 16:23:54 and APIW Jun 26 16:23:55 for wear Jun 26 16:24:03 Afzal: can I have old android projects with native ndk in gradle ? Jun 26 16:24:04 I mean, API 20 for L and wear Jun 26 16:24:12 where? Jun 26 16:24:17 sdk manager Jun 26 16:24:17 oh nice, android view :) Jun 26 16:24:20 when you update it, reboot it Jun 26 16:24:24 gordon_, still have yet to play with ndk Jun 26 16:24:26 g00s: missed that! Jun 26 16:24:30 I am seeing the tools :P Jun 26 16:24:36 wait, what did he just show? Jun 26 16:24:51 wasn't android wear avaible for a while now? i remember implementing a small prototype months ago Jun 26 16:24:52 OH YEAH Jun 26 16:25:08 on emulator Jun 26 16:25:09 hm, how come I don't see api 20 in the sdk manager Jun 26 16:25:10 categorized resource files!! YESSS! Jun 26 16:25:11 afzal, where is that MessagesTable located Jun 26 16:25:27 installing L and W sdk Jun 26 16:25:46 you can't see a video when you're updating your stuff :P Jun 26 16:25:55 DarkChaoz, provider > ProviderContract Jun 26 16:25:58 damn, that screen is cool Jun 26 16:26:04 I want a wear now Jun 26 16:26:05 Hi, what is more efficient way to display a video on an (GL)SurfaceView, when the video steam comes from a native decoder ? Jun 26 16:26:23 nice preview Jun 26 16:27:08 I'm looking on using TEXTURE_EXTERNAL_OES side but it seem quite cumbersome Jun 26 16:27:15 Installing :D :D YESS Jun 26 16:27:21 Christmas is here!! :D Jun 26 16:27:36 so is 0.6.1 what they are calling a beta, or is there a new version coming ? Jun 26 16:27:52 how connect PHP (server) and Android (client) Using HTTP and JSON ? Jun 26 16:28:06 g00s: I see 0.8.2 on the top Jun 26 16:28:09 Alfreda I also want to know this. Jun 26 16:28:11 How to do this. Jun 26 16:28:16 ahh i see, so messagetables is the uri for content_uri for the cursorloader Jun 26 16:28:23 i definitely dont have that lol Jun 26 16:28:26 Psil0Cybin: i have find this: http://fahmirahman.wordpress.com/2011/04/21/connection-between-php-server-and-android-client-using-http-and-json/ Jun 26 16:28:35 perfect!! thank you Jun 26 16:28:40 i will also keep looking so i can help you as well Jun 26 16:28:43 but i dont undstand for example for a query how to pass a variable? Jun 26 16:28:49 ok Jun 26 16:28:51 thanks Jun 26 16:28:54 DarkChaoz, yeah, this is using ContentProvider stuff so it's kinda of weird there if you don't wanna implement that Jun 26 16:28:59 but it's just a uri Jun 26 16:29:27 Alfreda: can this allow you to login and make user applications that involve logins like facebook/twitter/snapchat Jun 26 16:29:28 type thing Jun 26 16:29:36 the mysql database and the application is exactly what i wanted!! Jun 26 16:29:49 I am getting more excited with this talk than keynote P Jun 26 16:29:56 lol Jun 26 16:30:00 api 21? Jun 26 16:30:01 wtf Jun 26 16:30:03 api 21 <3 Jun 26 16:30:06 See this is what I don't understand Jun 26 16:30:09 Lol Jun 26 16:30:21 we are getting api 20 now, what's 21? :P Jun 26 16:30:22 bah i am sitting @ a coffee shop, wish i broght my head phones Jun 26 16:30:26 they keep saying API 21. API 21 in values-v21, API 21 in styles but we're downloading API 20 Jun 26 16:30:30 getting batter Jun 26 16:30:32 *better Jun 26 16:30:33 I guess API 21 is the final L release? Jun 26 16:30:37 maybe Jun 26 16:30:40 g00s, from the activity I should be calling myService.setListener(this) right? the part I don't understand is how setListener takes a listener as it's input, but how do I feed it the listener when I'm calling it from the activity, not the service? Jun 26 16:30:42 20 must be preview and 21 final Jun 26 16:30:44 so how would i use uri for my cursorloader.. Jun 26 16:30:45 ooo Jun 26 16:30:45 OH NICE! Jun 26 16:30:48 that was nice Jun 26 16:30:50 niceee Jun 26 16:30:51 Material design <3 Jun 26 16:30:51 d0de_ sorry, watching I/O Jun 26 16:30:55 for the record, it's June 27th here... Jun 26 16:31:00 oh shots fired at GB Jun 26 16:31:21 GB? Jun 26 16:31:24 top shoottah Jun 26 16:31:26 gingerbread Jun 26 16:31:40 but it doesn't colour statusbar :/ Jun 26 16:31:49 but you can! Jun 26 16:31:49 and yes! finally widget colouring without custom styles :D Jun 26 16:31:54 a total newb question. i have a ViewPager that has an input field in it, when i swipe to the sides the keyboard minimizes. that takes time (keyboard minimizing), i want the keyboard to be swiped away with the contents of the view. is it possible? Jun 26 16:31:58 Foxandxss, I mean in the preview Jun 26 16:32:06 ah, maybe is another key for that? Jun 26 16:32:16 maybe Jun 26 16:32:36 I still see the ICS statusbar in that preview window though, maybe I'll file a bug ;) Jun 26 16:32:44 true Jun 26 16:32:56 oh thats awesome (theme attr lookup) Jun 26 16:32:57 oh that tooltip! Jun 26 16:33:05 dammit AS getting nice Jun 26 16:33:34 assignText ? Jun 26 16:33:43 nooo Jun 26 16:33:49 ah nvm, stream stopped Jun 26 16:34:04 oh sure. Jun 26 16:34:07 I wish I had a "fix bugs" button :-) Jun 26 16:34:07 what stream? Jun 26 16:34:16 this https://www.google.com/events/io#5WI_lCmBKE8 Jun 26 16:34:28 uh, I like those annotations Jun 26 16:34:52 now switching to AS Jun 26 16:34:58 this is finally where it should be Jun 26 16:34:59 oh, i was watching yesterdays keynote and thought it was mostly over, didn't really pay attention Jun 26 16:35:06 beta should be available any minute I guess Jun 26 16:35:10 to this convention Jun 26 16:36:09 lol Alt Enter EVERYWHERE :D (or Cmd+1 in my case) Jun 26 16:36:26 afzal, based on my code, http://pastebin.com/qwJrmY7w , what should i do use uri fo Jun 26 16:36:29 ah ah ah ah ah Jun 26 16:36:30 ahahah Jun 26 16:36:34 images up Jun 26 16:36:38 dont tell me the answer, just explain what i need to do. Jun 26 16:36:43 technmically :P Jun 26 16:37:08 wow that guy can run 2 emus at the same time Jun 26 16:37:15 what kind of machine does he have :) Jun 26 16:37:16 heh Jun 26 16:37:20 that emulator seems FAST Jun 26 16:37:29 lol Jun 26 16:37:37 Afzal: I don't trust what I See Jun 26 16:37:41 aha Jun 26 16:38:01 Afzal: seems super fast :O Jun 26 16:38:18 4.4W ? Jun 26 16:38:25 wear I guess Jun 26 16:38:26 ART emulator should run faster Jun 26 16:38:34 gordon_, I'm gonna go ahead and assume snapshots support with HW accel is still not possible :( Jun 26 16:38:37 than current ones Jun 26 16:38:37 already orded my android wear watch Jun 26 16:38:41 got the samsung one Jun 26 16:38:46 * kbs continues to like most of the new design stuff. Jun 26 16:38:55 samsung ones just work on samsung? (I read that) Jun 26 16:39:02 thats a lame 'whats next' Jun 26 16:39:08 g00s: +20 Jun 26 16:39:14 lol, vague Jun 26 16:39:19 like when your update says 'misc software stability and performance enhancements" Jun 26 16:39:34 * Afzal joins kbs in liking this new design stuff () Jun 26 16:39:43 Afzal: dont know Jun 26 16:39:49 well, the beta was supposed to be up, right? Jun 26 16:40:01 how backwards compatible will L be? Jun 26 16:40:49 Hi, what is more efficient way to display a video on an (GL)SurfaceView, when the video steam comes from a native decoder ? Jun 26 16:41:01 so, once we start to dev with L as the target, can I still run those on lower versions? especially because of the material system Jun 26 16:41:57 afzal, based on my code, http://pastebin.com/qwJrmY7w , what should i do use uri for, just tell me what to do (dont tell me what to use, I'll try figure it out) Jun 26 16:42:15 yeah one sec Jun 26 16:42:27 Syzygy: yeah, others will get holo Jun 26 16:42:49 Foxandxss: The new Samsung watch is an Android Wear watch, so it will work with all phones. Jun 26 16:43:14 ClarkC: I read it wrong then Jun 26 16:43:24 I have samsung but I plan to change it... when I have money :P Jun 26 16:43:38 Syzygy: looks like very Jun 26 16:43:49 I believe all their older watches are Samsung only? Jun 26 16:43:59 the older ones might be, unless they get updates Jun 26 16:44:33 Syzygy, you'll still be able to run on older versions Jun 26 16:44:36 it's the same as always Jun 26 16:44:52 if you call NewApi.newApi() as the first line of your main activity's onCreate(), it will crash on old versions Jun 26 16:44:59 if you do things properly, it will work great Jun 26 16:45:07 my god, canadiancow is alive Jun 26 16:45:20 yeah i know i've been absent lately Jun 26 16:45:21 so via the support library for new Material elements Jun 26 16:45:35 well you're not going to have full material support on K Jun 26 16:45:53 DarkChaoz, actually I'm not so sure, sorry Jun 26 16:45:54 the video just created a new values-21 for material Jun 26 16:46:09 aight, np. Jun 26 16:46:19 The Google I/O app and the new Slides app seems to use some drawables similar to Material/Paper. I still haven't seen any confirmation they will provide a theme to include it on older versions though. Since they are moving their current apps over, I hope they do provide something, instead of a third party colution like HoloEverywhere. Jun 26 16:46:27 I'll try google it for a similar thing to mine :) Jun 26 16:46:32 n5 L emulator running, I am swapping though lol Jun 26 16:46:57 where's the n5 emulator? Jun 26 16:47:03 avd Jun 26 16:47:07 (with "l" image) Jun 26 16:47:29 i dont think it's available yet Jun 26 16:47:34 it is Jun 26 16:47:41 why would I lie? Jun 26 16:47:48 oh im wrong Jun 26 16:47:53 the emulator is available Jun 26 16:47:55 you need to update the sdk tools Jun 26 16:47:57 not the device images Jun 26 16:47:59 then you relaunch, and download L Jun 26 16:48:06 L and wereables Jun 26 16:48:12 aah - needs the new sdk tools too. thanks Jun 26 16:48:14 but my machine is dying Jun 26 16:48:32 252m of swap and growing up Jun 26 16:48:45 i gave up on using the emulator years ago :P Jun 26 16:49:19 weird, i thought I already downloaded the L preview... Jun 26 16:49:28 guess I'll have to do it again Jun 26 16:49:34 I want a genymotion emulator Jun 26 16:49:41 oh, managed to get it Jun 26 16:49:46 my Gnex won't get L in a long time Jun 26 16:49:47 ... what is 4.4W o_O Jun 26 16:49:53 wearable? Jun 26 16:49:56 maybe Jun 26 16:50:01 p_l: yeah, I was just thinking that Jun 26 16:50:02 ahh, wear Jun 26 16:50:06 I clicked on the drawer and it got stuck Jun 26 16:50:25 4.4.2 had a wearable system image Jun 26 16:50:29 I deved for that before Jun 26 16:50:32 yes, 4.4W is wear Jun 26 16:50:56 both are api20 Jun 26 16:51:08 the api level isn't bumped up until much closer to release Jun 26 16:51:14 L will not be 20 Jun 26 16:51:36 and it ended Jun 26 16:51:58 canadiancow: I suspect we will get api21 as the final Jun 26 16:52:04 http://puu.sh/9L8hA/e00af97bec.png Jun 26 16:52:08 Foxandxss: you never know ;) Jun 26 16:52:12 have some love for gnex Jun 26 16:52:19 p_l, it depends on whether anything else is done before then Jun 26 16:52:20 gordon_: it should run L without problem Jun 26 16:52:29 PA works like charm on it Jun 26 16:52:51 Ok, I think I am done, I need more ram on my mini Jun 26 16:53:01 Foxandxss: yeah, but first it needs to be ported :P Jun 26 16:53:04 canadiancow, there's a solid solid chance that L is 21 Jun 26 16:53:10 sure Jun 26 16:53:13 p_l: yup, that is why I said "not anytime soon" :P Jun 26 16:53:19 but if you remember back in the days of eclair, there was an api bump for 2.0.1 Jun 26 16:53:35 p_l: gordon_ otoh, I have a N7 2013 so I am happy anyway Jun 26 16:53:40 i'm guessing its going to be a long time before L devices come out, minimum EOY. all the customizations OEMs do , with all these new changes, its going to be a headache for them :) Jun 26 16:53:51 my point is, dont release an app that assumes L will be 21, before it's confirmed Jun 26 16:54:01 g00s: yah, technically L is meant to be released at EOY Jun 26 16:54:03 because if it ends up not being, your app will crash all over the place Jun 26 16:54:08 hey canadiancow was coping you would do content provider session :) Jun 26 16:54:17 I would love to have a project's ara phone Jun 26 16:54:56 downloaded! :D oh boy oh boy oh boy Jun 26 16:55:18 so is there a new version of AS? i still only see 0.6.1 Jun 26 16:55:30 g00s: _today_ Jun 26 16:55:53 so, SDK tools / platform-tools and build-tools Jun 26 16:55:59 tools is the SDK manager and avd manager? Jun 26 16:56:05 platform-tools maybe adb and stuff like that? Jun 26 16:56:09 and build is programming related Jun 26 16:56:15 what will be changed in the new SDK? Jun 26 16:56:24 canadiancow: well, assuming any numbers is IMO wrong :P Jun 26 16:56:34 http://puu.sh/9L8CQ/0e4d508c9f.png Jun 26 16:56:36 cool starting animation Jun 26 16:56:41 Ah, API 20 is 4.4W Jun 26 16:56:48 And L is API L :/ Jun 26 16:57:00 but it says API 20, L preview Jun 26 16:57:04 API 21 is L final Jun 26 16:57:06 that is my guess Jun 26 16:57:07 okay Jun 26 16:57:34 http://www.greenbot.com/article/2367626/heres-your-first-android-l-chanelog.html Jun 26 16:57:37 But when you choose the emulator image. It says 4.4W (API Level 20), Android L Preview ( API Level L) Jun 26 16:57:37 lol Jun 26 16:57:40 so confusing Jun 26 16:57:49 just never assume specific number, but you can use api number for checking presence of features... :) Jun 26 16:58:34 eh, I dunno why I even care. We all use the constants anyway :) Jun 26 16:58:46 Napalm: you're going to enjoy it Jun 26 16:58:52 I just used the emulator and I love it Jun 26 16:59:01 http://www.polymer-project.org/components/paper-calculator/demo.html heh Jun 26 16:59:17 http://puu.sh/9L8Or/80377e3ef2.png Jun 26 16:59:27 also, android studio 0.8.x where Jun 26 16:59:34 _today_ Jun 26 16:59:37 as today as the images Jun 26 17:00:09 still waiting :P Jun 26 17:01:25 oops. i deleted my sdk install since it said update, but they didn't put a new download up Jun 26 17:01:39 i use the recent update of the sdk and adt, but the emulator seems not to recognize the orientation change by pressing strg+f11, it goes in landscape mode, but the orientation change is never processed. any hints? Jun 26 17:05:23 jsut fyi the new 17 xfce images are failing to complete d/lon us servers umd and nexcess confirmed so far Jun 26 17:05:30 nah, emulator is still slow as hell Jun 26 17:05:35 Dunno what that guy was running Jun 26 17:05:47 wrong channel sorry Jun 26 17:06:11 Afzal: pff, I heard my mini crying Jun 26 17:06:26 lol my Macbook Pro is okay but still slow Jun 26 17:06:49 I dont have access to the L preview sdk on arch linux, is the current release windows only? Jun 26 17:06:57 search in settings :D Jun 26 17:06:58 no Jun 26 17:07:05 g00s, I got the interface working in the end, thanks for your help earlier :P Jun 26 17:07:07 ah, so edge / seam - actually has meaning Jun 26 17:07:12 The L Preview is out? the developer.android.com website still hasn't been updated! Jun 26 17:07:13 Afzal: I only have 4gb of ram Jun 26 17:07:21 ifmw, only the SDK Jun 26 17:07:45 ionstorm: update the tools first Jun 26 17:07:52 Foxandxss, the arm emulator is using 1.24 GB for me right now :D Jun 26 17:07:59 I had to swap a lot Jun 26 17:08:02 Foxandxss, thanks Jun 26 17:10:04 this material design talk is good Jun 26 17:11:18 still not sure about this paper metaphor Jun 26 17:11:51 Afzal: which one? Jun 26 17:12:08 Foxandxss: https://www.youtube.com/watch?v=5WI_lCmBKE8 Jun 26 17:12:09 Foxandxss, https://www.google.com/events/io#5WI_lCmBKE8 Jun 26 17:12:12 lol Jun 26 17:12:15 thanks Jun 26 17:12:32 btw, are these L Preview images going to be available for dev's only, ie: Dev Console users Jun 26 17:13:41 ionstorm: they show normally in SDK Manager repo Jun 26 17:13:52 but you need updated SDK Manager first, then restart it Jun 26 17:13:52 he meant for real devices Jun 26 17:13:56 ahh Jun 26 17:13:58 no idea Jun 26 17:14:05 Foxandxss, ;) Jun 26 17:14:12 doubt it Jun 26 17:14:24 and if they are, expect them to show up on xda tomorrow Jun 26 17:14:24 if it is just for dev console users Jun 26 17:14:29 thepiratebay will be our place Jun 26 17:14:31 yeah Jun 26 17:15:08 that said, I don't think they are going to limit access to them Jun 26 17:15:17 I don't think so either Jun 26 17:15:25 they are not apple :P Jun 26 17:15:37 tpb lol, i'll help seed ;) Jun 26 17:16:19 google's servers are going to be unresponsive when these images show up Jun 26 17:16:33 Really really really hope there will be good Material documentation Jun 26 17:17:17 I suck at designing I am afraid :P Jun 26 17:17:34 also, looks like support library got updated.. :D Jun 26 17:17:40 So do I, which is why I am hoping or good tutorials Jun 26 17:17:46 p_l: v7 is out? Jun 26 17:17:49 p_l: good news those Jun 26 17:18:37 "Android Support Library 19.1 v.20" Jun 26 17:19:05 *rev.20 Jun 26 17:19:11 it was 20 before Jun 26 17:19:15 I didn't update it Jun 26 17:19:35 and android support repository rev.6 Jun 26 17:19:46 haven't seen those updates till today, so... Jun 26 17:19:50 I think that they weren't update Jun 26 17:20:45 ah, now they talk about cards Jun 26 17:21:45 p_l whats the latest sdk version , i still see 22.6.2 Jun 26 17:22:05 sdk tools g00s ? Jun 26 17:22:23 yeah Jun 26 17:22:28 g00s: http://puu.sh/9Lax0/3e03b7e18d.png Jun 26 17:22:56 hm, only 22 from main dl page Jun 26 17:23:02 hey guys someone mentioned here a while ago about getting libraries to connect to a mysql database and php server? does anyone still have this link Jun 26 17:23:04 oh well guess i'll wate for later Jun 26 17:23:05 using a different computer :( Jun 26 17:23:21 weird Jun 26 17:23:36 g00s: download 22 and it should update to 23, that is my best guess Jun 26 17:23:43 g00s: v23 Jun 26 17:23:50 i've had too many problems with sdk tools updating itself Jun 26 17:23:57 seem ok to update other things though Jun 26 17:24:45 Now I really, really hope they make a way to use chromecast to send presentations from Drive to chromecast and control it from Wear or phone... Jun 26 17:25:08 p_l: I would bet on that :) Jun 26 17:25:17 the APIs for interacting with Chromebooks would be nice start to do so Jun 26 17:25:23 With a fade in animation it seems to change from invisible to visible, can I also animate it from gone to visible? Jun 26 17:26:09 still, it's funny how I always ended up getting in guts of android and now I'm finally thinking of building an application :D Jun 26 17:26:55 Afzal: the chat app is cool, I guess I can't try it, but I prefer to see the source than try it tbh :P Jun 26 17:27:38 gogogo Jun 26 17:27:48 FAB is awesomestuff Jun 26 17:28:15 no images mor my nexus 4 :( Jun 26 17:28:18 for* Jun 26 17:28:27 ah Jun 26 17:28:30 images ready? Jun 26 17:28:31 images are live: https://developer.android.com/preview/setup-sdk.html#top Jun 26 17:28:33 the page did change Jun 26 17:28:39 w00t w00t Jun 26 17:28:49 uhm Jun 26 17:28:54 nexus7 razor Jun 26 17:28:56 mine is flo I think Jun 26 17:29:31 https://developer.android.com/sdk/installing/studio.html Jun 26 17:29:33 BETA UP! Jun 26 17:29:35 hope we can port this to N4 Jun 26 17:29:38 0.8.0 Jun 26 17:29:43 so their version was better Jun 26 17:29:56 this "fab" button seems to me somewhat of a crap-shoot what it does ;-) Jun 26 17:30:07 uhmm Jun 26 17:30:12 seems like the preview doesn't get updated to beta Jun 26 17:30:29 damn, a lot of stuff to see at the same time, I am gonna explode Jun 26 17:30:34 cover yourselves Jun 26 17:31:22 ionstorm: I think so Jun 26 17:31:35 these presenters sound like they're reading something for the first time Jun 26 17:32:31 [defcon@ion-pc razor-lpv79]$ sh flash-all.sh yay Jun 26 17:33:44 * p_l wonders how weird the SDK and Studio must feel due to running on Java that is not Oracle (or the hahaha-no-we're-not-oracle IcedTea) Jun 26 17:33:52 downloading L, it says razor, but I guess it is FLO also, damn codenames Jun 26 17:33:56 Well shit, the activity transitions are not supported in older-than-L versions of android Jun 26 17:34:03 Foxandxss, ya razor is flo Jun 26 17:34:14 p_l: I heard about problems using those java version, be aware Jun 26 17:34:16 ionstorm: I see Jun 26 17:34:33 Foxandxss: the only "problem" i ever got was "holy fuck, it's fast" Jun 26 17:34:46 p_l: hah Jun 26 17:34:56 its going to take me a lot to absorb all this material stuff Jun 26 17:34:59 http://www.xda-developers.com/android/android-l-developer-preview-images-now-available-for-the-nexus-5-and-2013-nexus-7/ Jun 26 17:35:06 Google Keep was kinda amazing because they built their own animation classes and they all worked amazingly well even on Gingerbread. Was totally hoping the support library would gain the Material animations Jun 26 17:35:10 trying to wrap my head around their intentions and metaphors Jun 26 17:35:13 g00s: only you? Jun 26 17:35:20 my head hurt already Jun 26 17:35:50 Foxandxss: the truly problematic part was installing it when I still had PaX enabled Jun 26 17:36:17 grrrrrrrrrrrrr: Caution: Do not not publish apps that use the L Developer Preview to the Google Play store. Jun 26 17:36:58 yeah its a little … early ? Jun 26 17:37:04 ok, installing L on the nexus Jun 26 17:37:42 and android studio seems to be needed to be installed from zero Jun 26 17:38:16 Foxandxss: not eclipse friendly? :( Jun 26 17:38:17 or maybe the update is not pushed yet Jun 26 17:38:26 ifmw: who? Jun 26 17:38:29 ehh, update for studio 0.8 still not in unbundled form Jun 26 17:38:41 p_l: what do you mean? Jun 26 17:38:55 g00s: heh agree, [re: metaphors] it's a bit stretched sometimes, for sure. Jun 26 17:39:03 Foxandxss: you can download the bundled (with sdk) form, but not the version without Jun 26 17:39:20 so you can't update yet, right? Jun 26 17:39:28 Anyone with experience in Tim Roe's EnhancedListView ? Jun 26 17:39:31 I think I am using the bundled sdk Jun 26 17:39:43 well, nexus booting up Jun 26 17:39:45 kbs its like 'we have these materials, which obey some intuitive physics you should understand' … but then they are magical ! Jun 26 17:39:47 well, I am making an unbundled tbz2 :> Jun 26 17:39:49 Hrm, I don't use Android Studio Jun 26 17:39:57 ifmw: you should now :P Jun 26 17:40:31 I don't use Android Studio because it's buggier than Eclipse. But more importantly there is little documentation for it Jun 26 17:40:39 p_l: the changelog itself is not even up yet Jun 26 17:40:49 it is beta as today ifmw Jun 26 17:40:56 and what kind of doc you need? Jun 26 17:41:00 Tutorials Jun 26 17:41:12 of what kind? (real question) Jun 26 17:41:13 * p_l doesn't use Eclipse in the first place for anything as long as he can Jun 26 17:41:14 "Here is how you add a non gradle library to your poject and use it" Jun 26 17:41:17 Anyone know a convient method for measuring the size (bytes) of a json array? I have a restful server that will take batch operations up to a certain size... Jun 26 17:41:22 p_l: I second that Jun 26 17:41:36 p_l: but but but, when I was on the school I had to use a java ide... Jun 26 17:41:39 what was it called... Jun 26 17:41:51 ah, jdeveloper Jun 26 17:42:01 I think the only eclipse-based thing I've used recently was TopBraid Composer, but that's a complete application built on top of Eclipse and doesn't really involve a lot of eclipse's issues Jun 26 17:42:06 and old version which was really buggy on any modern OS Jun 26 17:42:21 like no styles, it gets really laggy after 40 mins of usage... Jun 26 17:42:37 p_l: uh, topbraid composer? Jun 26 17:42:46 p_l Monitor is still Eclipse :) Jun 26 17:42:55 g00s: I rarely open it :P Jun 26 17:42:58 well, tutorials to teach android development are needed. the android studio tutorials are severely lacking and outdated Jun 26 17:43:01 i know it sucks ass :| Jun 26 17:43:02 * p_l usually goes around with logcat -C Jun 26 17:43:03 my nexus is taking a lot of minutes booting Jun 26 17:43:21 p_l: you do ontologies? Jun 26 17:43:22 Foxandxss: an application for working with OWL2 and related technologies Jun 26 17:43:33 i use the recent update of the sdk and adt, but the emulator seems not to recognize the orientation change by pressing strg+f11, it goes in landscape mode, but the orientation change is never processed. any hints? Jun 26 17:43:36 Foxandxss: my master's thesis involved them :) Jun 26 17:43:42 p_l: that is cool Jun 26 17:43:50 my GF PhD was based on ontologies Jun 26 17:43:52 using topbraid Jun 26 17:44:05 and semantic tech is *awesome*, but underappreciated Jun 26 17:44:05 and my .NET app to show them (parse owl2 basically) Jun 26 17:44:16 Guys.. anyone has any kind of knowledge in Tim Roes' EnhancedListView? Jun 26 17:44:18 I hate xml now Jun 26 17:44:24 rdf, owl... Jun 26 17:44:25 heh Jun 26 17:44:48 p_l: she is giving conferences about it this years Jun 26 17:44:55 she need it for a promotion at the univ Jun 26 17:45:03 Foxandxss: well, I don't think I've used XML much with it, except for OWL because OWL can look nice in XML. For RDF itself, N3 and such :D Jun 26 17:45:29 I have to, to create a ontologies parser Jun 26 17:45:39 so she could show her ontology on the PhD presentation Jun 26 17:45:51 and the end result was good for her :) Jun 26 17:46:27 and topbraid was the best option Jun 26 17:46:43 TopBraid is indeed the best ontology editor I dealt with Jun 26 17:46:58 ... Protege has a place in "hall of UX infamy" for me Jun 26 17:46:59 there was one, pretty famous Jun 26 17:47:04 that one Jun 26 17:47:12 was really complicated inded Jun 26 17:47:14 indeed* Jun 26 17:47:31 together with "modern" interfaces that cause the clerks in banks to spent 15 minutes mousing around to do what few F-keys did in 30s Jun 26 17:47:40 she tested a couple, but top braid was the best Jun 26 17:47:45 even being eclipse Jun 26 17:48:01 p_l: so what are you representing on them? (if that is the right word) Jun 26 17:48:16 p_l yeah, you always gotta cringe when you see clerks writing something down on paper to put it on some other screen Jun 26 17:48:31 Foxandxss: I worked on using ontologies to drive access controls to semantic database Jun 26 17:48:36 using some 3270 terminal crap or something Jun 26 17:48:44 Foxandxss: by filtering and mangling SPARQL Jun 26 17:48:51 g00s: the 3270 stuff was *fast* Jun 26 17:48:57 so, oriented to computers Jun 26 17:48:58 I see Jun 26 17:49:10 my gf's one was about travels (turism) Jun 26 17:49:16 g00s: today, you see them spent 15m mousing to click the umpteenth menu to get somewhere Jun 26 17:49:18 tourism* Jun 26 17:49:43 Foxandxss: well, mine used the better understanding of data to make sysadmins a bit less cranky ;) Jun 26 17:50:11 anyone flash supersu on L? Jun 26 17:50:26 wonder if the knox will knox it if it has it Jun 26 17:50:29 I want to experiment with using semantic tech and expert systems to make some fun cloud management stuff :) Jun 26 17:50:42 love the new boot animation Jun 26 17:50:44 p_l: cool Jun 26 17:50:57 alright, n7 configured Jun 26 17:51:15 uh, settings are cool Jun 26 17:51:21 Afzal: you said that, right? Jun 26 17:51:21 way cool Jun 26 17:51:36 Foxandxss: things like having a definition that certain services have various needs, and have it go down to individual network ports providing things, so if a connection drops I can propagate the change and react on it Jun 26 17:51:45 I see Jun 26 17:51:53 ontologies are cool, I had to research a little bit to help her Jun 26 17:51:59 she was about traveling packages Jun 26 17:52:18 she is from foreign languages tho Jun 26 17:52:37 so about travel packages in various languages Jun 26 17:53:19 and what's a master's thesis? Jun 26 17:53:51 Foxandxss: essentially what you need to write to get master's degree ;) Jun 26 17:53:56 dissertation/thesis Jun 26 17:53:59 naming differs Jun 26 17:54:27 I am not familiarized with master's degree Jun 26 17:54:28 mine didn't work out as well as it could or like I wanted to, but I did grab the MSci :P Jun 26 17:54:58 Foxandxss: usually a prereq for PhD work, except in UK where you can go into PhD with Bachelor w/ Honours Jun 26 17:55:07 I see Jun 26 17:55:22 here when you end your career, you have to do another course (two years) called DEA Jun 26 17:55:25 and then, PhD Jun 26 17:55:45 oooh Jun 26 17:55:54 Used to be the default degree you'd go for in many countries (so undergraduate studies would be usually a year or two longer than in UK/USA and end with Master's instead of bachelor's) Jun 26 17:55:54 DEA in english is: Master of advanced study Jun 26 17:55:57 all makes sense Jun 26 17:56:17 p_l: were are you from? polish? Jun 26 17:56:28 Yeah. But I studied in Scotland :) Jun 26 17:56:35 I see Jun 26 17:56:40 I am spanish btw :) Jun 26 17:56:48 nice to meet you heh Jun 26 17:57:08 hmm, material science talk is going to happen soon Jun 26 17:57:24 support library and gradle plugin have no release notes :| Jun 26 17:57:27 bah, I will see them later when they record it Jun 26 17:57:34 g00s: android studio either Jun 26 17:57:40 I think we need to way a couple of hours Jun 26 17:57:51 i think google needs to do it like apple :) Jun 26 17:58:08 it just all appears like 2 seconds after cook announces it Jun 26 17:58:17 or whoever Jun 26 17:58:34 I have mixed feelings about the new "toggles" screen Jun 26 17:59:08 The new Support Library rc1 is making Gradle complain that my minSDK of 14 is less than the Support Library's 14. At 15 it complains it's less than 15. So on and so forth. ;) Jun 26 17:59:31 ClarkC: already using the new AS? Jun 26 17:59:47 No, I haven't upgraded AS. Jun 26 17:59:54 is there a way with adb to create a full backup of the phone (like I would using dd on linux)? Jun 26 17:59:58 Not working in it right now, just saw the Gradle complaint and left it for later. Jun 26 17:59:59 ah Jun 26 18:00:08 the library support is rc1? Jun 26 18:00:15 android dev is huge Jun 26 18:00:25 there are two libraries, v4 and v7, right? Jun 26 18:01:13 It's my (compile 'com.android.support:support-v4:+') that's trying to pull 20.0.0-rc1 now. Jun 26 18:01:26 I see Jun 26 18:01:36 don't use + versions Jun 26 18:01:55 Yeah, manually setting it back fixes it. Jun 26 18:01:58 and that's weird, support lib is a jar... Jun 26 18:02:04 + versions are the worst invention ever Jun 26 18:02:05 I'm going to investigate the rc1 issues later if I have time Jun 26 18:02:13 pfn: yah, that is the default Jun 26 18:02:43 ClarkC: 20.0.0-rc1 or 21? Jun 26 18:02:48 I see 21.0.0-rc1 Jun 26 18:03:13 and that's where Jun 26 18:03:19 Sorry, yeah, 21.0.0-rc1 Jun 26 18:03:19 where do you see a 20.0 or 21.0 Jun 26 18:03:23 it's not in the support repo Jun 26 18:03:36 unless google has added it to central... Jun 26 18:03:36 pfn Not sure where Gradle got it. Jun 26 18:03:38 pfn: http://puu.sh/9LdAb/00be5f9555.png Jun 26 18:04:12 Foxandxss, yeah, it's not in the support repo... Jun 26 18:05:03 I had a library that was using v4:+ Just changed it back to 19. Jun 26 18:05:09 and it's not in central... Jun 26 18:05:15 Strange Jun 26 18:05:48 things are kinda weird atm, we need to wait a couple of hours I guess Jun 26 18:06:03 bbl Jun 26 18:08:16 maybe the android plugin has another repo Jun 26 18:10:08 oh boy oh boy. It's here Jun 26 18:10:11 factory images are here! Jun 26 18:11:25 nice, Recyclerview doesn't extend AbsListView Jun 26 18:11:35 from "API 7 up" o_O Jun 26 18:12:40 hey Jun 26 18:13:18 Hmm, have I written a LayoutManager? :/ Jun 26 18:16:15 weird idea of shadows. they should simulate rayleigh scattering Jun 26 18:16:56 g00s: maybe it's involved with how they got it to work at 60fps? Jun 26 18:18:17 I never thought I'd be listening to stuff like this for a phone UI. :) Jun 26 18:18:49 fun thing that HTML had z-property loooong time ago ;) Jun 26 18:19:24 hm... if there's a "camera" in front of the phone does that mean that setting the z value higher will inherently cause the view to appear larger? or am i reading too much into the camera metaphor Jun 26 18:19:37 anyone here with a galaxy nexus that can record a logcat please? Jun 26 18:20:00 markmarkmark: it's orthogonal projection, so no Jun 26 18:20:06 True, but no 3D volumes to draw in. Well... There was that VR vhtml stuff long ago or whatever it was called. Jun 26 18:20:16 ah Jun 26 18:20:19 I need to watch what new in android development tool Jun 26 18:20:33 ClarkC: VRML. I had played with some truly cool demos Jun 26 18:20:48 Ah yes, VRML. It was fun Jun 26 18:20:48 like ISS model in the browser Jun 26 18:22:07 Hi, I'm having issues getting adb to see my nexus 5 (I turned on USB debugging, I'm on OS X 10.9 with latest android studio installed) Jun 26 18:22:31 o.O Userdata.img is 140MB in the factory img Jun 26 18:22:32 :/ Jun 26 18:29:35 they really take their time with the "L"-preview. Jun 26 18:30:55 WP has something like Activity Transitions Jun 26 18:31:07 not sure about iOS Jun 26 18:32:00 it sucks! I am curtain Jun 26 18:32:08 hero element :) Jun 26 18:32:11 can we use material design theme on android version < L ? Jun 26 18:32:23 gdrc http://developer.android.com/preview/material/compatibility.html Jun 26 18:32:24 gdrc they said use AppCompat Jun 26 18:32:30 Answer is no at the moment. Jun 26 18:33:01 But the CardView in the CompatibilityLibrary has some baked shadows that are similar to Material Jun 26 18:36:29 as long as those tools are well documented as well as javadoc :) Jun 26 18:37:09 I hope the moto x gets L Jun 26 18:38:10 oh AppCompat gets some of the visual styling Jun 26 18:38:17 yay Jun 26 18:38:22 I wonder if they refer it to L internally too. There haven't been any slips on the name. In the fireside chat someone called Material Quantum by accident. But there haven't been any L slips. Jun 26 18:38:24 Oh good Jun 26 18:40:30 Anyone know if Contacts._ID is guaranted to map to RawContact.CONTACT_ID? Jun 26 18:41:21 look at what the constant values says it is Jun 26 18:42:38 hm, not sure what Adam just said about cursor adapters Jun 26 18:42:44 o-o Jun 26 18:42:47 hi Jun 26 18:45:06 back Jun 26 18:45:26 Foxandxss this isn't twitter :) Jun 26 18:46:16 lol Jun 26 18:46:17 g00s: there is no need to be harsh either Jun 26 18:46:17 see, you created a split :P Jun 26 18:46:28 lol Jun 26 18:46:36 android crashed :/ Jun 26 18:46:43 Foxandxss you haven't seen harsh :D Jun 26 18:46:44 preview L? Jun 26 18:47:12 DarkChaoz Jun 26 18:47:13 g00s: I was going to say earlier that you were a good person, I still think that Jun 26 18:47:35 g00s: I am just too tired of being serious at an IRC channel Jun 26 18:47:39 XD Jun 26 18:47:56 I am an operator of the angular IRC channel Jun 26 18:48:06 and I have to make sure that everybody is respectful, no offtopic and stuff like that Jun 26 18:48:13 each channel has a personality Jun 26 18:48:13 and yay, that is really troublesome Jun 26 18:48:29 ya, but imposed personality is not love Jun 26 18:48:47 (talking about the other channel) Jun 26 18:49:42 so the demo project I am doing from a book says that I am not targeting the latest sdk version. Not so sure if I should target L yet Jun 26 18:54:51 eh, Android Studio got issues with getting the wear/glass classes Jun 26 18:55:31 weird Jun 26 18:55:33 Foxandxss its i/o so everybody is talking but typically this channel is pretty quiet / low traffic Jun 26 18:55:34 I haven't update yet Jun 26 18:56:22 g00s: I see. Well, I also like quiet channels Jun 26 18:56:28 angular one doesn't let me work Jun 26 18:56:36 questions questions questions questions questions, all day long Jun 26 18:57:19 does anyone how can I use uri for my cursorloader Jun 26 18:57:20 http://pastebin.com/SrykiBT1 Jun 26 18:57:56 g00s: still, I see here "meat" for a nice android-dev blog Jun 26 18:58:04 maybe I should do one... in the future Jun 26 18:59:26 When I build, I spend almost all the time in build/tools/findleaves.py Jun 26 18:59:42 any ideas how can i use uri? Jun 26 19:00:06 p_l: heh, thanks. just wondering if anyone could confirm this actually is true. Jun 26 19:01:00 is there a good wa to resize a MapFragment? Jun 26 19:01:10 When you use a hashmap or hashtable, do you need to implement the hash function ? Whats the default logic of hashfunction implemented ? Jun 26 19:03:06 equals/hashcode of the object you are hashing in the set/map Jun 26 19:03:16 is there other way to return results other than cursorloader? Jun 26 19:03:19 you can override these to implement your own Jun 26 19:03:27 *hashing function Jun 26 19:03:35 you guys having a problem with the live stream ? Jun 26 19:03:40 can't get romains talk up Jun 26 19:03:54 let me try Jun 26 19:04:01 arent they on lunch right now? Jun 26 19:04:23 oh shit :) Jun 26 19:04:29 ;p Jun 26 19:04:30 haha thanks lasserix Jun 26 19:04:48 is there a different way to return results from a cursor? Jun 26 19:04:57 other than cursorloader Jun 26 19:05:03 I see some streams Jun 26 19:05:05 working Jun 26 19:05:35 DarkChaoz: whats your problem? Jun 26 19:05:41 Ram_ using a standard java class, it probably provides a hash already. if you have a holder with a few strings, then you will provide a hash based on the hashes of those strings for example Jun 26 19:06:28 basically, im trying to figure out how I can do uri for cursorloader to return results of a query Jun 26 19:06:29 http://pastebin.com/SrykiBT1 Jun 26 19:06:42 if you need to see full dbhelper code I'd be more happy to show it. Jun 26 19:06:52 do you need to use a uri? Jun 26 19:07:32 is there a good wa to run some code after a View has been resized/ Jun 26 19:07:44 most likely because I cant use null on the cursorloader as far as Im aware. Jun 26 19:08:54 sure you can Jun 26 19:09:23 http://developer.android.com/reference/android/content/ContentResolver.html#query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String) Jun 26 19:09:39 i think you need a bool :-p Jun 26 19:10:12 I get an error when i do this Cursor lol = myDbHelper.getData(1); Jun 26 19:10:12 return CursorLoader(lol, null, null, null, null, null); Jun 26 19:10:20 probably doing it wrong Jun 26 19:10:29 probably. got a stacktrace? Jun 26 19:10:38 nah Jun 26 19:10:41 good luck Jun 26 19:11:12 lol Jun 26 19:11:14 you have to use a content provider to use a cursor loader i believe Jun 26 19:11:17 that's why it doesn't work Jun 26 19:12:03 so either implement your own asyncloader (i think there are libraries out there for using a database (not content provider) to do this) Jun 26 19:12:11 I see. Jun 26 19:12:11 or write a simple content provider for your dat Jun 26 19:12:17 *data Jun 26 19:12:17 haven't been watching i/o religiously, has google said anywhere if Material design/L would be made compatible to 4.0? ATM it says the preview version only of Material design/L isnt Jun 26 19:12:30 is there no other way to return result other than cursorloader? Jun 26 19:12:41 bankai_au rxjava 0.19.2 Jun 26 19:13:42 crap, my app has a dark and light theme - i'm worried its going to become a combinatorial clusterfuck between material / holo / dark / light Jun 26 19:14:05 combinatorial clusterfuck. i love it Jun 26 19:14:20 actually, is everything in Material light ? Jun 26 19:14:22 oh crap Jun 26 19:14:30 if google doesnt make a material supportl library back to 4.0 theyre shooting themselves in the foot Jun 26 19:14:34 i haven't seen any dark material :| Jun 26 19:14:39 I updated my build tools and the support library in Android Studio today and now when I try and build I'm getting this build error: Error:Execution failed for task ':Priv:processDebugManifest'. Jun 26 19:14:39 > Manifest merger failed : uses-sdk:minSdkVersion 14 cannot be smaller than version 14 declared in library com.android.support:support-v4:21.0.0-rc1 Jun 26 19:14:46 Any ideas? Jun 26 19:15:29 WaltKovacs i think you are the 2nd person to mention that Jun 26 19:15:41 protip: never use new google tools when announced .0 Jun 26 19:15:59 Ahhhh a stackoverflow question just got updated with an answer a minute ago. Gonna give it a try. Heres the link in case anyone else is having the prob Jun 26 19:16:08 http://stackoverflow.com/questions/24438170/manifest-merger-failed-uses-sdkminsdkversion-14 Jun 26 19:16:56 Yeah that fixed it Jun 26 19:17:04 or maybe we get a 'sherlock-material' lol Jun 26 19:19:11 Wow, taking a long time to load Jun 26 19:19:11 didn't flash the userdata.img though soo.... Jun 26 19:19:45 Afzal: like 5 minutes for me Jun 26 19:19:55 Foxandxss, did you wipe all data? Jun 26 19:20:04 I executed flash-all Jun 26 19:20:10 did nothing before Jun 26 19:20:30 Ah, I'm keeping my data so I didn't flash userdata Jun 26 19:20:56 let's see, it takes about 2 - 150 sec / app Jun 26 19:21:06 mine is like new Jun 26 19:21:09 I Didn't care Jun 26 19:21:13 I just need twitter on it :P Jun 26 19:21:20 done 94 apps, need like 60 more :p Jun 26 19:22:25 thats a lot of apps.. Jun 26 19:27:58 desmin88, yeah, I'm an app hoarder Jun 26 19:27:59 :/ Jun 26 19:28:19 almost done :/ Jun 26 19:28:28 RecyclerView is awesome Jun 26 19:29:05 * desmin88 agrees with napalm Jun 26 19:29:29 what really annoys me though, is that i just spent a lot of time making my own Jun 26 19:29:36 lol Jun 26 19:29:37 crap. Just realized I should've used Helium Jun 26 19:29:41 dangit Jun 26 19:29:43 now google come out with one that has more features and.. if im honest.. better Jun 26 19:29:56 now i have to do more code and switch it over Jun 26 19:29:59 old twrp backup habits :( Jun 26 19:30:36 Napalm: cool, I want to try it Jun 26 19:30:47 playing around with it now Jun 26 19:30:56 AS doesn't update yet, grr Jun 26 19:31:24 dexopt complete :D Jun 26 19:31:35 SELinux stuff happening to each app o.O Jun 26 19:32:09 Foxandxss, latest is right here - https://developer.android.com/sdk/installing/studio.html Jun 26 19:32:18 i uninstalled my as then installed that Jun 26 19:32:52 why do you need AS to update? Jun 26 19:32:57 desmin88, do you get a 0.8.2 update after you install 0.8.0? Jun 26 19:33:03 its already in the local m2repo Jun 26 19:33:27 oh boy it booted@ Jun 26 19:34:00 desmin88: yeah, but it will delete all my configuration for sure Jun 26 19:34:09 Afzal did they already put out a .2 update ? Jun 26 19:34:13 m2repo? what's that? Jun 26 19:34:20 g00s: the video was run on 0.8.2 Jun 26 19:34:22 Foxandxss, you can re-import your old configuration Jun 26 19:34:26 the tool video I mean Jun 26 19:34:26 oh, he said that was special Jun 26 19:34:32 I guessed that Jun 26 19:34:40 an special update just for them Jun 26 19:34:44 for the IO Jun 26 19:35:26 Napalm: sorry, I am not an android dev :) Jun 26 19:35:33 how do i open the quick settings? Jun 26 19:35:50 Afzal: open as in, on your device? Jun 26 19:36:05 yeah, i dragged the notification shade Jun 26 19:36:06 oh you mean in L Preview Jun 26 19:36:08 ? Jun 26 19:36:11 but quick settings it still hidden Jun 26 19:36:11 yes Jun 26 19:36:13 "Failed to find: com.google.android.gms:play-services-wearable:+" ;_; Jun 26 19:36:14 two fingers Jun 26 19:36:17 drag down Jun 26 19:36:47 oh, I think I am going to miss my old sdk also with this update Jun 26 19:36:58 bah, not a problem Jun 26 19:37:16 oh, old options deleted, I am stupid, bah Jun 26 19:37:43 shoulda just backed them up Jun 26 19:38:06 I thought they were saved into another directory Jun 26 19:38:11 like it used to be on linux Jun 26 19:38:14 not inside the app itself Jun 26 19:42:44 needed a fresh install, both ide and sdk tools, so that is good Jun 26 19:43:05 0.8.2 isn't out yet Jun 26 19:43:24 internal usage I guess Jun 26 19:44:01 hi Jun 26 19:44:42 I have layout with several items and last item is ListView, but it is very small on the screen Jun 26 19:45:10 how to expand ListView height to whole ListView height with child items in it? Jun 26 19:45:52 yacek19 there is a devbyte on that Jun 26 19:46:10 oops sorry, i thought you meant expand an item Jun 26 19:47:03 I would like this ListView not to be scrollable Jun 26 19:47:14 Afzal: where did you install it? Jun 26 19:47:43 Foxandxss, install what? Jun 26 19:47:46 L Jun 26 19:47:58 My nexus 5 Jun 26 19:48:19 ah, on N7 I get ugly notification panel Jun 26 19:48:23 It runs okay I think but I'm gonna flash Kitkat back, backup everything using Helium instead of TWRP and then flash L back Jun 26 19:48:27 well, new one but it I don't like it Jun 26 19:48:37 what's helium? Jun 26 19:48:45 It's a backup app by Koush Jun 26 19:48:53 interesting Jun 26 19:49:30 I used titanium in the past but didn't work that good for me Jun 26 19:49:31 And Carousel and FlashFox were crashing Jun 26 19:49:36 some apps always cried when I restore them Jun 26 19:49:37 And home button wasn't working Jun 26 19:50:13 one has to be careful to not restore system parts with titanium :P Jun 26 19:50:19 Helium otoh tends to miss data Jun 26 19:50:40 http://developer.android.com/guide/practices/screens_support.html <- so google play does not support swdp and requiresSmallestWidth ? Jun 26 19:50:57 whatsapp was always brokish after titanium backup Jun 26 19:51:01 I even have the license for it Jun 26 19:54:14 normally when I swap roms I don't backup since my data (photos, etc) are not deleted Jun 26 19:54:22 I don't really care having to reinstall apps Jun 26 19:54:39 i use google+ auto backup of my photos Jun 26 19:54:45 never have to worry about it Jun 26 19:55:15 my photos are synced with dropbox though Jun 26 19:55:37 well, AS updated, time to fix the project Jun 26 19:56:40 ah, it needs new gradle and buildToolsVersion Jun 26 19:57:32 I have some apps that have weird settings and such Jun 26 19:57:39 like Yatse (xbmc remote app) Jun 26 19:57:44 so i want to ask one more time since i haven't been watching i/o that much - did google say if material design was going to be made compatible to 4.0 with a support lib? Jun 26 19:57:47 and of course, the wifi passwords from everywhere :p Jun 26 19:57:56 desmin88, they said it won't. Jun 26 19:58:02 It's a theme just like Holo was Jun 26 19:58:16 i think its weird how they are numbering the API releases. so Wearables gets its own integer (20) ? Jun 26 19:58:25 yeah but Android L gets L Jun 26 19:58:32 thats just dumb Jun 26 19:58:36 is API 20 like normal android + wearable ? Jun 26 19:58:38 honestly, somebody better have a good reason for this Jun 26 19:58:50 well i guess time to wait for somebody to make their own support lib Jun 26 19:58:52 g00s, I think so. The sources and docs include both Jun 26 19:59:03 They also mentioned that as L gets closer to release the AppCompat theme will have some backports of the Material theme, like the shadows and such. Jun 26 19:59:17 yeah i saw that Jun 26 19:59:24 Afzal ah, ok. so i should be using 20 then as my 'best/stable/default' targetSdk Jun 26 19:59:39 Yeah, probably, unless you wanna use L Jun 26 19:59:40 for phone - not even doing wearable atm Jun 26 19:59:42 anyone know a way to resize a fragment if its container changes size? i can't resize or reinject the fragment where I change the container's layoutparams because the change hasn't taken effect yet. so im not sure the best way to reinject after the resize of the container has happened. Jun 26 19:59:52 but they should make the entirety of the material theme back compatible to 4.0 Jun 26 20:00:10 here's an interesting non-sequitar till the io starts again: http://boingboing.net/2014/06/25/charlie-stross-on-the-stopgo.html Jun 26 20:00:12 desmin88 i dunno. seems like there is a lot of motion and Z axis stuff Jun 26 20:00:17 it would be a hack Jun 26 20:00:24 They should, because someone else is going to anyway. Like how they finally got around to the ActionBar long after Sherlock was everywhere. Jun 26 20:00:43 someone could make materialEverywhere Jun 26 20:00:52 that would be even worse than HoloEverywhere Jun 26 20:01:01 Yeah, the animations won't be backported and any copies of them won't work as well. But the design itself, different drawables for different heights etc. Someone's going to try to make it. Jun 26 20:01:44 For now I'm going to follow the guidelines and spacing and icons and such with Holo. At least layout-wise. Then maybe look into different shadows and such later. Jun 26 20:01:53 it seems like itll be a pain in the ass to have a holo version of your app - dark/light, then a material version ' Jun 26 20:02:00 i'm really confused. 'android wear arm eabi' … is this what i'm using then for wearable + phone ? Jun 26 20:02:38 Now what I'm confused about is this: Is 4.4W stable or is it also preview? Jun 26 20:03:29 Oh I just realized Google bought Sparrow long ago Jun 26 20:03:34 this is dumb, i'll stay with 19 Jun 26 20:03:39 So Sparrow should get Gmail API compatibility :D Jun 26 20:03:43 not like anyone will have 20 anytime soon :D Jun 26 20:04:52 ehh, Polymer has broken input elements ;_; Jun 26 20:05:07 lol Jun 26 20:05:17 p_l now that you are doing real android dev … see its so fun Jun 26 20:05:26 normal stuff XD Jun 26 20:05:49 g00s: I meant the web stuff Jun 26 20:05:58 d'oh Jun 26 20:06:05 it would be terrible if twrp is unable to restore my data :/ Jun 26 20:06:06 lol Jun 26 20:06:15 it's broken by not being a proper input element, so Vimium can't switch into input mode Jun 26 20:07:11 that's so lame... Jun 26 20:09:45 so if I encounter a "paper" text input, I can't exactly use it... Jun 26 20:10:34 unless I remember to hit "i" after selecting input field Jun 26 20:10:42 Error:Module version de.keyboardsurfer.android.widget:crouton:1.8.4 depends on libraries but is not a library itself Jun 26 20:10:50 new Android studio 0.8.0 Jun 26 20:11:07 p_l must be because of all their custom HTML tags that Polymer creates. That could break a lot of things. Jun 26 20:12:04 Still, it might also conflict with accessibility support Jun 26 20:12:48 anyway, someone got an example of fixing the paths to wearable components in the default build.gradle in android studio 0.8.0 when it's not bundled with sdk? Jun 26 20:13:25 hmm, whats with the new API Levels? API 20 L preview and API 20 4.4W Jun 26 20:13:54 Hi Guys, I am trying to take screen capture of the grid view programatically and I see that getView function is getting called and only few grid cells are refreshed. I am getting partial snapshot ofthe view. Can someone help me in fixing the issue Jun 26 20:17:09 sDurgam: can you give some code and maybe the screen capture Jun 26 20:18:10 otherwise nobody can help u Jun 26 20:21:07 desmin88 here is my code http://pastebin.com/LxkLrT8c Jun 26 20:22:35 At this line getView is getting called, int widthSpec = View.MeasureSpec.makeMeasureSpec(view.getMeasuredWidth(), View.MeasureSpec.UNSPECIFIED);. But getview is getting called for first 6 positions while there are more than 30 cells. Jun 26 20:23:07 are all 30 cells visible at one time? Jun 26 20:23:22 yes Jun 26 20:23:31 hey guys Jun 26 20:23:36 your cells must be very small Jun 26 20:23:59 so how can I set my main activity to have a flag of "EXCLUDE_FROM_RECENT_TASKS" if no Intent in my app has ever requested to open it? Jun 26 20:24:23 yes my cells are very small Jun 26 20:24:24 whenever I want any other intent to CLEAR_TASK and then launch the next activity, I dont want Main to be included in the clearing Jun 26 20:25:53 uhm, new AS project template includes a test folder, cool Jun 26 20:26:19 I think it's here, http://stackoverflow.com/questions/15202259/how-to-exclude-from-recents-an-exported-activity Jun 26 20:26:50 it only makes sense Jun 26 20:27:02 * Afzal braces for a seamless Android Studio update Jun 26 20:27:11 lol Jun 26 20:27:13 right Jun 26 20:27:40 lol, I usually don't face the issues the majority does for some reason :) Jun 26 20:27:44 Especially with AS Jun 26 20:28:23 me either Jun 26 20:28:30 just some gradle configuration update or stuff like that Jun 26 20:28:34 lol started genymotion after that terrible experience with Android emulator. So much better :p Jun 26 20:28:37 @desmin88: I did not understand why only few cells are getting refreshed Jun 26 20:28:43 yeah exactly Jun 26 20:28:49 genymotion rock Jun 26 20:31:19 There isn't much to worry about updating if you don't have a very complicated project you're working with, or any jni, or tons of dependencies, etc Jun 26 20:31:21 the new design is not yet available to try on AS, right? Jun 26 20:31:57 Material design I meant Jun 26 20:34:08 How do I access and save files using android Jun 26 20:34:14 like for debugging reasons Jun 26 20:34:15 on adt Jun 26 20:36:29 I am trying to load a TrustStore and a KeyStore as shown here: pastebin.com/g1L2V081 - When I run the createSocket() method, I get a SSLHandshakeException and on the server side it says "peer did not return a certificate" Jun 26 20:36:32 What am I doing wrong? Jun 26 20:36:35 also is glass stuff now in 4.4W? Jun 26 20:37:21 I can't compile any Weareable project, missing libraries Jun 26 20:37:23 (I generated the CA, and the cert that is signed by that very CA) Jun 26 20:39:09 Afzal: ... I don't think so Jun 26 20:40:23 I guess that wearable libs on the repo are not there yet Jun 26 20:40:45 Regarding my problem I'd also accept a solution that uses normal SSLContext if there is a way to do SNI with that Jun 26 20:41:50 any way of pairing the new android wear emulator with my android phone? Jun 26 20:42:10 HELLO?!?!? Jun 26 20:42:17 http://developer.android.com/guide/practices/screens_support.html <- so google play does not support swdp and requiresSmallestWidth ? Jun 26 20:42:38 Which actionbar is the old one? the hgiher or the lower one? Jun 26 20:46:28 BaM! Android Studio updated Jun 26 20:46:28 man, this clearing activities issue is something Jun 26 20:46:32 everything works fine :D Jun 26 20:46:42 no wonder someone wrote a book about intents Jun 26 20:46:55 how is this new L release on the N5?... any issues right away? Jun 26 20:46:59 ajoul: You might not get any responses because people don't use ADT anymore Jun 26 20:47:14 ^^ insane Jun 26 20:47:17 Anyone tried drawing a 1024x1024 bitmap with a translated, rotated and scaled matrix onto a Canvas in realtime? Jun 26 20:47:18 yiati: whats adt Jun 26 20:47:20 Afzal: cool, I had to wait, but well, working now Jun 26 20:47:34 ajoul: you said "on adt" Jun 26 20:47:38 If so, I'd like to know if and how you made it draw in less than 80 milliseconds... Jun 26 20:47:48 Foxandxss, I just did a backup of IntelliJ settings and restored that after update Jun 26 20:47:51 (One less 'if so') Jun 26 20:48:06 yiati: what do they use Jun 26 20:48:16 Afzal: I am stupid, can't do much about that Jun 26 20:48:28 lol Jun 26 20:48:28 ajoul: Android Studio Jun 26 20:48:48 don't listen to him, ajoul Jun 26 20:48:49 Afzal: what I see so far is nothing seen on videos (new theme or controllers) Jun 26 20:48:54 keep looking for your answer Jun 26 20:48:55 ajoul: Also I don't really understand what you are trying to ask about saving files relative to debugging Jun 26 20:50:26 „This script will download the Studio updater from 135.1245622 to 135.1224218.” <--- lol Jun 26 20:50:45 wat Jun 26 20:50:55 yiati: I am trying to store some user data on a file Jun 26 20:51:07 yiati: how do I access that file, to debug and see if its working Jun 26 20:51:26 ajoul: Read it? :/ Jun 26 20:51:29 look for writing to external storage, ajoul Jun 26 20:51:32 ajoul: Where do you save it? Jun 26 20:51:46 flan3002: not sure where I should save it first of all Jun 26 20:52:00 external storage Jun 26 20:52:01 ajoul: Depends on who you want to be able to access it. Jun 26 20:52:14 flan3002: only the application Jun 26 20:52:30 ajoul: Internal storage (/data/data) makes it only accessible to the system or to users on rooted phones. :) Jun 26 20:53:24 ajoul: While everyone can access external storage. Also, on some devices which still have sdcards, external storage may be available later. Jun 26 20:53:33 (When booting) Jun 26 20:55:46 Afzal: definitely we need api 21 to test the new stuff Jun 26 20:55:51 and also wearable is still broken for me Jun 26 20:56:00 well, no rush for me :P Jun 26 20:56:28 hm, the gradle plugin names changed Jun 26 20:56:39 'android' and 'android-library' Jun 26 20:56:43 yeah Jun 26 20:56:53 I had to update that also on my demo project Jun 26 20:57:15 and it will start complaining about support v19 but there is no new version yet Jun 26 20:57:48 when i run lint and take its suggestion 'replace android with com.google.application' or whatever, it doesn't work Jun 26 20:57:50 Weren't they already 'android' and 'android-library'? Jun 26 20:57:54 lots of bugs already :) Jun 26 20:58:11 apply plugin: 'com.android.application' Jun 26 20:58:13 that works for me g00s Jun 26 20:58:27 I need different layouts for different sizes in the same bucket, how is that achieved? Jun 26 20:58:28 yeah, me too, but not the lint corrective action Jun 26 20:58:37 ah, lint failed for me too Jun 26 20:59:01 actually, it worked this time Jun 26 20:59:31 the only issue is the red wiggle under appcompat for the version 19, but still works Jun 26 20:59:35 targeting api 20 Jun 26 21:01:04 Let’s say I register an intent-filter for a custom scheme. How can I accept extras from the URL? Jun 26 21:01:27 Hey question Jun 26 21:02:15 I need to update adt to be able to use the current sdk Jun 26 21:02:30 when I check for updates through eclipse it says there are none Jun 26 21:02:32 Foxandxss, nope, http://developer.android.com/preview/setup-sdk.html Jun 26 21:02:34 scroll down Jun 26 21:02:57 if I try to install new software it finds the current adt version, but can't install it because of conflicting dependencies Jun 26 21:02:59 oh oh Jun 26 21:03:04 i.e. the old version Jun 26 21:03:24 so it needs AS to be updated for that (the project template) Jun 26 21:06:01 I add 10 rows to LinearLayout programmatically, but only 5 and half are visible. Why is that? How to show whole contents of LinearLayout? Jun 26 21:06:47 So I downloaded all the L packages and wearable SDK tools and packages and things. Jun 26 21:07:01 yayyyyy! Jun 26 21:07:04 now to do NOTHING! Jun 26 21:07:23 Now my REGULAR project, using AppCompat 7 say, "Failed to parse must be an integer number of codename Jun 26 21:07:44 yacek19: maybe your rows are too big for the screen size so your getting cut off Jun 26 21:07:45 Afzal: seems to work, AS gives me error on the style and also all styles but the nexus show Material Jun 26 21:07:48 But that's the AppCompat AndroidManifest.xml that's broken Jun 26 21:08:05 make it a scrollview, yacek19 Jun 26 21:08:06 desmin88: this layout is in scrollview Jun 26 21:08:13 What are the L packages, anyway? Jun 26 21:08:21 then match_parent on it Jun 26 21:08:21 explodes, did you post on SO a few minutes ago? Jun 26 21:08:32 yacek19: paste the xml Jun 26 21:08:34 http://stackoverflow.com/questions/24440217/the-latest-sdk-tools-requires-minsdkapi-20-l-preview Jun 26 21:08:39 misterli: heh, no Jun 26 21:08:51 Foxandxss, change the buildToolsVersion to 20.0.0 Jun 26 21:08:57 they are Jun 26 21:08:59 lol @ the sad face at the end of the question to farm compassion Jun 26 21:09:04 It looks like my gradle doesn't specify which version of AppCompat to use, so its breaking Jun 26 21:09:05 anyway, here is the solution https://stackoverflow.com/questions/24439958/using-material-theme-on-l-preview Jun 26 21:09:18 Afzal: alright, new project, no problems Jun 26 21:09:35 I just tried on another one who had minSdk 15 (but updated as the page said) Jun 26 21:09:39 desmin88: here is my XML http://dpaste.com/2NC5PDM Jun 26 21:10:31 what the fuck Jun 26 21:10:36 what the fuckz Jun 26 21:10:36 I uninstalled the old adt Jun 26 21:10:41 installed the new one Jun 26 21:10:46 and eclipse deleted itself Jun 26 21:10:52 yacek19: first cleanup the xml Jun 26 21:10:52 hacks Jun 26 21:10:56 desmin88: aaaaah inner RelativeLayout has defined layout_height Jun 26 21:10:58 your nesting relative layouts Jun 26 21:11:11 and yes, you have a static height Jun 26 21:11:19 we are going to have crazy days with this updates Jun 26 21:11:24 desmin88: how should I cleanup it? Jun 26 21:11:46 you dont need to nest 2 relative layouts Jun 26 21:11:52 it can fit all in one Jun 26 21:12:12 desmin88: at first I am hiding this inner layout Jun 26 21:12:17 it is not visible Jun 26 21:12:20 misterli: I want to NOT use the "L" package at all Jun 26 21:12:32 misterli: so i specify compile 'com.android.support:appcompat-v7:19.1.0' Jun 26 21:12:39 instead of compile 'com.android.support:appcompat-v7:+' Jun 26 21:12:48 and it is still breaking? Am I missing something Jun 26 21:13:02 Foxandxss, use this