**** BEGIN LOGGING AT Sat May 18 02:59:58 2013 May 18 02:59:58 thanks Napalm :) May 18 03:00:03 canadiancow: isnt a lot of it automated, i mean someone in the crowd could have recorded it on their phone and uploaded it to youtube by now May 18 03:00:04 :D May 18 03:00:49 erdos: you can take adavantage of other features of Android if you do what i suggested like http://developer.android.com/reference/android/graphics/Picture.html May 18 03:01:15 erdos: infact Picture looks like it does exactly what you need May 18 03:01:17 oh this looks really useful thanks! May 18 03:02:11 since you can draw a Picture to a Canvas which can be mapped to a Bitmap and then encoded as png May 18 03:02:42 glad to hear canadiancow May 18 03:03:05 canadiancow: i'm playing with intellij. sorry man, you may be the last eclipse user :( May 18 03:03:32 i'm just seeing how i like it. its ok. May 18 03:03:36 i really need to find some time to play with IJ and gradle May 18 03:03:55 g00s: like anything, its going to take time to get used to it May 18 03:03:56 I've never used it with gradle May 18 03:04:18 i saw (v) -> { … } May 18 03:04:24 ? May 18 03:04:25 and thought, wut i didn't write that May 18 03:04:30 haha May 18 03:04:37 I saw the collapsed down delegates May 18 03:04:40 and was like WTF?!!? May 18 03:04:55 it handles lamdas May 18 03:05:10 but it *us* taking way more memory than eclipse was May 18 03:05:17 *is* May 18 03:05:28 i have no idea about eclipse 4.2 May 18 03:05:49 but i used 3.8.2 with no plugins, except ADT, which requires JDT of course May 18 03:05:57 and my box is lamo May 18 03:06:02 ahhh May 18 03:06:07 thats only place you ever notice May 18 03:06:21 so i disabled all the plugins in intellij except android May 18 03:06:31 no dice … will keep investigating May 18 03:06:40 you can tune vm settings May 18 03:07:17 yeah May 18 03:07:45 so .gitignore .idea/ and .iml, but i don't see .ims anywhere May 18 03:09:13 what was ims supposed to stand for? May 18 03:09:44 you're the intellij mascot, not me ! May 18 03:10:01 I always used iml and ipr or something May 18 03:10:02 :) May 18 03:11:06 <_genuser_> changing themes on the fly. easy to do? how about changing icons on the fly? anybody got experience? May 18 03:14:12 I seem to recall its soemthing you can do programatically May 18 03:14:28 but you have to do it before you setcontentview May 18 03:14:30 or whatever May 18 03:14:39 <_genuser_> I am looking into it. But atm stuck trying to make it use Dark theme. May 18 03:14:48 dark theme? May 18 03:14:52 <_genuser_> ah, good tip about setting theme before setcontentview. May 18 03:14:56 you mean holo light vs holo May 18 03:15:07 <_genuser_> ron_frown: yeah, the default black with blue on android 4.0.3+ May 18 03:15:33 <_genuser_> I have set it to Theme.holo, Theme.Light, THeme.Holo.Light, it's always white with light blue lines and selection color. May 18 03:17:53 ok, so trying to run my first project from intellij. i created the run config, and get this error: May 18 03:18:19 android-apt-compiler: Cannot run program "/Users/xxx/dev/android-sdk-macosx/platform-tools/aapt": error=2, No such file or directory May 18 03:19:22 now wut :( May 18 03:19:42 did you download platform-tools anywya May 18 03:19:48 of course May 18 03:19:58 and pointed intellij at it May 18 03:20:21 i pointed intellij to the sdk root, do i need to do more ? May 18 03:20:31 no I would think that was it May 18 03:20:43 all the eclipse stuff works, i know my sdk is fine May 18 03:20:46 does that aapt file work May 18 03:20:49 well, i deleted eclipse :D May 18 03:20:50 I dont doubt that May 18 03:21:01 appt is not there, it shouldn't be May 18 03:21:17 hahaha May 18 03:21:20 its in build-tools/17.0.0/apt May 18 03:22:15 this can only get better :) May 18 03:22:18 is that how it is stock? May 18 03:22:37 its now been moved May 18 03:23:09 i thought it was moved a looong time ago, right ? May 18 03:23:20 its moved again May 18 03:23:32 I never had a problem with that tbh May 18 03:23:36 I ran on a mac as well May 18 03:23:43 once i get an auth token via AccountManager, how would i request data for that account from a server side script? May 18 03:23:57 my app needs to grant access to a server side process May 18 03:24:10 i mean I did have to figure out how to set up the sdk etc May 18 03:24:14 but once I had it setup May 18 03:24:27 Napalm: oh shit, for sdk 22 ? May 18 03:24:28 it just used all the rpoper sdk tools the right way May 18 03:24:34 yes May 18 03:24:46 Napalm knows something :D May 18 03:25:02 no comment May 18 03:25:03 :D May 18 03:25:10 anyone use any descent two-data binding frameworks? Something like angularjs or wpf databinding May 18 03:25:20 for android? May 18 03:25:26 Napalm: any idea how to fix :P i mean, i could symlink but ... May 18 03:25:45 for android May 18 03:25:47 I think it only uses that crap if you've checked use external build May 18 03:27:33 g00s: are you using an old sdk installation? May 18 03:27:42 Napalm: no, brand spanking new May 18 03:27:48 old was nuked from orbit May 18 03:28:14 g00s: try adding build-tools/17.0.0/ to your PATH env var May 18 03:28:31 ehh May 18 03:29:28 i know, the idea is its per-version, but it sounds like the mac tools are not using it May 18 03:30:10 g00s: try grepping the sdk for /platform-tools/aapt and see if you can find something to edit for the android-apt-compiler May 18 03:31:20 well, i guess everyone else will have this problem, so May 18 03:31:21 http://stackoverflow.com/questions/16588969/android-hello-world-compile-error-intellij-cannot-find-aapt May 18 03:33:36 where do I find the SDK location in Android Studio? May 18 03:34:56 k, that worked May 18 03:35:14 etcetera: yeah, in eclipse i'm used to all the android prefs having their own top level group May 18 03:35:27 * g00s is lost … in … space ... May 18 03:35:39 ron_frown: Napalm ok, symlink worked May 18 03:37:03 ok, well that was exciting for now. time to play with Lightroom :D May 18 03:40:18 if I choose the "Refund some money" option vs the "Cancel entire order", will the user still have access to the in-app item? May 18 03:43:52 ron_frown: if someday i want to change the darcula theme colors, can i do that? purple is nice … on flowers :| May 18 03:44:06 dont feel like wasting my time with it now May 18 03:47:22 of thr text? May 18 03:47:59 yeah May 18 03:48:05 you do use this ide right :P ? May 18 03:48:08 yep May 18 03:48:16 and yes May 18 03:48:19 you're not just being a faux contrarian for the hell of it :D May 18 03:48:27 ok May 18 03:48:28 XD May 18 03:48:33 purple? May 18 03:48:54 yeah, a lot of my text is purple May 18 03:49:12 the only thing I see that is purple are fields May 18 03:49:18 and it's a pretty subdued purple May 18 03:49:21 BullShark: I don't exactly know what you meant by not wanting the user to go back one activity at a time, but you should look at android:clearTaskOnLaunch and similar attributes.. May 18 03:51:08 ok, so dumb question about intellij in general. this is where i get tripped up as an eclipse user. so , on filesystem, my project structure is ( projectName ( android web docs ) ). when i imported the project, i pointed it to projectName/android. Now, i guess "android" is the module name ? May 18 03:51:30 the abstractions in eclipse are different ( workspace, dependent projects, etc ) May 18 03:51:49 settings -> editor -> colors and fonts, just fyi :) May 18 03:52:00 you have a project then you have modules May 18 03:52:06 by default, yeah. I think it will be named android. you can rename it though May 18 03:53:08 JesusFreke: thanks, i didn't open that last folder up and just saw Scheme Name: "Darcula" ;) May 18 03:53:19 ron_frown: ok, so, is there a concept of a workspace ? May 18 03:53:31 uhh May 18 03:53:34 not really May 18 03:53:41 I mean project could be that May 18 03:53:41 lets say i want to work on another project, unrelated, do i create ... May 18 03:53:56 but workspaces in eclipse usually were just a "this is where my projects go" May 18 03:54:03 ok, so IntelliJ seems Project based May 18 03:54:06 yp May 18 03:54:07 yes May 18 03:54:08 very much so May 18 03:54:26 I've never seen another ide (well thats not c++) that did stuff like eclipse does =) May 18 03:54:30 which makes a lot more sense to me. The whole workspace thing in eclipse is just weird May 18 03:54:58 JesusFreke you ever use vs.net May 18 03:54:59 ok May 18 03:54:59 ? May 18 03:55:09 ron_frown: yep May 18 03:55:16 been a while though May 18 03:55:19 I think I used 2005 May 18 03:55:40 intellij definitely feels much more like VS than eclipse May 18 03:56:25 probably why I like it so much honestly May 18 03:56:31 yeah, same here May 18 03:56:52 I'm not generally a MS fan, but VS is a nice IDE. and c# is an awesome language :) May 18 03:57:29 so.. can you have multiple unrelated projects open in intellaJ? May 18 03:57:30 eclipse workspaces are weird. one of the weirdest things about them, is that if you create a project in eclipse, the physical project in in WORKSPACE_DIR. But i never work like that, i have all of my projects in like, ~Projects/ and then import them into eclipse, and say "don't copy into workspace" … yeah, that is totally fing bizarre May 18 03:57:51 haha May 18 03:57:54 g00s: yeah, exactly May 18 03:58:27 you can pick where you want the project to be created May 18 03:58:32 sixcorners: You can have multiple IDEA instances in the same process, so that each project gets its own window May 18 03:58:57 hmm : \ May 18 03:58:57 so yes, you can open multiple projects, but it's more like opening multiple instances of idea May 18 03:59:08 JesusFreke: ok, glad i dont need to have multiple processes running :P May 18 03:59:15 i barely have enough mem for one :( May 18 03:59:40 eclipse prefs had a search funtion, which was nice May 18 03:59:45 so does idea May 18 03:59:48 at the top May 18 03:59:49 really ? May 18 03:59:54 so does iddea May 18 03:59:55 haha May 18 03:59:57 upper left May 18 03:59:58 it works surpisingly well too May 18 04:00:02 surprisingly* May 18 04:00:05 or just type in any setings window May 18 04:00:12 aha May 18 04:00:32 darcula strikes again :| missed that May 18 04:00:50 yeah, it's hard to notice in darkula May 18 04:00:57 looks like a title bar or something May 18 04:01:05 yeah :) May 18 04:01:15 what is darkula? May 18 04:01:19 darcula saves the eyes tho May 18 04:01:21 imo May 18 04:01:23 the dark IDEA theme May 18 04:01:28 i was clicking on the 'x' and nothing happened :D May 18 04:01:32 I have vs.net and eclupse set up the same way May 18 04:01:42 yeah, I do prefer darkula May 18 04:02:06 eclipse theme plugin was pretty good, but only applied to some editors (xml, java) May 18 04:02:13 <_genuser_> phew fixed the listview. May 18 04:02:57 now to poke around canadiancow's code from his talk May 18 04:02:58 <_genuser_> for all you devs. if your listview items contain elements that get focus, you listeview items will never get focus. so remember to set focusable to false for all those items to list item can be selected. May 18 04:03:07 A little something I've been working on off and on :D May 18 04:03:10 http://oi44.tinypic.com/bg6wl4.jpg May 18 04:03:16 what did canadian cow talk about May 18 04:03:56 JesusFreke what was that May 18 04:04:03 ron_frown: smali plugin for idea May 18 04:04:10 nice May 18 04:04:14 was that hard to pull off May 18 04:04:20 I aim to venture down that road soon May 18 04:04:28 oh, it's just in "proof of concept" state atm May 18 04:04:47 wtf is smali btw May 18 04:04:54 It wasn't too hard, except for 2 things that I had to do pretty bad hacks to support. heh May 18 04:04:57 looks like asm in a way May 18 04:04:59 ron_frown: he had an i/o talk about code techniques in gmail May 18 04:05:02 https://code.google.com/p/smali/ May 18 04:05:10 ron_frown: yeah. disassembled dalvik bytecode May 18 04:05:14 canadiancow works on gmail team? May 18 04:05:42 <_genuser_> gmail team? Can you tell them to make it faster? May 18 04:06:53 "Take advantage of the Android platform to create a world-class app. We will use Gmail as an example, walk through platform features, and provide example code. This talk will enable you to leverage the platform, reduce effort, and improve the app experience." May 18 04:08:57 nothing to me is mind blowing in gmail May 18 04:09:11 one thing that pissed me off about eclipse initially, coming from edlin or whatever, was too much automagical completion which usually just got in my way. hope that is not an issue again May 18 04:09:13 there are a few things I'd be curious May 18 04:09:42 i usually turn off all that typeahead stuff May 18 04:09:57 oh man its good in intellij May 18 04:09:58 g00s: I actually really like the autocomplete in IDEA May 18 04:10:01 <_genuser_> what they should have done is simplify connecting to services instead of creating layers and layers of oAuth2 crap for every services. May 18 04:10:10 <_genuser_> like a flickr feed is really that important. May 18 04:10:10 especially the camel case autocompletion May 18 04:10:11 I've seen intellij predict based on stuff it learned from your choices before May 18 04:10:43 it suggests relevant variable names based on the type, all sorts of useful stuff May 18 04:11:17 and it's fast :) May 18 04:11:51 JesusFreke he IS on a apple ibook May 18 04:12:10 yeah this is a step up from a powerbook May 18 04:12:10 purple jellybean May 18 04:12:19 I really like IDEA's find usages too May 18 04:12:21 hahahah May 18 04:12:32 how it groups it based on usage type, etc. May 18 04:13:38 my favorite git related feature is: select a few lines of text, right click -> git -> show history for selection May 18 04:14:34 you can have it annotate the entire file too IRIC May 18 04:14:35 IIRC May 18 04:14:51 yea. graphical git blame May 18 04:17:36 i've been trying tig May 18 04:17:47 tig? May 18 04:17:59 https://github.com/jonas/tig? May 18 04:18:05 i'm somewhere on the spectrum between pfn/Leeds (vi) and you hardcore ide folks :) May 18 04:18:15 yeah May 18 04:18:24 interesting May 18 04:18:30 http://jonas.nitro.dk/tig/screenshots/ May 18 04:18:50 already there :) May 18 04:19:38 yeah, I don't know if I would use that or not May 18 04:20:02 currently I use git gui and gitk (but mostly command line) May 18 04:20:15 but am not particularly fond of either May 18 04:20:18 <_genuser_> between vi and ide. don't say you use nano.... :p May 18 04:20:45 I like vi May 18 04:20:51 but its not where near an ide May 18 04:21:00 <_genuser_> hey I like vi, but autocompletion goes a long way toward guess coding.... May 18 04:21:09 simple intellisense etc just speeds shit up May 18 04:21:20 never been a vi fan May 18 04:21:25 give me some sublime2 May 18 04:21:27 Before I start converting my video files I just want to double check if 720p video files will be compatible with most android devices? May 18 04:21:46 vi is rediculously powerful if you learn it May 18 04:21:50 for shell shit May 18 04:21:54 <_genuser_> my 720p and 1080p file plays fine on my phone. May 18 04:21:55 just use smart git May 18 04:21:59 sublime-text-2++ May 18 04:22:12 <_genuser_> it's like notepad++. May 18 04:22:25 <_genuser_> just write a new one. don't add a feature on an existing one. May 18 04:22:27 _genuser_: Awesome, is it an older phone? May 18 04:22:52 <_genuser_> apple741: it's a galaxy s. <---- notice the period. no, s2, s3, s4.... May 18 04:23:05 <_genuser_> and it played them fine May 18 04:23:06 anyway. I'm off to windows-land to play some minecraft on my oculus rift :D May 18 04:23:38 ? May 18 04:23:55 <_genuser_> he using minecraft as an excuse to use internet explorer, etc.... May 18 04:24:01 (http://www.oculusvr.com/) May 18 04:24:03 _genuser_: sshhhhh May 18 04:24:09 <_genuser_> JesusFreke: lolz May 18 04:24:28 can't wait for the sdk to support linux. May 18 04:24:29 * JesusFreke sighs May 18 04:24:34 say tha reminds me May 18 04:24:40 can you buy the google glass yet May 18 04:24:42 <_genuser_> alright my app is finally converted to 4.0.3 and usable. May 18 04:24:46 or is it still a glass explorer thing May 18 04:24:53 just the explorer thing, afaik May 18 04:25:11 <_genuser_> you all hear about establishements already banning google glass? May 18 04:26:13 evancharlton, if I use HttpClientStack from the toolbox, will volley change to HttpUrlConnection on later devices or does that mean it's gonna exclusively use apache HttpClient May 18 04:27:01 _genuser_, just one, not even sure which one May 18 04:27:25 Afzal, Volley.createRQ will do that for you May 18 04:27:32 Just a simple if/else May 18 04:27:41 <_genuser_> Afzal: I was hearing in the news. casually. didn't pay attention. but might be interesting if people ask you to remove them. May 18 04:27:48 once i get an auth token via AccountManager, how would i request data for that account from a server side script? May 18 04:27:51 my app needs to grant access to a server side process May 18 04:27:56 awesome! thanks evancharlton May 18 04:29:47 _genuser_, yeah, might help if there's a disable mode and a visible indication that it's disabled. I can imagine the crew in flights asking people to shut it off May 18 04:31:28 <_genuser_> Afzal: yeah, especially who don't understand the privacy laws and don't want to bother learning and policing. they might just say take them off. May 18 04:31:58 doesn't help that they're easy for other people to take off as well. lol May 18 04:35:24 <_genuser_> yeah imagine downtime NYC. you know, why would some kid steal an old lady's purse. just snatch your eye glasses and run. and if it has prescription lenses, user's is doubly SOL. May 18 04:36:02 i have a feeling strapped glasses might come back into fashion May 18 04:36:18 better yet, start a startup to create multi-coloured straps for google glass. /shame May 18 04:36:35 <_genuser_> it would have to be a freaking strong strap. May 18 04:37:09 <_genuser_> not to mention, imagine the gunpoint/knifepoint muggin. May 18 04:40:15 with a front part that detects a gun or knife pointing toward you and calls the cops May 18 04:40:23 _genuser_: i would ask someone to take them off if they wanted to chat May 18 04:40:32 .actually let's just do vigilante justice for that May 18 04:41:08 g00s, would it be okay if they just silenced it? May 18 04:41:24 no May 18 04:41:54 but it's like asking someone to take their watch off, or literally, take their glasses off May 18 04:42:09 nobody asks people to take glasses off May 18 04:42:20 the message it sends, is that person prefers information access over communicating with the person in front of them. May 18 04:42:52 Afzal: well, i see it like talking to somebody when you're looking at your phone May 18 04:43:10 <_genuser_> g00s: I agree. Question tho, do you tell people to put their gadgets down, when they think they're hanging out with you but they're really checking twitter, facebook, yt, etc? May 18 04:43:12 except that they silenced it, so it's not really doing anything for that time May 18 04:43:40 s/people/wife and then yes for me May 18 04:43:42 _genuser_: dunno. there will need to be some etiquette discovery i guess. May 18 04:44:42 <_genuser_> g00s: I find current etiquette, or lack thereof, quite annoying. people claim they're hanging out with you. but they're glued to their phone. if you have to repeat what you said, how much is the person really listening, etc. May 18 04:45:29 need friends much genuser? May 18 04:46:29 _genuser_: yeah; a week or so ago there was that article about a olive garden date where the couple spent the whole time looking at their phones :D May 18 04:46:33 oh yeah, that one's annoying May 18 04:46:34 <_genuser_> ron_frown: oh how correctly you guess May 18 04:46:53 1. divert attention from the offender. 2. talk to someone else :D May 18 04:47:25 <_genuser_> ron_frown: :) luckily most friends that I hang out with tend to think similarly. smaller phones, less time. That way when someone checks their messages, it doesn't bother me. May 18 04:47:39 every year after I/O, I get into this mode where i keep opening g+/twitter/fb expecting more news >_< May 18 04:47:49 <_genuser_> g00s: yahoo front is always showing some dear abby article where SHE spends more time with IT than with HIM. May 18 04:48:55 Afzal: not enough announcements :) May 18 04:49:30 heh, today, i thought its the last day - is there any session today they would announce something :P May 18 04:49:43 oh no, i'm pretty satisfied with the current updates May 18 04:49:53 ah, k May 18 04:50:03 but I dunno, just some little leak or something :p May 18 04:50:35 Romain Guy already showed us the little improvement that is probably in the next version. No need to restart app after turning on GPU overdraw May 18 04:50:36 lol May 18 04:54:36 _genuser_: i seem to remember older 'smart' phones having a shutter sound you cant turn off May 18 04:54:50 _genuser_: and some show a camera on the front lcd (same side as camera) when using the cam app May 18 04:55:01 so covert photos arent possible May 18 04:55:18 seems that has gone away with more modern smart phones May 18 05:08:18 clever: the camera is only a part, albeit significant part. the part involves whether the person you are with is researching you while you are interacting. for example, in linguistics there are 'conversational styles'. you may have a preference for donating information, or preferring to be asked. if the latter, you'l wonder whether the other person is researching and short-circuiting that "linguistic style" May 18 05:09:46 g00s: with it being mainly voice activated, it would be obvious what your doing May 18 05:09:56 of course, the other party could just go somewhere and do their research on the internet, but still the rhythm of the personal exchange, and where information is flowing (to your friend) or out (to the internet) is not under your control May 18 05:10:07 and a simple shutter over the camera would block the facial regoc and automated investigation apps May 18 05:10:41 just have a brightly colored shutter that slides over the camera, but is covered (color hidden) when the camera is active May 18 05:10:42 maybe next year i'm going to show up at I.O wearing a Burqa May 18 05:11:17 i also saw driving safety mentioned on the wiki page, which gives me an idea May 18 05:11:41 bluetooth/wifi link it to the car, show multiple camera angles or speedo/gps on the glass, and disable distracting apps May 18 05:11:57 so you can see things coming up behind you May 18 05:12:31 showing up in a Burqa or wearing CV Dazzle would definitely make a statement :D May 18 05:12:50 g00s: this also reminds me of a sci-fi show, the main species had geneticaly engineered a 3rd high-def eye into the forehead May 18 05:13:04 heh May 18 05:13:07 g00s: and mount a ~1cm wide high-def screen over it, to input flight data directly into the brain May 18 05:13:31 just think, a 1080p monitor strapped over a specialized eye, dedicated input May 18 05:13:57 able to see all of your surroundings, external view of the space ship from all directions May 18 05:15:05 google glass is basicaly that, minus the genetic engineering May 18 05:16:16 yeah, but coming from the company that thinks your health records should be public May 18 05:16:31 i saw a recent ted video on something similar May 18 05:16:36 i think there is something in the water in SF May 18 05:16:43 a bluetooth blood glucos meter, wired to the internet via your cellphone May 18 05:16:48 if it spikes, your doctor calls you :P May 18 05:17:29 but the range of things they demoed in the video, would be amazing if it was all working May 18 05:17:32 let me find it..... May 18 05:21:27 I took it as him saying its dumb everyone has to be scared at what insurance companies knwo May 18 05:22:00 not like Google is going to fire him based on his health records :) May 18 05:22:09 for the rest of us ... May 18 05:22:31 yeah, these people plainly don't understand what its like to be a regular joe May 18 05:22:46 g00s: in the ted video i saw, you have to authorize the records being shared, but its as simple as your doctor asking 'can i share your history with this other doctor' May 18 05:22:50 and you clicking yes May 18 05:23:15 in the example, he was going on an international flight, and they where hooking him up with a doctor at the dest, incase anything happened May 18 05:23:58 found it, https://www.youtube.com/watch?v=xzwma0QG-eo May 18 05:23:58 the problem, again, is the "database of ruin". if the right parties get the right info which you authorize, it can be innovation. but instead, everybody wants everything, you have no control, and once all these piece get pulled together, its likely a nightmare May 18 05:24:03 'take two apps and call me in the morning' May 18 05:24:19 :) May 18 05:24:34 evenin :) May 18 05:24:38 its basicaly seamless integration of EVERYTHING May 18 05:25:19 good evening Mavrik May 18 05:25:26 24/7 health monitoring, direct feed to the nearest doctor of your choice, calendar to compare when both you and the doctor have free time, gps navigation, flight plans May 18 05:25:32 aaand IO is done, woohoo. May 18 05:25:38 now to catch up on sleep. May 18 05:26:45 clever: http://prospect.org/article/meet-stalkers May 18 05:27:31 g00s: i know about how much people can access, i run similar services online May 18 05:27:49 just logging into my site with facebook gives me your entire life story May 18 05:27:58 nearly everything you put on your profile May 18 05:28:27 and thats in the default permission that facebook doesnt even confirm, your email addr is protected more then where you grew up, work, live, and your whole bio May 18 05:29:44 g00s: and ive got a relatively small sample size, only 7000 registered accounts May 18 05:30:16 g00s: hmmm, do you know much about AccountManager in android? May 18 05:30:25 no, i hated that damn thing May 18 05:30:31 i'm starting to as well :P May 18 05:30:40 i simply wanted to get the users email, and hard-verify it server side May 18 05:30:46 ive got an auth token May 18 05:30:58 but i have no clue how to use the damn thing May 18 05:31:03 none of the examples work, and half dont explain how to get the secret key May 18 05:31:28 most show it purely client side, which can be spoofed if the user just edits the client or calls the api directly May 18 05:35:05 * clever heads to bed May 18 05:37:44 clever what your app May 18 05:37:47 so I avoid it May 18 05:48:09 ron_frown: its a website for a game, and most of the data i store is simply to allow login May 18 05:48:29 k May 18 05:48:58 all the life story stuff isnt even wanted, facebook just throws it at me when i ask for the email addr May 18 05:49:31 * clever heads to bed May 18 05:51:18 ron_frown: its great Play will get beta channels now May 18 05:51:33 but its connected to Google+ somehow, and i don't have that May 18 05:51:38 (dont want it) May 18 05:51:43 i hope there is a way around it May 18 05:52:53 I dont know what play getting beta channels mean May 18 05:53:04 you can have betas of your software? May 18 05:53:12 yeah, alpha and beta i think May 18 05:53:24 the lady presenting went pretty quick May 18 06:00:14 they should have named it a/b testing instead May 18 06:01:15 *went with May 18 06:06:37 amazon has a nice a/b testing library May 18 06:06:53 for their android devs; was hoping google would have announced something like that too May 18 06:07:50 goos: your app almost ready for alpha release? ;p May 18 06:08:48 :( May 18 06:10:32 if it makes you feel any better i will probably have to refactor the one that took me a few months, before I'll be happy enough with it to release it May 18 06:10:38 ;p May 18 06:12:00 refactoring is good procrastination :) May 18 06:12:41 honestly being able to refactor really lets you not worry about gteting a lot of your design right from the get go May 18 06:12:44 within reason dive in May 18 06:13:13 g00s: seen these yet? http://developer.android.com/design/patterns/navigation-drawer.html May 18 06:13:24 Napalm|afk: yeah ! May 18 06:13:35 as always, i'm a bit skeptical of this May 18 06:14:33 same May 18 06:15:34 my coworker uses that other dudes drawer May 18 06:15:36 the jake wannabe May 18 06:16:30 https://github.com/jfeinstein10/SlidingMenu May 18 06:16:53 lol May 18 06:17:04 i use SimonVTs one.. MenuDrawer May 18 06:17:17 https://github.com/SimonVT/android-menudrawer May 18 06:17:36 ron_frown: i think SimonVT is a sidekick May 18 06:17:45 sidekick May 18 06:18:12 yeha May 18 06:18:25 always gotta have the persons name in the package namespace May 18 06:18:34 I mean its an appropriate naming convention as any other May 18 06:18:39 just seems like getting their name out ther May 18 06:18:44 hey Napalm: I'm refactoring to use the Picture class, beginRecording() deletes the old information that was in the picture, do you know how i can just add to it? May 18 06:19:36 i think they said in the presentation - although politely - everybody should be using the official one now May 18 06:19:53 see, if they got off their asses and put that in the compat lib, those guys didn't have to waste their time May 18 06:20:37 unlike abs, they said if you are using it keep using it, or if you are starting a new project, use theirs May 18 06:24:47 erdos: why dont you just keep the Canvas.. why call endRecording? when your picture is not yet finished.. on the other hand you can simply call Picture#draw to a new Picture's Canvas May 18 06:25:03 g00s: what presentation? May 18 06:25:36 Napalm: well i didn't try that but the docs say that endRecording() is automatically called when you draw the picture May 18 06:25:47 ah May 18 06:26:07 heh, there's not much in that class but surely there's a way to do this May 18 06:26:17 i just said May 18 06:26:27 create a new Canvas May 18 06:26:35 and draw the picture to that May 18 06:26:57 .. May 18 06:27:20 thinking May 18 06:27:36 erdos: create a new Picture object and draw it to a new Picture object, then add your additions May 18 06:27:45 but i dont think you are doing this right May 18 06:27:49 oh man! May 18 06:27:54 you still need to store your drawing operations May 18 06:27:55 well it's more right than my first try! May 18 06:27:56 Napalm: i think the one roman nurik did May 18 06:28:03 ah ok May 18 06:28:32 i thought i might have been able to just do subsequent calls to beginRecording and have the Picture store all that data May 18 06:29:44 thanks again :) May 18 06:35:24 ok, so my next intellij "challenge" … the logcat at the bottom is not up to date, seems to be stale, for example my app just crashed but there is no stack trace or movement there May 18 06:35:39 i have the right device selected May 18 06:36:09 intellij tends to do that May 18 06:36:23 if i had a view on top and bottom, both with set heights, how can I have a view in the middle that spans the rest of the height? May 18 06:36:27 :| May 18 06:36:33 g00s, if you find a solution tell me :) May 18 06:36:39 it annoys the heck out of May 18 06:36:40 me May 18 06:36:42 eclipse :) May 18 06:40:37 so basically 2 view on top and bottom, with 1 in the middle that will fill remaining vertical space May 18 06:40:54 can i acheive that with linearlayout? May 18 06:41:35 sure May 18 06:42:53 scrolling a layout which has EditText.setError() popups anchored to it is kinda funny; seems like they have a hard time maintaining their anchor May 18 06:46:50 hello guys how can i get list of ip address of devices connected to my hotspot wifi? May 18 06:54:52 hm, the intellij logcat doesn't follow the app pids May 18 06:58:24 hello May 18 07:05:16 the application may be doing to much work on its main thread? May 18 07:05:16 what does this mean? May 18 07:10:56 Well, that it's most likely doing too much work on its main thread. May 18 07:11:18 the main thread is responding for the user interface and if you do a lots of stuff there, the UI will get laggy May 18 07:11:23 hi all May 18 07:12:52 BtbN: what shall i do then May 18 07:14:11 ivanatora: i called them there because they must be called May 18 07:14:34 what kind of solution iis there ? May 18 07:15:23 shadej: your asking for a solution to a design and problem that no1 here is aware of May 18 07:15:29 it's your code May 18 07:16:07 if you actually want some1 to look at your code, pastebin it and then ask in context what your want May 18 07:16:29 StingRay_: ok May 18 07:16:49 redesign algorithm, perhaps move slow operations to AsyncTasks May 18 07:20:13 ivanatora: but if i use asynctasks the operations are goin to be executed on the background May 18 07:20:39 but i want them to be immediatley executed with UI intialization May 18 07:21:50 you can run AsyncTask in onCreate()/onResume() and it will be immediately executed with UI initialization May 18 07:22:13 so let it execute on the background then? May 18 07:24:04 ok, bt i must be sure that when the interface shows up the backgorund work must be finished May 18 07:25:03 the code: May 18 07:25:04 http://pastebin.com/zz5ZkEAY May 18 07:25:13 then probably your first screen should be a splash screen or something, and when your background job is finished it should bring up an intent for your main UI May 18 07:25:21 (never done that, correct me if I'm wrong) May 18 07:25:53 shadej: this would not really cause the message you said May 18 07:26:12 so this dicussion to this point is…erm….. pointless May 18 07:26:26 StingRay_: it did May 18 07:26:33 it…did not! May 18 07:26:39 why should i ask then? May 18 07:26:50 you must have something else May 18 07:26:51 OR May 18 07:26:59 you were running eclipse in debug May 18 07:27:03 something like that May 18 07:27:39 well I suppose that R.layout.activity_main could contain an IMMENSE amount of stuff May 18 07:27:49 can maybe if it had 1000's of items May 18 07:27:53 cause the message May 18 07:28:08 I said May 18 07:28:10 May 18 07:28:10 you must have something else May 18 07:28:11 OR May 18 07:28:12 you were running eclipse in debug May 18 07:28:13 something like that May 18 07:28:30 well I suppose that R.layout.activity_main could contain an IMMENSE amount of stuff May 18 07:28:31 running eclipse in debug? May 18 07:28:50 StingRay_: no May 18 07:29:00 if you dont know what I mean, then your not debugging May 18 07:29:06 it contains around 5 or 6 string values May 18 07:29:25 neways, my point is this code will not give that message May 18 07:29:33 paste the entire class/act May 18 07:29:57 ok May 18 07:30:01 it first runs ok May 18 07:30:20 then the application closes by itself displaying the message May 18 07:31:08 There isn't any "compile-time" database creation ? May 18 07:31:31 I mean to not check every time on "onCreate" if exists and then create one. May 18 07:31:43 shadej: could it be if you are running it into emulator and your pc is too slow? just guessing... May 18 07:31:56 bluesm, nop May 18 07:32:15 oh, the emu!! May 18 07:32:18 ivanatora: i don know ,it could be May 18 07:32:27 yes am running it on emulator May 18 07:32:28 * StingRay_ always assumes people use devices May 18 07:33:09 yeah well thats pants. unless you use the intel image May 18 07:33:20 ok May 18 07:33:25 then it becomes a half way decent phone emu May 18 07:33:37 k May 18 07:34:37 StingRay_: another question May 18 07:34:54 Mavrik: Isn't this counter-efficient ? May 18 07:34:58 how can i get list of ipaddress of devices connected to my wifi hotspot May 18 07:36:13 bluesm, well, you really don't want to drag around sqlite binary files for alot of reasons May 18 07:36:31 bluesm, plus, just how much data are you trying to create it poses you a problem? May 18 07:36:31 shadej: http://stackoverflow.com/questions/5233068/android-application-wifi-device-ap-connectivity May 18 07:36:43 the only annoying thing is the boilerplate code May 18 07:38:57 Mavrik: So the first run of app would be slowed down by creating database ? And depending on amount of data I want to put there, it could slow down relatively ? May 18 07:39:36 bluesm, depending on when you need the data, how you're going to insert it and how much of it there is. May 18 07:42:43 and how use transactions + sql parameters for bulk inserts May 18 07:47:24 hello, im confused about support packages. please help. im writing an app with minSdk=8 and targetSDK=11 or higher. so first of all, should i use any support package? and if yes, which version? v4 or v13? May 18 07:51:10 yes, latest version May 18 07:51:28 omid8bimo: 1st link on google search produces http://developer.android.com/tools/extras/support-library.html May 18 07:51:28 if you use ABS you'll have to remove the dependency from your project for the support lib since ABS includes it May 18 07:54:30 ivanatora: the one that uses "reading arp cache table" seems simple and nice May 18 07:55:18 but does this gurantee listing "all devices currently connected to the device with wifi hotspot" May 18 07:55:52 i mean arp maintains list of ip and mac addresses of device that has been communicating with the device in the near past May 18 07:56:52 shadej: you are right May 18 07:57:05 but I think arp cache is relatively short lived May 18 07:57:26 I think there were another solution using the dns leases file mentioned somewhere May 18 07:57:49 ivanatora: yeah, that seems nice May 18 07:57:55 where can i find the dns leases file May 18 08:00:43 *dhcp leases May 18 08:00:55 lasserix: I didnt get what you mean. May 18 08:02:49 http://stackoverflow.com/questions/16621114/multiple-setoninfowindowclicklistener-not-working May 18 08:02:53 any updates guys ? May 18 08:09:54 so anyone in the last few days made the switch to either intellij or AS and glad they did ? May 18 08:09:59 or hating it :) May 18 08:13:59 i'm gonna wait until it's a bit less 0.0.0.0.1 May 18 08:14:07 i actually don't mind eclipse May 18 08:14:11 did you? May 18 08:14:22 tried May 18 08:14:40 then thought, over 10 mintues of pissing around was not worth it May 18 08:14:55 hehe my feelings exactly May 18 08:15:03 what is everyones beef with eclipse anyway? May 18 08:16:53 well I started learning programming with xcode and that seems a magnitude better than both intellij and eclipse May 18 08:17:05 I want to switch to intellij cause of some of the features May 18 08:17:16 but not willing to spend the time converting atm May 18 08:18:06 yah May 18 08:22:37 omid still stuck? May 18 08:23:14 i think you want to use revision 13 v4 May 18 08:23:24 sorry am at the electronics bench May 18 08:26:50 StingRay_: i'm trying intellij. i deleted my eclipse install completely so this is learn my forced immersion May 18 08:27:19 g00s: your outsane May 18 08:27:49 :) May 18 08:28:10 so fa its ok. will take some time; but nothing really "wow" stands out May 18 08:28:23 i'd be happy with either May 18 08:28:43 haven't tried anything like library projects tho May 18 08:29:05 i'm a very simple user; i just want auto imports and a few niceties ;) May 18 08:33:14 one nice things about the ADT is that logact will filter by your app name; i can't figure that out in intellij May 18 08:34:26 there are dialogs in intellij where the widgets don't even align on grid boundaries; that seems kinda clunky May 18 08:34:33 i notice that shit right away May 18 08:34:53 like the logcat filter dialog, each text input box is slightly off May 18 08:34:55 you in intellij and not AS version then ? May 18 08:35:04 yeah , plain intellij May 18 08:35:23 not willing to beta test studio May 18 08:35:29 well, after a few days of use, will ask you again about it May 18 08:35:49 lasserix: yes im still confused what to do exactly :( May 18 08:36:00 after all the rave intellij gets, i was expecting more. but i have to spend more time May 18 08:36:12 i think a lot of people install some bucked up eclipse bundle with tons of bs May 18 08:36:36 i never had to tweak with my eclipe.ini jvm options May 18 08:36:52 but i'm doing that with intellij because its take quite a bit more memory May 18 08:37:03 lasserix: i wanna make sure if i used any component in android 4 and beyond, it will work on android 2.3 for example. so this means i should import support packages in my development environment? if yes, which version? v4 or v13? May 18 08:37:13 the UI feels a little more responsive May 18 08:37:58 if i don't like la-cloqure, i'll probably go back to eclipse and use counterclockwise / adt May 18 08:38:04 *clojure May 18 08:40:48 otoh, if eclipse doesn't get its shit together with 4.3 , i dont want to sit on a rotting 3.8 forever either May 18 08:43:52 eclipse FTW. I must be the only user on this channel that like Eclipse. May 18 08:44:15 i would really be interested to read an article from someone who went from eclipse -> intellij , what they think is better or worse in either May 18 08:44:16 it's so hip to bash Eclipse these days. May 18 08:44:31 bubbleguuum: yeah May 18 08:44:43 I hate all software May 18 08:45:01 just at this time, I hate eclipse less than intellij May 18 08:45:07 but maybe need to give it a chance May 18 08:45:38 After 8+ years of Eclipse I cannot imagine swicthing to anything else May 18 08:47:20 still on 3.7.1 though May 18 08:49:42 * capella and in todays news.... Eclipse is declared passé ... world rejoices :D May 18 08:50:09 hehehehe 🍸 May 18 08:52:43 is there a way to get intellij without the bs plugins; i like eclipse being a 50mb d/l. i can do that at the library, 240mb is iffy May 18 08:57:47 capella: this dewd is going to play with his FF buddy http://cdn.theatlantic.com/static/infocus/ngt051713/s_n01_00206197.jpg May 18 08:58:07 awwwwwwwwwwwwwww :D May 18 08:58:23 he looks like an eclipse user May 18 08:58:36 screw cats ... that is the cutest thing ive seen ! May 18 08:58:55 a fennec fox May 18 08:59:41 eclipse user: http://dailypicksandflicks.com/wp-content/uploads/2010/11/0011346-cat-with-funny-face.jpg May 18 08:59:45 XD May 18 09:00:08 thats an eclipse user after playing with intellij :D May 18 09:00:37 I tried eclipse .... "and my head hurts" May 18 09:00:47 notepad #1 May 18 09:02:38 hi May 18 09:02:46 question.. in what way do these android antivirus apps protect you? apps can't get the apk of other apps right? May 18 09:04:11 i have create a ListView with ImageView such as https://www.dropbox.com/s/wn7rnyv2fy1t0q6/layoutrow.png. Ok I load image from server and create thumbs with Picasso or other library. Question: image layout is match_parent in width how can know exact pixel in runtime ? May 18 09:04:32 sixcorners: maybe malware coming from downloads, insecure browsing, etc ? May 18 09:05:04 where can i see the docs on lines like this android:something in the xml? May 18 09:05:45 i'm seeing suggestions online to use some i have never heard of. i would like to read the docs on those before using. May 18 09:07:35 BullShark: google search it.. you can also see some info in the "properties" section of the "graphical layout" when editing a layout xml file. put your mouse over the property May 18 09:07:59 The views javadocs lists their attributes May 18 09:08:27 thanks simon May 18 09:20:59 coming from netbeans, I like eclipse :) the only drawback about ADT is that I need a bigger monitor now May 18 09:22:35 in eclipse, i'm used to a '*' going next to the filename on modification; in intellij i see no visual indication that I modified the file. where to look ? May 18 09:24:12 By the color of the text May 18 09:24:30 of the filename May 18 09:24:54 in the tab ? May 18 09:24:58 it doesn't change colors May 18 09:26:41 oh, wtf http://devnet.jetbrains.com/docs/DOC-191 May 18 09:26:47 ok, -100 intellij May 18 09:27:44 I thought it was made of magic May 18 09:27:45 Guess which two I changed: https://dl.dropboxusercontent.com/u/100261/diff.PNG May 18 09:28:35 SimonVT: yeah, mine isn't doing that May 18 09:28:48 i just open a file, type random crap, nothing changes color May 18 09:28:53 what OS ? May 18 09:29:27 that looks like a windows font May 18 09:29:39 Maybe it doesn't pick up your git repo May 18 09:29:47 i dont have git plugin May 18 09:30:05 just intellij & android plugin May 18 09:30:14 So you removed it? May 18 09:30:27 it came with the d/l i just disabled it May 18 09:30:32 was trying to save memory May 18 09:30:35 Well there you go May 18 09:30:39 pebkac May 18 09:30:46 no ... May 18 09:31:02 every program i've used in the last 20 years tells me when the file has been modified May 18 09:31:19 i dont use IDE git support May 18 09:31:24 thats for pussies ;) May 18 09:31:30 command line or die May 18 09:31:33 It's very useful May 18 09:31:39 Even shows you which files you changed May 18 09:32:14 Tells you which lines in a file was changed as well May 18 09:32:14 of course ;) from the command line May 18 09:32:24 Directly from the editor May 18 09:32:37 grrr May 18 09:32:46 i use p4merge for that May 18 09:33:47 From the browser https://github.com/mozilla/mozilla-central/blame/master/build/autoconf/acwinpaths.m4 May 18 09:34:13 https://dl.dropboxusercontent.com/u/100261/lines.PNG May 18 09:34:15 It's very handy May 18 09:34:43 * capella is "protected" from Git by Mercurial May 18 09:35:03 me too May 18 09:35:13 capella: yeah … you may have a point there :| May 18 09:35:18 git is another pos May 18 09:35:37 Intellij has mercurial integration as well May 18 09:35:52 ok, under Editor -> Tabs, there was an option to mark modified files with asterisk May 18 09:36:11 noticing lots of silly options like that May 18 09:36:15 just … do it May 18 09:36:46 i'm using git because everyone else is for the most part, sigh May 18 09:36:56 No way ! We're just figuring out how to do FF Mobile under Eclipse .... I need to get someone looking at Studio May 18 09:36:58 whatever May 18 09:39:06 so ctrl-s saves all files ... May 18 09:39:26 .. May 18 09:39:30 .. May 18 09:39:39 * g00s headdesk May 18 09:39:47 you can't save a single file ? May 18 09:40:33 It saves for you May 18 09:42:01 StingRay_: i want to go back to eclipse but i deleted it :X May 18 09:42:07 this suuucks May 18 09:42:11 lol May 18 09:42:45 are there settings for keybindings? May 18 09:43:48 intellij has its own opinion on this, its not a matter of keybinding. May 18 09:46:20 g00s doesn't handle change well May 18 09:47:04 use notepad, no change, no problem :D May 18 09:47:23 why do you want to save a single file? May 18 09:48:22 yeah, why would anyone ever want to do something crazy like that ! May 18 09:48:33 i'm going to ask the vim guys to remove save buffer May 18 09:48:43 i want vim to save all my buffers at once ! May 18 09:48:51 and emacs too May 18 09:49:06 Still I do not understand why the Android tools team gave themselves 2 or 3x as more work by having to maintain both Eclipse tools and Android Studio May 18 09:49:28 looks for a recipe for half baked stuff in both May 18 09:49:41 following the device fragmentation model….simple as May 18 09:49:43 :) May 18 09:49:49 must be it May 18 09:49:56 bubbleguuum: also, i don't think they have a good QA process May 18 09:50:04 i bet the intellij android plugin goes downhill now :D May 18 09:50:30 my fear is that Eclipse tooling suffer because of Studio May 18 09:50:36 or like I said b4, get to a point where you have too many bugs that cannot be excused, then switch direction and create something new May 18 09:51:09 Stingray_: yeah create different bugs elsewhere, that's great May 18 09:51:20 bugs on new is ok May 18 09:51:23 called beta May 18 09:51:25 :) May 18 09:51:32 g00s: :wa will save all buffers, without quitting May 18 09:51:48 g00s: :xa will save all buffers and exit May 18 09:51:52 pragma-: yes of course, you can do that - what if it was the only option May 18 09:52:09 thats what intellij seems to be doing May 18 09:53:19 and it's awesome May 18 09:53:25 ... I asked that.. Did you think I was being obtuse? May 18 09:53:32 I don't care what intellij, idea, netbeans, eclipse or android studio are doing. I only use vim, because it is the bestest and most productive awesomest way to edit all the things! May 18 09:53:53 File -> Settings -> IDE Settings -> Editor -> Editor tabs -> Mark Modified Tabs with Asterix May 18 09:54:17 capella: yeah, thats only visual indicator May 18 09:55:00 like, if i edit a bunch of files, and then decide i want to check only one in: i would expect to save the file, stage/commit with git May 18 09:55:10 from command line May 18 09:55:27 but ctrl+s will save all the files, git will tell me everything has changed against the index May 18 09:55:55 can't stage select changes? May 18 09:56:20 you're right May 18 10:00:34 Close the individual tab to commit the save? (hacky) May 18 10:01:29 (Whoa ... dang sun came up) May 18 10:01:37 ;O May 18 10:01:40 git add i/want/to/change/this/File.java May 18 10:01:45 git commit -m "I changed a file!" May 18 10:02:34 fuck it pragma- i think i should just go back to vim May 18 10:02:42 A sensible decision. May 18 10:02:48 all this shit sucks May 18 10:02:56 everything is too automagical May 18 10:03:07 i just want a editor, my git command line, build system May 18 10:03:12 * g00s screams May 18 10:03:55 oh, layout preview and auto imports :| May 18 10:03:59 damn it ! May 18 10:04:07 what's that git feature called where you stash all your changes and go back to where you started? May 18 10:04:22 git stash May 18 10:04:23 git stash ? May 18 10:04:25 :/ May 18 10:04:44 oh.. well.. that's a good name.. May 18 10:05:23 real men write out their own imports! May 18 10:05:46 and I'd rather push the apk to my device to test the layout instead of trusting some buggy layout preview May 18 10:05:56 anyway, it seems like that might be a good way to keep your changes seperate, instead of not saving certain files May 18 10:06:36 in eclipse though.. you have to refresh things when they change outside of eclipse .. : \ May 18 10:06:37 pragma-: adt, maybe intellij (dunno) do have a cool feature of previewing a layout in a whole bunch of configurations at once May 18 10:07:36 Right ... mercurial you have to do HG Qref after file changes to commit to the local queue May 18 10:08:32 hey guys since I've never actually released an app but I'm soon about to I'd like to ask if there is something I should know before doing that May 18 10:08:49 like.. updating the app.. all it takes is I add a new number in the manifest ? May 18 10:08:57 no other preperations needed ? May 18 10:09:10 P3nnyw1se: the docs have a huge checklist May 18 10:09:14 sign it with the same key May 18 10:11:13 think I'm looking at it now g00s.. a bit unsure about the apk with my won certificate but I assume thats the one I get when purchasing a google play account May 18 10:19:59 when is the alpha/dev stuff being released to dev console ? anyone ? May 18 10:29:56 oh, it's there now May 18 10:30:22 your face is there now May 18 10:30:25 pwned! May 18 10:31:54 ouch May 18 10:32:07 * g00s presses on with Intellij May 18 10:33:44 StingRay_: how do you add people to the beta list ? May 18 10:33:50 i think it involved google+ May 18 10:33:57 well just gonna try now May 18 10:34:04 search google+ for smartMessenger May 18 10:34:06 paid or free.. that is the question May 18 10:34:09 and ask to join May 18 10:34:50 has a black and chrome trim letter icon May 18 10:34:54 StingRay_: oh, did you deploy ? May 18 10:35:09 yeah, now help me test this shit :) May 18 10:35:20 what do you guys think for a simple novelty app, paid or free? May 18 10:35:24 i have a froyo phone :) May 18 10:35:31 your a dick! May 18 10:35:40 * StingRay_ sulks May 18 10:35:43 g00s, api-8? May 18 10:35:48 ermegerd May 18 10:35:58 \o/ froyo ftw May 18 10:36:31 StingRay_: 'search google+' heh, i dunno how to do that, i don't use that shit May 18 10:37:05 it wants me to set up a profile -> no :) May 18 10:37:16 then your screwed May 18 10:37:18 :) May 18 10:37:30 so i guess i need to figure out how to associate my apk with another account, open g+ for that, etc May 18 10:38:52 huh, share opt in link is not found May 18 10:38:58 maybe need to wait a bit May 18 10:40:06 StingRay_: the beta channel is beta :D May 18 10:42:16 which means the alpha channel is beta too May 18 10:42:19 * g00s head explodes May 18 10:43:02 I think the beta channel is alpha May 18 10:43:10 but the alpha channel maybe beta now May 18 10:43:14 >.> May 18 10:44:46 its ok to have multiple gmail accounts, right ? May 18 10:48:04 i have about 4 May 18 10:48:13 3 of them are joined May 18 10:48:25 joined ? May 18 10:48:27 1 is for balls marketing crap May 18 10:48:30 yeah combined May 18 10:48:53 like a+1 a+2 a+3 or something else ? May 18 10:49:35 dwtempy May 18 10:49:39 dwcelo May 18 10:49:57 tempy = crap, signup verify stuff May 18 10:50:15 celo is a latin word and appropriate for it's use with facebook :) May 18 10:52:33 guys have u seen this May 18 10:52:35 https://www.youtube.com/watch?v=jq32Y41U__I May 18 10:53:49 shadej: thats just a bollox video May 18 10:54:06 about as meaningless as it is professional May 18 10:54:07 yeah, looks like crap May 18 10:54:56 bt it motivates May 18 10:55:09 well. maybe some :) not I May 18 10:55:10 i closed it, was annoying May 18 10:55:35 what they dont tell you is the sea of crap that your app swims in May 18 10:55:39 and discovery is a bitch May 18 11:01:39 android market.. err.. android play.. supports pname:, pub:, maybe file: ... what other search operators does it support? Is it possible to search for all apps that say they handle a URL May 18 11:01:44 I earned 1gillion dollars in three weeks and in my spare time !!! May 18 11:09:31 capella: no kidding May 18 11:09:35 how? May 18 11:10:01 Me May 18 11:10:38 (They make us that way in NY) May 18 11:17:54 I'm trying to make an alert dialog for when a user hasn't correctly filled out a form May 18 11:18:17 I want to check if a field is empty, if it is, then display the dialog and return them to the activity May 18 11:19:03 I have done all this, but instead of returning them to the activity after they press "OK", it doesn't wait for the OK button to be pressed and just continues on to the next activity May 18 11:23:15 http://pastebin.com/iYB54C0a May 18 11:26:59 help? May 18 11:28:45 conor_f line 41 May 18 11:29:09 maybe place an 'else' above it May 18 11:29:41 ah -_- May 18 11:29:43 thanks May 18 11:29:46 I feel stupid now May 18 11:29:52 no need for that May 18 11:30:36 :P Thanks May 18 11:36:30 Just as a matter of interest, what is a common way of handling the hardward back button? May 18 11:36:38 *hardware May 18 11:37:26 Return to the previous activity in the state it was when you left it? Recreate the previous activity? Recreate the current activity? May 18 11:37:27 by an keyboard event May 18 11:37:38 onBackPressed() May 18 11:37:48 or does it depend too much on the application you are creating? May 18 11:37:52 if you started the current activity with startActivityForResult you get the "prev" activity for free May 18 11:38:25 it depends on your needs - e.g. in androids system apps there are some cases where the system needs confirmation for "back" May 18 11:38:41 or you might want to save your work before you go back May 18 11:38:55 so there's no standard way to handle it? :/ May 18 11:38:57 fair enough May 18 11:39:00 thanks :) May 18 11:39:01 no May 18 11:39:21 There's plenty articles on navigation patterns in the design guidelines May 18 11:39:32 yes! the pattern is well described May 18 11:39:42 you can chose the method May 18 11:39:56 back to take the user back one logical step May 18 11:40:05 -- general idea May 18 11:40:10 and in 99.99% it also saves your work May 18 11:40:13 Ok. Design really isn't my forte haha May 18 11:40:40 i don't think it's anyones really May 18 11:40:49 unless you are paid to do it May 18 11:41:16 heh, yeah. That's why we code and other people design I suppose :P May 18 11:41:31 Design isn't just about how your app looks, it's about how it behaves as well May 18 11:41:32 that's the right way in 2013 ;) May 18 11:42:23 i liked the good old days when bad software was good software May 18 11:42:55 Ahhh, good ol' CLI's May 18 11:44:42 has anyone here made an app using the camera? Is it difficult? I haven't got much Android experience, but I do have a good amount of general coding experience May 18 11:45:16 I just want it very basic. Take picture, show user, option to save/retake. Similar to Snapchats interface May 18 11:46:33 documentation... May 18 11:47:27 conor_f: it's easy May 18 11:47:36 but the android hardware is a big pice of shit :( May 18 11:48:00 some devices take a picture and tell you via exif info "rote me -90 degrees before you show the image" May 18 11:48:28 on some devices the image is flipped right-to-left and you don't get this via exif May 18 11:48:45 so again there is no 100% solution - unless you write your own cam app May 18 11:48:54 but in that case you need a lot of memory ;) May 18 11:50:04 while i think you don't mean to May 18 11:50:32 i just have to point out that you speak as though there is one general hardware spec for android cameras May 18 11:50:33 Hi May 18 11:50:39 How do I install SDK Tools 21? May 18 11:50:41 a 14mp image of a s4 is a lot of memory ;) May 18 11:50:46 After updating it to 22, Eclipse doesn't start May 18 11:51:01 And there is no downgrade option in the SDK Manager May 18 11:52:18 found the files May 18 11:54:06 anyone have this bug in Intellij : my tree icons are disappearing http://youtrack.jetbrains.com/issue/IDEA-69002?query=by May 18 11:54:13 it works! May 18 11:54:37 yay May 18 11:56:15 Android 3.2 Holo is beautiful, is there anything like it for Android 4? May 18 11:56:54 beautiful is a strong word May 18 11:57:15 restarted IntelliJ and my icons came back :| May 18 11:57:17 subjectively beautiful in your eyes May 18 11:57:19 ;) May 18 11:57:28 I like the Tron-ish style and Droid font May 18 11:57:54 Progress bars and seek bars are so bright May 18 11:59:23 aren't the themes nearly identical? May 18 11:59:24 Google changes the on/off switch almost every version May 18 11:59:32 No May 18 11:59:45 3.x Holo is more blackish blue May 18 11:59:46 i'm finding other bugs in Intellij. it put up a lightbulb and said "invert condition" so i said OK, lets see what it does. fine. Put up the light bulb again and said "invert condition" , tried it … and it messed up the code May 18 11:59:47 I dont like most of their design or widgets May 18 12:00:02 4.x Holo is less bright and light blue May 18 12:00:09 but I'm a designer/artist…. so I pretty much hate everything May 18 12:00:12 :) May 18 12:00:14 * g00s is thoroughly unimpressed May 18 12:00:32 g00s: are you using android studio? May 18 12:00:35 * StingRay_ commands g00s to keep at it May 18 12:00:40 :) May 18 12:00:45 does not understand the cult status intellij has May 18 12:00:59 angelsl: plain intellij + plugin May 18 12:01:05 i've used IntelliJ to do all my java work for 3 years.. May 18 12:01:08 haven't run into any issues May 18 12:01:10 ._. May 18 12:01:38 i quite like it, it's a huge improvement over Eclipse or NetBeans May 18 12:01:43 it seems to take longer to launch an app from intellij also May 18 12:01:45 but nothing beats VS yet May 18 12:02:10 3.2 http://i.imgur.com/rpvLUKL.png May 18 12:02:39 SiPlus: see I dont like that May 18 12:02:43 and even if i did May 18 12:02:49 takes like 5 min to do in PS May 18 12:03:05 I get an error "creation of element failed" when creating "app engine connected android project" with eclipse wizard May 18 12:03:05 what can I do to at least get more information about the error??? May 18 12:03:17 StingRay_, here's 4.0 http://i.imgur.com/yYMBOo4.png May 18 12:03:21 looks too simple and plain May 18 12:03:37 I think both ring so many warning bells in my design head May 18 12:03:57 StingRay_: what? May 18 12:04:41 warning bells = alerts, no no's erm….. design head = me, my head May 18 12:04:55 dont know how else to phrase it May 18 12:04:59 ..yes, i know what you mean May 18 12:05:03 as in, what warning bells? May 18 12:05:07 oh May 18 12:05:14 you want a list May 18 12:05:14 ? May 18 12:06:06 top common 2 on both those images are "pallet types" and "visual style" May 18 12:06:27 problems with it are they are not coherent or complimentary May 18 12:06:40 but I could do you a big list if you really want May 18 12:06:45 with many specifics May 18 12:06:53 no no it's alright :p May 18 12:06:55 StingRay_: Please, enlighten us May 18 12:07:02 or, go ahead then May 18 12:07:02 :D May 18 12:07:22 In different packages I can have the same name for an Interface without conflicts? ( I know its a Java question but i'm pretty sure you can handle it :) ) May 18 12:07:27 ok well design 101, pallet types May 18 12:07:51 you HAVE to be able to disreguard all visual elements (the way they are made) and break it just into colors May 18 12:07:58 much like going out on the town May 18 12:08:10 http://images.intomobile.com/wp-content/uploads/2011/01/Android-Honeycomb.jpg what a strange wifi icon May 18 12:08:14 you would not wear green jeans with a yellow shirt May 18 12:08:21 this is android 2.99999 May 18 12:08:27 so you have pallet types based of complimentary colors May 18 12:08:36 android designers seem to not bother with that May 18 12:08:53 disreguarding color and only looking at visual makeup May 18 12:09:12 Android 3.0 beta reminds me of Windows XP May 18 12:09:14 so rather than the color of your jeans, make your clothes black and white/grayscale May 18 12:09:18 3.0 final is gorgeous May 18 12:09:26 now you have patterns and detail May 18 12:09:37 StingRay_, yeah May 18 12:09:38 those too are disjoiinted in the widget design May 18 12:09:42 Holo Light looks like a hack May 18 12:09:44 eg May 18 12:09:54 because black background is not good for reading May 18 12:10:06 you have fades/graduation and sharp details that are not consistant May 18 12:10:19 so yeah, I have many problems with most of it May 18 12:10:22 those are just 2 May 18 12:10:24 :) May 18 12:10:38 android 2.999999 http://developer.android.com/sdk/images/3.0/tasks_full.png May 18 12:10:46 but like I said, as an artist, we are expected to hate almost every…erm…..arty thing! May 18 12:10:53 everything is so misaligned on the status bar May 18 12:11:04 and those huge clocks May 18 12:11:54 StingRay_: Can i see something you designed? May 18 12:12:08 http://www.geek.com/wp-content/uploads/2009/05/polished-ui.png anybody thinks that the left is better? May 18 12:12:18 except for the ringtone thing May 18 12:12:28 because it's too dependent on the length of the world "ringtone" May 18 12:12:35 the word * May 18 12:12:46 DarkSlay3r: I'm films and games May 18 12:12:59 but I can point you to many console games May 18 12:13:00 too many space between Save and Discard changes, however May 18 12:13:03 sure May 18 12:13:18 i'd like to learn from you and your work May 18 12:13:21 well I do lots of VFX work May 18 12:13:27 * StingRay_ thinks of some UI stuff May 18 12:13:38 that I directly pissed with May 18 12:13:50 crush! May 18 12:13:57 that was ok May 18 12:14:07 crush on 3ds May 18 12:14:17 well crush on psp really May 18 12:14:23 but that was a while ago May 18 12:14:28 * StingRay_ thinks some more May 18 12:14:42 StingRay_: what's your opinion of windows 7/8's GUIs then? May 18 12:15:02 not metro, but the standard Windows/WinForms controls May 18 12:15:17 not looked at them enough May 18 12:15:48 Wow... looks good May 18 12:15:52 chime on xbla May 18 12:15:58 erm May 18 12:17:01 The earliest Android version http://www.infinitezest.com/articles/pictures-of-basic-functionality-on-a-google-phone--android.aspx May 18 12:17:13 not really done much UI or print stuff since my designer days some 16 years ago May 18 12:17:54 mostly from that time just games and films, and not much UI stuff May 18 12:18:31 I need to get skills... May 18 12:18:36 now i just feel lame May 18 12:18:57 I did lots of stuff on all manner of games for 16 years May 18 12:19:08 hard to recall things really May 18 12:19:16 I wish i could do that stuff May 18 12:19:43 I teach (am an autodesk instructor) 3d Maya/mudbox etc May 18 12:19:52 sign up to class ;) May 18 12:20:03 well…when I decide to run some more May 18 12:20:04 :) May 18 12:21:11 when I open a text file in android, do I need to have it in a certain directory? May 18 12:21:15 Awesome... anyway any tips for the novice? May 18 12:21:27 I plan on making my first android game soon May 18 12:21:30 learn to do pixel art May 18 12:21:37 Yeah but where? May 18 12:21:40 like I did in games May 18 12:21:44 when there was no 3d May 18 12:21:46 lol May 18 12:21:59 well you can go on basic art courses May 18 12:21:59 I'm poor i can't afford big time stuff May 18 12:22:10 and then just practice pixel stuff May 18 12:23:41 I guess i could learn from old nes games May 18 12:29:24 StingRay_: you should have seen the earlier android design language; it was like pre windows 95 May 18 12:29:35 *visual design language May 18 12:30:00 tell you what I like May 18 12:30:06 miui design May 18 12:30:13 not the visual look so much May 18 12:30:23 but the consistency May 18 12:31:51 god damn it, my intellij tree icons disappeared again! only for one folder ! May 18 12:32:00 wtf is the meaning of this May 18 12:32:22 its like, ok whatever my icons are gone, but now all the text is indented wrong May 18 12:32:32 on and another platform design that is from a design stand better than android is Blackberry May 18 12:32:37 i think this is a huge scam May 18 12:32:44 again just more consistant May 18 12:32:58 g00s: you at the point of switching back ? May 18 12:33:06 almost May 18 12:33:16 it would take 10 minutes to get eclipse up again May 18 12:33:43 i hav my gripes and worries about eclipse, but i think its as good or better than this crap May 18 12:34:25 what i wonder is - if the eclipse haters were a small but vocal minority that raised hell May 18 12:34:29 best part of android studio, maybe to see multiple layouts May 18 12:34:46 that was in adt last year May 18 12:34:51 g00s: i am an eclipse hater and user May 18 12:34:52 oh May 18 12:35:03 monsti: :) May 18 12:35:10 Is the home hardware buttons action not implemented by Android itself? Or do I have to include that in my app? May 18 12:35:13 are eclipse users all ambivalent :| May 18 12:36:02 conor_f: don't ever fool with the home button! May 18 12:36:05 never ever! May 18 12:36:35 haha ok. So it is handled by system May 18 12:36:51 have you ever used a really, really good ide? May 18 12:36:56 there is no need because the system might switch to the homscreen after a while May 18 12:37:21 so what what you want to do by the home button, can't be handled this way ;) May 18 12:38:11 ok so May 18 12:38:13 thanks :) May 18 13:37:01 c = Camera.open() May 18 13:37:23 "The method open() is undefined for Camera" May 18 13:37:26 uhhhh wut? May 18 13:38:28 any ideas? May 18 13:38:35 Remove for the Fragment does not work : http://pastebin.com/YTbPYxDZ May 18 13:38:41 c is declared: Camera c = null; May 18 13:39:00 Hello, if I want a button to change its color when clicked should I do that in the code ? May 18 13:39:08 I am using eclipse for dev. May 18 13:39:32 Unknown0BC: you do it any way you want May 18 13:39:41 selector May 18 13:39:45 code May 18 13:39:48 statelist May 18 13:39:52 up to you May 18 13:40:56 nvm. I imported the camera from the graphics instead of hardware lib -_- May 18 13:41:16 StringRay_, Is there a way to just specify that the color should change in the object inspector somewhere ? May 18 13:41:27 no May 18 13:41:45 is the background May 18 13:41:52 with states May 18 13:42:13 button is rather a view + textview May 18 13:45:27 Thanks StingRay_ May 18 13:47:13 I get an error "creation of element failed" when creating "app engine connected android project" with eclipse wizard May 18 13:47:13 what can I do to at least get more information about the error??? May 18 13:47:37 no idea what a…..app engine connected project is May 18 13:47:40 what is it ? May 18 14:02:26 StingRay_: it is Android App project that is connected to a Google App Engine project May 18 14:03:34 oh it's like a web app ? May 18 14:04:21 it is an android app and a web service connected to each other May 18 14:06:54 I've got a warning. Is it anything to be concerned about? May 18 14:06:58 Custom view is missing constructor used by tools: (Context) or (Context,AttributeSet) or (Context,AttributeSet,int) May 18 14:07:24 It's for a CameraPreview class May 18 14:10:09 is there a way to get ActionBar with FullScreen on holo.light? May 18 14:15:30 anyone have a good reference to a 2d arraylist? I want the rows to be an index and the colums to be the data for each index. May 18 14:20:37 t4nk382: Hashtable? May 18 14:20:48 hi all May 18 14:21:27 anybody know how to retain fragment within another fragment (using child fragment) May 18 14:24:42 Hello May 18 14:26:48 hello! May 18 14:27:48 I want to develop a stock exchange monitor APK and I would like to know where I could get graphic resources like an Add button, the 3-dotted menu icon... May 18 14:31:15 zyngawow, if you are talking about the Action Bar buttons you can find some icons here : http://developer.android.com/design/downloads/index.html May 18 14:31:36 csst0111: yes, I meant that! Thanks a bunch! May 18 14:33:07 I have a Gallery class that requires an array of views and currently I fill it with images view and that works like a charm. Now I want to create a custom view instead of the image view so I can display some extra information and the image. How can I load a layout from an xml file into a view class? May 18 14:41:13 artmann: inflate ?? May 18 14:42:17 hello May 18 14:42:31 i recently update my adt to version 22 May 18 14:43:07 and when i open the eclipse the actionbarsherlock has a lot of errors May 18 14:43:11 how can i fix this? May 18 14:43:29 i downloaded the last version of actionbarsherlock but nothing happened May 18 14:44:14 StingRay_: care to tell me more abit taht? May 18 14:44:24 about that* May 18 14:44:27 erm..the docs will May 18 14:44:49 View myViews = inflate(somelayout,parentviewtobeconsideredinlayout); May 18 14:45:00 dunno what else to say really May 18 14:45:13 So I don't need a custom view class? May 18 14:45:26 dunno, do you ? May 18 14:45:33 Guess not May 18 14:45:50 If I can just parse my layout file into a standard View May 18 14:46:13 you dont parse, the inflater does May 18 14:47:06 Okey May 18 14:49:06 doubt you would want to parse binary xml resources though May 18 14:49:29 does sound like a gridView + adapter is kinda what you should be using though May 18 14:50:03 Yea that is what I do May 18 14:50:22 Then the adapter has a getView function that returns what view that's going to be shown May 18 14:50:44 well the getView should have inflater May 18 14:50:58 View v = View.inflate(mContext, R.layout.coverflowview, parent); May 18 14:50:58 ImageView i = (ImageView) v.findViewById(R.id.coverflow_view_image); May 18 14:51:04 and if you use it properly to recycle then you should inflate or use convertView it passes May 18 14:53:35 i also downloaded the android studio but after the succesfull installation it doesn't open in windows8 64-bit May 18 15:05:01 http://stackoverflow.com/questions/16596520/android-studio-start-fails-on-windows-8-64bit May 18 15:05:23 the old JAVA_HOME thingy May 18 15:08:03 capella|zzz thanks fot the answeer May 18 15:08:49 does anyone know why the actionbarsherlock has errors after the update to adt 22? May 18 15:09:11 before the update everything was working fine May 18 15:12:09 depends entirely on the errors May 18 15:12:56 haha May 18 15:13:05 sounds like actionbar may be a part of support lib shortly May 18 15:13:29 how can i fix this? May 18 15:13:30 is there a place in an android project folder that I can safely place resources that I don't plan to include as part of the package? May 18 15:13:44 ? May 18 15:13:48 like, images that I resize/crop to create drawables for the launcher icon as an example May 18 15:14:13 StingRay_: I've got this code now https://gist.github.com/Artmann/5604762 May 18 15:14:13 But getting an error saying "Unable to start activity ComponentInfo May 18 15:14:17 i would like to keep that with the rest of my project for organizations sake, but i'm wondering if it will get thrown in with my apk and waste space May 18 15:14:25 or does that only happen if i put it in in /res/ May 18 15:15:46 You can put it in afolder/ May 18 15:16:12 artmann: stack trace ? May 18 15:17:53 https://gist.github.com/Artmann/1be8ff9ff1a48dc6e4a4 May 18 15:19:08 so by "Unable to start activity ComponentInfo" you actual wanted to say "java.lang.ClassCastException" May 18 15:20:24 tells you everything in that error May 18 15:20:57 classCast problem with gallery layoutParams on line 46 of mainActivity in the onCreate method May 18 15:21:12 what else you want ? May 18 15:21:14 :) May 18 15:21:35 I jsut suck at reading those error messages May 18 15:21:52 SimonVT, do you mean i can put it in any folder, or a folder called "afolder"? (i don't mean to be pedantic) May 18 15:21:54 subtract "those error messages" May 18 15:22:10 and replace suck with "cant be arsed" May 18 15:22:13 :) May 18 15:25:27 * artmann Thinks this is a very newbiew friendly enviorment. May 18 15:25:52 You don't have to answer if you are just going to be a douche May 18 15:26:23 not intending to be a douche May 18 15:26:34 just that error told you everything May 18 15:26:51 and really should be the 1st thing you learn, as you will see things like that many many times May 18 15:26:52 Welcome is here anyone who knows something about android ics for motorola motoluxe? May 18 15:26:52 :) May 18 15:28:21 StingRay_: Thanks forthe help anyways May 18 15:28:46 hint, always look for the "exception" type in the stack trace of red death May 18 15:28:51 that tells you why May 18 15:28:55 At xda I was search without results so I enter here maybe someone will be know something May 18 15:29:07 then look for the reference to you app, as that will tell you the line number May 18 15:29:24 the rest is just the calls that were made in reverse to get you there May 18 15:30:14 so always 2 things, SOMEfunkyExecption <---- and com.myapp.something (41) <--- lin num May 18 15:30:23 line* May 18 15:31:15 artmann: hope that helps :) May 18 15:31:29 :@ I'm trying to make a simple camera app. only features being zoom and auto-focus. Still can't do it :@ May 18 15:31:33 any advice? May 18 15:31:37 can a rotate drawable can be animated? May 18 15:32:00 rotate drawable ? May 18 15:32:15 conor_f: have you check out: http://developer.android.com/training/camera/cameradirect.html ? May 18 15:32:22 StingRay_: yes. May 18 15:32:30 StingRay_: http://developer.android.com/reference/android/graphics/drawable/RotateDrawable.html May 18 15:32:48 alexfu: funky May 18 15:33:08 alexfu: no. I was looking at the same section in the "Guide" section of the site -_- May 18 15:33:12 thanks, that should do it May 18 15:34:02 StingRay_: i've been trying to figure out how ProgressBar animates it's drawable May 18 15:34:15 hrm, I have a loop that needs to do the following "test if something exists, pop-up box asking user if we want to retry, if so back to start" how the hell do I get this sanely working on Android given that UI stuff is asynchronous May 18 15:34:17 i thought it just rotates ? May 18 15:34:24 and or with frame anim May 18 15:36:56 StingRay_: The holo progress drawable is a layer drawable with rotate drawables. May 18 15:37:19 StingRay_: but that alone isnt enough to animate the drawable. May 18 15:37:54 no there will be an animation May 18 15:38:36 that it "plays" May 18 15:42:19 StingRay_: but that drawable, by itself, isn't capable of animating. May 18 15:42:54 no, I wouldn't think it would May 18 15:42:57 without animation May 18 15:46:34 alexfu: http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/widget/ProgressBar.java#ProgressBar.startAnimation%28%29 May 18 15:47:24 looks to be frame animation too May 18 15:48:05 oh thats for horizontal style May 18 15:48:08 is the rule of keeping the number of nested containers in an app still as important these days? absoute positioning is a pain, and using horizontal/vertical groups would help a lot.. but that could end up with a lot of nested layers. there are no heavy gfx, or many changes to the UI when the app is running. May 18 15:49:08 StingRay_: I don't quite understand why it uses an AlphaAnimation May 18 15:49:20 thats for the horz style May 18 15:49:36 StingRay_: oh. May 18 15:51:00 but for the spinny style it draws it on cavas and looks to rotate it May 18 15:51:06 based on time May 18 15:51:13 1058+ May 18 15:51:40 or rather http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.2.2_r1/android/widget/ProgressBar.java#1057 May 18 15:52:16 oh wait, that just looks to position it May 18 15:52:20 ugh May 18 15:56:01 Howdyho! I've been working on this keyboard and I am quite sure that I had to "allow it to run" in the beginning. Now even after uninstalling I think I don't need to grant access anymore. I would like to make it easier for users by opening the appropriate settings. How can I "untrust" my keyboard? May 18 15:56:08 What's the best way to deal with two very differents layouts (portrait and landscape)? May 18 15:58:58 JulienDev: what do you mean? create two different layouts and put them into their respective resource qualified folders. May 18 15:59:23 i have to sacrifice a lot of components in portrait mode May 18 16:02:37 if I want to change an image I do something like https://gist.github.com/anonymous/5604911 … but newImage must be final, which means it won't change. How can I do this where I can change the image? May 18 16:02:49 hi May 18 16:04:04 shhhhhh May 18 16:04:54 nownot: Don't call get() May 18 16:05:07 You're blocking while the asynctask does its work May 18 16:05:18 agh, good to know May 18 16:06:16 SimonVT: well now its giving me error … May 18 16:07:08 Has any of you tried BlueStacks instead of the default Emulator? May 18 16:11:57 SimonVT: can you lend a hand? new to android and kinda confused by this May 18 16:16:31 Does changeFlickrImage already happen on a background thread? May 18 16:17:27 do i really need to download a ton of software and sign these licenses to make an app for my htc? May 18 16:17:29 it is a pain May 18 16:18:15 i thought it'd be simple like making a c++ program May 18 16:18:23 and then dragging and dropping it onto the htc May 18 16:18:32 or mv'ing it May 18 16:18:43 SimonVT: well I just made the AsyncTask an inner class and it works nwo May 18 16:26:17 tttb you can build an apk, put it on the sdcard and then install it from some file manager as a third party app May 18 16:26:49 after doing that twice you will realise that downloading a ton of software and signing these licenses isn't so bad after all May 18 16:40:24 Is there a screen-size I can declare in my manifest file to make my app available in the play store for screens of all sizes? Instead of having to declare every single screen size? May 18 16:44:13 Is there a way of programatically finding out what version and/or what model a certain phone is? May 18 16:44:45 marrrk, "Build" properties May 18 16:44:47 marrrk: have a look at the fields in android.os.Build (http://developer.android.com/reference/android/os/Build.html) May 18 16:45:18 Will this tell me about Sense or Touchwiz? May 18 16:46:04 alexfu: Yes I have my layouts in their respective resource qualified folders but as there are really differents, is it better to have 2 Class Activities or just a complex one? May 18 16:46:25 marrrk, nope. May 18 16:46:44 Ah, maybe I can infer it from the rest, though. May 18 16:47:47 JulienDev, it's your decision really May 18 16:47:55 simpler code is easier to maintain and fix though May 18 16:48:00 Hi All May 18 16:48:59 But if I use two activities, one landscape locked and another portrait locked May 18 16:49:06 I'm using an InputStream to download an image to display in my listview but one of them refuses to download and is causing my bitmap to reutrn null May 18 16:49:27 I can't use onConfigChange I guess, in order to know when orientation changed May 18 16:49:32 any ideas whats the most reliable way to download an jpg from the web? May 18 16:49:42 JulienDev, uh… do you even need orientation-specific code? May 18 16:50:10 MickeySoFine, probably the new square lib, picasso :) May 18 16:50:11 I think because I don't use the same components May 18 16:50:26 images from the same url are fine just one image is not downloading :-S May 18 16:50:50 has anyone noticed a difference of the availability of their app in the playstore since the recent changes for tablets? May 18 16:55:33 I am trying to detect whether a given url is alive.. This code works, but when the url is unreachable and the 3g enabled, it requires 3-4 minutes instead of 5 seconds to get a timeout.. Works perfectly on wifi tho.. https://gist.github.com/anonymous/5605110 May 18 16:56:32 hello May 18 16:56:53 the new developer console suggested me to add languages to my app, that it already does have May 18 16:57:09 how I flag that it already has those languages? May 18 16:57:12 in the manifest xml? May 18 16:58:15 speeder, is it maybe telling you to add descriptions and screenshots for the app in those languages? May 18 17:00:52 it already have that May 18 17:02:01 Hello. Ive a question. I got a HTTP Class which sends some POST Requests. Now i want to return the data. What is the best way to do that? Currently it's running within a Thread and the Thread is aSync. Now i want to block the Object in another class until data received. should i create a THREAD in the Running class with the initiated object and use .execute().get() to receive the returnbuffer? May 18 17:02:01 It's not an Activity. I cannot work with Callback Listener. May 18 17:02:57 misterli, that's why AsyncTask is there. May 18 17:03:05 it has all you need for that May 18 17:03:34 Sure. To run async-processes. But i want to create an instnace of an object which has the ASyncTask. And i want to wait until the onPostExecute has been called May 18 17:03:47 It's easy to do that within the same class May 18 17:04:16 there is a ".get" method on it May 18 17:04:22 Or should i just create an object with an Callback Listener and run callback.complete()? May 18 17:04:23 read the docs May 18 17:04:58 'ello all May 18 17:05:02 anyone used dd to pull an *encrypted* disk/partition image off their phone and mount it on a [linux] computer? May 18 17:05:30 not strictly dev, but i figure here's the more deep-knowledge crowd :) May 18 17:05:37 This is what i wrote. .execute().get(). And i want to know what's the best way to handle this. I cant run this in the MainUI else dalvik/gbc will kill my task. Now i want to know a) do i need to use a THREAD to run an OBject which creates an AsyncTask? May 18 17:05:40 assuming you're not all in #android, anyway :) May 18 17:05:42 Should i use a Callback Listener? May 18 17:06:15 misterli, running a thread to run a thread just to wait for it is dumb May 18 17:06:30 misterli, send yourself a message via message bus or create an interface and send yourself a callback May 18 17:06:34 in onPostExecute May 18 17:07:04 Okay thanks. This is what i wanted to know. If using callbacks is the proper solution May 18 17:08:38 one of the more subtle but nice changes in Studio is the default naming of MainActivity instead of MyActivity May 18 17:13:39 in adt v22 it generates MainActivity when creating a simple app May 18 17:17:39 Mavrik, even with picasso I'm getting 'unexpected end of stream' exceptions May 18 17:17:57 MickeySoFine, then I suggest looking at the server. May 18 17:21:27 As a general rule of thumb what is the oldest android device we should try to support? just to give me an idea of any limitations? May 18 17:21:49 apple741: usually 2.2 to 4.2 May 18 17:22:05 gingerbread has a substantial slice of the market May 18 17:22:06 but most people now are sticking to 4.x May 18 17:22:54 possibly questionable if that slice buys proportionately many apps May 18 17:24:45 Thanks guys, is there also a particular device I could look at to give me an idea of hardware limitations - with regards to older devices? May 18 17:25:55 apple741, um, there's alot of really slow shitty devices out there May 18 17:26:07 and I suggest skipping 2.2 if you're doing anything more complex, it has bunch of bugs May 18 17:26:19 apple741, Nexus One is a good baseline May 18 17:26:23 but it's still pretty fast May 18 17:26:37 apple741, the minimum baseline people still actually actively use is HTC Wildfire May 18 17:26:53 which is pretty much the worst thing you can encounter as an Android developer - slow CPU, no GPU May 18 17:26:58 I think there are very very very few people using something as low-end as the wildfire nowadays May 18 17:27:44 and I certainly wouldn't waste more than a couple of minutes on support - test the screen layout in the emulator, does it look crap, oh well, not supported May 18 17:27:47 Leeds, you'd be surprised. May 18 17:28:06 but yes, I agree… if you can't fix it in an hour just don't support it and that's it May 18 17:28:49 Thanks Mavrik , really appreciate your comments :) May 18 17:28:59 ++ May 18 17:30:01 apple741, oh, sorry, I meant HTC Wildfire S May 18 17:30:12 the original Wildfire is really not worth supporting anymore May 18 17:30:16 since it has ldpi screen May 18 17:30:22 http://developer.android.com/about/dashboards/index.html May 18 17:30:30 Mavrik, what does it mean by 'Call setDebug(true) on the Picasso instance' May 18 17:30:54 no idea, haven't used that lib May 18 17:30:59 cool thanks Mavrik :) May 18 17:45:23 Mavrik, do you know any othe rlibs as that one is VERY slw May 18 17:45:26 *slow May 18 17:46:40 dude May 18 17:46:47 that's not the lib problem :) May 18 17:46:57 considering what you said, you have something broken on your connection or server May 18 17:48:05 well the code I wrote to download the bitmaps works faster and load the same images as picasso is able to so I doubt that May 18 17:48:21 your right that the server is not right though May 18 17:48:37 but as for speed, that lib takes forever May 18 17:52:46 what is the easiest and fastest way to get a UNIQUE Checksum of a file on android? Sha1? Md5? May 18 17:54:19 how unique does it have to be? May 18 17:54:32 very. I've about 17million files (right now) and they have to be very unique May 18 17:55:04 currently i use sha1 (on web) and i'm very happy with that. But i rode that sha1 takes LOTS of time to verify on android May 18 17:55:08 17... million... files May 18 17:55:33 yes May 18 17:55:39 md5 misterli ? ? May 18 17:55:49 How unique is Md5? May 18 17:56:06 what's your collision contingency? :) May 18 17:56:12 32 hex characters May 18 17:56:23 if I am not wrong/mistaken May 18 17:56:35 md5 is 128bits, sha1 is 160bits. May 18 17:57:01 Okay. But it's the "easiest" way to use MessageDigist, convert the whole Stream, read it bytewise and get the MD5 Checksum. right? I dont think it will be fast when im going to check the whole Android Filesystem to get all md5... May 18 17:57:02 sha2 (sha256) is 256 bits. May 18 17:57:29 I just want to compare it with the existing checksum. It's a Web<>Device Sync-Service May 18 17:57:49 misterli, did you even check if the digest algithm is your bottleneck May 18 17:57:50 I could verifiy filename and bits but it's not really secure May 18 17:57:55 since WHATEVER you do that requires reading whole filesystem May 18 17:58:07 is going to have serious problems with I/O throughput and reading of the FS May 18 17:58:28 check if SHA-1 is your problem first not the device I/O before you waste time on pointless optimizations May 18 17:59:07 Okay. Well. Is there a better way to check if the file already exist? Comparing Bitsize and Path/Filename wouldnt be a very good solution May 18 17:59:44 um May 18 18:00:08 It should be fast and work even if the file is already locked (eg database files, etc.) May 18 18:00:33 well, what you do of course, is check filesize first May 18 18:00:44 no point in calculating SHA sum if filesizes don't match right? :P May 18 18:00:59 but again May 18 18:01:00 yeah, right May 18 18:01:14 But it may happen that exactly the same file has been modified and still have the same filesize May 18 18:01:16 your problem is reading FS inodes and actually reading the files, not digest probablt May 18 18:01:19 unless the CPU is very slow May 18 18:01:44 for example: textfile has been modified by 1 char. Which means the filesize shouldnt change but the content is different May 18 18:02:18 sure, that's why you only check if the filesize has not changed May 18 18:02:23 Have you profiled _if_ you have performance problems and secondly _what_ the problem is? May 18 18:02:29 okay.. maybe it's best to check first filesize and filepath, if it matches lastmodified, if this does not matches sha1 May 18 18:02:40 hmm wait May 18 18:02:43 :) May 18 18:03:43 and what if I change/swap some character, the file would have changed but the size would remain same May 18 18:04:04 Yeah. Then the lastmodified has been changed May 18 18:04:29 if filesize, filepath AND lastmodified matches then the file is the samew May 18 18:04:45 But what happen if an App opens the file for reading, does not change anything and closes the filepointer. Is the lastmodified still the same? May 18 18:05:31 just an idea, but maybe you want a --force-check commandline parameter or something that always checks the digest May 18 18:05:34 I think that meta-data of file which include lastmodified can be modified May 18 18:06:48 Yes. Well. I want to reduce traffic for the user and only sync what has been changed. I thought the best solution is to compare the sha1 checksum which is very unique. But it looks like that it's not a good solution on android devices May 18 18:07:16 go for md5 May 18 18:07:39 hopefully it would not be too bad design choice/decision May 18 18:07:51 just rode that: http://www.mscs.dal.ca/~selinger/md5collision/ May 18 18:09:24 doing a image fetch for rows of a list view and the following isn't saving the bitmap to the jsonobjct https://gist.github.com/anonymous/5605316 any ideas? it gets the image, but won't put then key value in the object May 18 18:11:15 JSON is character data May 18 18:11:42 Do you guys know how the facebook people made their Chat bubbles in the new messenger and facebook home or whatever stay on top of everything else? May 18 18:11:44 I dont know too much but how would you put binary data into it ? May 18 18:11:49 StingRay_: is that for me? May 18 18:11:53 yes May 18 18:12:23 StingRay_: well it was working before I made the AsyncTask an interclass, so I think it's possible May 18 18:12:39 huh May 18 18:12:42 odd May 18 18:13:54 wait wait, looks like you're right, did a test where instead of the bitmap I put a string and it seemed to work May 18 18:14:23 well unless you encoded the data to a character format, thats what I would have thought May 18 18:14:31 but hey, I'm not a programmer May 18 18:14:32 :) May 18 18:15:35 hello May 18 18:16:48 whenever i try to create a new android project with eclipse it seems that it can't find R.layout.anything that i put inside R.layout directory. it started happening since last updated android sdk May 18 18:30:05 anyone know of a nice expand/collapse layout lib? May 18 18:30:49 I want to create a footer that stays at the bottom of my view until I expand it and after I've used it I want it to collapse to the bottom May 18 18:31:13 sounds like the old menuDrawer ? May 18 18:38:32 interesting... MediaCodec.createEncoderByType("bla bla") makes process die May 18 19:21:11 Hi, anyone used the new Gradle build system? Migrating a project from Eclipse to the Android Studio, and the Google Dev page just says export the project as a gradle project, which worked fine, but importing into intelliJ it needs to know the Gradle Home and stuff. Do I need to install Gradle? (Windows) May 18 19:41:32 a lot of my code cannot be resolved(eg. onCreate) after importing it into android studio. anybody else have this issue? May 18 19:43:28 achmode: sounds like you probably haven't set up an android sdk with it yet? May 18 19:44:31 JesusFreke: i saw android 4.2.2 in a pop up. i selected it then clicked ok May 18 19:45:00 screenshot? May 18 19:45:08 of the unresolved code or whatever May 18 19:46:57 JesusFreke: http://i.imgur.com/bPWdDLW.png May 18 19:47:53 hmm May 18 19:48:41 My guess is it's probably an issue with the actionbar sherlock library May 18 19:48:49 with how it's set up or something May 18 19:49:08 but it's weird that the SherlockFragmentActivity itself isn't unresolved May 18 19:49:55 Maybe the support library isn't added properly as a dependency May 18 19:50:16 and my modules screen looks like this http://i.imgur.com/oYorQIf.png May 18 19:50:25 If e.g. FragmentActivity can't be resolved, that would probably explain why onCreate breaks May 18 19:50:27 the two libraries above pantrypan done have those checkboxes May 18 19:50:33 dont have* May 18 19:50:39 yeah, that sounds likely May 18 19:50:42 And why e.g. TabHost can be resolved May 18 19:50:56 The other classes with a red squiggly sounds like support classes as well May 18 19:52:13 can i just add the support jar from the modules window? May 18 19:53:01 achmode: http://stackoverflow.com/questions/16577580/problems-importing-project-into-android-studio-regarding-actionbarsherlock May 18 20:03:23 great. adding the support library got rid of all the errors except the one for R.id.realtabcontent May 18 20:04:58 achmode: sounds like you dont have an element with that name in your xml files May 18 20:05:08 achmode: just do a build :) May 18 20:05:18 it probably hasn't generated the R.java class yet May 18 20:06:17 hit rebuild. package org.junit does not exist May 18 20:07:50 Just delete the actionbarsherlock/test folder May 18 20:08:21 just did. now sacklist doesnt exist. oh no May 18 20:15:29 the package really doesnt exist, but then why did it run on eclipse May 18 20:36:31 random tip via google i/o -- (despite no documentation, but not too bad to figure out from the source) https://android.googlesource.com/platform/frameworks/volley/+/master is pretty handy to deal with network-in-the-background type stuff. Also http://www.youtube.com/watch?v=yhv8l9F44qo May 18 20:45:07 wow, look at all that deprecated code :( May 18 20:47:08 kbs: find me a nice detailed and mature hidden google drive api and I will die happy May 18 20:49:26 StingRay_: heh. Agreed. I've suffered through the massively over-engineered and under-documented client library they currently have; though it seems to work adequetely enough. I considered many times just coding directly over a suitable http library; and in retrospect that might have made my life easier too. May 18 20:49:49 yeah thats what I'm thinking now May 18 20:50:07 but I know when i finish, V2 api comes along and is sooooo easy May 18 20:50:14 as a big f*ck u May 18 20:50:43 same happens when I go for a walk, if I wear a raincoat I can make the sun come out, if not I can make it rain May 18 20:50:57 * StingRay_ is just that lucky! May 18 20:51:24 I hope there are more sunny than rainy days then :-) fwiw, I had the luck to go to i/o this year and met a few of the drive guys. My take was that they were very focused on server-side stuff; less so on android client libraries. May 18 20:51:51 anyone can deny/confirm the HTC One Google Edition rumors? May 18 20:52:03 I would have loved to see more integration with cloud messaging and drive (eg: a way to have drive generate notifications directly) but they aren't thinking of anything like that at this point May 18 20:52:17 belgianguy: lolwut? May 18 20:52:22 kbs what about the drive database stuff ? May 18 20:52:47 g00s: saw something about it on Reddit May 18 20:52:58 StingRay_: dunno much about that -- wasn't related to what I was doing, so didn't think to ask about it. May 18 20:53:00 but the site it links too is down due to overused cpu May 18 20:53:09 s/to/too May 18 20:53:11 Alright... I'm going to ask something really vague and dumb, and I'm really hoping someone can point me in the right direction.... I'm currently about to make an app. I have made a couple apps before, so I do have some experience but I'm not pro or anything. There is going to be a foreground service that connects to a webpage inputs some user credentials and grabs an auth token. The foreground service will then open a socket connection, log i May 18 20:53:36 other than the simple auth upload example, are there any other code samples for drive ? May 18 20:53:55 I guess basically, does anyone know of a good up to date tutorial about how to make a service and an app that talk back and forth with each other? May 18 20:54:00 cause I get a large variance in the success of that auth request/permission in the example, based on devices May 18 20:54:35 StingRay_: Heh. Hm, not that I'm aware of -- I pretty much started from there and have some code that works for me (tm) May 18 20:55:07 In the GCM documentation (http://goo.gl/9RCmi) it says "If you use backup and restore, you should explicitly avoid backing up registration IDs. When you back up a device, apps back up shared prefs indiscriminately. If you don't explicitly exclude the GCM registration ID, it could get reused on a new device, which would cause delivery errors." Can someone explain how the heck I "exclude" the regId when my app gets backed up? May 18 20:55:28 well same code here, ish, works fine on offical devices, sammy, nexus etc, but g/f's CM driven galaxy s2, no joy May 18 20:55:55 I loved the dropbox api… just missing the main feature I wanted, direct sharing :) May 18 20:56:14 StingRay_: huh, interesting. I've tested mine on nexus 4, a color nook running cm7, a touchpad on cm 9, and an htc running 2.3 I think May 18 20:56:26 hu May 18 20:56:31 hi (sorry) May 18 20:57:00 StingRay_: direct sharing specifically how? Just get a link URL that's pre-authorized? May 18 20:57:24 well a file link, rather than a landing page for that share resource May 18 20:57:31 oh -- you mean dropbox doesn't have it :-) sorry, misunderstood that May 18 20:57:32 silly dropbox May 18 20:57:33 BustyLoli-Chan: It's been a while, but I think Marko Gargenta goes over that in a video tutorial series at Marakana. Check http://goo.gl/w6SNR - maybe lessons 12 and 13? May 18 20:57:44 hello guys i have a generell question: i need to build an app which has some tabs and under each tab there are some buttons. The buttons link to webpages and thats it. Is it possibly better to do the whole thing as an HTML5 application instead of coding in Java? May 18 20:57:57 I want the dropbox api, with google drive structured features set May 18 20:58:02 i would like to "swipe" between the tabs May 18 20:59:28 StingRay_: fwiw, if it helps any, I can put up a gist of a bunch of random gdrive-related code that I stuck into a file, and seems to work for me at least. If you do somethig similar and find it doesn't work, please let me know May 18 21:00:42 would really appreciate that, although I cant see what you would do different, but like I say, cm10.1 latest get a "NO_PERMISSION" from my code May 18 21:00:51 and dont trigger the auth popup May 18 21:01:06 as in dont throw the userRecAuth exception May 18 21:01:10 just sits there May 18 21:01:19 in nothingness land May 18 21:01:45 I think I figured it out... I'll probably just stick to passing intents back and forth between the two and hopefully I don't figure out it's the wrong way to do it too far down the line lol May 18 21:02:04 StingRay_: https://gist.github.com/anonymous/2adde7678acecc4d1879 May 18 21:02:23 StingRay_: hm, how strange. May 18 21:02:28 hm did you guys see this http://developers.slashdot.org/story/13/05/18/1515228/intel-rolls-out-beacon-mountain-android-dev-platform-for-atom May 18 21:06:30 StingRay_: only trouble I had was to do with uploading; the silly code pumps everything into memory by default. The no_permission sounds like some issue with playservices rather than anything else, doesn't it? May 18 21:07:33 well if it was, I would expect an exception or timeout May 18 21:07:38 netiher happen May 18 21:07:47 StingRay_: you might also want to take a look at ensureToken () in that gist May 18 21:08:11 There's an unfortunate interaction between their code to do exponential backoff, and if the user isn't authorized... May 18 21:09:16 hmmm May 18 21:09:51 but that also would throw(e) ? May 18 21:10:04 or at least indicate something in lob May 18 21:10:07 log* May 18 21:10:51 it will, if you give it long enough time. At least, that was my recollection -- the stuff seems to be logged only way downstream, after all the retries have finally decided they've had enough fun May 18 21:11:16 well I thought this, and left g/f phone for 20-30min May 18 21:11:23 nothing May 18 21:11:42 maybe some silly cm10.x thing as all my other divices are fine May 18 21:12:19 oh, I see. Yeah. Well, you can try the approach I used to prove this isn't the issue I suppose; but agree that there's likely some cm10 specific issue that's also triggering it. May 18 21:13:42 I remember doing deep dives into random libraries for quite a while before getting to the nasty bits. That definitely was one of the frustrating bits of using their stock libraries -- the code is spread across several libraries, and it's not obvious where to find the source for any one May 18 21:24:04 Hi, How can I mark some text and commenting out it in Android Studio ? May 18 21:24:08 or do you need to do it manually ? ... May 18 21:24:58 random other babbling :-) wish google had talked more about their "google protocol" to have device-associated private/public key pairs for authorization. That seemed pretty interesting when they talked it up in Jan this year, but didn't hear anything more since. (http://www.computer.org/cms/Computer.org/ComputingNow/pdfs/AuthenticationAtScale.pdf) If someone knows more, please enlighten me May 18 21:25:44 ctrl+/ or ctrl+shift+/ to comment May 18 21:25:45 Varazir: select the text, then use the comment menu item/keyboard shortcut (see the Code menu) May 18 21:26:26 to type "/" I have to do shift+7 May 18 21:27:38 Use the keypad or change the keybinding May 18 21:27:47 drudge: thanks, May 18 21:28:31 day 2 of intellij : g00s resumes experiment May 18 21:28:32 it's to late, shouldn't do this now. my brain is abit slow :) May 18 21:28:39 SimonVT: thanks May 18 21:29:10 * StingRay_ watches g00s waiting for the gumpy to start May 18 21:29:20 :) May 18 21:29:56 Hey guys, I'm trying to parse an RSS feed. The feed is not in a sort of XML layout though? May 18 21:30:08 a nexus htc one would have been better than nexus s4 May 18 21:30:17 cheaper too i think May 18 21:30:28 SimonVT: on the left, i have a tree view which shows the module, and other stuff from the filesystem. is there any way to 'go into' a level so that i don't see the siblings and parents ? May 18 21:31:30 for example, i have the root node called 'android' … i'd like to just show its children, that simplifies the tree May 18 21:31:43 in eclipse this is 'go into', May 18 21:32:17 or press the forward arrow if you dont want to click twice May 18 21:32:18 ;) May 18 21:32:30 g00s: Not that I know of May 18 21:32:43 k, thx May 18 21:33:16 StingRay_, ? May 18 21:34:52 CocoStorm: ? May 18 21:35:01 StingRay_, how would I pass an RSS feed? May 18 21:35:05 *parse May 18 21:35:11 what ? May 18 21:35:52 StingRay_, I need to grab information from an RSS feed May 18 21:35:54 however you want, dunno, never done it, I would suspect xml parser in android, or apache lib May 18 21:36:10 Lost phone right??? Didn't install remote location apk in first place. --- So is there an app from playstore ,, to wirelessly install and you can gain access? May 18 21:36:11 StingRay_, exactly I wanted to use an XML parser but the feed is written like this May 18 21:36:22 do not paste it here!!!!! May 18 21:36:44 StingRay_, for example, this is a title like standard tags May 18 21:36:50 StingRay_, obviously not lol May 18 21:37:07 Looks like xml May 18 21:37:15 very much like xml May 18 21:38:46 StingRay_, so in that case I could use the title as the key? May 18 21:38:53 which will return the value this is a title? May 18 21:38:58 does intelliJ have anything like the concept of eclipse working sets, which are "views" onto my project - files I select as being relevant. for example, I may decide i want to work on X which involves files 1, 2, and *.xml … eclipse restricts the stuff seen to that. May 18 21:39:30 CocoStorm: so your question is "how can i parse xml" with the addition of, "please teach me" ? May 18 21:40:24 StingRay_, no more like "can you confirm that parsing xml is similar to parsing json?" May 18 21:41:01 anyone have any idea? An app that I can locate phone from installing apk from web playstore May 18 21:41:02 because in this feed there are no equals or colon sign anywhere May 18 21:41:04 parsing and reading a key/data table is different May 18 21:41:07 but yeah May 18 21:41:36 StingRay_, yes i meant to read with the intention of parsing my bad for not specifying May 18 21:41:40 but dont forget, there can be a hierachy there May 18 21:41:47 StingRay_, how do you mean? May 18 21:42:05 not sure I can word it any simpler May 18 21:42:07 erm May 18 21:42:25 well look at xml layout files May 18 21:42:32 in andoird May 18 21:42:38 they are not flat May 18 21:42:46 g00s: possibly Favorites? May 18 21:43:17 StingRay_, yes, indeed there are parent tags May 18 21:43:24 CocoStorm: and which part of "dont know never done it" did you ignore to continue your line of questionings :) May 18 21:43:28 StingRay_, how would i deal witht hem May 18 21:43:36 StingRay_, lol May 18 21:43:57 so A ) I'm not a real programmer, and B ) never done it…. May 18 21:44:08 yet still you ask away… lol May 18 21:44:13 silly boy! May 18 21:44:34 StingRay_, you always claim you're not a programmer yet you're more capable of answering programming related questions more than most people in this channel May 18 21:44:44 http://developer.android.com/training/basics/network-ops/xml.html May 18 21:44:46 drudge: that … seems like eclipse bookmarks May 18 21:44:57 SimonVT, thanks May 18 21:45:18 I think you assume that cause in reality I'm quite thick….. which maybe means I have to explain things very…erm……thickly May 18 21:45:50 SimonVT, that is perfect, i did try googling for andriod docs but nothing came upo May 18 21:46:06 First hit when googling "android parse xml" May 18 21:46:31 SimonVT, I see i was googling "android parse rss feed" May 18 21:46:57 hi everybody! May 18 21:46:58 they should add those tags May 18 21:47:36 or you should search and find out things you dont know May 18 21:47:48 like what Rich Site Summary is May 18 21:47:57 then you would change your search terms May 18 21:48:23 ;) May 18 21:48:50 ok, another stupid thing. so I deliberately made mistakes in an xml. in eclipse, that files and all of its parent would have a red 'x'. so i could browse the project structure easily to survey the damage May 18 21:48:51 no offense to everyone here, probably more because I'm just not skilled with it yet, the android API gives me a head ache @.@ May 18 21:49:02 StingRay_, maybe :P May 18 21:49:12 I have just created a new app with an app theme based on Theme.Holo.Light and in a Layout now have TextView which I would like to look like a list separator (all caps, divider on bottom). So if I set style="?android/listSeparatorTextViewStyle" as the TextView's style, nothing happens. Can anybody tell me what I am doing wrong there? What else do I need? May 18 21:49:20 but in intellij, i'm not seeing red 'x' May 18 21:49:26 StingRay_, well thanks i'm gonna try and get on with this May 18 21:49:32 will probably be back later May 18 21:49:33 see ya May 18 21:49:39 gl May 18 21:50:32 StingRay_: its only 30 minutes in today and my patience with IJ is already running thin … can i make it to the end of day 2 without going back to eclipse ... May 18 21:50:49 you should have a blog May 18 21:50:54 Intellij draws a red squiggly line under the files with errors.. And, if you try to build, it actually tells you where errors are and takes you right to them May 18 21:50:55 cause I'm off to bed shortly May 18 21:50:56 g00s, I get red underline in the directory structure... May 18 21:51:03 and I will miss the funny bits May 18 21:51:25 in the xml file, there are 2 red blocks in the margins; the tool knows there is a problem May 18 21:51:50 but no red squigglies May 18 21:53:17 aha, i get red squiggles if its malformed xml May 18 21:53:29 but not if i'm referencing some id that doesn't exist, for example May 18 21:53:48 which would require deeper understanding - suspect android plugin May 18 21:54:22 nvm :) May 18 21:54:38 ah, and those missing references - were marked as warnings not errors, heh, maybe thats why May 18 21:54:42 g00s, just compile and it'll tell you about the error May 18 21:54:47 even though they are errors of course May 18 21:54:56 Zharf: what is this 'compile May 18 21:54:58 step :D May 18 21:55:21 eclipse gives me realtime feedback May 18 21:55:23 idea doesn't compile on the fly like eclipse does, so wasteful :p May 18 21:55:37 why not, its taking another 300 mb ram :D May 18 21:55:48 its wasteful x 2 May 18 21:55:57 take more ram, do less May 18 21:56:23 Because intellij's inspections work without building May 18 21:56:31 yeah May 18 21:56:42 And it does provide realtime feedback May 18 21:56:52 yep May 18 21:56:52 for java it does May 18 21:57:00 not for some errors in xml May 18 21:57:01 i like "compile as you type" May 18 21:57:02 for android xml too May 18 21:57:09 it means when iw ant to deploy, it doesnt take as long May 18 21:57:11 it must just be the difference between the way the plugins are implemented May 18 22:03:20 canadiancow: my biggest adjustment issue to IJ so far is not being able to save individual files May 18 22:03:35 even if its not rational, feels so weird May 18 22:03:58 ctrl+s saves all modified files May 18 22:04:19 Does Android Studio already have working support for the NDK? May 18 22:04:19 i like the extra level of buffer between my open editors and the version control system May 18 22:05:34 evident: I don't think so May 18 22:06:26 g00s: intellij also has an "infinite" undo buffer backed by it's own internal version control thingy May 18 22:06:53 my conclusion thus far, if anyone asks which is better, is "stfu and get back to work" May 18 22:08:45 yeah … but i use git for undo :| May 18 22:09:24 g00s: not for that level of granular undo :) May 18 22:09:41 i.e. when you're hacking away at something before you commit it May 18 22:09:48 Does anyone knows how Contacts applications select accounts for new-contact account list. I'd like to have my own accounts there and I'm missing something somewhere/ May 18 22:10:05 or you accidentally wipe out your changes in git before committing them May 18 22:10:21 it doesn't happen often, but intellij's undo buffer has saved me a couple of times in cases like that May 18 22:10:24 I'm storing camera pictures on the SD card for my app. Where should I store them and why aren't they being displayed in the gallery? I'm storing them in DCIM/camera_app/folder_1/images.jpg at the moment May 18 22:12:00 i think there is also something to that fact that IJ has set to consume , always, exactly 666 MB of ram May 18 22:12:13 O.o May 18 22:12:44 do we literally have to use all this code to parse xml? http://developer.android.com/training/basics/network-ops/xml.html May 18 22:12:46 wait, what? they use -Xmx666m? May 18 22:12:53 even though it only seems to be using 142mb ;) May 18 22:13:06 JesusFreke: i dunno, have to look at the config hehehe May 18 22:13:23 in bin/idea.vmoptions or idea64.vmoptions May 18 22:13:25 iirc May 18 22:13:30 CocoStorm: I did mention there are some apache libs too iirc May 18 22:13:36 it might be different for android studio though May 18 22:13:43 StingRay_, oh? May 18 22:13:56 yeah May 18 22:14:09 cos it's just way too much May 18 22:16:32 Anyone here run eclipse ide? downloaded the android dev tools having a little issue finding the right path to tools... May 18 22:16:47 In preferences -> Android May 18 22:17:01 shuttup, you dont run eclipse May 18 22:17:03 just select the root of your sdk install May 18 22:17:29 I'm storing camera pictures on the SD card for my app. Where should I store them and why aren't they being displayed in the gallery? I'm storing them in DCIM/camera_app/folder_1/images.jpg at the moment May 18 22:18:24 plugins? May 18 22:18:35 why doesn't my autojoin this channel work anymore hmm May 18 22:18:54 StingRay_: change of plans; i'm going to use both. editing xml in ADT is way more productive to me May 18 22:19:19 oh so you starting to like the code side of intellij ? May 18 22:19:26 interesting May 18 22:19:32 not really May 18 22:19:40 but i'm still forcing myself to use the tool May 18 22:20:01 but, i really really prefer the xml in ADT, and i need to get that shit done this morning May 18 22:20:33 i'm sure all this will change as google puts more time into it May 18 22:21:13 * g00s sighs May 18 22:21:21 eclipse, you're so ugly, but deep down beauty May 18 22:21:57 shouldn't the following code for add/remove fragment be working ? http://stackoverflow.com/questions/16628664/confused-with-remove-fragment May 18 22:22:00 vim vam voom! May 18 22:22:23 lasserix: :) May 18 22:22:46 cssto111 are you sure you dont want to use replace instead? May 18 22:23:42 lasserix, neither replace works. May 18 22:24:10 also you can combine FragmentTransaction transaction = getSupportFragmentManager().beginTransaction(); May 18 22:24:53 Nope, that code is not supposed to work May 18 22:25:06 Look at what you're removing May 18 22:25:07 oh really? May 18 22:25:10 oh nm May 18 22:25:48 You create a new fragment, then you try to remove it.. It was never added May 18 22:26:31 when I click the button adds it May 18 22:27:16 hmmm....let me think of that again... May 18 22:32:31 SimonVT, !! u were right... ehhhh thnx :) May 18 22:40:16 hmm, did IJ make this out/ directory ? May 18 22:40:51 yes May 18 22:42:06 k, thx May 18 22:46:17 scrolling editors is much more fluid in IJ; eclipse not so. small but important thing May 18 22:47:25 target api is 4.2 min sdk is 8 when I call mydialog.setContentView(R. name of custom dialog) my app explodes... anyone know why? May 18 22:49:34 Hi May 18 22:50:21 <|0xD34D|> ho May 18 22:51:04 you know if is there any problem to use java sockets in android ? May 18 22:52:19 chan logcat? May 18 22:53:03 should I pastebin it? it's always some massive series of errors May 18 22:55:01 http://pastebin.com/9BnfLUe2 May 18 22:55:11 wviana: shouldn't be :| May 18 22:55:24 no twitter it! May 18 22:56:10 umm blc: did you try using a dummy layout to verify it' May 18 22:56:18 ts not a problem with the xml (like an extra > May 18 22:56:47 I'm not sure what you mean by that honestly... sorry for being clueless May 18 22:57:24 setContentView(R.layout.mydummylayout) ie just point it to a xml file with like a linearlayout and a textview saying "hello" May 18 22:57:48 because your logcat is saying something about the xml file (ie R.nameofcustomdialog) rather than a java code problem May 18 22:59:04 I have deleted the dialog page and left it blank... I'll try now... it does work May 18 22:59:42 ahh okay so you must have a mismatched tag or typo in an attribute May 18 22:59:44 those are a pain to fix May 18 22:59:49 fuck me :| May 18 22:59:51 says line 7 tho May 18 23:01:01 i liked the multi-row tabs from IJ; eclipse doesn't have that May 18 23:02:24 I think I fixed it May 18 23:02:28 thank you for your help May 18 23:02:49 now the only thing I'm irked about is how many damn dialogue examples were actually failing because they were failing :| May 18 23:03:26 Like at one point I had an entire dialogue fragment class build with it's own interface.... May 18 23:03:40 *built... I wonder if that actually would have worked :| May 18 23:05:31 ohhh May 18 23:05:32 sorry May 18 23:05:33 yeah May 18 23:05:36 versioncontrol! May 18 23:05:44 lol May 18 23:06:04 but they are all alpha versions? :o May 18 23:16:31 i guess i should instlal android studio May 18 23:16:49 hehe May 18 23:18:01 canadiancow: to play or get real work done ? May 18 23:18:10 define "real work" May 18 23:18:17 ha May 18 23:18:19 to work on personal released projects May 18 23:18:24 i.e. not stuff "at work" May 18 23:18:39 real work is all work that isn't fake work. May 18 23:21:01 i cant get studio to open May 18 23:21:02 ~_~ May 18 23:21:34 enviroment path? May 18 23:21:43 i dont know...it just doesnt launch May 18 23:21:49 using win 7? May 18 23:22:16 http://stackoverflow.com/questions/16574189/android-studio-installation-on-windows-7-fails-no-jdk-found May 18 23:23:07 my installation succeeded May 18 23:23:51 new retarded question... http://pastebin.com/EXUvhW1L the way I have this setup the dialog will basically pass info back to the main activity and the main activity will pass it to the service May 18 23:23:56 i had to add the enviro var as explained in the so post before it would launch ( same problem, click nothing happened) May 18 23:23:58 oh, the title is just poor May 18 23:24:21 if the service implements the interface can it just receive the event directly? May 18 23:25:40 chan you could probably do it straight thru May 18 23:26:34 okay I've come to the conclusion I have no idea what I'm doing :| May 18 23:27:21 bustyloli-chan i think its a preference: if you were using multiple dialogs to send different intents i'd probably pass them to activity first, so i can keep the code consistent May 18 23:27:43 but if its just one it really doesn't matter? May 18 23:28:17 http://pastebin.com/JmVDKqH1 I've set this all up... it all worked-ish... but then I clicket the positive button and the debugger is now frozen with a green line at mListener.onDialogPositive May 18 23:29:18 I've also come to realize I have no idea how this is actually passing the username and password fields to whatever is implementing the interface.... May 18 23:29:31 umm May 18 23:30:02 mListener.onDialogPositiveClick(collectLoginInfoDialogue.this); why are you passing the whole class to the listener? May 18 23:30:10 just grab the login username May 18 23:30:23 I have no idea what I'm passing anywhere ;-; May 18 23:30:26 and change onDialogPositiveClick(class class) to (String string) May 18 23:30:33 so your interface has a method May 18 23:30:36 or two May 18 23:30:47 technically it only needs one May 18 23:30:58 since cancel you just close it, you don't need to callback anywhere May 18 23:31:01 okay I think I get it May 18 23:31:16 basically in the interface String username, String password for parameters May 18 23:31:21 yeah May 18 23:31:24 then in your activity May 18 23:31:25 and then pass those in the actual event May 18 23:31:40 implement it, and do something with the two strings (ie start the service) May 18 23:31:56 YEAH! May 18 23:32:06 YEEAHHH! TAKE THE LEMONS! May 18 23:32:38 ok android studio works now May 18 23:32:41 thanks lasserix May 18 23:35:15 hmm it says "Your Android SDK is out of date or is missing templates. Please ensure you are using SDK version 22 or later." May 18 23:35:20 but sdk manager says im up to date May 18 23:45:47 do you need to install gradle separately? May 18 23:46:18 no May 18 23:46:21 hey canadiancow May 18 23:46:25 whens your video up May 18 23:46:26 :P May 18 23:46:54 gradle comes as part of the Android Studio May 18 23:47:38 yeah i clicked a bad button somewhere May 18 23:48:00 http://pastebin.com/M5ceWEX2 it still seems to freeze at the mlistener.onDialogPositiveClick line :| May 18 23:48:25 Napalm, i assume early next week May 18 23:48:29 i think all the day 2 videos are up May 18 23:48:41 so day 3 should be pretty soon May 18 23:48:49 but I think this is more related to my retarded implementation of my service :| May 18 23:49:18 does the callback get fired in the activity? May 18 23:50:54 what's the advantage of the Gradle inclusion? May 18 23:51:03 I think so... according to logcat "handler(intent.getStringExtra(cCommand));" in my onStartCommand is causing the error May 18 23:51:12 I never used it in IntelliJ, but now it comes with each new project I start May 18 23:52:06 canadiancow: one thing that made importing project easier: ant clean while eclipse is shut down , intellij wanted to import some weird stuff May 18 23:52:20 like 2 AndroidManifests May 18 23:53:59 no... I think it's still throwing a null pointer at that same spot May 18 23:55:18 http://pastebin.com/MGzCwWE7 May 18 23:55:33 I'm trying to build a camera app on my Nexus 4 May 18 23:55:36 hmm im not sure how tests should be added here g00s May 18 23:55:42 http://pastebin.com/derzbntg May 18 23:55:50 one of my imported projects has it one way, and another has it another May 18 23:56:18 The pictures it takes are saving fine to /sdcard/Pictures/test_camera_app/album_name/image.jpg May 18 23:56:27 but they don't come up in the gallery at all May 18 23:56:31 any thoughts? May 18 23:56:35 BustyLoli-Chan, so it's not attached then? May 18 23:56:48 I guess not... since I don't know how to do that May 18 23:57:00 it's implemented May 18 23:57:05 how are you creating the dialog May 18 23:57:19 the dialog comes from the main activity May 18 23:57:24 chan: what is null? May 18 23:57:26 the actual event listener is in the service May 18 23:57:38 and what exactly is this? ((EditText)dView.findViewById(id.username) ---> id.username ? May 18 23:57:45 you know maybe this entire design flow is just dumb :| May 18 23:57:50 no May 18 23:57:52 its proper May 18 23:58:05 lasserix, mListener is null :) May 18 23:58:17 that is an EditText where the person enters their username May 18 23:58:22 there is also one for a password May 18 23:58:46 Busty: i mean, id.username? that actually resolves to something? May 18 23:58:53 it should May 18 23:59:01 don't you mean R.id.username? May 18 23:59:11 lasserix, import org.dyndns.slushnet.chatandgo.R.id; May 18 23:59:13 -.- May 18 23:59:18 oh May 18 23:59:25 a bit unusual, but whatever May 19 00:00:01 well I'm thinking I would still have to handle the event in both the service and the main activity May 19 00:00:16 but to start, how would I attach the service to the dialog's event handler? May 19 00:00:46 how are you displaying the thing... May 19 00:01:19 http://pastebin.com/Bv8icAeg showLogin() May 19 00:01:33 ugh android studio isnt finding gridlayout or viewpagerindicator May 19 00:01:36 but it is finding abs May 19 00:01:45 so its not like i totally screwed up the imports May 19 00:01:58 Chan: MainActivity needs to implement collectLoginInfoDialogue .NoticeDialogListener May 19 00:02:26 but the service implements it May 19 00:02:37 uhh May 19 00:02:43 so should the main activity implement it and then pass that info to the service after all? May 19 00:02:59 public void onAttach(Activity activity) { that activity is refering to the MainActivity which you show / creat the dialog fragment with May 19 00:03:04 which is why the listener is null May 19 00:03:41 it's one way to do it, but the point is the whole onAttach thing that sets up the listener callback, the onAttach (activity) that activity is the activity that creates the dialog fragment May 19 00:03:44 not the service May 19 00:03:50 canadiancow: Have you actually managed to compile something with ABS in Android Studio? May 19 00:03:55 not yet May 19 00:03:58 but im not getting errors with abs May 19 00:04:03 only with other stuff :P May 19 00:04:06 :/ May 19 00:04:11 I'm getting gradle errors with abs May 19 00:04:41 ok i fixed viewpagerindicator May 19 00:04:44 now its just gridlayout May 19 00:04:50 But the editor does autocompletion and such like there's no problem May 19 00:04:51 ass clowns May 19 00:05:14 that came out of nowhere May 19 00:05:35 ..he pulled it out of his ass May 19 00:05:40 BustyLoli-Chan, you could add a method to attach a listener (the service), but onAttach only works for the activity that created it May 19 00:06:02 blc: i haven't used services enough to know how to do that, but it seems you'd have to get a reference to the service in the dialog fragment ^^ what Zharf said May 19 00:07:37 I implemented the thing in the mainactivity May 19 00:07:42 and it still null pointers :| May 19 00:08:23 umm are you seeing a class cast exception? May 19 00:08:33 hi guys, im trying to change a background color with this function http://pastebin.com/Sgks9U47 May 19 00:08:37 no May 19 00:08:43 just that null pointer on line 47 May 19 00:08:48 but its not chaning th ebackground May 19 00:09:01 I guess it's not onAttaching then May 19 00:09:29 I never used onAttach in my dialogs... so I don't know :) May 19 00:09:34 do I have to call collectLoginInfoDialogue.Attach() May 19 00:09:37 or something? May 19 00:09:43 I just have setListener() in my dialog May 19 00:09:58 blc one sec May 19 00:10:07 i tried .invalidate on the view, but no luck May 19 00:11:29 is it because it's a GLView? May 19 00:11:46 umm May 19 00:11:57 blc: DialogFragment nF = (DialogFragment)new collectLoginInfoDialogue(); don't do this May 19 00:12:11 what should I do? May 19 00:12:17 k i cant get android studio to work :( May 19 00:12:19 reverting to eclipse May 19 00:12:38 collectLoginInfoDialogue nF = new collectLoginInfoDialogue(); May 19 00:12:50 because you're casting it as a dialogfragment ibelieve its screwing up something May 19 00:13:00 it is extended from dialogfragment so just instantiate it as it is May 19 00:13:01 alright I try it May 19 00:14:28 it seems to have worked May 19 00:14:34 thank you so much for your help :D May 19 00:14:45 do you accept donations in bitcoin? :O May 19 00:15:09 ah ha no worries May 19 00:15:53 and I pushed the info to the service and it updates accordingly :D May 19 00:15:53 yay May 19 00:15:58 cool May 19 00:16:26 now I have to impelement a socket and an onrecieve event and stuff May 19 00:20:48 the domain name is very suspect :P May 19 00:21:52 ugh i cant get gridlayout to work ~_~ May 19 00:21:58 since updating to the latest support lib May 19 00:22:57 O.o May 19 00:23:03 even in eclips May 19 00:23:05 my same setup May 19 00:23:07 doesn't that come with the support lib ? May 19 00:23:14 it doesnt seem to be referencing the jar May 19 00:23:33 or rather, i can see the jar, but it appears to have no classes in it or something :S May 19 00:23:45 oh yeah May 19 00:23:53 there is some weird thing with that, can't remember May 19 00:24:03 says in the code May 19 00:24:27 if i copy the v7 lib into my main project, it works May 19 00:24:32 How can I create items like the email list on the GMail app? May 19 00:24:35 but if i only have it in the libs/ directory of the lib project, it doesnt May 19 00:24:45 zyngawow, a ListView? May 19 00:24:54 canadiancow: using adt/sdk 22 ? May 19 00:24:57 canadiancow: How do I format it? May 19 00:25:00 yeah g00s i just updated everything May 19 00:25:04 zyngawow, however you want? May 19 00:25:13 Napalm mentioned some weird bug, wonder if that was it May 19 00:25:17 you just make a custom view May 19 00:25:23 hey May 19 00:25:26 whats up May 19 00:25:31 take a look at the Email app's source - it's similar May 19 00:25:33 hey Napalm .. link to your post ? May 19 00:25:34 ah that bug May 19 00:25:37 yea, sec May 19 00:25:57 https://plus.google.com/u/0/110296148724389171136/posts/7R2h3gCzi1k May 19 00:26:20 are you simon? May 19 00:26:36 yes May 19 00:27:37 that must explain the problem i had the other day with another project May 19 00:27:42 i got a classnotfoudnexception and had to build with ant May 19 00:28:04 i'd really like to know how xav's team tests stuff May 19 00:28:17 things are in a perpetual state of busted May 19 00:28:49 im not even sure if this would be xav or tor May 19 00:30:32 ok, checked all those boxes, now trying again May 19 00:30:53 ok, everything built May 19 00:31:01 yay! May 19 00:31:13 now lets see if it runs May 19 00:31:19 it does! May 19 00:31:20 thanks May 19 00:31:30 now i can play around with the nav drawer and volley and stuff May 19 00:31:31 canadiancow: find someone to push this too, nudge someone in the tools team May 19 00:31:40 i will May 19 00:31:42 canadiancow: ive already been doing that May 19 00:31:53 i feel the DrawerLayout is a slight let down May 19 00:32:02 not as customizable as i would have hoped May 19 00:32:03 but May 19 00:32:13 it's supposed to be a standard feature May 19 00:32:14 with it has brought several things ive always wanted May 19 00:32:19 like the ScrollerCompat May 19 00:32:50 ViewDragHelper is also going to be handy May 19 00:34:07 ugh i never talked to the bugsense people at i/o May 19 00:49:57 whats that little utility method which builds a uri from base and id, ugh May 19 00:51:52 ContentUris.withAppendedId \o/ May 19 00:52:05 anyone use content providers any more :P May 19 00:54:17 what irc room is good for kernel/driver issues? May 19 01:00:25 capella: wake up sleepy head ! May 19 01:00:48 mrph?? May 19 01:01:26 Oh thank god ... the sun is down May 19 01:01:41 O.O May 19 01:02:03 I worked on a third shift job for 3 years and it screwed up my metabolism :D May 19 01:02:59 And you so cannot score with women at Walmart @ 4am May 19 01:08:55 canadiancow: quick q, so you mentioned that gmail uses loaders quite a bit … what do you use to save/update/delete data? thread in activity? service? May 19 01:09:05 sqlite data, of course May 19 01:09:38 i'd have to check on the mechanism we use to move it off the main thread, but it would be an update/delete call to a contentprovider May 19 01:09:46 its not a service May 19 01:09:51 its probably an asynctask May 19 01:10:47 interesting. i remember being paranoid about the thread not finishing before process destruction in tight memory May 19 01:11:04 (unless that happened in a service) May 19 01:11:29 ok i just added the drawer to an app, and im running it for the first time May 19 01:11:57 well it worked reasonably well May 19 01:12:31 i think they want to you grab that little drawer icon too :| May 19 01:12:40 yeah i did, but it doesnt seem to be showing up May 19 01:12:49 probably because im missing getActionBar().setDisplayHomeAsUpEnabled(true); May 19 01:14:46 ugh this stuff doesnt work with ABS ~_~ May 19 01:15:59 it could May 19 01:16:19 it wouldnt be hard to adjust the ActionBarDrawerToggle to work with ABS May 19 01:17:11 roman mentioned the actionbar used in iosched is going to be out soon May 19 01:17:31 Napalm, i know, and i am May 19 01:17:49 How could I use the Roboto Black Small Caps font on a TextView in the XML? May 19 01:18:51 canadiancow: getSupportActionBar() ? May 19 01:19:02 huh? May 19 01:19:10 mDrawerToggle.onOptionsItemSelected(item) May 19 01:19:15 ABS uses custom MenuItems May 19 01:19:25 so in that case, it wont even build without a custom support lib May 19 01:19:26 setDisplayHomeAsUpEnabled works with ABS May 19 01:19:59 can't you just use android.R.id.home ? May 19 01:20:04 so now i have everything working except actually clicking the up icon May 19 01:20:14 its not the most trivial logic May 19 01:20:29 yeah i believe you can just use android.R.id.home in options selected and then popbackstack May 19 01:20:38 if you are using fragments May 19 01:20:44 IJ trolls me ; ctrl-d in eclipse id *D*elete line, in IJ its clone line May 19 01:21:32 ctrl-*d*uplicate :) May 19 01:22:02 *d*elete ! May 19 01:22:08 XD May 19 01:22:12 I htink crtl+d is absurd May 19 01:22:21 ron_frown: i think you're absurd May 19 01:22:25 :D May 19 01:22:36 i think there's a bug in the support lib May 19 01:22:37 crtl + n should delete it May 19 01:22:40 NUKE May 19 01:23:15 i could not get the support lib samples to compile for shit using support-lib-v13 May 19 01:23:58 did you get the aapt shit going? May 19 01:23:58 did any of you successfully installed ActionBarSherlock with Android studio? I imported it as a Maven module and set up dependencies, but I still get "com.actionbarsherlock.app" does not exist May 19 01:24:13 ron_frown: yeah, symlinks May 19 01:24:20 nioncode - my coworker did but not new install May 19 01:24:26 g00s, there seems to be a bug there May 19 01:24:28 imported from a old eclipse proj May 19 01:25:01 ron_frown: I used IntelliJ before and there everything worked fine, so I am a bit puzzled May 19 01:25:16 I've never used maven May 19 01:25:26 I fail to understand the point or need for maven May 19 01:25:29 I'm just retarded May 19 01:29:04 holy shit the temperature difference between my upstairs and downstairs is insane :\ May 19 01:29:32 perhaps a window is open May 19 01:30:04 hot air rises May 19 01:30:25 true May 19 01:30:28 thecodeischaos, no May 19 01:30:38 pragma-, yes, but like i need to put a sweater on downstairs May 19 01:30:44 and im sweating horribly upstairs May 19 01:31:20 take your laptop and sit on the middle of the stairs May 19 01:31:32 im using my desktop May 19 01:31:32 for working a/c upstairs, it will be extra $2k / mo May 19 01:31:35 and lol May 19 01:32:25 I should take a picture of the ac unit on my house May 19 01:33:12 regular house... 3 bedroom May 19 01:33:13 http://www.goodway.com/hvac-blog/wp-content/uploads/2011/01/Goodway-AC-Unit-on-Roof.jpg May 19 01:33:16 something like THAT big May 19 01:33:31 i havnt tried maven... i just use bash scripts for compiling stuff /project management May 19 01:33:52 ac is for sissies. I just walk around naked May 19 01:34:19 I use my ac maybe a couple days a year May 19 01:34:32 body is pretty good at self-regulation; clothes really hamper that May 19 01:34:59 if you dont drink enough water you will sweat more May 19 01:35:00 the only reason i would use my ac is to keep my machines cool during gaming sessions May 19 01:35:06 your body needs water to regulate body temp May 19 01:35:37 canadiancow: maybe try just putting the circulation fan on May 19 01:35:46 eat salt May 19 01:35:59 and bacon May 19 01:36:21 salt prevents cancer May 19 01:36:21 and beez May 19 01:36:38 im hungry now May 19 01:36:46 actually, salt causes inflammation, which indirectly causes cancer May 19 01:37:15 g00s, maybe that will work May 19 01:37:17 unless its accompanied with bacon May 19 01:37:21 right now im sitting on my stairs with a laptop :P May 19 01:37:52 sounds comfortable May 19 01:39:15 yeah that lasted for about a minute May 19 01:39:33 id rather be in the cold place with a blanket May 19 01:40:01 i'd rather be in the hot place naked May 19 01:40:13 id rather be in the ocld place May 19 01:40:22 but im working on both my work laptop and my personal desktop May 19 01:40:28 and one of those isnt very mobile May 19 01:40:34 pragma-: canadiancow you guys are going to have to compromise :) May 19 01:40:35 lern2vnc May 19 01:40:58 well the setup at my desktop is much more comfortable too May 19 01:41:08 naked it is! May 19 01:41:10 it's more that my desk isn't mobile, than my desktop May 19 01:41:13 im halfway there May 19 01:41:22 all or nothing! May 19 01:41:38 and for god's sake, take off your socks too May 19 01:42:27 IJ keeps popping up these lightbulbs (ideas) which have the dummest suggestions May 19 01:42:32 *dumbest May 19 01:42:34 code done naked is the best code anyways May 19 01:42:59 free your body and free your mind... May 19 01:43:03 g00s: like what? May 19 01:43:13 some are useful. some.. not so much :) May 19 01:43:22 you can configure it to suit your tastes May 19 01:43:24 and the rest will follow, be color blind don't be so shallow May 19 01:43:31 "split declaration and initialization" May 19 01:43:39 yeah, not so much. hehe May 19 01:43:41 isn't that like anti-advice ? May 19 01:44:00 they should put a trollface on some of those May 19 01:44:49 settings: search for "split" - Intentions->Declaration->Split Declaration and Initialization May 19 01:44:58 but yeah, that one is.. weird May 19 01:45:22 JesusFreke: i have to say tho, the performance of the UI is much more fluid than eclipse; SWT must really suck or something May 19 01:45:41 some more granular things take longer; IJ takes longer to start, launch app, etc May 19 01:45:56 but the UI seems snappier May 19 01:46:20 mostly I ignore the "light bulb", except when I know it has a specific action that I want to do May 19 01:46:32 s/mostly/always/ May 19 01:46:32 is there any way to have multiple projects/instances open with intellij? May 19 01:46:59 sonOfRa, multiple windows May 19 01:46:59 sonOfRa: yes, you can open a new project, and then it will ask you whether to open it in the current instance (closing the current project), or open it in a new instance May 19 01:47:15 mh May 19 01:47:27 i kind of liked to have it in one window in eclipse May 19 01:47:52 pft projects. I edit *files*. May 19 01:48:16 notepad.exe is all the IDE we need! May 19 01:48:38 * pragma- is strictly a vim user. May 19 01:48:49 vimscript sucks May 19 01:48:50 hmm im using drawerlayout, and its not setting the selected state on the item in the drawer's listview May 19 01:49:09 emacs ftw May 19 01:49:23 sublime text 2 4 lyf May 19 01:49:28 :p May 19 01:49:30 they just started editor war on #debian, go there :p May 19 01:49:31 :) May 19 01:49:50 qbasic.exe was great May 19 01:50:00 well, that explains some things May 19 01:50:04 pragma-: no wander you like vi! May 19 01:50:05 ;) May 19 01:50:14 anyway May 19 01:50:28 I wouldn't be able to use IDEA without ideavim May 19 01:50:31 I think we all know where this rabbit hole goes May 19 01:50:45 JesusFreke: but, can you have multiple IJ windows open, each with a different project ? May 19 01:50:52 g00s: yes May 19 01:50:55 phew May 19 01:51:18 g00s, wouldn't it be kind of pointless to have same project in each window May 19 01:51:20 :p May 19 01:51:35 Zharf: no, i wondered if IJ was a singleton May 19 01:51:56 like, you could only be using it with one at a time, nm .. clueless May 19 01:52:27 I always have 3-4 IDEAs open :E May 19 01:52:35 another dumbass IJ question - is there a way to reformat the log? i hate that format, want columns lined up May 19 01:52:51 logcat? May 19 01:52:58 yeah May 19 01:53:02 i mean, i could do it console May 19 01:53:11 no but you can start ddms May 19 01:53:23 oh yeah, forgot about that thing :D May 19 01:53:39 isn't ddms using SWT now ? May 19 01:53:46 no clue May 19 01:53:57 i thought they did that last year so it looked prettier in eclipse May 19 01:54:09 ha, you're all eclipse users and you don't know it ! May 19 01:54:28 * pragma- vim. May 19 01:55:00 pragma-, I really dare you to write java in plain vim ;) May 19 01:55:06 I do. May 19 01:55:10 it's such a waste May 19 01:55:15 nonsense May 19 01:55:17 ideavim <3 May 19 01:56:08 I wrote some java in plain vim some 10 years ago May 19 01:56:18 it was a slow and painful process May 19 01:56:19 does that have syntax highlighting? May 19 01:56:28 thecodeischaos, "that"? May 19 01:56:33 vim has syntax highlighting already May 19 01:56:33 i write java in emacs. its fine May 19 01:57:00 i'm very used to vim's modal modes, it's so convenient, fluid and powerful May 19 01:57:09 pragma-, hence ideavim May 19 01:57:12 ;) May 19 01:57:13 i hate tooltips and autocomplete and other ide crap May 19 01:57:16 best of both wolrds May 19 01:57:45 * pragma- prefers to work in command-line screen/tmux sessions May 19 01:57:53 GUIs are a pain in the ass May 19 01:58:04 * pragma- keeps his fingers on his homerow. May 19 01:58:04 generally I agree, but with IDEA, I don't :) May 19 01:58:10 fuck the mouse May 19 01:58:31 I also don't really use mouse for anything... May 19 01:58:51 wmii, bunch of urxvt's, screens etc <3 May 19 01:59:01 and vimperator <3 May 19 01:59:43 but I also use IDEA... without a mouse May 19 02:00:16 (mostly anyway) May 19 02:05:31 how do you use the drawer shadow with the drawer? May 19 02:05:43 its in the drawable pack, but the docs dont cover it May 19 02:08:34 just set it May 19 02:09:02 mDrawerLayout.setDrawerShadow(R.drawable.drawer_shadow, Gravity.LEFT); May 19 02:10:10 canadiancow: ^ May 19 02:10:36 yeah, got it May 19 02:10:39 i downloaded the sample app May 19 02:10:44 now i think im working almost perfectly :) May 19 02:16:45 canadiancow: up to speed on Studio :) May 19 02:16:53 i gave up when it didnt work May 19 02:16:54 :P May 19 02:17:02 but it was probbly the same issue i had in eclipse May 19 02:17:10 so i might try again once im done with the drawer May 19 02:18:07 now we just need to talk google into going back on the studio thing May 19 02:18:13 to get g00s to have to switch back May 19 02:18:48 i'm using combo eclipse & idea now May 19 02:19:11 nice May 19 02:19:19 not studio tho. eclipse does have stuff IJ doesn't, like working sets May 19 02:19:22 Zharf: do you use IdeaVim plugin? May 19 02:19:40 dont know what working sets is May 19 02:20:27 is there a way to change background drawable on the fly? May 19 02:21:00 setBackgroundDrawable()... May 19 02:21:16 i'm trying that, it's not updating May 19 02:26:32 you're probably doing it wrong May 19 02:29:54 i thought by sdt/adt 22, we could be able to customize the columns shown by now :| May 19 02:30:29 i bet 99% of all android devs just want "app:myapp" , tag, text May 19 02:30:36 im just using setBackgroundDrawable() based on a seekbar touchevent... May 19 02:30:36 and time May 19 02:32:24 g00s: columns? May 19 02:33:09 Napalm: in eclipse, the logcat View has stuff neatly put into columns May 19 02:33:17 but you can't select which ones you want :| May 19 02:33:20 oh your talking about logcat May 19 02:33:25 ah, yea May 19 02:33:25 :) May 19 02:33:44 i use jasta's proclogcat most times though May 19 02:34:24 the feature i really want in ADT is being able to add tools:text="blah" to my TextViews so that i can preview the layouts with text and also leave that in and the fact that its the tools namespace means they are not included in the final package May 19 02:34:28 oh no, i'm using jeff sharkeys now May 19 02:34:56 his what? May 19 02:35:08 jeff had a colored logcat from like 5 years ago May 19 02:35:29 i haven't heard much about him lately, he was more visible back then May 19 02:35:58 theres a good python script that colors logcat May 19 02:36:14 http://jsharkey.org/blog/2009/04/22/modifying-the-android-logcat-stream-for-full-color-debugging/ May 19 02:36:28 he gave a mini-talk at i/o on content providers May 19 02:36:35 there's an awesome FileProvider class May 19 02:36:47 he's also in here right now May 19 02:37:08 i would love a session on "provider best practices" May 19 02:37:18 seems lame, old, but … they are tricky to do right May 19 02:37:58 i would have loved to hear his mini talk May 19 02:38:17 i modified his script to put timestamps May 19 02:40:50 hm, seems messed up, wonder if there have been subtle formatting changes in android logcat over apis May 19 02:57:20 IJ Tools -> Android -> Monitor starts … Eclipse May 19 02:57:50 Eclipse configured with a single plugin, ddms haaa ! May 19 02:58:18 how the fuck - did they bundle that in with IJ ? hilarious May 19 02:59:01 what **** ENDING LOGGING AT Sun May 19 02:59:58 2013