**** BEGIN LOGGING AT Tue Oct 15 02:59:58 2013 Oct 15 03:09:02 I have never seen an app which does live transaltion yet Oct 15 03:09:54 hmm live translation? I just want something better than editing XML on text editor or using mobile browser to access translation interfaces Oct 15 03:10:29 I have used Chinese apps the past couple of weeks.. using screenshot translations.. Oct 15 03:10:29 looks like a good idea for app, no? a mobile platform for translation where users themselves help doing the work Oct 15 03:10:32 mark06: do you do the rest of your development on a mobile device? Oct 15 03:10:35 I have so many screenshots now =P Oct 15 03:11:28 Leeds: no I don't do android, just trying to translate one app, the dev shared a Google Translation toolkit work with me, but it sucks, specially on mobile browser Oct 15 03:11:49 mark06: just use a PC Oct 15 03:11:50 meh Oct 15 03:11:54 Leeds: no? Oct 15 03:11:59 yes! Oct 15 03:12:02 NO! Oct 15 03:12:22 Leeds: use your brain and you'll find out why not always PC Oct 15 03:12:24 Why translate on device though? Oct 15 03:12:37 I don't believe in using my brain before noon Oct 15 03:12:38 YES! Oct 15 03:12:55 What makes the translation harder to do on a PC? Oct 15 03:13:02 Diamondcite: ok, because sometimes you are on bus etc... and you want to use that time for something like that Oct 15 03:13:08 Is it in some android readable only format? Oct 15 03:13:16 Leeds: :P Oct 15 03:13:33 you people get it now Oct 15 03:13:47 Thank you for specifying a purpose. Oct 15 03:13:56 Most people do it in a lab, or on their beds Oct 15 03:14:03 Who knew you were actually moving Oct 15 03:14:32 With that said, does google translate image recognition work for your text? Oct 15 03:14:41 Or can you even just copy and paste between it? Oct 15 03:16:51 image recognition?? Oct 15 03:17:59 I don't know how the data you have been given is being presented. Oct 15 03:18:11 Nor so I know the language Oct 15 03:18:45 Image recognition suggesntion is for translating things from apps as they run, based on taking a screenshot and then having a program translate the said text on screen Oct 15 03:19:53 I don't understand you Oct 15 03:19:59 data? Oct 15 03:20:46 I have never seen nor understand well this image-based translation Oct 15 03:20:59 I just wanted a mobile interface to edit the XMLs in a sane way Oct 15 03:21:08 * mark06 writes down this app idea Oct 15 03:22:00 If it's just XML data, you can pretty much use any editor and copy and paste text into a translator.. Oct 15 03:24:26 You could potentially look up an app which allows you to 'share' an arbitrary text selection which can be used to share with a translation app Oct 15 03:42:02 hello, Is it possible to call a method inside a service only after I sent the answer back to an activity? I'm using AIDL. Oct 15 03:45:55 you can pretty much use any editor and copy and paste text into a translator -- why copy paste? Oct 15 03:46:18 I don't even know what's worse, xml editing or google's translation toolkit UI Oct 15 03:52:54 http://imgur.com/hVFI5Hp hehehe Oct 15 04:09:05 dumb question; I have a com.google.ads.AdView that appears to be making requests on my emulator for ads of size 320xsomething, in portrait mode, on my emulator, but then webcore warns about "Can't get the viewWidth after the first layout", and then I get this nugget: "Not enough space to show ad! Wants: <480, 75>, Has: <432, 676>" Oct 15 04:09:21 I tried that using SMART_BANNER, and that doesn't seem to help. Oct 15 04:11:26 I take it back, it looks like it's requesting 432. Still. That strikes me as weird. Oct 15 04:14:48 JakeWharton: Hello! Oct 15 04:30:04 hi Oct 15 04:31:41 nm. cool. I got my problem sorted. padding on the left and right. Oct 15 04:33:56 new android sdk built-tools; 18.1.1 Oct 15 04:37:44 JakeWharton: Hey! Is there any way to check for sure that picasso is using okhttp? I think it's not finding the class.... Oct 15 04:38:11 uh, look for OkHttp-* headers in the response Oct 15 04:38:53 open the expression evaluator and run: Class.forName("com.squareup.okhttp.OkHttpClient") Oct 15 04:38:59 if it doens't throw an exception, it's working Oct 15 04:46:41 k, thx Oct 15 04:47:01 JakeWharton: Another question... do you manage the priority of the requests somehow? Oct 15 04:55:52 ladies. Oct 15 04:58:43 man I hope changes for android 4.4 are big time Oct 15 04:58:47 cause I gotta say Oct 15 04:59:13 the the fact that any other os can run considerably faster on the same hardware is inexcusable anymore Oct 15 05:00:45 hehe, hey ron_frown . well, project butter isn't finished based on my playing with a n7; you going to volunteer ? :D Oct 15 05:01:16 if I thought they were actually open to suggestions or voluteer contributions Oct 15 05:01:36 there is probably a post open now on the graphics / framework team ;) Oct 15 05:02:02 haha they wouldnt want me anywhere near any sort of control of any projects Oct 15 05:02:03 g00s: I bet ron wouldn't pass the language requirement Oct 15 05:02:15 leeds you mean the foul language stuff? Oct 15 05:02:17 haha Oct 15 05:02:24 French :) Oct 15 05:02:44 I'm not gonna pretend to know gfx driver shit inside and out... but I can write code in java/c/c++ Oct 15 05:03:15 I'm def not google material tho =) Oct 15 05:03:23 def ruffle too many feathers Oct 15 05:03:26 ron_frown: Unless they release a new phone, I doubt it... Oct 15 05:03:50 well this is supposed to be the week for the n5 Oct 15 05:04:11 but I think we shold expect small incremental improvements Oct 15 05:04:14 nad a few new features Oct 15 05:04:58 snapdragon 800 is impressive... but sick of the lets ignore the huge elephant in the room and keep throwing more and more and more hp at the problem Oct 15 05:05:55 more hit points does help a lot, particularly with boss battles Oct 15 05:06:04 horsepower Oct 15 05:06:21 ron_frown i thought during the I/O 2013 fireside chat, they alluded to different 'performance' profiles Oct 15 05:07:16 I think updated dalvik for a much more modern java version would be a good start Oct 15 05:07:22 also, from what i hear, work on dvm optimizations has almost completely stopped since GB after the oracle lawsuit Oct 15 05:07:36 awesome! Oct 15 05:07:45 the release rate of Android has definitely slowed down... so hopefully that means there's something huge being worked on in the background somewhere Oct 15 05:07:49 g00s: What's GB? Oct 15 05:07:55 unless it's because all the work is on ChromeOS nowadays ;) Oct 15 05:07:59 gingerbread; 2.3 gavilan2 Oct 15 05:08:03 leeds I think its for the better anyway Oct 15 05:08:08 helps with the android fragmentation shit Oct 15 05:08:14 g00s: What was the result of oracle lawsuit? Oct 15 05:08:18 as long as the upgrades that come are significant Oct 15 05:08:27 thats kinda my inkling Oct 15 05:08:31 gavilan2 i don't know any more Oct 15 05:08:38 I feel like google is def focusing effort on chromeos Oct 15 05:08:43 Larry is still mad; he'll probably go for retrial Oct 15 05:09:15 Larry is still desperate to get some return on his Sun purchase Oct 15 05:09:43 g00s: Is Chrome OS for mobile phones? Oct 15 05:09:44 i noticed in Iron Man 3 the Oracle / Sun adverts Oct 15 05:09:54 gavilan2 who knows :) Oct 15 05:09:57 not /atm/ Oct 15 05:10:27 i never really felt like google give a crap about android; not compared MS / Apple Oct 15 05:10:46 Oracle was basically told that the only infringement that happened was incredibly minor and that they were otherwise full of crap. Oct 15 05:10:49 g00s: https://lh5.googleusercontent.com/-QVMGutowHnE/UhFYKwc50KI/AAAAAAAAJXI/FeJvdkLIEZQ/w549-h732-no/IMG_20130819_092558.jpg iron man oracle poster Oct 15 05:11:10 hehe, i just couldn't get into that franchise Oct 15 05:11:19 oracle cant make money anymore by building a legitimate product Oct 15 05:11:24 so they gotta go trying to cheat and steal Oct 15 05:11:25 =) Oct 15 05:11:26 g00s: They give a lot of crap about the App Store though.... Oct 15 05:12:00 g00s: I suspect the "we do search and ads" management weren't really prepared to own a platform with a billion endusers Oct 15 05:12:54 to deal with OEMs, etc. Oct 15 05:13:03 I think google should let what SHOULD happen, happen to java Oct 15 05:13:23 what SHOULD happen, happen to java? Oct 15 05:13:27 jump ship... I'd honeslty rather write c++ and not have any of this god damn java shit anywhere Oct 15 05:13:37 well google jumping ship isnt gonna put a dent in java Oct 15 05:13:40 now i'm reading that MS is pushing WP betas directly to devs / people subscribed to the beta channel; i wonder then if they have total control over OTAs Oct 15 05:13:42 but java is shit Oct 15 05:14:03 I mean I hear improvements underway Oct 15 05:14:19 such as the final generation gc shit, and the java 7 language features Oct 15 05:14:27 but reality check Oct 15 05:14:32 we're already way way way behind here Oct 15 05:14:58 Well, they could do C++ or Scala. Screw Java. Oct 15 05:15:05 Or Go. Oct 15 05:15:07 scala is same thing as java is it not? Oct 15 05:15:10 I'd be down for seeing Go take over. Oct 15 05:15:12 no way could they move to scala or Go Oct 15 05:15:16 honestly go is in its infancy Oct 15 05:15:21 I'd rather write in go Oct 15 05:15:24 ron_frown: They compile to JVM bytecode, if that's what you mean. Oct 15 05:15:25 Rust ftw ! Oct 15 05:15:31 yeah Oct 15 05:15:37 Leeds: Well it's highly impractical to move to Go, not so much Scala. Oct 15 05:15:38 Python is, of course, the obvious choice Oct 15 05:15:41 language is shit Oct 15 05:15:44 either that, or PHP ;) Oct 15 05:15:45 vm is... I dont know Oct 15 05:15:49 Leeds XD XD Oct 15 05:15:49 seems like it just went stale or something Oct 15 05:15:54 PHP, of course, yes, we need PHP Oct 15 05:16:14 I've seen lots of vm'd architectures Oct 15 05:16:18 Oh, and Perl. Oct 15 05:16:18 non perform as badly as java Oct 15 05:16:21 that I've sene. Oct 15 05:16:22 seen Oct 15 05:16:39 I've never seen Java really perform all that badly. Oct 15 05:16:55 Either way, if you're complaining about Android performance, you should keep in mind that it's not using the JVM. Oct 15 05:16:56 have you build stuff in any other langs or platforms? Oct 15 05:17:02 but there's a weird half-ownership going on... Google obviously 'owns' Android - but their primary development language is a semi-proprietary language owned by another (hostile) company, and most of the devices are made and branded by other companies who aren't always besties with Google Oct 15 05:17:03 dalvik bytecode Oct 15 05:17:09 I mainly work in C++. Oct 15 05:17:45 thats why I was complaining they need to do work on dvm Oct 15 05:17:49 and Samsung is pretty shady; they get away with stuff becuase the huge korea GDP they represent ;) Oct 15 05:17:56 Samsung can eat a dick. Oct 15 05:18:01 but my experiences with java being a pos, pretty much extend to any other os =) Oct 15 05:18:24 ron_frown: I think you are talking about the runtime ? Oct 15 05:18:27 samsung has already kinda hinted at the actual jump to tizen Oct 15 05:18:32 jvm Oct 15 05:18:49 I still find it weird that the JVM is stack-based. Oct 15 05:18:50 the language is not that bad Oct 15 05:18:50 language features are shit tho too (havent used anything super modern language feature wise) Oct 15 05:18:59 tizen is the biggest dark horse in the mobile world right now Oct 15 05:19:04 The language is the thing I my main beef with. Java's a POS. Oct 15 05:19:10 run lots of java apps/services in java app server Oct 15 05:19:14 *I have Oct 15 05:19:49 *if* Samsung can move a significant amount of their users - from Bada and Android - onto Tizen, they could become a top-tier platform vendor almost overnight Oct 15 05:19:54 Nilium its just like a constant "java gives you x as an answer to language y's functionality, and its totally half assed and designed to do something idfferent" Oct 15 05:20:09 on the other hand, that's what Nokia tried to do, moving users from Symbian to WP - and look where that took them Oct 15 05:20:13 I come from .net and have built lots of stuff that take advantage of reflection and crap Oct 15 05:20:21 start writing java apps and its like what the fuck Oct 15 05:20:24 WHAT THE FUCK?! Oct 15 05:20:33 same thing with generics Oct 15 05:20:38 I think if Samsung is going to try to give up Android, they're going to find it won't work all that well because they won't have the Play store. Oct 15 05:20:41 WP seems to be doing OK in europe; not that the US matters, but it seems android has stagnated past 2 quarts here according to comScore Oct 15 05:20:50 And as far as I know, Samsung already tried their own store and blew it Oct 15 05:20:51 *quarters Oct 15 05:20:59 maybe even lost a little Oct 15 05:21:05 ms just tries way too hard Oct 15 05:21:12 and I think nokia purchase was a huge fucking mistake Oct 15 05:21:17 g00s: where by "stagnated" you mean "pretty much kept up a massively dominant market share in a rapidly-maturing market" Oct 15 05:21:20 now their biggest adopter... is them. Oct 15 05:21:20 I could dig a WP device if I thought I'd use it. Oct 15 05:21:25 when ms is desperate and underdog; they play for keeps Oct 15 05:21:32 but who will be their next ceo ? Oct 15 05:21:34 I'm a huge .net guy, I dont want windows phone. Oct 15 05:21:38 so many questions Oct 15 05:21:46 just for the record, we all agree that BB is toast, right? Oct 15 05:21:50 As is, I just don't feel like I want to use WP. Plus I'd have to install Windows to develop for it, so screw that. Oct 15 05:21:54 mmm... toast... Oct 15 05:21:56 haha I know people that swear they are oging to turn shit around Oct 15 05:22:04 Leeds: Noooo, no, they're alive and well and successful Oct 15 05:22:13 I know that they are doing shit to try and get honest advice and changes from their developers and customers Oct 15 05:22:18 i think the loss according to comScore was within the margin of error Oct 15 05:22:28 ron_frown: I've been trawling the comments at crackberry.com just for the fun of watching the delusionals Oct 15 05:22:28 They gave _me_ a free tablet and said "develop for this" and then a year later said "we're giving up on the tablet" Oct 15 05:22:34 Nilium: ditto Oct 15 05:22:37 if we could free it from oracle's hands ... Oct 15 05:22:44 Nilium lots of people did that Oct 15 05:22:47 Their turnaround on failure is impressive, if nothing else Oct 15 05:23:02 I've got prototype tablet hardware that never came to fruition Oct 15 05:23:04 to be fair, Nokia and HTC gave me WP phones, and that didn't give me any reason to develop for them :) Oct 15 05:23:09 from major handset mfg Oct 15 05:23:24 ron_frown: playbook - fully-launched retail product, essentially abandoned Oct 15 05:23:29 I think android def has the most going for it currently Oct 15 05:23:29 I also have a webOS tablet, but that thing only lasted a month in retail before HP's CEO tried to destroy HP from the top down Oct 15 05:23:36 leeds yeah I was in on that one too Oct 15 05:23:46 It never really had a chance, though I doubt it would've gotten very far Oct 15 05:23:57 Nilium html + js is the future Oct 15 05:23:58 webos is something different Oct 15 05:24:03 HAHAHAHAHAHAHAHAHHAAHHAHAHAHAHA Oct 15 05:24:11 people dont seem to get that nobody wants that to be the future Oct 15 05:24:19 webOS is the thing I love but have always had zero optimism for. Oct 15 05:24:19 one things for sure ron_frown - when you come around, it definitely spices things up around here :) Oct 15 05:24:22 https://dl.dropboxusercontent.com/u/93956072/bad.jpg Oct 15 05:24:23 [08:23] i have this problem i dont know what to do Oct 15 05:24:23 [08:23] I have galaxy s3 what should i do ? Oct 15 05:24:23 cept the hipster devs that are so happy they can write js is easy =) Oct 15 05:24:30 been pretty boring here lately Oct 15 05:24:32 I say shit like it is Oct 15 05:24:35 If HTML and JS is the future, then I'm going to shoot every web developer I find Oct 15 05:24:36 at least how my opinion is =) Oct 15 05:25:01 html5 will replace all Oct 15 05:25:04 'Cause that cannot come to pass. Web developers are the worst. We mustn't let them have anything important. Oct 15 05:25:32 I find my self tempted to go for the latest iphone... because for basic phone functionality, it just does that shit better... (making calls, quickly loading camera app, etc) Oct 15 05:25:40 not saying anything about app ecosystem Oct 15 05:25:42 Steve Jobs's initial vision for the iphone will win in the end! Oct 15 05:25:52 my galaxy nexus has a couple installed apps Oct 15 05:25:53 Leeds: I still find that funny. Oct 15 05:25:54 Leeds what was that ? Oct 15 05:25:59 I unlock and try and go to camera Oct 15 05:25:59 Also, I still use an iPhone for my personal device. Oct 15 05:26:01 As well as an iPAd. Oct 15 05:26:05 *iPad, even. Oct 15 05:26:05 takes at least 5-10 seconds to be usable Oct 15 05:26:12 checking your fingerprint against a top secret nsa blacklist ;) Oct 15 05:26:13 I just don't feel like dealing with Android. Oct 15 05:26:16 or go to dialer and start dialing and theirs obvious lag Oct 15 05:26:19 g00s: first iphone didn't support third-party apps at all, just desktop-bookmarked web apps Oct 15 05:26:25 oooh Oct 15 05:26:29 AKA web apps Oct 15 05:26:34 They didn't have an address bar, but they were web apps. Oct 15 05:26:44 its like god damn ,are they even REALLY going to be able to make this shit wrork with the snapdragon 800 Oct 15 05:26:49 I dont think they will Oct 15 05:26:52 my wifes s4 is the same way Oct 15 05:27:10 brings me back to the whole Oct 15 05:27:10 ron_frown: I can take a photo within a couple of seconds on my phone Oct 15 05:27:11 Also, I refuse to buy an Android phone because I haven't found any that're still iPhone-size. Oct 15 05:27:18 what phone Oct 15 05:27:22 HTC One Oct 15 05:27:25 They're all like 4.5 inches or larger. Oct 15 05:27:26 yeah thats more modern Oct 15 05:27:29 It's frankly disturbing. Oct 15 05:27:47 iphone for a long time was running 800mhz and getting significantly better battery because it was doing so Oct 15 05:27:59 and it was running as fast or faster than flagship android device Oct 15 05:28:00 of course, the camera is buggered on it - won't focus on anything further away than a couple of meters - and I'm trying to get HTC to repair/replace it Oct 15 05:28:01 Well, that and it wasn't running everything in a VM. Oct 15 05:28:05 I got a camera button, but it won't take the pic right away Oct 15 05:28:20 what do you guys think of the new curved LG display? does it mean there is always glare on some part of the screen? gimmick ? Oct 15 05:28:28 I should write an app to override it to take fast pics Oct 15 05:28:31 g00s my galaxy nexus has a curved screen Oct 15 05:28:35 * ron_frown shrugs Oct 15 05:28:37 I think people tend to forget the part about Android running everything in a VM. The fact that it runs at all amazes me. Oct 15 05:28:45 I guess its big news because its MORE curved? Oct 15 05:28:51 maybe :| Oct 15 05:28:54 Nilium - thats the other hting Oct 15 05:28:58 ron_frown: I think it has curved glass on top of a flat screen, Oct 15 05:29:05 I'm a platform engineer on android hardware (not for google) Oct 15 05:29:06 Curved phones are those things that hipsters will put in their skinny jean pockets, sit down, and snap in half from the tension. Oct 15 05:29:27 you'd be fucking amazed at how fragile the whole bionic/linux interaction is Oct 15 05:29:28 Nilium: no they won't Oct 15 05:29:36 Leeds: shut up, I want my dream to come true Oct 15 05:29:42 Nilium: hipsters have iPhones Oct 15 05:29:49 Not if curvature becomes hip Oct 15 05:29:52 LIKE YOU! Oct 15 05:29:57 I see it more on my shit because I'm always hacking, but lots of bionic crashes where the phone looks like its rebooting but in reality its just reloading the bionic stack Oct 15 05:30:02 lots of weird shit Oct 15 05:30:02 I thought the iPhone was like the old guard thing. Oct 15 05:30:23 when you hook up log cat and just see bionic shitting all over logcat and syslog Oct 15 05:30:32 somethings just not right Oct 15 05:30:51 ron_frown do you remember the API 17 x86 images logging like 20k/sec entries for unknown tags ? Oct 15 05:30:54 And then it turns out different VM instances are corrupting each others' stacks. Oct 15 05:31:04 i wonder if that made it to production :| Oct 15 05:31:09 I dont care about app store shit or adoption, as I build the os for proprietary hardware we dont let people develop for Oct 15 05:31:19 I've got the go ahead to build something for this specifically Oct 15 05:31:30 It must be nice to say "you can't develop for this, you dirty bastards" Oct 15 05:31:33 and even though android is free and supported, I think I'm headed off Oct 15 05:32:02 huh? build something for what ? Oct 15 05:32:07 Like feeling free because you're not responsible for supporting tons of horrible things Oct 15 05:32:15 hahaha Oct 15 05:32:18 that too Oct 15 05:32:50 even if you ran seliniux or some other form of hardened linux kernel, bionic still just isnt all that stable Oct 15 05:33:18 I use it in embedded HMI environment... its just not super suitable Oct 15 05:33:43 i think google has a crappy software engineering culture Oct 15 05:33:44 my needs are nothing like most peoples... I dont mean to sway peoples opinions on android Oct 15 05:33:47 or they just dont test Oct 15 05:33:54 Ah catcrap, need to go clean the litter boxes. Didn't realize how late it'd gotten. Oct 15 05:34:15 boxes ? Oct 15 05:34:21 its just like someone said there layers are so complex its a fucking miracle it works in the first place Oct 15 05:34:21 Maybe tonight will be the night I set the kitties on fire. Oct 15 05:34:27 how many taxoplasmosis incubators do you have ? Oct 15 05:34:44 Are you asking about cats or litter boxes? Oct 15 05:35:24 i'm assuming multiple boxes for multiple cats Oct 15 05:35:42 man i hate cats Oct 15 05:35:49 but they love me, which sucks Oct 15 05:35:53 they seem to know that Oct 15 05:36:03 they all come around wanting to play and jump and purr on me Oct 15 05:36:28 I'm admittedly a major asshole, that most adults understandably dont like... for some reason kids and animals tend to really like me Oct 15 05:36:28 lol Oct 15 05:36:39 I'd like to try qnx or openbsd kernels Oct 15 05:36:58 qnx is a beautiful thing... but their future, well who knows Oct 15 05:37:08 maybe it will be on sourceforge soon Oct 15 05:37:14 openbsd/netbsd/freebsd are bitchin Oct 15 05:37:20 g00s highly unlikely Oct 15 05:37:23 :) Oct 15 05:37:34 they are powering shit thats absolutely critical, it'd be a dumb move to opensource imo Oct 15 05:37:53 i meant, as a graveyard Oct 15 05:38:04 litterbox for software Oct 15 05:38:17 qnx has jumped owners several times in the past 10yr Oct 15 05:38:27 I assume qnx is going to be spun out from BB as part of their breakup - it's got massive adoption elsewhere, particularly embedded in cars Oct 15 05:38:29 harmon kardon had em, cant remember who else has Oct 15 05:38:38 yeah Oct 15 05:38:50 BB also lost a bunch of their graphics designers last week Oct 15 05:38:55 it would bring up the camera fast Oct 15 05:38:57 they arent gonna og away... if I was a massive investor, I'd buy bb for qnx, and then dump bb =) Oct 15 05:39:02 since they got them as a team, they left as ateam Oct 15 05:39:14 g00s: you mean the TAT guys? Oct 15 05:39:21 i think so, yeah Oct 15 05:39:33 who were credited with some of the original Android UI designs? :) Oct 15 05:39:34 I think bb actually was starting to get their shit together at the end there Oct 15 05:39:42 but think it was just too little too late Oct 15 05:40:12 there was a huge article in the guardian about the demise of BB; seems like the lead engineer crapped himself when he opened the first iPhone Oct 15 05:40:18 I liked the Playbook but the tools _they_ used to develop apps were the ones they reserved for themselves 'til BB10 Oct 15 05:40:25 learned, he was not competing against macs Oct 15 05:40:28 *now Oct 15 05:40:40 they just waited too long, were arrogant about what apple had Oct 15 05:40:46 or how much market share they'd continue to keep Oct 15 05:40:49 same with stupid ass ms Oct 15 05:41:03 So everyone else was left with three options: 1) ActionScript, slow as balls covered in velcro rolling up a hill made of g00s's back hair, 2) HTML + JShahahaha 3) Build everything in C or C++. Oct 15 05:41:19 3) would that have really been such a bad thing? Oct 15 05:41:29 3) had no UI library. Oct 15 05:41:30 just give them vala and call it done Oct 15 05:41:44 Or really even a decent way of receiving events from the OS Oct 15 05:41:57 Nilium EHHM.. not a ton diff than NDK as of now +) Oct 15 05:42:00 It was kind of questionable as to how they expected you to use it for anything other than OpenGL Oct 15 05:42:08 oh you want to do shit with gui? BYOGUI Oct 15 05:42:09 anyway, sailfoxbuntuOS will come along very soon and save us all Oct 15 05:42:16 haha Oct 15 05:42:30 ron, true, but at least Android's UI wasn't nearly as slow and terrible as the ActionScript/HTML+JShahahalternatives Oct 15 05:42:34 I'm holding off buying a phone atm hoping google is gonna wow us =) Oct 15 05:42:48 ron_frown: eternal optimist? Oct 15 05:42:55 Though until 4.x it was still really damn slow. Oct 15 05:42:57 Nilium - im responsible for explaining why stuff in android browser is so fucking slow to my boss Oct 15 05:43:04 i'm probably going to get a shitty Lumia 521 for $130 off contract Oct 15 05:43:04 Does the gradle-android-test-plugin have any IDE support? My test work fine form the command line but look messy in Android Studio Oct 15 05:43:09 I take it you don't get to use chrome Oct 15 05:43:20 Though Chrome is also pretty slow Oct 15 05:43:22 do you understand its like a vm to run js, inside of a browser whih is a java app that runs in a dalvik vm on top of linux on substandard hardware Oct 15 05:43:28 how the fuck do you think it would be fast? Oct 15 05:43:38 I'm pretty sure chrome isn't a dalvik app Oct 15 05:43:49 Google's holding out on us, man Oct 15 05:43:51 and for that matter, the native browser barely is Oct 15 05:44:01 chrome v8 is impressive, but the tsuff it does to optimize js is... intesive for substandard hardware Oct 15 05:44:12 Leeds webkit shit is straight c Oct 15 05:44:24 ui and all that is java Oct 15 05:44:27 at least chromium Oct 15 05:44:29 i was amazed that chrome is like 30k c files ? Oct 15 05:44:33 yeah Oct 15 05:44:37 *C++, I think Oct 15 05:44:38 K&R ftw! Oct 15 05:44:57 I was told by my boss to troubleshoot chromes click handling and was like WTF?! do you realize thats singlehandedly the biggest component of android? Oct 15 05:45:03 (webkit/webview) Oct 15 05:45:04 rather Oct 15 05:45:20 Yeah, that's a good way to say "I'd like you to buy a gun and come to the office on Sunday to work" Oct 15 05:45:25 blink... Oct 15 05:45:47 my motto is "... anything is possible, given the time and money" Oct 15 05:45:58 a lot of the time they hear it as Oct 15 05:46:09 "Anything is possible, with little time and little resources" Oct 15 05:46:38 webkit has some seriously fucking annoying bugs in touch handling in 4.1.2 Oct 15 05:46:51 I couldnt see anything at all wrong with touchevents in input drivers Oct 15 05:46:59 Ah crap, brb, need to dig up Ayn Rand's corpse and set it on fire Oct 15 05:47:33 I dont blame google for webkit/chrome related slowness or anything Oct 15 05:47:43 i didn't get that reference; don't know Ayn Rand philosophy well enough Oct 15 05:47:58 lets take a full blown desktop app and try and cram it onto a low power device Oct 15 05:48:02 how could that go badly? Oct 15 05:48:18 it doesn't even run on my desktop though :( Oct 15 05:48:24 thats why i use FF ;) Oct 15 05:48:37 Leeds - I beleive google has the required skill and stuff to make amazing things happen Oct 15 05:48:46 so I am somewhat optimistic Oct 15 05:48:55 they have supprised us pleasantly before Oct 15 05:48:58 ron_frown: I'm not sure they have the focus or management for it Oct 15 05:49:02 ron_frown not if they are all working on Google+ Oct 15 05:49:18 call me a cowboy coder... but one thing I'm not... is a pussy Oct 15 05:49:27 if something doesnt work. gut it Oct 15 05:49:41 they got backwards compatibility to think of Oct 15 05:49:48 so much violence tonight; gutting - setting corpses on fire, etc Oct 15 05:49:52 but I dont think they are willing to change anything seriously Oct 15 05:50:11 i'm thinking they are letting android coast until chrome gets to some milestone Oct 15 05:50:21 I've seen chromeos Oct 15 05:50:35 i hear it works great in SF Oct 15 05:50:49 right, follow-up email sent to HTC - my camera is still buggered, and I don't suppose I could go to the One max launch tomorrow, even though everything leaked and the embargo broke yesterday? Oct 15 05:50:49 I still dont get it, still dont think web is the future of desktop, still dont want to us eit over any other linux desktop Oct 15 05:51:12 I think web is absolutely the future of desktop Oct 15 05:51:26 O.o Oct 15 05:51:41 html+css alone is RE DICULOUS to parse and render appropriately Oct 15 05:51:48 js is jsut shit for a client side logic layer Oct 15 05:51:57 but there's a massive competitive focus on it right now Oct 15 05:52:01 i want to put nodes in my nodes Oct 15 05:52:18 and then you gotta figure out html+css is hostile environment to develop desktop apps in Oct 15 05:52:22 I want my apps to look like this Oct 15 05:52:30 THIS IS THE WEB YOUR STUFF SHOULDNT TRY AND BE A DESKTOP APP Oct 15 05:52:30 and a large proportion of users *are* pretty much fully-served by a high-performance browser and not much else Oct 15 05:52:31 wtf?1 Oct 15 05:52:55 and I think we're kinda on the verge of a trend of moving shit away from the cloud a bit Oct 15 05:53:01 at least how its been presented thus far Oct 15 05:53:56 web has come a long way Oct 15 05:54:04 but even with emscripted and asm.js Oct 15 05:54:08 I dont think its tolerable Oct 15 05:54:18 and who wants to write c++ just to compile to js anyway =) Oct 15 05:55:42 i would like things to be more decentralized Oct 15 05:55:47 exactly Oct 15 05:55:56 I mean web based apps are one thing Oct 15 05:56:18 but at some point storing ALL your shit on something like googles servers is probably a really bad idea Oct 15 05:57:31 I wish someone would pay me to build a better os Oct 15 05:57:58 build one and then you get paid Oct 15 05:58:16 <^cheeky> oh oh ill be your apprecntice, ill work for free :P Oct 15 05:58:22 its hard to dedicate when I've got a full time job Oct 15 05:58:33 work would let me work on it Oct 15 05:58:36 but... Oct 15 05:58:36 I'll be your consultant ;) Oct 15 05:58:41 <^cheeky> lol Oct 15 05:59:04 basically only consultant I'd really want would be a gfx expert down the road for optimizing +) Oct 15 05:59:19 I've already got a lot of environment put together in peices Oct 15 05:59:29 just need to clean it up for general consumption Oct 15 05:59:40 I can optimize with inline assembler how to plot pixels Oct 15 06:00:06 I mean framebuffer synch, buffering, etc Oct 15 06:00:09 <^cheeky> and err i know basic programing and reading :)) Oct 15 06:00:13 haha Oct 15 06:04:10 :( tomorrow i sell the last of my killer guitar rig Oct 15 06:04:26 on to a new chapter of life , with less stuff Oct 15 06:04:30 g00s hows business? Oct 15 06:04:34 get that shit sold? Oct 15 06:04:38 the software Oct 15 06:04:40 not the guitar stuff Oct 15 06:05:03 no :( i'm working on a new release given the feedback i've received Oct 15 06:06:07 my mistake, totally my fault, is that i converted everything over to gradle / AS and its been "problematic" Oct 15 06:06:21 which has set me back a little productivity wise Oct 15 06:07:52 i'm hoping AS 0.3.0 will be a stable-ish release :) Oct 15 06:08:45 just continue with eclipse Oct 15 06:09:04 i can't. too much physical change in the code structure; require gradle now Oct 15 06:09:21 gradle is actually OK for me now; AS is more iffy Oct 15 06:09:24 I had no problems opening the same project dir in both AS or eclipse going back and forth Oct 15 06:09:50 AS just creates the .idea folder and whatnot Oct 15 06:09:54 shmooz oh; yeah - so i use variants and flavors; the main selling point of gradle (for me) Oct 15 06:10:02 does anyone know the rules for closing SQLiteDatabases? Oct 15 06:10:07 i don't see any info in the docs on that Oct 15 06:10:10 seand you don't Oct 15 06:10:13 just leave it Oct 15 06:10:29 hahha Oct 15 06:10:36 never saw a need for something like gradle Oct 15 06:10:48 and likewise, never had problem kicking out builds Oct 15 06:10:53 well i perform syncing when the list activity first starts, sometimes it can take a while and i'm trying not to block the UI Oct 15 06:11:10 so if the user goes to one of the detail pages, it doesn't load the data while it's still syncing Oct 15 06:11:31 is there a way around this? Oct 15 06:16:13 multi project builds with ant always solved the variant and flavors problem for me Oct 15 06:16:31 I don't see how that's a selling point for gradle Oct 15 06:17:09 pfn you're still using ant, right :P Oct 15 06:17:41 ant doesn't solve other problems for me Oct 15 06:17:52 and for a long time, I did use it with scala Oct 15 06:18:00 and satisfactorily Oct 15 06:18:59 i'm not sure how the existing android ant tasks would do variants; maybe i should see if anybody blogged about it Oct 15 06:19:18 you just create a stub project Oct 15 06:20:48 in fact, qicr was originally built using ant until I migrated to sbt Oct 15 06:21:01 it has lite and premium flavors Oct 15 06:21:25 although, I haven't gotten anywhere with a premium version Oct 15 06:21:48 how do you do debug/release, arch builds, and flavors with ant again? Oct 15 06:22:46 multi/library projects Oct 15 06:23:06 it's ugly, but works suitably Oct 15 06:23:20 resounding endorsement Oct 15 06:24:01 I poo on gradle Oct 15 06:24:21 the biggest problem with the Android ant build is that extending it is a mess of xml and version migration is next to impossible, only manual merging Oct 15 06:24:43 it depends on your needs... JakeWharton Oct 15 06:24:48 anyone know if there actually is an android event tomorrow? Oct 15 06:24:59 I've seen nothing scheduled anywhere Oct 15 06:25:07 just rumors and everyone says oct 14/15 Oct 15 06:25:13 gradle isn't really solving a need that hasn't been addressed by other options Oct 15 06:25:19 we'll see tomorrow Oct 15 06:25:25 not my needs, but this channel has trouble seeing anything beyond their own nose Oct 15 06:25:37 probably decided to move KitKat to halloween trick or treat, trick! Oct 15 06:26:56 man, star command is a great game Oct 15 06:27:08 they don't have enough time to rename all the places that say Key Lime Pie Oct 15 06:28:02 ron_frown: HTC have a couple of launch events for the already-launched One max... it's just about possible that Google could announce stuff without doing a physical event, as they did last year by necessity - but they're not doing a physical event this week unless they're *really* getting better about their security/secrecy Oct 15 06:28:43 in all honesty I dont think it should be a necessity Oct 15 06:28:49 dumping a shitton of money into a press event Oct 15 06:29:22 depends what it is - you're likely to get a lot more bang from a physical event if you're launching hardware Oct 15 06:29:41 I like time surfer a lot, too Oct 15 06:29:54 but that's a ripoff of little wings Oct 15 06:30:13 although to be fair, everybody relevant should be getting seeded review units under embargo nowadays anyway Oct 15 06:30:56 Little Wings or Tiny Wings? Oct 15 06:30:59 'Cause I love Tiny Wings. Oct 15 06:38:11 Nilium did you say you use oh-my-zsh ? Oct 15 06:48:32 how can I pass a serviceconnection thats established in an activity to its fragments Oct 15 06:49:09 if only one fragment, you can bind in the frag itself Oct 15 06:49:40 iactually, maybe thats even better; just have each fragment that needs the service bind to the service Oct 15 06:50:04 g00s, theres going to be multiple fragments in an activity that all require the service Oct 15 06:50:11 plus the activity itself uses the service too Oct 15 06:50:34 so I feel the better way to approach this would be for the fragments to inherit the serviceconncetion from the activity Oct 15 06:51:03 I just don't know how I should pass it Oct 15 06:51:44 i dont understand, why would they want the connection directly? Oct 15 06:51:51 is it a local service ? Oct 15 06:51:59 <^cheeky> umm tab1293, hi dont want to disturb but what exactly is your service doing ? Oct 15 06:52:17 ^cheeky, its playing music Oct 15 06:52:18 hi there, can someone here help me with my receiver problem at http://stackoverflow.com/questions/19105787/android-respond-to-url-without-activity ? Oct 15 06:53:29 all the media functions are implemented in the service via an aidl interface. I basically want all the music player activity's fragments to inherit this interface Oct 15 06:53:49 <^cheeky> tab1293: hmm ok , thank you , sorry i am trying to implement something as well just dont know if i should use a service or not Oct 15 06:54:08 g00s, does that clear up your questions? Oct 15 06:54:40 but is it your service, and local ? Oct 15 06:54:47 i just want the interface to the service without having to create a separate serviceconnection in the fragment since the activity already has it Oct 15 06:54:55 its local Oct 15 06:55:08 and yeah its mine Oct 15 07:01:07 tab1293 i looked back at my older code which did this; each fragment binded by itself Oct 15 07:01:15 teh idea was encapsulation Oct 15 07:02:03 and they used an event bus Oct 15 07:02:18 i dont think the activity had any logic at all Oct 15 07:02:45 I guess but if each fragment binds to the activity won't that leave a lot of unnecessary connections to the service? Oct 15 07:03:04 each fragment binds to the *service* Oct 15 07:03:18 how many fragments are there O.o Oct 15 07:03:25 admittedly, i only had 2 Oct 15 07:03:45 I'd say theyre maybe something close to 10 Oct 15 07:04:16 wow Oct 15 07:04:18 well then Oct 15 07:08:16 g00s, actually I don't need to use an aidl interface a binder will be fine. So i guess the better question is can I pass a binder from an activity to a fragment? Oct 15 07:09:48 hmm, i cant think of a nice way Oct 15 07:11:00 i remember the old Media player doing super weird stuff with a global "registry" (weak hashmap) of bindings Oct 15 07:11:11 i'm drawing a blank Oct 15 07:11:31 i try to avoid binding as much as possible now Oct 15 07:11:59 g00s, why do you avoid it? Oct 15 07:12:10 the async nature of binding itself is a pita Oct 15 07:12:24 makes sense if the service is in another process of course Oct 15 07:12:25 so how do you connect to services? Oct 15 07:12:41 but 99% of the time, its local; and you just get a pointer - that use case is still a pain though Oct 15 07:13:18 i dont. i just use put data in a queue and start the service; it pops the data on the queue to work on Oct 15 07:13:35 if there is state that needs to be preserved; its just a static Oct 15 07:13:35 why not just use messengers? Oct 15 07:13:44 thats overkill for in-process Oct 15 07:13:55 and messengers are kinda like, sending ints around :) Oct 15 07:14:42 sometimes, i may bind to the service, but do nothing with it Oct 15 07:14:56 then when onUnbind() is called, the service knows nobody is uing it Oct 15 07:14:58 *using it Oct 15 07:15:11 i tend to overlap intent / bind lifecycles of servic often Oct 15 07:15:25 g00s, i don't know if i agree with your logic Oct 15 07:15:33 What happens to the current Activity when the orientation is changed? Is it destroyed and recreated? (Sorry I disconnected) Oct 15 07:15:48 tab1293 thats fine/ i got my ideas from ctate when we had this discussion a long while ago Oct 15 07:16:41 in my case after you initially put data in a service via a queue if you want to modify that data passed what would you do? Oct 15 07:16:57 start the whole service over again with the new changed data? Oct 15 07:17:03 maybe then its not a queue, but a hashmap or something Oct 15 07:17:24 meh it just seems easier to use a binder or a messenger if you want it in another process Oct 15 07:17:43 oh; another process - totally different, yeah Oct 15 07:21:34 hi, i have serious problem with android emulator, i create a fullhd machine and doesn't work. i see black screen Oct 15 07:22:50 i think the google guys should have made the startup screen static like poltergeist Oct 15 07:23:13 so all us android devs - would inevitably be caught staring at static for long periods of time Oct 15 07:23:24 well not any more, i 've been using genymotion Oct 15 07:43:18 hello. can I remove a single CFLAGS argument from all the makefiles throughout the android source tree? Oct 15 07:43:35 suppose I wanted to omit the "-fno-strict-aliasing" thing and build everything without it Oct 15 07:44:03 I'm looking for some relatively straight-forward method Oct 15 07:45:19 you could use sed. Oct 15 07:46:47 if the CFLAGS are consistent enough, you could probably get away wtih setting a CFLAGS environment variable instead Oct 15 07:47:35 yeah, I was hoping that the android build system has some extra facility incorporated Oct 15 07:47:51 grepping through the makefiles, cutting out sth from them etc. is a bit of overkill Oct 15 07:48:29 by the way, I'm curious what one part of the source is supposed to achieve Oct 15 07:48:55 hello, is noone with broadcastreceiver experience here? Oct 15 07:49:02 Sensor.cpp sqrt_approx() Oct 15 07:49:30 why would u want to do sth like: int32_t r_i = *(int32_t*)(&r); where r is the function parameter of type float Oct 15 07:50:12 can't we dispense with the pointer and dereference here, and simply go for regular non-pointer type conversion? Oct 15 07:53:37 cbergmann, what's the wuestion? Oct 15 08:17:20 mornin puny android people Oct 15 08:18:56 Mavrik: got in posession of some fancy 0day by any chance? Oct 15 08:21:58 what. Oct 15 08:27:25 Hi there! Oct 15 08:27:59 Is it possible to set/delete the unlock pattern via the device admin API? Oct 15 08:29:36 hi, does anyone know if it is possible to have a GridLayout align all its children centered? ive tried everything but ended up using linearlayouts Oct 15 08:29:45 yet i dont like that soluation so much Oct 15 08:30:14 align children in what way? Oct 15 08:32:32 for example like this (assuming 4 buttons in the first row) [ [][][][] ] and not like [[][][][] ] Oct 15 08:33:40 hmm Oct 15 08:34:39 ktwo: android:gravity="center" Oct 15 08:36:04 ktwo: or android:layout_gravity="center" Oct 15 08:36:55 for some reason this doesnt work for me also consider that ive streched thegridlayout over the screen Oct 15 08:41:29 i need some help with sending sms using Intent Oct 15 08:42:58 is anyone here? Oct 15 08:45:22 marcus697: lots of people here, but it helps to ask a question Oct 15 08:46:45 marcus697: And if you want it to work on KitKat, read up on http://android-developers.blogspot.no/2013/10/getting-your-sms-apps-ready-for-kitkat.html Oct 15 08:51:07 does that mean that my app won't be able to send sms using SmsManager in 4.4? Oct 15 08:53:01 My main question is regarding exit_on_sent. I can't get to work along with sms_body. Oct 15 08:53:09 I need some help here with a specific thing. Im trying to use a intent to start the camera application and when its gets a picture it returns the thumbnail. However the camera on my phone never returns Result.OK Oct 15 08:53:24 Possibly, unless user sets your app to the default SMS app. Then everything should work regardless. But I haven't dug into all the details myself yet. Oct 15 08:54:06 note that 4.4 compliance is unlikely to be a major issue for quite a while Oct 15 08:55:48 Thing is that my code works on Samsung device and its camera app when the user takes a photo and then presses OK. However the camera on Sony Xperia does not have a OK button but terminates the app as soon as you take a photo. Oct 15 08:55:53 code that I use = http://paste.kde.org/pafdb2488 Oct 15 08:56:50 unless there's some radical de-fragmentation stuff announced alongside 4.4, anyway Oct 15 08:58:39 thepoosh, I want to receive clicks on urls with a special scheme in the browser without a activity to seperate View and controller. Details can be found on stackoverflow: http://stackoverflow.com/questions/19105787/android-respond-to-url-without-activity Oct 15 08:59:21 yes but it means that once 4.4 comes out, my app might stop working. I'm not building an sms app, just allowing users to invite a few of their contacts via sms Oct 15 09:00:04 In any case, does anyone have experience with exit_on_sent? Oct 15 09:02:49 TextView.getWidth() is giving me 0 in my onCreate method. I'm trying to set a limit on the length of the TextView depending on the view's size. Oct 15 09:03:28 cd #linuxmint Oct 15 09:03:42 Even better would be if the text size decreased before the text leaves the TextView. Oct 15 09:03:49 I don't know how that could be done. Oct 15 09:04:05 derp Oct 15 09:17:02 hi, I tried to ask a question in the android-developers group but it seems to be hanging in moderation. does anyone know how long it usually takes for questions to be approved by moderators? Oct 15 09:21:33 otherwise, if anyone around here has experience with Bluetooth, I'm trying to find out when wakelocks are required. Oct 15 09:24:53 JanSch_, mine never came through Oct 15 09:25:10 wakelocks are usually required if you're doing stuff while phone screen is off Oct 15 09:26:01 Mavrik: I know. However, for some situations, wakelocks are impractical, and it *seems* to work without them in practice, at least on some devices. Oct 15 09:26:36 that's just your luck Oct 15 09:26:45 either the driver took wakelock (which is luck) Oct 15 09:26:57 or the OS is doing something and CPU didn't go to deep sleep (which is also luck) Oct 15 09:27:03 Mavrik: I'm constantly listening for bluetooth connections, i.e. if I were to keep a wakelock for that, it would be a 24/7 wakelock, i.e. the app would be totally unusable. it seems that incomming connections wake up the phone. Oct 15 09:27:33 JanSch_, yes, but afterwards it's up to you to keep the phone running Oct 15 09:27:39 same with other intents and location services Oct 15 09:28:11 Uh, how can I get the year, month and date out of a Time object easily? This type of object http://developer.android.com/reference/android/text/format/Time.html Oct 15 09:28:29 I know I can use format, but I need them as Integers to give to a DatePickerDialog Oct 15 09:29:18 flexd, em, the doc says time.year should work? Oct 15 09:29:22 I am trying to do this now, https://gist.github.com/flexd/701178f952145299bc6a Oct 15 09:29:39 Mavrik: Doesn't the doc say that time.year is a static int defined to 6 or something silly? Oct 15 09:29:43 I'm fairly certain I tried that. Oct 15 09:29:57 public int year Year. Oct 15 09:30:04 lowercase, not uppercase :) Oct 15 09:30:11 see Fields not constants Oct 15 09:30:26 Mavrik: incoming BT connections are no intents, it's a thread blocking on socket.accept(). so the best thing I could do, would be acquiring a wakelock just after that returned - and the device could theoretically fall asleep between the return of accept() and my wakelock. so there seems to be no clean way to do it anyways. Oct 15 09:30:30 According to Eclipse anyway, https://gist.github.com/flexd/701178f952145299bc6a Oct 15 09:30:32 err Oct 15 09:30:46 Mavrik: this is why I suspect that wakelocks might be automatically acquired. Oct 15 09:30:52 Mavrik: Aha.. In eclipse they are reversed :-P Oct 15 09:31:00 the .year gives me the info for YEAR and the other way around Oct 15 09:31:29 JanSch_, hmm, I'm just afraid you're relying too much on manufacturers drivers Oct 15 09:31:55 Mavrik: I suspect that, too, but I'm not sure if there even is a better solution. Oct 15 09:32:12 mhm, I guess that's what BLE is trying to fix Oct 15 09:33:53 JanSch_, yeah, it seems official examples don't take WakeLock either when waiting for connection Oct 15 09:36:24 Are there any default android icons available? Like + for adding items to a list and stuff Oct 15 09:36:40 Mavrik: and then the question is whether wakelocks are automatically held for as long as the connection persists - and if not, where to correctly acquire them to avoid the "sleep before wakelock" problem. Oct 15 09:36:45 I'm okay with downloading some images too, I just figured lots of apps have the same style so they are probably in here somewhere? Oct 15 09:37:05 flexd, i use this a lot http://android-ui-utils.googlecode.com/hg/asset-studio/dist/icons-launcher.html Oct 15 09:37:18 http://android-ui-utils.googlecode.com/hg/asset-studio/dist/icons-actionbar.html Oct 15 09:37:31 flexd: yes, there is an official icon pack. you are supposed to copy them into your app afaik in oder to ensure they work everywhere Oct 15 09:38:22 JanSch_: Alright cool, got em :-) Oct 15 09:38:52 Mavrik: I'll try to get a set of as many diverse phones as possible together today and test them while in standby, and then again while connected to power with the screen kept on. that way, I might at least get some "works most of the time" information. Oct 15 09:39:01 mhm Oct 15 09:39:01 flexd: http://developer.android.com/design/downloads/index.html is the URL for the ones I meant. Oct 15 09:39:14 JanSch_, I'd grab wakelock right after receiving connection and releasing it after disconnecting Oct 15 09:39:21 since I presume you need the CPU to run to do stuff :) Oct 15 09:39:36 that is after socket.connect() and disconnect Oct 15 09:39:44 accept() not connect() Oct 15 09:40:36 When I change my device's orientation, the text in the TextView is removed. How do I save it's contents on orientation change? Oct 15 09:41:28 Mavrik: yup, I'm considering to do just that (for outgoing connections, for incoming i'll have to see, probably in the loop that creates them). Oct 15 09:41:33 Oh and what's the meaning of the Heap Size in Eclipse ADT? Oct 15 09:41:47 Cyph0n: check documentation on OnSavedInstanceState Oct 15 09:41:52 Mavrik: incoming <--> outgoing Oct 15 09:41:55 bt: Thanks Oct 15 09:41:55 JanSch_, yeah in the loop… accept() blocks until you receive a connection, so I'd grab wakelock right after that Oct 15 09:47:04 I'm writing a web app that needs to open an iCal feed for importing using the standard "Choose an action" mechanism. Example: http://calevent.herokuapp.com. Works on iOS, doesn't on my SIII (instead just downloads the file). Dumped the manifest of the SIII calendar app here: https://gist.github.com/protomouse/1bf8d2d7961234baf38f#file-androidmanifest-xml-L142 Oct 15 09:50:33 hmm, I see now that android.intent.category.BROWSABLE is not set there Oct 15 09:54:27 Uh, has anyone experienced onClick handlers not working? Oct 15 09:55:22 https://gist.github.com/flexd/1ba1db3eb497e8ff197d This isn't working at all.. but identical code works for another button :/ Oct 15 10:00:20 aha Oct 15 10:00:25 I have two buttons identical on top of each other Oct 15 10:00:27 what the hell Oct 15 10:04:23 Hi Oct 15 10:04:32 I am new on android Oct 15 10:05:29 I have a code with a comparator to sort some data. Oct 15 10:06:03 but I can not find out, how I can start the class Sort Oct 15 10:06:06 http://pastebin.com/NBsLBi5a Oct 15 10:06:52 I know I can not see System.out.println(); in android, I changed it to Log.e Oct 15 10:07:19 Do you have a base activity that you launch on Application start? Oct 15 10:07:24 but nothing happens when I start the activity Oct 15 10:07:39 dot8: You are missing quite a bit of stuff needed there, have you looked at a beginners android tutorial? Oct 15 10:08:00 Basically you are missing everything that is android specific to create windows and such. Oct 15 10:08:29 Go run through the tutorials, and extract pretty much all of that logic into a standard class that doesn't extend Activity. Oct 15 10:08:47 And get rid of main(). put all that jazz in the constructor. Oct 15 10:09:16 ok I had add onCreate(Bundle savedInstanceState) Oct 15 10:10:10 ok, I will try it Oct 15 10:21:39 hey guys i am using ActionBarSherlock library in my fragments.I want to pre populate the search results when user clicks on search view at ActionBar using setQuery("test",true) method.This m ethod works fine and shows the results but i can't see the search text in the search view.Any idea how i can display the text in the search view? Oct 15 10:31:36 meh Oct 15 10:31:44 why doesn't alogcat work on 4.1+ :E Oct 15 10:39:29 Because you can't read the logs of other apps Oct 15 10:39:32 anymore Oct 15 10:43:15 I've got a REST API that my Android app posts data to. Is there an effective way of establishing that the data sent to the REST API was sent by the Android app and not by something else? Oct 15 10:45:39 SimonVT, that sucks Oct 15 11:03:09 Hello, any multi plattform people here ? Or can anyone point me towards the fools who develop for iOS :D = Oct 15 11:05:02 I develop for iOS, and i lurk in here when i find myself unfortunate enough to be assigned to do android work :P Oct 15 11:05:07 but you can also get help in #iphonedev Oct 15 11:05:21 im just curious, theres this thing called intent on android. what is it called on iOS Oct 15 11:05:38 To start an activity or service or something? No such thing Oct 15 11:06:04 you sure? Because my developers said that such a thing exists at least in some form Oct 15 11:06:21 What are you trying to accomplish? Oct 15 11:06:52 We have 2 different deliverers for 2 different apps, on android we can use intent to let the second App be called from the first Oct 15 11:07:01 so our problem is currently how the process would be Oct 15 11:07:38 What's a common, good way to load all the images from an album into a GridView? We're currently loading them in through a Queue when they're being shown...although there are problems with that Oct 15 11:07:50 Aah Oct 15 11:07:57 well, what do you have to pass from one app to the next? Oct 15 11:08:18 If it's just strings or data, you could just do URL-schemes, otherwise you have to do this other thing that they have, but I forget how it works Oct 15 11:08:20 simply has to open,no imformation has to be transferred Oct 15 11:08:36 ah well then just make a url scheme for your app Oct 15 11:08:46 yes Oct 15 11:08:57 now I need to know how long such a "thing" would take to implement Oct 15 11:09:09 because I dont want our devs to fuck us over :P Oct 15 11:09:51 Like 10 minutes; maaaybe 30 or so if you need to look up the documentation; and then a little bit for testing Oct 15 11:10:06 mind you, this is -just- implementing the url scheme that will make the app -open- and nothing else Oct 15 11:10:27 its literally putting a string into a settings file Oct 15 11:10:28 yes thats all we need and want Oct 15 11:10:32 so Oct 15 11:12:47 how do I translate a uid, such as 1000, into a username on android? Oct 15 11:12:58 no fancy tools on board Oct 15 11:13:39 optionally, the reverse manouver Oct 15 11:38:22 What do you guys use for QA ? Im currently in the process of getting Testlink to work with Mantis, but Testlink wont work nice with our server Oct 15 11:40:22 if my app is using GCM, I need to register its package name with the GCM service - is it possible to change the google account to which that app is registered later on? Oct 15 12:25:01 what's up with 4.4 only allowing the current default sms app to write to the content provider, anybody know what the motivation is behind that? the android dev blog post on the subject didn't mention why Oct 15 12:27:22 as thepoosh went offline. maybe someone other can help me, I want to receive clicks on urls with a special scheme in the browser without a activity to seperate View and controller. Details can be found on stackoverflow: http://stackoverflow.com/questions/19105787/android-respond-to-url-without-activity Oct 15 13:24:56 is it just my setup or does ADT's graphical layout editor not work so well with spinners ? Oct 15 13:27:43 ie, it doesn't seem to lay them out properly in the graphical editor Oct 15 13:34:38 hi guys I would like to user record a video and then it will be uploaded automaticly. Should i created some temp file , upload it and delete it afterwrards? Oct 15 13:37:26 I doubt there's another way to do it :) Oct 15 13:37:45 live stream the frames you can catch, drop the rest :P Oct 15 13:40:57 ok and where should I upload it? I am doing one little project for one professor and I guess not sure yet, that he will want his student to record some diary for some reserach. What i though was either to use personal dropbox, but could this lead to security issue? or some youtube private channel? Oct 15 13:42:28 i guess thats up to you Oct 15 13:46:02 wel it seems that uploading to dropbox could lead to security issue because once you decompile the code you would be able to get my API keys Oct 15 13:46:30 on the other hand using youtube would require to login in which is not that bad i guess Oct 15 14:34:18 anyone here heard of a job profile called "configuration management"? Oct 15 14:35:55 i have a table layout Oct 15 14:36:02 i would like to have it be part of a vew Oct 15 14:36:04 programatically Oct 15 14:41:23 im tying to add the tablelayout to a view so that i can pass this view to a viewpagerAdapter Oct 15 14:43:11 Im developing my first game and have stumbled upon some "conceptual" problems. The game is turnbased and has two players. One defending and one attacking. In the beginning of the game a coin is flipped and the attacking player is determined. I do this with this method. Thoughts? https://gist.github.com/anonymous/11d5f45eb22cb1bd39fc Oct 15 14:43:43 Secondly, after each turn I need to switch players so the defending player becomes the attacking and vice versa. I do this in this method https://gist.github.com/anonymous/ebc455957d8fdbec1ca5 . thoughts? Oct 15 15:00:37 lite_: it doesn't get much prettier than that, probably. Oct 15 15:00:50 hi, i'm using achartengine... is there some other library? Oct 15 15:00:53 I can imagine it would help if you built a small class managing the player. Oct 15 15:00:56 players Oct 15 15:01:47 Let's call it PlayerManager, and it would have getAttackingPlayer() and getDefendingPlayer() and switchTurns() or something... that way you leave the juggling to the class and you'll get better grammar in your game logic. Oct 15 15:02:32 But the swapping stuff is just how it is... unless you use a commons library for it, but that will pretty much do the same under the hood. Oct 15 15:15:16 TheTrash: alright Oct 15 15:15:31 so far ive got my Game class handling the switching of players Oct 15 15:18:08 Ok... be careful it doesn't become a "god class" :) Oct 15 15:18:53 aye Oct 15 15:19:06 just felt like it made sense for it to know whose turn it was Oct 15 15:20:23 It does... but it doesn't have to manage the players itself, was my point. Oct 15 15:21:09 true Oct 15 15:21:46 Hey, where I'm doing getFragmentManager().beginTransaction().replace(........).commit(); - my fragment is displaying on top of the existing display (I can see the previous contents behind it) - what would be the cause of this? Oct 15 15:36:32 can you not put an svg file into the drawable-* directory and use it instead of having to convert it to a png or something? Oct 15 15:44:33 no Oct 15 15:44:48 PhonicUK, you have an existing display you need to remove then Oct 15 15:46:10 pfn, the existing display is from a setContentView - can I just setContentView(null) to get rid of it? Oct 15 15:46:37 no Oct 15 15:47:02 why are you mixing fragments with replacing your content view? Oct 15 15:47:36 using fragments extensively, the content view is mostly strategically layed out containers for fragments Oct 15 15:48:02 the fragment extends PreferenceFragment, on account of the PreferenceActivity being effectively deprecated Oct 15 15:48:31 use a fragment transaction to remove a fragment form a container Oct 15 15:48:41 effectively? Oct 15 15:48:46 like it doesn't say deprecated? Oct 15 15:49:31 PreferenceActivity isn't deprecated, but addPreferencesFromResource is (when using an activity instead of a fragment) Oct 15 15:50:26 in any case, I usually just add/replace my fragments into android.R.id.content Oct 15 15:50:31 if I'm not using appcompat Oct 15 15:50:52 thats what I'm doing in this case Oct 15 15:50:59 don't setContentView to begin with Oct 15 15:51:24 but then my current activity won't have any UI Oct 15 15:51:39 owait, yes it does Oct 15 15:52:30 okay I'm no longer calling setContentView but I have the same problem Oct 15 15:53:05 this is probably a really easy question and if I had read the entire wiki im sure it would be answered but being that I haven't yet made it through everything I am asking instead... I want to create a program (once I learn how) that will have a number of buttons and each button will bring up a page that will display categorical information... for the sake of an example lets say button #1 brings up fruit and under fruit t Oct 15 15:53:05 here would be a list of differnt fruits ... apply, orange, banana, etc .... when one of these is selected a page/screen will be desplayed much like a web page and will have information on an apple along with a picture and maybe a video of an apple. With all that said is there a fast way to update this program to add more fruits to the list sort of like adding another page to a wiki article or do I have to go in and crea Oct 15 15:53:09 te the new page in java or what ever ... I know some things can be done in XML is this one of those things that would be a good use of it? part of the program will be the ability of the end user to add items of there own to the program... is this doable the way I am thinking or will it require a database program running and all sorts of other craziness? Oct 15 15:53:28 pfn, http://pastebin.com/YcaDcF9T Oct 15 15:57:21 donavan01: sounds fine, you'll need a database if you want to store data Oct 15 15:57:33 layouts are done in xml Oct 15 15:57:58 manipulating, defining the way the layout behaves is what the code does Oct 15 16:04:55 Hi guys! Im learning android and I have some doubts about storing files Oct 15 16:05:33 I have the SD storage, which I can save stuff but people can access it using a file explorer. Is that right? Oct 15 16:05:56 SidGBF: Android doesn't support removeable SD cards in the SDK Oct 15 16:06:24 There's no way to use the SDK to save stuff to a removable SD card Oct 15 16:06:29 Yes, external storage is readable for everyone Oct 15 16:08:34 although, many apps just parse "mount" for the path to a removable SD card if it exists Oct 15 16:10:46 i can't seem to find the v8 support library Oct 15 16:11:10 hi, does anyone have any recommendations for "to the point" books on Android development? The books I've come across thus far feel more like books on html or css rather than programming. Oct 15 16:11:35 v8 support lib? What's that? Oct 15 16:11:42 SimonVT: Ok, and, is it possible to download stuff to an internal storage? Oct 15 16:11:51 Yep Oct 15 16:12:23 https://developer.android.com/guide/topics/data/data-storage.html#filesInternal Oct 15 16:12:24 the path to internal storage will be, drumroll please, /sdcard :-) Oct 15 16:12:57 O.o Oct 15 16:13:18 Pay no attention to nseidm1, he's confused Oct 15 16:13:20 SidGBF, there's no way of storing data such that the user can't access it of their own accord though Oct 15 16:13:31 short of encrypting it so that it's no use to them outside of your app Oct 15 16:14:25 is it possible to use javascript to create an android app that taps into hardware features? Oct 15 16:14:34 eindoofus: yes Oct 15 16:14:44 See, Im just trying to get the logic about how it works Oct 15 16:14:55 eindoofus, depends what kind of hardware features Oct 15 16:14:57 nseidm1, nice:). do you know where i could find documentation on that? Oct 15 16:15:17 eindoofus: PhoneGap, don't do it though, donttttttt dooooo ittttt, it's the dark side Oct 15 16:15:21 things like volume controls and network communication Oct 15 16:15:24 cause internal storage is actually sd card, then Im wondering what happens with mobiles that have an sd card on it (like a tabled with additional sd card) Oct 15 16:15:35 nseidm1, lol. why the dark side? Oct 15 16:15:58 eindoofus, not without using something like PhoneGap which exposes the APIs via javascript Oct 15 16:16:07 eindoofus: because, do you want to make an Android app, or a website Oct 15 16:16:11 just via vanilla javascript like you'd get in the browser, no Oct 15 16:16:58 nseidm1, well, i wouldn't mind mind making a website if i can still tap into the hardware Oct 15 16:17:00 SidGBF: removable SDs get different mount points depending on the manufacturer, sometimes /mnt/extSdCard, etc... Oct 15 16:17:05 Now, Im making a list of tweets, Im saving the user images locally (external storage) to make it faster. But it actually takes a long time to load. Any special reason can cause it? Oct 15 16:17:27 hi guys, anyone know how to put border in your activity without putting borders in every single activity? aka DRY? Oct 15 16:17:30 nseidm1, i would imagine it would also be easier to transfer to another platform if needed too Oct 15 16:17:35 SidGBF: No.. Internal storage is not your sd card.. It's basically the data/ partition Oct 15 16:17:41 It's not available to the user Oct 15 16:18:04 External storage is what the user can see when they plug their device into their computer.. It might be an sd card, and thus removable, and it might not be Oct 15 16:18:22 if I go the phonegap route should I still read this?: https://developer.android.com/training/index.html Oct 15 16:18:23 SimonVT: Ok :) Oct 15 16:18:43 or (as a newb) should I jump straight into phonegap? Oct 15 16:18:46 I havent seen getExternalStorageDirectory() return a removable SD card since Gingerbread Oct 15 16:18:59 There's a security model on the internal storage that ensures no other apps can access your data Oct 15 16:19:00 eindoofus, learn to do it properly if you want to make android apps Oct 15 16:19:04 I guess it still is the decision of the manufacturer though Oct 15 16:19:07 On external storage everything is readable to everyone Oct 15 16:19:26 With root, the security model on internal storage is gone.. But that's the users problem Oct 15 16:19:28 eindoofus: I think so... It's good to use frameworks, but it's always better know how to make things by yourself... Oct 15 16:19:42 You wouldn't save data on the device you wouldn't want the user to see Oct 15 16:20:25 if i have sorting by distance in a listview, but i can't sort right away because i don't know the distances until it's connected, what's the best way to handle that? Oct 15 16:20:30 SimonVT: Well, if the user is rooted, it's not my problem Oct 15 16:20:51 indeed Oct 15 16:21:07 When deciding where to save your data, ask yourself if it matters that the data might not always be available Oct 15 16:21:22 You essentially have two SDK methods for file storage. Context.getFilesDir(), and Environment.getExternalStorageDirectory() Oct 15 16:21:57 And whether other apps should, potentially, be allowed to access it Oct 15 16:22:17 e.g. with an image cache it doesn't really matter.. Just pull the images from the network again Oct 15 16:23:37 Is there any tool in eclipse to profile and find out what's taking time in my app? Oct 15 16:24:00 SimonVT: i was referring to the one mentioned here: http://android-developers.blogspot.com/2013/09/renderscript-in-android-support-library.html Oct 15 16:24:09 android.support.v8.renderscript Oct 15 16:24:53 SidGBF : as in time blocking the main thread? Just use System.currentTimeMillis() and use Log printouts using conversion to time conventional units as desired. Oct 15 16:25:19 tnzr: Huh, never seen that one before Oct 15 16:27:17 nseidm1: Some are indeed blocking the main thread, but some times all tweets appear and then, a time after, all the images are loaded at once Oct 15 16:27:19 tnzr, "Note: Use of RenderScript with the support library is supported with the Android Eclipse plugin and Ant build tools. It is not currently supported with Android Studio or Gradle-based builds." Oct 15 16:27:31 Sounds like it's not simply a jar in the sdk Oct 15 16:27:44 hmm I see Oct 15 16:28:51 tnzr: http://developer.android.com/guide/topics/renderscript/compute.html#access-rs-apis Oct 15 16:29:11 "renderscript.support.mode=true" .. yeah, not a jar Oct 15 16:29:34 ahh i see Oct 15 16:29:43 so if I enable that, I can then import android.support.v8.renderscript? Oct 15 16:30:07 Sounds like it's a compiler flag or something Oct 15 16:30:20 Heya folks, is it possible to create a mp3 decoding player with a bufferqueue input and output, I have ouput working fine with a URI input but switching to a BufferQueue crashes the program. Oct 15 16:30:20 I assume so, if you're using eclipse Oct 15 16:30:29 ok cool Oct 15 16:30:30 Never used renderscript Oct 15 16:30:37 thanks Simon Oct 15 16:31:25 what to make of the renderScript examples then in gradle-examples-0.5 Oct 15 16:31:48 is it /with the support library/ thats the issue ? Oct 15 16:38:04 how do I start an activity from Handler.Callback? Logcat says "Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?" [is that the right way to fix it or is there a better method?] Oct 15 16:38:32 SimonVT: ahh ok.. its in the build-tools/18.1.1/renderscript/lib/renderscript-v8.jar (that's what android.support.v8.renderscript refers to) Oct 15 16:39:33 spinningarrow, if you're starting an activity from outside of an activity, then you must do as it says Oct 15 16:39:43 that's the most straightforward kind of error you can get Oct 15 16:40:01 perhaps you should think about using your activity context for starting the activity, if that's what you really want Oct 15 16:41:16 pfn: what do you mean by "using your activity context for starting the activity"? I'm using an activity context in the Handler.Callback's handleMessage method but it's still showing the error Oct 15 16:41:45 is there a way to know when the handleMessage method was executed and then do stuff outside it? Oct 15 16:43:07 what would be the best way to implement sorting by distance in a listview? wait until LocationClient is connected to calculate distances before sorting/displaying the items? Oct 15 16:59:51 seand: that's what I'd do. Maybe have a timeout for LocationClient, and if that expires, don't sort the list (it's annoying to have ListView items jump around) Oct 15 17:00:44 evanc: oh i didn't know i could have a timeout for LocationClient, nice. i'll give that a try, thanks Oct 15 17:01:10 evanc: i actually already have listview items jumping around (unfortuantely) because when the app starts i sync with google drive Oct 15 17:01:14 spinningarrow, it has nothing to do with when Oct 15 17:01:26 i don't know another way to do that, because syncing can take a long time Oct 15 17:02:26 pfn: no I know that. what I meant was that if I can know when handleMessage was called, then I can use that information from inside an activity to start a new one Oct 15 17:02:31 spinningarrow, its because your context is not an activity Oct 15 17:02:35 evanc: would you still wait in that case? just show a spinning graphic until it's completely finished or something? Oct 15 17:02:47 spinningarrow, call back Oct 15 17:03:58 seand: I'd show a spinner for N milliseconds, waiting for a location. If a location is returned before N, sort and show the list. After N milliseconds, show the unsorted list. Oct 15 17:04:29 how can I add views to a layout when I run an Async? Oct 15 17:04:36 N would need to be relatively small, to keep the user from having to wait to use the app. Maybe in the timeout case, you could sort the list based on the user's last known location Oct 15 17:04:40 wuppy21_: onPostExecute Oct 15 17:05:05 Or just show based on last known location until a new location is received Oct 15 17:05:11 evanc: no i was referring to waiting until sync to drive is completely finished Oct 15 17:05:28 evanc: i understood your point about the location, i'll implement that Oct 15 17:06:13 seand: If there's too much going on (as in, too many items jumping around way too often), then throttle the updates Oct 15 17:06:32 (the updates to the ui) Oct 15 17:07:09 SimonVT: it only updates after sync, it doesn't update the list during the sync Oct 15 17:07:51 Ah, that's fine then Oct 15 17:08:11 Don't let the user wait until sync is complete Oct 15 17:08:26 okay Oct 15 17:08:52 Because it might never, or it might just take a very long time Oct 15 17:09:53 SimonVT: what about opening a detail activity? currently it doesn't display any details while it's syncing, i think because the sync process uses a writable SQLiteDatabase and it blocks the detail activity load task Oct 15 17:10:20 is there any way to remedy that? Oct 15 17:12:17 If it can't load while you have a writable sqlitedatabase, then you should probably shouldn't keep it for the entirety of the sync Oct 15 17:12:41 Bundle up some db operations, then apply them Oct 15 17:12:52 then call db.close() ? Oct 15 17:13:02 Basically, make sure the ui isn't affected by what you do in the background Oct 15 17:13:11 Taking a second or two to load is no big deal Oct 15 17:13:20 If it takes minutes, that's bad Oct 15 17:13:30 yea that's the goal, i just don't know how to release the lock on the db Oct 15 17:14:09 I'm not sure how it works exactly, but should be fairly easy to figure out I'd imagine Oct 15 17:14:28 Get writeable database, sleep for a minute, let something else query the database Oct 15 17:14:31 See how long it takes Oct 15 17:15:03 i'll search around Oct 15 17:15:06 thanks SimonVT and evanc Oct 15 17:21:45 Hey guys, I'm trying to tap into the hardware decoder (for h.264) on my Galaxy S4. Basically, I take an RTSP stream via the MediaPlayer class, and I want to decode that via the HW decoder. It doesnt seem like the MediaPlayer does anything with HW. Any tips? I'm new, so I apologize. Oct 15 17:22:43 why would it seem that way? Oct 15 17:23:02 whether or not it uses hw should be transparent Oct 15 17:23:26 pfn: I agree. Oct 15 17:23:39 pfn: For example, a 1080p RTSP stream is going at about 8fps Oct 15 17:23:56 as opposed to a youtube 1080p stream going at 30fps Oct 15 17:24:15 (not claiming that youtube uses rtsp or the MediaPlayer class) Oct 15 17:24:39 or bandwidth, what's the bitrate of said stream? Oct 15 17:25:12 since I'm pipping it from inside my LAN, I'd say it's ideal. Oct 15 17:25:57 piping * Oct 15 17:27:09 I dunno, sometimes I have a tough time getting over 10mbps Oct 15 17:27:35 ah ok. I'm pretty new to video Oct 15 17:27:40 Try copying it locally and playing first Oct 15 17:28:36 if it's still slow, then look at player options Oct 15 17:28:59 It plays fine locally. Oct 15 17:29:03 ie - not via RTSP Oct 15 17:29:20 and I'm pretty new the world of video so I'm not what my bitrate is. I assume the higher the better. Oct 15 17:29:28 so it's not a hw acceleration issue Oct 15 17:30:15 ah right. I should have deduced that. Oct 15 17:33:08 I'm curious if when using the rtsp features of the MediaPlayer, if it cannot do the HW decoding Oct 15 17:33:57 still doubtful Oct 15 17:34:00 what's the bitrate Oct 15 17:34:15 even getting 8fps without acceleration sounds doubtful Oct 15 17:35:01 pfn: It's 8fps with sometimes 1 second inbetween frames. Since it's RTSP, it keeps playing, skipping frames. Oct 15 17:35:32 pfn: I'm sure what my bitrate is. How important is that? If it means anything, I can play the same rtsp stream in VLC on a computer and get fill fps. Oct 15 17:39:13 it's a computer... Oct 15 17:39:17 and of course it's important Oct 15 17:39:27 if you're shoving 20mbps, then of course it'll run like shit Oct 15 17:43:15 good android dev book, beginner or intermediate, Java background required. Oct 15 17:43:17 youtube you can lock it and make it accessable via specific url on;y Oct 15 17:43:20 any titles? Oct 15 17:43:33 oh jeez scroll failure Oct 15 17:43:37 noooo I lose internet. pfn, is there public logs for this channel? Oct 15 17:43:44 (not sure if you replied) Oct 15 17:43:46 ost* Oct 15 17:43:48 lost** Oct 15 17:43:57 Hi everyone :) , Oct 15 17:44:01 I have "Learn Android Dev" in mind, but it focuses a lot on video and audio Oct 15 17:44:09 Hey Mezo40 Oct 15 17:45:22 I am a C# developer , and i want to start developing for android , is there any to develop for it using C# (ofcourse without using Mono :) ) ? , if no , what is the best IDE for developing for Android ? Oct 15 17:45:32 *any way Oct 15 17:47:26 Why do I have two build.gradle files? One in the project root, and one in the module root https://github.com/bricker/KPCC-Android Oct 15 17:47:32 ac_slater, of course bitrate is important, it is always important Oct 15 17:47:33 Mezo40: http://developer.android.com/sdk/index.html, or http://developer.android.com/sdk/installing/studio.html Oct 15 17:47:36 Oh I see Oct 15 17:47:44 it explains it in the file Oct 15 17:48:09 I guess a single android project may have several modules or sub-projects Oct 15 17:48:39 nseidm1 : Yes , i know about them , but they are based on Java :) Oct 15 17:48:50 yes, Android apps are written in Java Oct 15 17:49:14 or Scala Oct 15 17:52:04 nseidm1 , hm , then no native C# support :( , anyway , i will see Oct 15 17:52:26 correct you cannot write an Android app in C# and have it be a well written product Oct 15 17:52:54 your investigation will head down the road of Mono and other cross platform type products Oct 15 17:53:06 and we all know how well those apps work out Oct 15 17:53:28 well, MonoDroid etc. isn't exactly "cross platform" Oct 15 17:53:29 :) Oct 15 17:53:38 or Xmarian Oct 15 17:53:39 you still have to program with Android APIs Oct 15 17:54:05 anyway , i will go with java , i don't think that java is very hard Oct 15 17:54:35 very comparable to C# in countless regards Oct 15 17:54:41 with MonoDroid there's essentially mono running as native library Oct 15 17:55:00 nseidm1: maybe with C# 1.0 (and even that was, IMO, an improvement at least in tooling) Oct 15 17:55:51 what about C++ ?!! Oct 15 17:56:59 Mezo40: the same, except unlike MonoDroid you don't get ready-made integration with Android APIs. And it's C++, which is a big minus in itself :P Oct 15 17:57:56 anyway, then it is java Oct 15 17:59:02 How do I develop apps on the Nexus 7 Tablet 2012? I only see instructions for Windows, Mac, Linux Oct 15 17:59:25 ShawnRisk: AIDE Oct 15 17:59:39 not gonna work out so well for a full blown app from scratch Oct 15 17:59:57 pfn: So I'm getting 24Mbit/s on my stream on my computer via VLC. When on android (using MediaPlayer classes), I cant tell why it's not receiving at that bitrate. Idk.. maybe I need to learn more about video. I assumed if I serve it up at proper speeds and the network isnt an issue, then the player should act appropriately. Oct 15 18:00:30 nseidm1: AIDE? Oct 15 18:01:58 I'm sure I'm being dense, but being passed an Activity, what's the easiest way to tell if it's visible? Oct 15 18:03:06 nseidm1: oh I see but what if I want full blown app from scratch? Oct 15 18:03:34 ShawnRisk: Then Eclipse or Android Studio Oct 15 18:04:36 ScottishPig: you're probably handling multi threading, keep a public boolean mIsPaused, or something. Also check if the context is null! Oct 15 18:05:21 nseidm1: Obvious enough answer. Thanks! Oct 15 18:06:08 nseidm1: are they available for Android as apps or need a laptop? Oct 15 18:07:04 no, you can't use laptop apps on a tablet Oct 15 18:07:09 AIDE will work nicely though Oct 15 18:08:48 nseidm1: I know that I meant are they available for use on android Oct 15 18:10:18 Eclipse and Android Studio are NOT available on Android they are computer desktop applications Oct 15 18:11:18 if I'm not answering your question please ask more clearly Oct 15 18:13:24 Okay sorry Oct 15 18:13:59 no worries, in the end It's a choice between Eclipse and IntelliJ Oct 15 18:15:38 * ScottishPig uses Emacs and a build script. Oct 15 18:15:58 What could be causing this class to be missing? NoClassDefFoundError: android.support.v4.app.NavUtils The app compiles fine, but throws that error when the NavUtils is needed in the actual app Oct 15 18:18:19 If it's not in the build path, and only in the Android library tab, that'll happen. Oct 15 18:19:25 waht's the basic convention to schedule removal of a view in some number of seconds? Oct 15 18:19:35 nseidm1: ah Oct 15 18:19:38 i have a linear layout with two views in it, I want the lower view to be above the upper view on the z-axis... as I understand the z-index is determined by the order of the elements in the xml file, however this changes the visual order of the views as well... how to solve this? Oct 15 18:19:39 like I get an event i'm listening for, and 3 seconds later I want a view to disappear.. would I use a future task or something? Oct 15 18:19:57 TimerTask? Oct 15 18:20:01 nseidm1: which sdk do I download? Oct 15 18:20:36 neither, use a complete package Oct 15 18:20:36 http://developer.android.com/sdk/index.html, or http://developer.android.com/sdk/installing/studio.html Oct 15 18:20:44 target 4.3 Oct 15 18:21:08 tnzr: You could build a handler then use sendEmptyMessageDelayed(...) with a value in milliseconds. Oct 15 18:21:13 What is NDK? Oct 15 18:21:16 ohcibi: if you want Z axis you're gonna be using FrameLayout or RelativeLayout Oct 15 18:21:27 NDK - Native Development Ki+t Oct 15 18:21:32 Kit Oct 15 18:21:47 tnzr: a post delayed runnable Oct 15 18:24:10 Thanks Oct 15 18:26:13 Hi all. I'm using the calender content provider. is the Calendars.ACCOUNT_NAME field required to input an event? and what should it be? Or do you need to ask the account name somewhere? Oct 15 18:27:25 Why wouldn't "Project Settings" be showing up in the Project Structure in Android Studio? All I see is "Platform Settings", but no way to change the build path Oct 15 18:29:54 hm this is not even working when changing the order.. Oct 15 18:32:35 Using opensl/es Is it possible to create a mp3 decoding player with a bufferqueue input and bufferqueue output? I have ouput working fine with a URI input but switching to a BufferQueue crashes the program. Oct 15 18:37:35 Can I update the build path from somewhere besides Android Studio? I am starting to get the feeling that I shouldn't be using Android Studio if I'm just learning how to write apps Oct 15 18:40:16 heh, 24mbps video on android... awesome Oct 15 18:40:19 yeah, not gonna work Oct 15 18:40:31 hi, I'm trying to mute the microphone by c++/ndk, any idea how? Oct 15 18:40:34 has anyone worked with streaming media via websockets Oct 15 18:41:19 for that matter, android isn't happy streaming 2mbps, much less 24, heh Oct 15 18:47:07 schuranator: http://stackoverflow.com/questions/14609759/streaming-mp3-audio-via-socket-communication-using-opensl-es-on-android/14762841#14762841 Oct 15 18:47:55 schuranator: It's certainly a hack but it's something Oct 15 18:48:04 wow thanks Baggers. I'm just trying to think how I could stream video to my chromecast off my phone Oct 15 18:48:47 So no recommended Android books? Oct 15 18:49:18 schuranator: No worries man, Ive spent all day hunting for how to decode mp3 using two bufferques but I have lots of handy links for almost everything else :P Oct 15 18:49:57 Cyph0n: For doing what? Java,Jni,NDK,Gamedev? Oct 15 18:50:25 Baggers: General Android dev in Java. For an intermediate user. Oct 15 18:50:35 Are you working on a personal app or work app? Oct 15 18:51:27 Baggers look at the big nerd one, if you like books Oct 15 18:51:35 schuranator: A little bit of both, I guess. I'd like to participate in a mobile dev competition. Oct 15 18:51:44 Cyph0n: Sorry not sure for intermediate, I'm pretty new to this, hopefully someone else will chip in! Oct 15 18:51:52 Oh Cyph0n you're into this too Oct 15 18:51:53 oops, Cyph0n sorry :) Oct 15 18:52:01 :) Oct 15 18:52:38 for general android, it comes down to Reto or Big Nerd. there are now lots of other books on special topics, but those are the big 2 Oct 15 18:52:55 g00s: Thanks man. I haven't heard of them. Oct 15 18:53:06 What are some clever ways to achieve a dropshadow (e.g. under linearlayout header) that overlays the content below? The standard actionbar seems to use windowContentOverlay attr Oct 15 18:54:33 g00s: They look like they complement each other. Is getting both a good idea? Oct 15 18:54:42 hmm, i think redundant Oct 15 18:54:56 big nerd may be a little more up to date Oct 15 18:55:05 Yeah, that's what I noticed Oct 15 18:55:16 Big Nerd it is then :) Oct 15 18:55:20 :) Oct 15 18:58:38 Swiftwork: don't wrap the content in a linearlayout with a background, that'll create overdraw. Use a linearlayout and put a view at the bottom with a shape gradient as a drawable background. Oct 15 19:06:13 Cyph0n i would go with mark murphy's book Oct 15 19:06:25 he keeps it up to date constantly Oct 15 19:08:06 seand: Hmm, that looks quite interesting Oct 15 19:08:34 you buy a 1 year subscription which gets you updates (for the year) and access to his office hours Oct 15 19:09:09 Thanks nseidm1, but that does not solve the overlay issue, unless I use a relativelayout or framelayout. Oct 15 19:09:40 i read the commonsware stuff a long time ago, and wasn't impressed. pretty fluffy; hard to consult because he uses stupid chapter / section names (jokes) Oct 15 19:10:06 g00s what books do you have / recommend? Oct 15 19:10:22 oh, Reto or Big Nerd? Oct 15 19:10:27 i only have reto, and flipped through big nerd Oct 15 19:10:42 one thing going for Reto, is that he has access to the devs ;) Oct 15 19:10:55 so its somewhat authoritative Oct 15 19:11:31 Question: I have part of a layout that needs to change based on a variable. How do I place UI object on top of each other? Do I need Relative Layout for that? Oct 15 19:12:56 <|0xD34D|> Moopz: if you are going to put one view on top of another you could use a FrameLayout Oct 15 19:13:47 seand: I don't know.. it looks like it's a bit too much for what I need. Plus I prefer a physical book. Oct 15 19:14:08 |0xD34D|: Ah, thank you! Oct 15 19:14:25 <|0xD34D|> np Oct 15 19:14:54 seand: Thanks anyways/ Oct 15 19:14:58 sure Oct 15 19:19:54 JakeWharton: Hello! I'm trying to use the okhttpdownloader but it fails to load with a class not def exception inside okhttpclient... I tried adding the source code manually of okhttp to check what happens, but eclipse can't find the source code for com.squareup.okhttp.internal.platform nor for internal.spdy. Where do I get those? Oct 15 19:20:10 the okhttp-protocols jar Oct 15 19:20:32 thx Oct 15 19:27:03 JakeWharton: Great! it seems to be working now Oct 15 19:27:05 thx Oct 15 19:31:39 JakeWharton: I have a doubt... If the image is available in memory cache, do you load it immediatly? or do you need to go to the background thread first? Oct 15 19:31:46 load Oct 15 19:32:14 great! thx Oct 15 19:44:54 anyone have any aviate invites? Oct 15 19:56:41 can anyone help out a bit... I have a tablelayout I am creating programatically with width->match_parent. I insert a textbox in it but when I set the textviews background to yellow I can clearly see it does not match columns width but only the text (yes, I didnt also use tableRow.LayoutParams to set the width to match_parent...) Oct 15 19:56:50 what types of things would cause this to happen? Oct 15 20:02:01 can someone please tell me what metrics.density is doing here and what the magic numbers 15 and 334 are supposed to mean? Oct 15 20:02:04 https://gist.github.com/anonymous/6997725 Oct 15 20:04:09 <|0xD34D|> 15 and 334 are probably DPI values Oct 15 20:04:13 where is this from? Oct 15 20:04:22 They are dp values Oct 15 20:04:26 <|0xD34D|> multiplying those by metrics.density scales it to the correct pixel size for that device Oct 15 20:04:28 The density converts them to pixels Oct 15 20:04:58 where do those numbers come from? trial and experimentation on a single device? Oct 15 20:05:09 Ask whoever wrote the code Oct 15 20:05:24 <|0xD34D|> yeah who knows why those values Oct 15 20:05:32 <|0xD34D|> maybe the developer pulled them out of his/her ass Oct 15 20:05:35 <|0xD34D|> the world may never know Oct 15 20:05:36 i wish i could. but that team is no longer working on this project Oct 15 20:06:18 i am in the process of removing an AbsoluteLayout from this project and its getting ugly... Oct 15 20:06:31 JeremieDeNoob, the textview itself doesn't have size=match_parent Oct 15 20:06:45 is that so Oct 15 20:09:36 layout_width="fill_parent" Oct 15 20:09:40 ohh Oct 15 20:18:01 Hello, I'm generating a PendingIntent for the Pushnotification and I'm adding extras to it, but each time the PendingIntent is replacing old extras with the new ones. I'm passing each time a unique requestCode and I tried to add a unique action, but still no luck. I'm not sure anymore why I get only the last Bundle data in the activity when I execute getIntent().getExtras() Oct 15 20:19:58 2 days already wasted on this, I have really no clue anymore Oct 15 20:21:06 Can anyone help? Oct 15 20:35:41 Android default Switch have text and then Switch on/off. I'm Expecting Switch on/off and then text. Don't use another widgets like TextView. How can i set Switch right side text? Oct 15 20:36:42 I just want to move the Switch text to right side of the switch? any solution but adding a textview? Oct 15 20:39:06 Learn a RTL language Oct 15 20:43:50 does anyone have experience on localizing apps? any recommendations for localization services? Oct 15 20:51:40 seand: I do it myself during development Oct 15 20:52:01 seitensei: how many languages do you know? Oct 15 20:52:14 seand: I only stick to languages that I'm willing to provide support in though Oct 15 20:52:16 seand: 3 Oct 15 20:52:36 oh, that's a good point... Oct 15 20:54:05 I only ever localize in English, Japanese, and Vietnamese, so that if a user from any of those languages sends me a support email or a review, I can understand what they're saying and reply to them in kind Oct 15 20:54:24 Big headache reduction Oct 15 20:55:41 maybe i won't add languages other than english Oct 15 20:57:28 That being said, outside of mobile dev, it's fairly common to use Google translate :x Oct 15 20:57:38 I've seen that more common with PeopleSoft though Oct 15 21:07:48 seitensei: you mean devs will use google translate for their applications? Oct 15 21:10:07 I thought there was some tool for localizing strings xml files with google translate... Oct 15 21:11:29 i would think a translation service would have to be done by people, because wouldn't some translations depend on the context within the app? Oct 15 21:11:52 seand: well, professional technical translations use a lot of machine support Oct 15 21:12:20 "professional". A lot of cases are not really professional, though :| Oct 15 21:12:37 i'm about to spring for a N7; but a few people here had issues with Bluetooth Low Energy; is there a consensus whether BLE is working ok? Oct 15 21:12:57 BLE is critical for what i'm working on Oct 15 21:13:48 *sigh* why do I always get stuck on the weirdest undocumented bugs ._. Oct 15 21:14:04 I haven't tried it on the N7, BLE Oct 15 21:14:12 Seems to work fine on the N4 though Oct 15 21:17:41 g00s: BLE is brand new in android; I don't know that there's much data on it Oct 15 21:18:36 dragorn yeah … i haven't heard much either way :/ Oct 15 21:18:59 just those 2 i remember here, which could be PEBCAK Oct 15 21:19:09 E/GLConsumer(11176): [unnamed-11176-0] detachFromContext: GLConsumer is not attached to a context | Any tips on how do I trace that? Oct 15 21:19:57 g00s: There isn't a lot of stuff using it yet. I'll ask around some BLE contacts tho; if you don't hear me mention anything in a day or two, remind me Oct 15 21:20:09 N7 meaning nexus 7? Oct 15 21:20:18 thanks dragorn :) Oct 15 21:21:10 Is it recommended to use an IDE like Android Studio, or is a normal code editor + Gradle an equally efficient way of developing an android app? Oct 15 21:21:37 I recomend eclipse. Android studio isn't fully baked yet. Oct 15 21:21:44 +1 Oct 15 21:21:46 or intellij Oct 15 21:21:52 the dough is still rising :) Oct 15 21:21:53 IJ, eclipse is balls Oct 15 21:22:12 I've already started a project with Android Studio, will it be a mess to try to switch to intellij? Oct 15 21:22:17 bricker: you can definitely do it w/ an editor and ant/gradle, but if you're new you might find it more efficient Oct 15 21:22:37 bricker: AS works OK for a lot of things, just expect to maybe hit some rough edges. Mostly in dealing w/ libraries. Oct 15 21:22:41 bricker: AS is heavily based off intellij Oct 15 21:23:05 so you don't have to learn anything new as far as UI goes Oct 15 21:23:21 alright Oct 15 21:23:48 bricker: I've used AS for some large-ish projects; it's probably 85-90% fine. Libraries will suck until you figure it out. Oct 15 21:24:33 Tss, just install them in your local repo Oct 15 21:24:57 SimonVT: yeah; more or less what i ended up doing Oct 15 21:25:15 SimonVT: figuring out what gradle scripts they all needed, etc, was the big problem Oct 15 21:25:51 Ah, sure. Switching to a new build system isn't always trivial Oct 15 21:26:28 SimonVT: sometimes I'm slower than your average bear I guess; it worked out in the end tho Oct 15 21:31:38 Haven't actually tried pushing anything to the local repo Oct 15 21:31:44 Pushing to central took me a while as well Oct 15 21:32:09 its a little strange. one of the gradle devs said not to pollute the m2 cache Oct 15 21:32:15 Well the other problem now is the jar/aar thing Oct 15 21:32:41 lately I've ended up just making libs sub-projects of my main stuff and making a gradle build for them Oct 15 21:33:14 Yeah, that's the easy way to do it Oct 15 21:33:33 yeah, thats what i'm doing to Oct 15 21:33:34 I have a portrait activity that opens a transparent landscape activity and I notice that the portrait activity has changed its orientation to landscape. I've tried handling the config changes myself and resetting to portrait but nothing seems to work. Am I SOL? Oct 15 21:33:44 Not ideal if it's a lib that's shared between projects Oct 15 21:33:46 this is what Daz recommends http://forums.gradle.org/gradle/topics/problem_mixing_gradle_and_maven_repositories (halfway down) Oct 15 21:34:08 SimonVT: it's not, i'm sure :P Oct 15 21:34:20 There's not "not sure" about it :P Oct 15 21:34:35 s/not/no/ Oct 15 21:34:54 caseycrites: http://stackoverflow.com/questions/4885620/force-portrait-orientation-mode Oct 15 21:35:25 the other thing; it seems the Publish api hasn't been finalized in gradle 1.8, so they recommend maven plugin Oct 15 21:35:51 and the android-gradle plugin doesn't work with the newer publish api Oct 15 21:36:21 seand: yeah, doesn't seem to help. Oct 15 21:36:37 it returns to portrait when I go back to the activity, but while it's 'underneath' the child it's in landscape Oct 15 21:36:44 weird Oct 15 21:36:55 agreed Oct 15 21:37:22 trying to reset it in onConfigurationChanged doesn't help either Oct 15 21:43:04 dragorn i'm not optimistic about BLE after reading http://stackoverflow.com/questions/17870189/android-4-3-bluetooth-low-energy-unstable Oct 15 21:43:19 if TI's own app doesn't work right, its probably bad Oct 15 21:44:12 "connections are more stable when WiFi is turned off" O.O Oct 15 21:44:49 "once paired you may not be able to unpair" Oct 15 21:45:09 overly attached ble :) Oct 15 21:46:23 not like another affordable 7" nexus device is coming along soon, so i have to get to the bottom of this Oct 15 21:46:46 if i purchase from BestBuy, and this doesn't work, i wonder if they would take it back Oct 15 21:48:06 or target etc Oct 15 21:48:10 and yes they should. Oct 15 21:48:11 ask Oct 15 21:48:20 hey TheBunnyZOS :) Oct 15 21:49:02 morning Oct 15 21:50:59 What is the best way to make a TextView not overlap with other views in a RelativeLayout? It's fine in landscape - http://gyazo.com/e59cdf39bb013460129841bf76500cd1 terrible in portrait http://gyazo.com/df797d24e1ff0edd94987c0be1fbd041 Oct 15 21:51:58 desmin88: marginRight? Oct 15 21:52:01 desmin88, by specvifying relations correcrtly Oct 15 21:52:28 and fixing your layout so that it's correct in portrait Oct 15 21:53:43 I have an ExpandableListView, the group's view looks like this: http://i.imgur.com/ktw7Z9X.png How do I make the group non-expandable/collapsible Oct 15 21:56:43 pfn: How should the relations be fixed? Oct 15 21:56:53 Ah yes, IntelliJ immediately feels more stable than Android Studio Oct 15 21:57:07 lol Oct 15 21:57:17 i had the same reaction Oct 15 21:57:18 But they are basically the same, as far as I can tell Oct 15 21:57:40 IJ 12? Oct 15 21:57:55 yes Oct 15 21:58:00 actually, I need my ExpandableListView to have all of its groups already expanded, and its groups to be non-collapsable Oct 15 21:58:01 Well what did you expect Oct 15 21:58:10 A stable release vs beta software Oct 15 21:58:31 It would be bad if it was the other way around Oct 15 21:58:48 i would still be using android studio if i could've figured out how to import the play services library Oct 15 21:59:22 but that was months ago, i haven't had any problems with intellij... i might go back for release Oct 15 22:01:00 compile 'play.services.group:artifact:version' <- imported.. Replace with actual group, artifact and version Oct 15 22:01:24 pretty sure i tried every solution i could find on stackoverflow at the time Oct 15 22:01:29 including that Oct 15 22:02:24 Well, that's how you did it and that's how you still do it.. But, there might have been bugs Oct 15 22:07:02 bugs are a definite possibility... this was back around the time when it would crash whenever i tried to create a new layout file Oct 15 22:07:36 pfn: I've tried setting the verses textview to the left of the star icon, but gradle fails on compilation saying thats not an element? Oct 15 22:09:50 err Oct 15 22:09:51 resource Oct 15 22:22:13 Anyone know why an activity that is set to portrait orientation and handles config changes itself changes it's orientation to landscape when a transparent landscape child activity is opened? Oct 15 22:22:26 It returns to portrait when you navigate back to it, but I'd like it to not change at all. Oct 15 22:23:19 I've tried locking the orientation as well, but to no avail Oct 15 22:26:29 desmin88, then fix it and do it right Oct 15 22:27:31 I guess the problem is i dont exactly know how to fix it Oct 15 22:29:21 if it says it's not an element, then you did it wrong Oct 15 22:29:22 do it right Oct 15 22:29:50 desmin88 post your code Oct 15 22:29:55 i think i may know what the issue is Oct 15 22:29:57 "Gradle: No resource found that matches the given name (at 'layout_toLeftOf' with value '@id/daily_reading_favorite_icon')." Oct 15 22:30:01 1 sec Oct 15 22:30:06 actually that's fine Oct 15 22:30:10 try @+id/ Oct 15 22:30:14 @+id Oct 15 22:30:16 yeah Oct 15 22:30:46 ok Oct 15 22:31:04 bloody hell Oct 15 22:31:16 why did i not need +id on the others Oct 15 22:31:18 If you're referencing a view that hasn't been declared yet (read: is further down the xml) you need to use @+id Oct 15 22:31:18 but i do on this noe/> Oct 15 22:31:29 :O Oct 15 22:31:33 TIL. Oct 15 22:31:35 Thanks guys Oct 15 22:31:55 si, si Oct 15 22:50:39 If I have a listview of views that have images loaded from the web, where is a good place to start :0 Oct 15 22:53:31 explodes: what do you mean good place to start? Oct 15 22:54:14 explodes: probably picasso http://square.github.io/picasso/ Oct 15 22:55:09 oh i see what he means Oct 15 23:02:14 seand: picasso looks awesome thanks dude! Oct 15 23:02:54 i haven't tried it yet but found out about it recently Oct 15 23:03:04 it does sound pretty awesome, i'm going to use it in my app soon Oct 15 23:21:18 Hey, are there any good articles about SQLiteDatabase practices. Ideally, it'd be nice to set up a class to represent a table, and the Helper class would call my table class to perform onCreate and onUpgrade Oct 15 23:22:12 maybe a abstract calss with the functions and a way of discovering all subclasses of that and performing the required steps? Oct 15 23:25:00 you can use reflection for that Oct 15 23:25:13 Or use an existing ORM framework, like ORMLite or GreenDAO Oct 15 23:28:47 I'll look into that, cheers Oct 15 23:28:57 greendao looks interesting Oct 15 23:29:02 how memory intensive is it ? Oct 15 23:32:18 very little Oct 15 23:32:30 i guess i should try it over ormlite Oct 15 23:44:05 JakeWharton: Is it possible to cancel a fetchs? Do normal requests have always more priority than fetchs by any chance? Oct 15 23:44:17 have you looked through the docs? Oct 15 23:46:16 JakeWharton: I just found this http://square.github.io/picasso/javadoc/index.html which says public void fetch() Asynchronously fulfills the request without a ImageView or Target. This is useful when you want to warm up the cache with an image. Oct 15 23:46:22 Hehe guys, atleast it looks decent http://gyazo.com/255d39a31795a5f023575a2d5a1fb6c3 Oct 15 23:50:36 That icon is hideously out of place Oct 15 23:50:59 Also, if someone doesn't star all of those, are they a lousy Catholic? Oct 15 23:50:59 which :( Oct 15 23:51:08 Yes, absolutely. Oct 15 23:51:19 Maybe star them by default. Oct 15 23:51:23 Make them feel like they're good Oct 15 23:51:32 Okay... in IntelliJ, when looking at the logs, is it possible to stop it from constantly scrolling back to the bottom? It makes it impossible to actually see anything. Oct 15 23:51:34 are you saying the star is out of place? Oct 15 23:51:36 Anyway, the cross looks out of place. Oct 15 23:51:40 Remove the black border from it. Oct 15 23:51:45 don't look using intellij is my anaswer ;-) Oct 15 23:51:52 I usually use the commandline or monitor Oct 15 23:51:56 oh Oct 15 23:51:57 yea Oct 15 23:52:04 What pfn said. Oct 15 23:52:23 In monitor, there's a scroll lock button you can click. Oct 15 23:52:40 Where is the file on the filesystem? (os x) Oct 15 23:52:49 What file? Oct 15 23:53:26 the log file, if I want to tail it from the terminal. I guess it's probably on the device, not on my computer Oct 15 23:53:34 <|0xD34D|> adb logcat Oct 15 23:53:40 There is no file. Oct 15 23:53:42 <|0xD34D|> ready, set, go Oct 15 23:53:56 There is only z- no. Oct 15 23:54:37 I need adb Oct 15 23:54:38 bricker: click on it and it'll stop scrolling Oct 15 23:54:46 bricker, adb logcat Oct 15 23:54:47 ... Oct 15 23:54:51 what file Oct 15 23:54:55 adb? it's where your sdk is Oct 15 23:54:58 You already have adb. Oct 15 23:55:25 need to find it, I mean Oct 15 23:55:28 And thus, all of #android-dev saw the future of programmers and committed mass suicide. Oct 15 23:56:12 I didn't care enough to sucide Oct 15 23:56:17 bonus: lots openings now! Oct 15 23:56:24 find ~ -name adb Oct 15 23:56:25 find / -name adb Oct 15 23:56:25 Nilium: please, you are not nearly as cool as you think you are Oct 15 23:56:40 I have incredibly low self-esteem and do not find myself cool. Oct 15 23:56:56 seriously, people who don't know how to use a computer really shouldn't be programming.... Oct 15 23:56:57 Nilium: then stop pretending like you have never been new at something Oct 15 23:57:04 it's amazing how many developers lack basic computer skills.... Oct 15 23:57:12 pfn: https://github.com/bricker Oct 15 23:57:21 That said, I do find your inability to use spotlight, run find, or otherwise just browse your SDK directory depressing as fuck. Oct 15 23:57:30 pfn: does that work for you? Oct 15 23:57:36 https://github.com/SCPR how about this? Oct 15 23:57:39 bricker, oooh? I'm impressed! is that the answer you're looking for? Oct 15 23:58:02 I have a github account too. Y'know who finds it impressive? Probably nobody. Oct 15 23:58:21 if more recruiters used github, it'd be kinda nice Oct 15 23:58:24 but they don't Oct 15 23:58:26 Y'know why? 'Cause almost every thing you put on there will never be seen by anyone. Oct 15 23:58:30 they just know how to troll linkedin and crap Oct 15 23:58:41 pfn: I'm not trying to impress anybody, I would just like you all to put your dicks back in your pants. Oct 15 23:58:57 like I said, it's depressing how so many developers lack basic computer skills Oct 15 23:59:01 "people who don't know how to use a computer really shouldn't be programming" is a very arrogant thing to say. Oct 15 23:59:03 pfn: They're learning, but poorly. They typically just look at your top three languages and then send you a form letter saying "WE SAW YOU USE RUBY ON RAILS" (if you have "Ruby" in the list) Oct 15 23:59:03 it brings their development into question Oct 15 23:59:13 Nilium, yeah, get that far too often Oct 15 23:59:34 pfn: and an unfair assumption to make. Oct 15 23:59:41 not at all Oct 15 23:59:44 An aside: I'm still unhappy that Ruby automagically means Rails to most people. Oct 15 23:59:51 pfn: not at all what? Oct 16 00:00:11 Now, bricker, can I suggest you take a chill pill and not take what people on IRC say seriously? Oct 16 00:00:13 * pfn shrugs Oct 16 00:00:16 ruby is so ugly, I don't mind :p Oct 16 00:00:33 * Nilium drops pfn in a pit full of pythons Oct 16 00:00:37 Nilium: I am so bored right now, I'm just trying to start a fight Oct 16 00:00:38 Alliteration! Oct 16 00:00:49 Altercation! Oct 16 00:00:51 * pfn is playing lol Oct 16 00:00:54 and the game's about to start Oct 16 00:00:54 * pfn & Oct 16 00:01:04 Maybe I'll go play some Counter-Strike.. Oct 16 00:01:17 But no, I need to look into setting up a new checking account first Oct 16 00:14:15 JakeWharton its been maybe 6 years since i used a DI container; definitely pre jsr-330. so if i want to distribute a reusable library, and wire it up with dagger; would my library project have a dependency on javax.inject and an optional dep on dagger? Oct 16 00:14:30 you shouldn't need the dep on dagger at all Oct 16 00:14:37 well, unless you're providing a module Oct 16 00:15:00 ok, so the client then would need to bring in dagger ? Oct 16 00:15:14 yeah. or any other jsr330-compatible container Oct 16 00:15:31 of course, dagger has non-jsr330-specific things you might be interestedi n Oct 16 00:15:31 ok, thanks. last DI container i used was spring 2.0 ;) Oct 16 00:15:44 the first time i used spring was the last time Oct 16 00:15:57 wiring up all those xml beans :) Oct 16 00:16:35 i think it took about 6 lines of factory factories before i could instantiate my object graph Oct 16 00:16:44 Wow, there are no apps for what I was thinking about making earlier today Oct 16 00:16:55 Guess I have something to work on. Oct 16 00:17:11 Nilium an awesome one will appear just as you have become heavily invested in it, but before you have released Oct 16 00:17:20 Eh, that's fine. Oct 16 00:17:26 probably by one of your cats Oct 16 00:17:31 I just want it, I don't think it'd be very profitable. Oct 16 00:17:55 Writers have weird hobbies, and this would be enabling one of the common ones Oct 16 00:22:15 shmooz hi Oct 16 00:31:14 I'm contemplating writing a lightflow clone Oct 16 00:31:19 that uses the new NotificationListenerService Oct 16 00:31:23 since lightflow isn't doing it.... Oct 16 00:32:09 <|0xD34D|> yeah you said that yesterday Oct 16 00:32:13 <|0xD34D|> why is it not done yet? Oct 16 00:32:32 wouldn't the dev(s) behind lightflow already be working on that? Oct 16 00:32:43 <|0xD34D|> they could have done it by now Oct 16 00:32:59 <|0xD34D|> the API is easy to use and get going Oct 16 00:33:11 maybe they're waiting for pfn to get heavily invested first Oct 16 00:33:23 <|0xD34D|> perhaps Oct 16 00:33:29 indeed Oct 16 00:33:30 <|0xD34D|> just waiting for their moment to strike with an update Oct 16 00:33:43 I just haven't gotten interested enough to start writing it Oct 16 00:33:48 not to mention, I'm busy with work and shit Oct 16 00:42:48 Having a weird issue where a listview with CheckedTextView in a LinearLayout. In my OnItemClick() I"m toggling the check. The problem is the checks aren't getting toggled on the items which are clicked.. Oct 16 01:00:04 <^cheeky> ello 0/ Oct 16 01:05:26 <^cheeky> btw, android studio on Nix, i think kinda gets .. weird, have not tracked it down , to either being a GFX driver with nix, but i had to completely remove, android studio and its ./setting files ? what ever frrom my home dir, and its seems to work, i think sorted it out. why does the gradle that comes with it always says it cannot be used with project. Oct 16 01:07:15 the gradle that comes … Oct 16 01:07:22 … comes for thee Oct 16 01:08:38 <^cheeky> heh Oct 16 01:08:58 <^cheeky> i am gonna lax, maybe Oct 16 01:10:24 did somebody say there was supposed to be an android-related announcement today? Oct 16 01:10:32 something biggish Oct 16 01:10:51 <^cheeky> i dunno i am just syncing , i work-up Oct 16 01:11:55 that was just rumor Oct 16 01:12:05 that goog was gonna announce nexus 5 today Oct 16 01:12:15 so what happens with the nexus phone 2 generations from now? Oct 16 01:12:23 next year we get nexus 6, but afterward? Oct 16 01:12:25 Like they're going to release n5 and 4.4 without announcing at least a press conference Oct 16 01:12:30 pfn: superscripts? Oct 16 01:12:39 pfn: Then n7 will be a phone Oct 16 01:12:44 < 7" is deprecated Oct 16 01:12:46 n4^2? Oct 16 01:12:55 Same thing when 10 is hit Oct 16 01:12:56 n5^2? Oct 16 01:13:19 <^cheeky> oct 15 !!!! Oct 16 01:13:42 maybe they will pull an amazon and have it late tonight :P Oct 16 01:13:42 16th in the one-true-timezone Oct 16 01:13:55 p_l: +1 Oct 16 01:14:10 Or well, probably not the same one-true-timezone Oct 16 01:14:12 <^cheeky> google was mean with nexus 4 !!!!! Oct 16 01:14:20 the other one true timezone Oct 16 01:14:22 * p_l can figure some really out-there options for a sudden and giant announcements that wouldn't necessarily be related to android Oct 16 01:14:50 although that one was a rumour that you wouldn't hear in normal media ;) Oct 16 01:17:09 i think android is going to go through a complete remake in the next few years Oct 16 01:17:15 no java, Oct 16 01:17:52 that would have been possible... few years ago. Before certain bits for which DVM was made happened Oct 16 01:17:53 <^cheeky> mono project ? Oct 16 01:17:55 good thing they are investing all that effort into another java ide :P Oct 16 01:18:08 or maybe its just Tor on his 20% project or something Oct 16 01:18:17 that would make sense actually :/ Oct 16 01:19:25 the prophecy is there Oct 16 01:19:43 but yeah; i dont see any good outcome from this oracle / java situation Oct 16 01:20:34 java sued Google for all kinds of things, and Google does not like oracle, theres will be a clash of the titans....sorry been watching too much dethklok Oct 16 01:20:48 no one likes oracle Oct 16 01:21:25 i wonder if oracle could do something that would be it very difficult to use their toolchain to compile android apps Oct 16 01:21:52 g00s: not without breaking waaaaay too much stuff Oct 16 01:21:55 Nilium: Changed icon. http://gyazo.com/770b079a647d7e72140b3b002c1fdf09 It was actually a bevel effect Oct 16 01:21:56 it would be suicide Oct 16 01:22:13 i just think java in general will die by 2020 Oct 16 01:22:25 i doubt it :| Oct 16 01:22:37 agreed Oct 16 01:22:43 doubt that java will die anytime soon Oct 16 01:22:45 programming languages are evolving away from declaring data types Oct 16 01:22:50 not really Oct 16 01:22:57 lol Oct 16 01:23:01 wat Oct 16 01:23:20 the compiles automaticly decides what size it will be Oct 16 01:23:26 actually, recently there's heavy pushback from OCD type strictness with a bit of fetishism Oct 16 01:23:36 like Google new language Oct 16 01:23:47 yeah uhh i dont think well ever have a programming language with declaration of data types.. Oct 16 01:23:49 don't mix derivation with not declaring types Oct 16 01:24:54 i mean like int, byte, double Oct 16 01:25:02 no Oct 16 01:25:26 u will just declare number, or datastructures Oct 16 01:25:33 sup Oct 16 01:25:53 TechEffigy: dude, I know some people are still in the dark ages, but please look a bit further out on the PL field, okay? Oct 16 01:26:03 anyhow maybe im wrong, anyone making anything interesting? Oct 16 01:26:34 desmin88: I'd still ditch the border Oct 16 01:26:55 ibe just been reading alot of evolution of programming language books Oct 16 01:27:01 Nothing else on the screen has borders, so it looks weird. Oct 16 01:27:33 what graphics libraries would you guys recommend for a game? Oct 16 01:27:40 The app icon is bout the only thing i can't mess with Oct 16 01:27:41 2d style of course Oct 16 01:28:02 but i will run the change by the guy who wants the app Oct 16 01:28:20 desmin how much are you charging Oct 16 01:28:20 ? Oct 16 01:28:44 Removing the border around the icon shouldn't be that big a deal to the guy who's contracting you. Oct 16 01:28:53 just make one yourself Oct 16 01:28:54 50% of app purchases/ad revenue Oct 16 01:28:57 Provided the color is the same and the icon is the same shape, I doubt it'll be a problem. Oct 16 01:28:58 you're going to have a border around the icon? Oct 16 01:29:01 why? Oct 16 01:29:10 It would look weird Oct 16 01:29:22 unless its an icon for the logo of the company and that logo contains a box around it Oct 16 01:29:23 vectors, matrices, and surfaceview Oct 16 01:29:35 or 2d OpenGL Oct 16 01:29:39 just so were clear, you guys are talking about the black border for the cross templar Oct 16 01:29:41 i was thinking 2D opengl Oct 16 01:29:49 desmin88: Also, you're doing this only on the promise of royalties? Oct 16 01:29:55 Nilium: ya Oct 16 01:30:06 desmin88 treasures stored in heaven :D Oct 16 01:30:07 its a unique situation Oct 16 01:30:08 royalties sounds good Oct 16 01:30:09 Ok, well, hopefully this is a lesson to you then: never, ever do that again. Oct 16 01:30:18 Royalties never pay. Oct 16 01:30:24 theres a great book on android game engine building with OpenGL and surfaceview Oct 16 01:30:30 really? Oct 16 01:30:30 like i said its a unique situatioin Oct 16 01:30:39 How is it possibly unique? Oct 16 01:30:41 ill check on amazon so i can order before the week is over Oct 16 01:30:42 Is it your dad? Oct 16 01:30:48 walks you through building an entire 2d and 3d game engine Oct 16 01:30:50 uncle, actually heh Oct 16 01:30:58 Ok, you should've said no just on those grounds Oct 16 01:31:09 think it was called android game development Oct 16 01:31:42 hi all Oct 16 01:31:43 Nilium: explain. Oct 16 01:31:48 why is it bad? its 50/50 app purchase royalty Oct 16 01:31:55 Never do things for family Oct 16 01:31:58 there are a few books out now on just the Canvas for 2d game stuff Oct 16 01:32:03 Makes it very, very hard to get anything back from it Oct 16 01:32:16 say i have 4 views in a vertical linearlayout, each has weight=1. when I do view.gone() on one of the views the other views will stretch to compensate. I would like one of these remaining views to not stretch. (I want to try and do this without specifying a fixed height for the view in question, can this be done)? Oct 16 01:32:19 Mostly because you risk family turning on you Oct 16 01:32:20 g00s sweet Oct 16 01:32:29 i highly doubt that would happen imo Oct 16 01:32:49 People do weird things when money's involved. Oct 16 01:32:52 not to say you're wrong Oct 16 01:32:52 oooh good question brx_ Oct 16 01:32:55 can anyone answer that? Oct 16 01:32:58 nubish i dont do games, but from what i hear you can pull a lot off without opengl; gl seems like a hassle if you don't really need it Oct 16 01:33:07 Better to be cautious and just not risk your family throwing you under the bus because you came calling for your share Oct 16 01:33:07 for 2d Oct 16 01:33:08 right right Oct 16 01:33:12 through SurfaceView right? Oct 16 01:33:36 Nilium thats a fact indeed Oct 16 01:33:39 risky. Oct 16 01:34:54 Wouldnt you have to hardcode the position of the views then if you would want to leave the space of the empty view just the way it is? Referring to brx_'s question . Oct 16 01:35:07 although i dont disagree with what you guys are saying i dont think that will happen at all Oct 16 01:35:12 At any rate, I assume you like your family, so just be prepared to drop the issue if it ever looks like it'll turn into one. Oct 16 01:35:47 indeed i do Oct 16 01:36:19 * Nilium says this having seen fairly recently what happened when his family members refused to just get along. Oct 16 01:36:22 nubish, I can measure the view progrmatically and then set the height prior to making the other view dissapear. however Im just seeing if I can avoid the need for this byt somexmltrickery Oct 16 01:36:45 well im trying to remove the border but all i have is a vector, i exported it to a bitmap but its pain to do it Oct 16 01:36:53 I wouldnt mind it either brx_ Oct 16 01:38:15 by setting the height you mean hardcoding the height of the other 3 views right? Oct 16 01:38:52 nubish, i dontmind those stretching to take the extra room, I want them to stretch Oct 16 01:38:58 i just want the top one to stay fixed Oct 16 01:39:25 none of the heights at this point are actually set explicitly, they are just weighted Oct 16 01:40:27 oh you just want the top view to stay stationary Oct 16 01:40:31 ye Oct 16 01:40:56 I know you can include a FrameLayout as opposed to a LinearLayout seeing as how the Framelayout offers the gravity attribute as well but Im not sure if that will do anything Oct 16 01:41:01 Nilium: http://gyazo.com/5c8fd0f5cda827d2369fdf19ea2e5370 Oct 16 01:41:38 just for the hell of it try the viewgroup as FrameLayout Oct 16 01:41:39 Much better. Oct 16 01:41:46 thx Oct 16 01:42:10 it has a blue border? Oct 16 01:42:24 yuckle Oct 16 01:42:29 what? Oct 16 01:42:42 oh wait nevermind Oct 16 01:42:49 thats the ab tab Oct 16 01:42:52 yeah Oct 16 01:42:53 lol Oct 16 01:43:06 Then here is the redesigned daily reading card, still needs work though - http://gyazo.com/1be65154196502ecd50f1228515d57df Oct 16 01:43:30 verses scroll Oct 16 01:43:32 <^cheeky> desmin88: dude nice site i might use this Oct 16 01:43:50 <^cheeky> roboto light Oct 16 01:43:51 <^cheeky> ? Oct 16 01:43:56 yes Oct 16 01:44:01 are you talking about gyazo? Oct 16 01:44:09 <^cheeky> yeah hehe, Oct 16 01:44:27 yeah its useful Oct 16 01:44:32 <^cheeky> and i like the roboto light , date Oct 16 01:45:03 Yeah i didn't want the date to be the major focal point, but still large enough to be seen at a glance so its thin Oct 16 01:45:05 <^cheeky> desmin88: how did you actually invoke those fonts? Oct 16 01:45:07 while the actual verses are thick Oct 16 01:45:18 android:fontFamily="..." Oct 16 01:45:29 Thick or normal? Oct 16 01:45:41 <^cheeky> no i have the how do i use them in android studio or what ever Oct 16 01:45:53 He just told you Oct 16 01:45:54 ^cheeky: i dont quite follow.. Oct 16 01:46:28 <^cheeky> like roboto light , to make your text view use that font how did you invoke it Oct 16 01:46:28 He wants you to make a step-by-step picture guide because he apparently doesn't know which XML attribute is which cell, I guess? Oct 16 01:46:38 ^cheeky: i just said Oct 16 01:46:40 android:fontFamily="sans-serif-condensed" Oct 16 01:46:43 is for the verses Oct 16 01:46:49 do you have an action bar desmin? Oct 16 01:46:51 <^cheeky> oh hm Oct 16 01:46:58 nubish: yes Oct 16 01:47:03 may i see it? Oct 16 01:47:08 ^cheeky: I really don't know what you mean by invoke Oct 16 01:47:17 other than add that to your textview Oct 16 01:47:46 nubish: still kind of WIP, atm im focusing on the layouts http://gyazo.com/c5425b5892135a6f2c9612a0bb2643f7 Oct 16 01:47:53 <^cheeky> Nilium: lol thanks, i didnt see his post above my fault Oct 16 01:48:40 but theres not much to be had on an action bar for this type of app Oct 16 01:49:19 so does the app just show the daily sermons? Oct 16 01:50:05 along with a saint of the day, apologetics (idk what that is really...) and a 'blog' Oct 16 01:50:14 with inapp bible view Oct 16 01:50:18 some other odds and ends Oct 16 01:51:22 refresh is kinda dumb on 'daily reading' thing but meh Oct 16 01:52:25 yeah refresh wouldnt be needed unless you update the readings every day Oct 16 01:52:29 and at unexpected times Oct 16 01:52:50 really im just using it to be consistent across views and as a "get back to the top" Oct 16 01:53:28 you're using the logo as a "return to main" right? Oct 16 01:54:04 the saints of the day, apologetics, and bible view should be listed as menu items. Oct 16 01:54:24 thats my issue: what should the main be Oct 16 01:54:53 could be several things Oct 16 01:55:02 im just thinking of calling 'main' Oct 16 01:55:03 latest Oct 16 01:55:10 with the latest post from each category. Oct 16 01:55:24 thats probably best Oct 16 01:55:28 then having a nav bar which can take you to each category? Oct 16 01:55:42 not sure, i like having the tabs.. Oct 16 01:56:42 automatic update/refresh whenever you click the logo and whenever you start the app again Oct 16 01:57:18 ya Oct 16 01:57:19 <^cheeky> well grab the stuff in a service, so its kinda pre-fetched Oct 16 01:57:38 you can have snapshots of the new material for each category as main Oct 16 01:57:38 what do you think though, nav bar for each category with a main showing the latest? Oct 16 01:58:25 of course it needs to be connected to the internet in order to refresh right? silly me im thinking how the heck you're going to update Oct 16 01:58:27 :P Oct 16 01:58:36 of course Services Oct 16 01:58:36 yes it needs internet lol Oct 16 01:58:46 im new to this dude i havent created anything lol Oct 16 01:58:54 <^cheeky> me either Oct 16 01:58:57 im fairly new Oct 16 01:59:26 the main being a snapshot of the latest for reach category sounds great Oct 16 02:00:31 yeah Oct 16 02:02:52 shmooz Oct 16 02:03:00 the problem with that is that you would most likely have to scroll down to see the rest of the categories Oct 16 02:03:38 but it would be apparent that it would have more than one category because you would make the categories stand out Oct 16 02:03:45 nevermind Oct 16 02:08:38 Does anyone here use Android Studio? When I import my project, on the left in the 'Project' tab, I am only shown some gradle files, git files, and 'External Libraries'...not my projects; The 'Structure' tab has nothing to show Oct 16 02:09:51 Android STudio is pretty broken Oct 16 02:10:12 :/ nooo... how about intellij? Oct 16 02:10:22 i was hoping to get away from eclipse Oct 16 02:10:30 The preferred choice is Eclipse IDE with Android Development Toolkit(ADT) plugin Oct 16 02:10:38 why? Oct 16 02:11:03 eclipse feels bulky and slow to me Oct 16 02:11:12 i dont think ive ever seen eclipse called the preferred choice Oct 16 02:11:42 i use AS just fine Oct 16 02:12:14 eclipse is slow, but you run into less problems Oct 16 02:12:46 tbh AS has had little to few problems for me after the recent updates Oct 16 02:13:47 good Oct 16 02:16:13 desmin88: perhaps you've run into this while using AS? http://postimg.org/image/7177fi7v3/ Oct 16 02:16:34 nope Oct 16 02:17:09 darn, it happens everytime with me Oct 16 02:17:50 otiose what is it ? Oct 16 02:17:58 Only seen that along with an error, never silently failing Oct 16 02:18:27 its the project that I'm trying to export from eclipse into AS Oct 16 02:18:49 holy crap, otiose that font rendering looks like total shit - what platform is it ? Oct 16 02:19:11 mac osx 10.8.5 Oct 16 02:19:14 i thought it was OK? Oct 16 02:19:32 looks like the hinting is messed up. could be your AA settings Oct 16 02:19:40 lol Oct 16 02:20:55 otiose if it looks ok; nm :D Oct 16 02:21:05 looked like linux fonts Oct 16 02:21:29 yeah thats true; it doesnt look like osx Oct 16 02:21:35 but i just didnt really think about it; its readable Oct 16 02:21:45 its java Swing :( Oct 16 02:21:53 yeah... Oct 16 02:22:25 g00s: still best use of Java Swing I ever encountered. Definitely faster than the stuff I used with SWT :D Oct 16 02:22:42 yeah definitely getting some exception when i import this project Oct 16 02:22:44 wtf Oct 16 02:22:46 ... though I suspect that on J9, Eclipse might be much faster. Pity that barely anyone uses J9 on normal machines Oct 16 02:22:58 i have a lot of weird focus problems; like showing menus stick to all desktops Oct 16 02:23:14 with AS Oct 16 02:23:17 not a show-me-an-alert exception, but a red-thing-pops-up-on-the-side-for-a-few-seconds kind of exception Oct 16 02:23:57 oh, if you have AS full screen and you are on another desktop; and it pops up a modal dialog on that desktop, you're screwed - can't click it Oct 16 02:24:09 lots of wonky stuff like that Oct 16 02:24:33 but really, i wonder since oracle has deprecated swing for JavaFX - and Larry doesn't care if you like Swing - what will happen Oct 16 02:24:52 swing isnt deprecated Oct 16 02:24:57 it is Oct 16 02:25:23 not officially, at least. Oct 16 02:25:26 i mean, its included in the runtime libraries, but there is 0 work on it Oct 16 02:25:39 g00s: I think there's 0 work on anything desktop related :> Oct 16 02:27:30 im though javafx aint half bda Oct 16 02:27:32 bad* Oct 16 02:29:55 <^cheeky> i lost all my work with AS, yesterday Oct 16 02:30:11 but you have git right :) Oct 16 02:30:14 and a backup :) Oct 16 02:30:15 <^cheeky> ya.. Oct 16 02:30:36 <^cheeky> well just GIt and did a back up .. to another fold on the sae HDD tho Oct 16 02:31:46 http://www.oracle.com/technetwork/java/javafx/overview/faq-1446554.html#6 Oct 16 02:32:05 <^cheeky> when i cleaned and re-installed, AS i opened up my folder .. where Git was As was smart enough to detect it .. but when i accpeted it through AS it did not show me what i last worked on that project ... i had files staged or watched with git, but i didnt commit :( .. Oct 16 02:32:50 <^cheeky> i am just having a beer and going through action bar, stuff too annoyed @ AS , but its user error tho :P Oct 16 02:36:20 i could never drink a beer and program Oct 16 02:36:37 <^cheeky> i am not trying to program i am just taking a break, Oct 16 02:36:46 1 beer and a cant even focus to think up 1 smart line of code Oct 16 02:36:53 <^cheeky> just listening to some music, reading about this thing called renderscript Oct 16 02:37:17 never gt into renderscript Oct 16 02:37:29 <^cheeky> oh , Oct 16 02:37:50 <^cheeky> oh i dunno just watching IO sessions, have never either Oct 16 02:38:08 lay back, hit some magic mushrooms, read about the ndk, awesome, i must try that Oct 16 02:38:51 sniff a line of code Oct 16 02:39:27 <^cheeky> i a soo annoyed, my freaking app was soo smooth .. flipping though pics in a grid view was soo smooth .. and over 1000 images and memory was okay .. and all blaah Oct 16 02:39:31 <^cheeky> haha Oct 16 02:39:45 <^cheeky> ndk Oct 16 02:40:29 <^cheeky> hmm ill C for some videos, sinse no script is confusing my pandora !!!!!!!! Oct 16 02:40:59 <^cheeky> on NDk, Oct 16 02:41:00 whats an easy way of getting the current size of my content provider? Oct 16 02:41:45 can i do it without querying the table and counting the cursor returned? there must be an easier way.. Oct 16 02:43:30 select count(*) ? Oct 16 02:43:57 <^cheeky> JNI ....!!!!!!!!!! Oct 16 02:44:16 ^cheeky did you start the shrooms already? Oct 16 02:44:50 K guys, gonna be moving on to next views soon. What should i change to this current layout? Oct 16 02:44:51 http://gyazo.com/31e4e22b823b01915d54a9019c036dd5 Oct 16 02:44:51 <^cheeky> LOL Oct 16 02:45:24 ya, ah ill stick with the lsd, help me get app ideas Oct 16 02:45:32 i promise Oct 16 02:45:41 desmin88 i think the typography is messed up :) Oct 16 02:45:52 nooooope Oct 16 02:45:54 <^cheeky> with that in front of me .. i would like to swipe each view off the screen to the right Oct 16 02:46:19 but you are making a noobie mistake, getting hung up on inconsequential things that would probably change anyhow Oct 16 02:46:53 leaders Oct 16 02:46:54 you see, there is this thing called a low fidelity prototype Oct 16 02:46:59 loaders Oct 16 02:47:07 and you show it to people, so they dont get focused on BS Oct 16 02:47:15 and the font, cards, is all bs Oct 16 02:47:38 :) Oct 16 02:47:50 i already know what u think of cards Oct 16 02:47:51 heh Oct 16 02:48:35 but not just the cards, for example, the bible verses go off the screen Oct 16 02:48:49 it scrolls Oct 16 02:49:05 Hi everybody, I want to integrate google maps api v3 in android..I am working on an application which needs maps displayed, how do I go about this? I have the API key, and I tried modifying and android manifest file, but there are errors...looks like the method slightly varies from maps v2 to v3 Oct 16 02:49:18 desmin88 but its a card. shouldn't it expand ? Oct 16 02:49:28 uh uhh Oct 16 02:49:36 these are special cards :) Oct 16 02:49:38 just use intents an call gmaps Oct 16 02:50:03 really its not a technical card but just the ui of it Oct 16 02:50:10 TechEffigy, what is 'intents'? I'm new to android :( Oct 16 02:50:12 thnx again g00s super easy with db.rawQuery Oct 16 02:50:14 greetings all, I'm trying to implement an android app that supports this interface:https://bitbucket.org/commcare/commcare-odk/wiki/ODKActivityCallout Oct 16 02:50:14 click > open daily reading in bible view Oct 16 02:50:26 I am very new to android, but the way I think this works, is that I make an app that listens for an intent that I specify with the linked tool, and somewhere in the results key, value, pair, I return the data I want. Oct 16 02:50:33 desmin88 and so much space wasted between cards; you only have 5 rows :| Oct 16 02:50:54 from what I've read, I think I need a service, because I only need, in this case, something like the time passed out from my application, and I don't want to interrupt the current activity (forgive me if Im misusing the term) Oct 16 02:51:22 on the consuming applicatoin side, the user sees a button that triggers the interface linked above, and the result of the call gets stuffed in for later export. I don't need the button press to take the user to a new "place", I just need the current time passed back in as a result of the call Oct 16 02:52:33 does it sound like I'm the right place, as in, should I be looking for instructions on how to build an application as a service? or does this kind of interface draw the user away from the calling app? Oct 16 02:54:11 just joking bt u could just call intents to display a map without integrating it, its like calling another app with parameters Oct 16 02:54:12 like calling gmaps, and giving it ps coordinates an those location tags. quiet useful i think Oct 16 02:55:23 dknight087 also maps v2 is the latest version for android, if you are readying stuff on v3 that is for the web. **** ENDING LOGGING AT Wed Oct 16 02:59:58 2013