**** BEGIN LOGGING AT Wed Jul 24 02:59:59 2013 Jul 24 03:28:59 im trying to put a webview in a FrameLayout Jul 24 03:33:54 i'm attempting to figure out why I have visual fkups! Jul 24 03:39:06 very interesting, as well as the "android needing a anti-gruber" comment (which I agree with) https://news.ycombinator.com/item?id=6094141 Jul 24 03:39:54 g00s: I suspect there are lots of potential anti-grubers, but they've been swallowed up by the Borg Jul 24 03:40:19 :) Jul 24 03:41:01 I also don't quite understand gruber... he's a rabidly pro-Apple blogger who mostly posts links with short commentary, and occasional longer pieces Jul 24 03:41:50 he doesn't seem, to me, to have enough output to have the sort of profile he's given Jul 24 03:43:06 i dont follow any of these people, but once in a while a blog will pop up on HN which i find insightful. i have no idea what gruber does otherwise Jul 24 03:44:14 i never even replaced google reader :( Jul 24 03:44:28 is it bad I dont even know who John Gruber is ? Jul 24 03:44:53 course not Jul 24 03:45:39 just looking at the last few entries on his blog, they're pretty much all one-line comments on someone else's story, sometimes with a quote called out, sometimes not Jul 24 03:47:47 he makes some good points, he posts some good links, but he's mostly a short-form blogger... so I'm not sure how he's so high-profile Jul 24 03:48:39 he does occasionally post longer pieces - but not often enough that he's anything like a full-time blogger/writer... except he appears to make a living from in-stream ads on his blog Jul 24 03:48:41 wish I could :) Jul 24 03:49:43 people like short and sweet (twitter) Jul 24 03:50:50 the thing that resonated most with me was the anti-gruber comment "This character must be pissed off for reasons, he must elucidate them consistently, and must be relentless in the coverage of his ire." Jul 24 03:51:04 (also, incidentally, I find it really hard to read HN on the web - far better with the comments reformatted by an app) Jul 24 03:51:07 "A churlish character who, rather than celebrating the excellent, laments the shabby." Jul 24 03:51:20 A real ronyon. Jul 24 03:51:37 What blog are you referencing? Jul 24 03:51:51 lasserix 1st comment from my link ^^^ Jul 24 03:51:57 lasserix: daring fireball - john gruber Jul 24 03:52:08 g00s: lasserix wasn't here for your link... Jul 24 03:52:09 g00s: i just joined Jul 24 03:52:20 thanks Jul 24 03:52:27 lasserix https://news.ycombinator.com/item?id=6094141 Jul 24 03:52:50 i read phandroid / androidpolice, there are a number of people reviewing this or that (& the verge) Jul 24 03:53:06 I actually like android central Jul 24 03:53:14 but i think when gruber criticizes apple, they do listen. of course he's pretty gentle Jul 24 03:53:58 but there is no one person that has the stature (that i can think of) like gruber, that says, "hey google, this is fucked!" Jul 24 03:54:14 i mean, i say that all the time but nobody gives a crap :) Jul 24 03:55:04 maybe they listen to the crowd more? Jul 24 03:55:22 huh my display probs have fk all to do with device performance, or android version :( Jul 24 03:55:35 runs smooth on a 2.3 i9000 :( Jul 24 04:02:53 one thing that comes to mind, that the article referenced in the HN mentions - is that gruber is a reflection of apple's philosophy (which is , after money, pretty easy to grock) Jul 24 04:03:18 but after all the i/o keynotes, i still don't know /where/ google is going with android Jul 24 04:03:40 i wouldn't be surprised at any time if they give it to the oha, merge it with chrome, etc Jul 24 04:04:10 thats probably why there can't be a android/gruber Jul 24 04:04:34 heh grock just reading stranger now :) Jul 24 04:07:22 when rubin got on stage, it was pretty clear to me that #activations was their main metric Jul 24 04:08:33 g00s: FYI, looks like the nokia 1020 review embargo just lifted Jul 24 04:10:03 my take is... obviously Android engineering, design, etc. want to make the best mobile computing system they can, according to their own definition of 'best' Jul 24 04:11:28 but the bigger Google picture is/was firstly to stop anyone *else* taking a dominant position in mobile, and to promote a system which uses Google services - mostly in a non-locked-in way, because mostly Google doesn't/didn't do lock-in Jul 24 04:12:03 Leeds only thing i've heard about the 1020 is that it may have a good camera (crazy #mp) Jul 24 04:15:00 yeah, I think it's pretty much the same platform as all the other Lumias, but with an 808-style camera bolted on Jul 24 04:16:38 i was more bullish about WP last year; still kinda surprised it isn't doing so well. tech looks good, is it just management screw ups? what i'm most interested in now is the ubuntu edge. Jul 24 04:17:26 heh, you funny man Jul 24 04:17:53 will you buy a mount so you can use it while riding your unicorn? Jul 24 04:19:41 seriously, unless someone is going to come in at the last moment and top up the campaign, covering the missing $20million from their goal, there's no chance of it happening Jul 24 04:19:53 g00s i think a lot of people didn't buy microsoft windows because they had much of a choice, and wouldn't if they had a better alternative. i wonder if this set a precedent for people to avoid buying a surface, Jul 24 04:21:11 i'd like to hear the ubuntu phone anti-fragment story though; if its the same as android i'm will have lost interest a bit, but in its purest form (stock / c++ / qml) i would love it - i think Jul 24 04:21:30 ubuntu hardly works on desktop Jul 24 04:21:43 or another way is that if you can afford and want an ios device, you get it. if you can't afford it or don't want an ios, you have a plethera of android devices. so why get a ms device espicially if you've been using windows all along and it hasn't been anything but a functionally nuetral exp for you Jul 24 04:22:27 g00s: there's no anti-fragment story worth telling, because there's no ecosystem Jul 24 04:25:27 of course; but shuttleworth has noted what happened here (to android) and doesn't want that to happen; we'll see if he can see that vision through though Jul 24 04:25:44 ubuntu touch is their third attempt to move past PC/server software into a more hardware-centric sell-through-OEM model, and the previous two appear to have failed completely Jul 24 04:25:53 think Android@Home levels of failure :) Jul 24 04:26:05 in the end, there has to be real incentive - if you put something open in the hand of a US carrier it will turn to shit Jul 24 04:26:34 Ubuntu TV and Ubuntu for Android both sank without a trace Jul 24 04:27:15 AFAIK not a single product has shipped using those platforms... Jul 24 04:28:15 and to me, you don't go asking the community for $32million for a phone with unfinished specifications unless you can't get any support from carriers or vendors for a more traditional launch Jul 24 04:29:41 but they have "centuries of hardware expierience" Jul 24 04:31:13 making and shipping hardware is *really* hard, compared with software Jul 24 04:31:51 Leeds i share your skepticism Jul 24 04:32:11 i do want to see it succeed though; i know if it did i would gladly try it Jul 24 04:32:45 have you put your money down or not? Jul 24 04:32:47 Ubuntu has trouble shipping good software, never mind hardware Jul 24 04:33:03 Leeds i dont have money to put down, so no Jul 24 04:33:39 g00s: you mean you don't have $830 (or $600, if you got in on day 1) lying around to lend to Canonical for a year? Jul 24 04:33:52 no Jul 24 04:34:04 how can i manually gradle something or view the console from within android studio using the wrapper? I'm getting an error that says to see the console but I can't see any additioanal info Jul 24 04:34:09 and that's why it's absolutely going to fail Jul 24 04:34:10 Something about Manifest merge failed. Jul 24 04:34:30 openmoko anyone? :p Jul 24 04:34:53 i think it will likely fail for lots of reasons; if its more open than android (which it seems to be, ideally a good thing) than its more likely to be abused by carriers Jul 24 04:35:43 it will fail a long time before that Jul 24 04:36:08 the Edge crowdsouring campaign will fail to raise $32,000,000.00 Jul 24 04:36:13 but, in the us - the carriers are a mjor force in what succeeds Jul 24 04:36:28 if samsung makes 90% of the android phones, they want a position against sammy Jul 24 04:36:36 doesn't matter Jul 24 04:36:41 if that other oem makes - gasp - a ubuntu phone, i bet it has a chance Jul 24 04:36:47 it will never exist as a product Jul 24 04:37:12 the Edge will *certainly* never exist - I'd be willing to put money on their crowdsourcing failing Jul 24 04:37:17 MS probably came to the table with too many apple-like demands - problem is, apples was there first, they said "f off", carriers were like "OK", and ms isn't in that position Jul 24 04:39:06 i'll start to be more worried if intel starts to back it Jul 24 04:39:09 :) Jul 24 04:39:23 so no then? Jul 24 04:39:45 damccull: sorry, I've never touched gradle Jul 24 04:39:49 k Jul 24 04:39:49 or AS... Jul 24 04:40:23 damccull did you try gradle from the command line :P Jul 24 04:40:29 with verbose Jul 24 04:40:41 g00s: that's my question. How? I have a wrapper. Jul 24 04:40:59 * g00s scratches head Jul 24 04:41:13 i just say "$gradle" Jul 24 04:41:22 i have no gradle other than this folder in my project says gradle wrapper Jul 24 04:41:23 don't need no stinkin wrapper Jul 24 04:41:31 heh, I'm still learning how this whole doohickey wors Jul 24 04:41:33 works Jul 24 04:44:35 g00s: do you suggest i install gradle itself instead of using this wrapper? Jul 24 04:44:54 i dont know how the wrapper works Jul 24 04:45:01 i just downloaded gradle myself Jul 24 04:45:04 me either. lol. Jul 24 04:45:06 ok i'll do that Jul 24 04:45:07 its just a zip file Jul 24 04:45:17 i would imagine you have it already :| Jul 24 04:45:29 is it burried somewhere in AS ? Jul 24 04:47:00 dunno. When you set up the 'wrapper', it creates a gradle folder with a gradle-wrapper.jar in the project. Also creates a .gradle folder in my home folder. In there is a 1.6 folder containing taskArtifacts foldr and that has a few .bin files. That's all I can find Jul 24 04:48:17 i like using the command line before letting the ide do all the crazyness Jul 24 04:56:43 guys, I have a game released, and a friend is reporting me that the game is getting slower after a few days of play... I couldn't find a reasonable explanation, so I asked him to clear the "cache" of the app that was with 8mb (created by the ads providers I suppose), and the game got fast again... was it a coincidence? Jul 24 04:56:58 or should I write some code to clear the cache every couple days? Jul 24 04:57:04 or... Jul 24 04:58:30 or… what ? Jul 24 04:58:37 you tell me :) Jul 24 04:58:43 the suspense is killing me Jul 24 04:58:47 Could you artificially inflate the cache and test yourself rottz? Jul 24 04:58:49 or something else Jul 24 04:58:49 you can just stop on "or.." Jul 24 04:58:54 ?? Jul 24 04:58:58 can't* Jul 24 04:59:01 lol Jul 24 04:59:16 well, yeah, I could try that Sonicadvance1 :) Jul 24 04:59:53 the reason I asked was because it might be a common thing, like "how could you release a game that doesn't clear up the cache every couple days? everybody does that!" Jul 24 05:00:28 I dont see an explanation for the cache slowing down the game also... this is all very weird :/ Jul 24 05:00:43 if it was a crash it would be easy to find/debug, but "slowness" is a pain Jul 24 05:17:30 rottz what type of time step are you using for the engine? Jul 24 05:23:35 g00s you might enjoy http://www.youtube.com/watch?v=4bM3Gut1hIk **** BEGIN LOGGING AT Wed Jul 24 05:27:41 2013 Jul 24 05:39:52 lasserix fixed step, 60fps / 16ms Jul 24 05:40:24 its not slowing down on the same session.. it gets slower every day Jul 24 05:40:29 after a week playing it gets unplayable Jul 24 05:40:57 since I have an SQLite DB I thought it was something with it (growing too big) Jul 24 05:41:10 ahh that might make sense Jul 24 05:41:12 lasserix thx Jul 24 05:41:16 make sure to index your tables Jul 24 05:41:18 but clearing the cache solved (?) it... so I have no idea what was the problem Jul 24 05:41:48 yeah I have to optimize it, Im leaving orphan data there also Jul 24 05:41:49 what do you mean? big sqlite = longer query times Jul 24 05:41:53 after a matches finishes I dont clear it up Jul 24 05:42:18 "a match" Jul 24 05:42:29 since you are using fixed step, the timing shouldn't be doing it on the update, but if you are querying constantly that could be why... Jul 24 05:42:55 it slows down A LOT.. like freezes for 2s... 5s... 30s Jul 24 05:43:07 after clearing up the cache it was lightning fast again Jul 24 05:43:21 oh Jul 24 05:43:25 very weird Jul 24 05:43:29 are you for some reason creating a lot of garbage? Jul 24 05:43:45 that could be a gc problem Jul 24 05:44:16 if your cache is not properly recycling objects... Jul 24 05:44:17 but its not a session-slowness... if he closes the game and reopens it is still slow Jul 24 05:44:43 yeah because the cache is still large and somehow creating garbage? Jul 24 05:44:44 what is this cache? I dont use the cache, I suppose it is from AdMob Jul 24 05:44:50 ohh Jul 24 05:45:04 hmm idk about admob Jul 24 05:45:30 look at DDMS in allocations, i think you can mark where to trace in code, and see if it is creating lots of garbage? Jul 24 05:45:36 *as the cache grows Jul 24 05:46:08 what is this cache? is it for the allocations? or some temporary folder for random files? Jul 24 05:46:42 well I put a code to clear up the cache every time the app starts, so hopefully the problem goes away :) Jul 24 05:46:54 not that I understood why it was happening... lol Jul 24 05:47:45 cache is usually to speed up access by caching the files, dunno what abmob is caching for, maybe images or something? Jul 24 05:48:14 the problem i could see is that if the cache is continually allocating new objects, as opposed to recycling them in a pool or whatever, it'll make the gc fire Jul 24 05:48:28 espicially if a big cache creates lots of gc targets Jul 24 05:48:33 each time it is being accessed Jul 24 05:49:59 prolly images.. actually I have a couple other smaller banner providers that might be the culprit Jul 24 05:50:15 I had performance problems with one of them while integrating Jul 24 05:50:31 I removed them now and put this cache-cleaning code Jul 24 05:50:37 hopefully it will be faster now Jul 24 05:51:41 use abitmap pool to decode Jul 24 06:11:31 Hey, when creating a DialogFragment, in onCreateDialog which creates and returns a Dialog object, in some cases I'd like to abort the dialog, is there a good way to do it? Jul 24 06:11:37 returning null will crush the app Jul 24 06:12:40 in some cases, just dont create it ? Jul 24 06:12:49 or use a callback to dismiss it? Jul 24 06:16:34 I'm currently working with the following code: http://paste.strictfp.com/38710 and I was wondering why the protected variable run-time values aren't accessible from MySensorListener Jul 24 06:19:29 lasserix: which callback? on the activity or the dialog? Jul 24 06:19:38 because you're doing it wrong and not adhering to the life cycle Jul 24 06:21:23 pfn: Talking to me? Jul 24 06:22:08 yes Jul 24 06:22:39 I am trying to get a simple bluetooth server working on android. I have the following code: http://codepad.org/vvOxjqdm -- this is a thread class which is fired when i start a server (by pressing a button). It listens on a bluetooth socket with a specific UUID. Calls accept(), waiting on connection, and then immediately sends a timestamp, closing the connection. When I use a test client (in linux/python) I connect to socket whcih works. However when Jul 24 06:23:02 How does it not ad-hear to the life cycle? Jul 24 06:23:15 I think the receive on the socket is not synchronized with when the data is sent. Jul 24 06:24:03 steven10172, clearly, what is going to call on create if you use it like that Jul 24 06:28:06 Still doesn't explain why that SubClass can't access the values of its parents class at deceleration Jul 24 06:28:31 of course it can Jul 24 06:29:01 but the way you do it, it will always be null Jul 24 06:29:22 How can I change it? Jul 24 06:30:08 by just making your main activity implement the interface and pass this instead Jul 24 06:39:27 pfn: an example please? Jul 24 06:52:44 jellybee: activity tells dialog to dismiss on abort Jul 24 06:53:09 listener goes wherever abort flag is raised Jul 24 06:59:50 Hey, quick question ive been searching for hours to figure out, is there a path similar to file:///android_asset to access /data/data/com.mypackage ? Jul 24 07:00:06 for use in webview Jul 24 07:01:37 thats odd Jul 24 07:01:39 :) Jul 24 07:03:27 Im trying to make a tiny phonegap app that downloads all the assets it needs after first run then gives the user options to download other assets that are not required to be downloaded at the time of first run. I cant store them on external storage as the company doesnt want the assets to be that protable Jul 24 07:03:54 this is for app dev, not web stuff, try #phonegap Jul 24 07:04:30 this is more of an android question then phonegap Jul 24 07:04:40 not really Jul 24 07:04:46 webview ? ew Jul 24 07:04:48 :) Jul 24 07:05:19 dblosevn: well, you can try to store it in /data/your-app Jul 24 07:05:26 out of interest have you ever found a "user" acceptable phonegap made web app on android ? Jul 24 07:05:27 thats what im asking Jul 24 07:05:47 thats close to normal app quality Jul 24 07:05:49 i want to store the stuff in /data/data/com.myapp.myapp/ Jul 24 07:06:13 but i cant figure out how to reference that from webview Jul 24 07:06:15 StingRay_: It depends on what you do in the app... If it's mostly static, you can get it... If you are doing "animated" or heavy duty stuff, you won't.... Jul 24 07:06:27 ill write native code to store the files there Jul 24 07:06:39 gavilan2: any example really Jul 24 07:07:00 just something that is close to normal apps Jul 24 07:07:08 On that matter, has anyone seen anything decent out of Sencha Touch, or does it have similar weak points to Phonegap/Cordova? Jul 24 07:07:09 StingRay_: Check Fastbook from Senecha.... Jul 24 07:07:09 I know bbc did one for olympics Jul 24 07:07:19 but that is now disabled Jul 24 07:07:47 I think I can replicate about 95% of a native app they have on itunes, I really wanted to do the whole app native but they required phonegap for the android version and were going to phase out the native ios app we built for them Jul 24 07:08:25 sencha touch is just a web framework Jul 24 07:08:42 like jquery mobile Jul 24 07:08:55 dblosevn: to do bussines apps or things as a web app.... Jul 24 07:09:26 its a business app but not very complicated the only thing im ging to loose really is the killer background video animation that the ios app has Jul 24 07:09:31 gavilan2: not a good comparison Jul 24 07:10:05 facebook native is doing boat loads more in the background … like tracking and watching you!!!! Jul 24 07:10:06 :) Jul 24 07:10:50 The code review team with the company put the phonegap restriction on me as its easier to maintain and it is portable/multiplatform Jul 24 07:12:42 I just want to see something other than a mobile website example Jul 24 07:12:47 dblosevn: What app are you creating_ Jul 24 07:12:48 ? Jul 24 07:12:51 is there any open source client for facebook btw? Jul 24 07:12:52 and have yet to find one Jul 24 07:12:58 is this channel logged? Jul 24 07:14:02 never mind, http://test.chosd.com/178 Jul 24 07:14:13 Thats the hardware kiosk version of it Jul 24 07:14:16 link in the post Jul 24 07:14:52 Theres a native ios replica, and now Im working on droid and windows 8 Jul 24 07:15:33 also an update to the web/hardware kiosk version of it that is responsive and doesnt require 1920x1080 res Jul 24 07:16:21 the web version was orginally only to be used on preloaded kiosks that we shipped them so thats the only reason it only works in chrome and requires such high res Jul 24 07:21:32 huh Jul 24 07:21:40 why just paving sh*t Jul 24 07:21:47 where are my tele lifters Jul 24 07:22:19 cat do some big big direct drive telescopics Jul 24 07:23:55 Ya our contract is with the paving group Jul 24 07:24:10 StingRay_: ok too bad Jul 24 07:24:28 StingRay_: I guess it needs somebody with time to reverse engineer things :/ Jul 24 07:27:19 well I will try file:///data/data/com.packagename.package/file.name but it seems like there would be a uri reference to that directory Jul 24 07:28:15 if that even works Jul 24 08:08:45 Anyone else getting error 500 when trying to access play store dev console? Jul 24 08:10:11 negative Jul 24 08:10:16 all fine here (UK) Jul 24 08:12:13 Here too (Norway). Jul 24 08:21:58 Chainfire: you here ? Jul 24 08:22:20 yeah Jul 24 08:22:43 was it you who were playing with a universal way to get offset of the UI status bar ? Jul 24 08:22:59 well dimension Jul 24 08:23:05 not sure why I said offset Jul 24 08:23:12 I remember talking about it some time ago but not sure Jul 24 08:23:15 height actually Jul 24 08:23:19 :) Jul 24 08:23:40 did you manage to get a reliable way ? Jul 24 08:24:04 I don't remember Jul 24 08:24:27 I think I ended up just using 54dp or whatever Jul 24 08:24:42 I don't even remember what I needed it for, haha Jul 24 08:42:08 hello, is there any way I can run a command with root permissions without having to "adb shell su" first? I mean, something similar to ubuntu "sudo, adb shell sudo "? Jul 24 08:42:29 adb shell su -c "" Jul 24 08:42:39 Chainfire, great!!!!!!!!!!!!!! Jul 24 08:42:48 Chainfire, lemme try that Jul 24 08:46:05 heya guys - quick question Jul 24 08:46:44 Hi! I see the MediaPlayer class can use a content URI as data source. But can it be used to provide binary data to it with a OutputStream? Jul 24 08:47:04 The default Holo EditText style looks bad on a light background color. Namely, the "underline" background is too bright. Rather than creating my custom background for it, I was hoping that there is a "dark style" built-in background asset Jul 24 08:47:05 Is there? Jul 24 08:47:59 Tee_Pee, I'm pretty sure there's a holo dark theme. Jul 24 08:48:07 Tee_Pee, http://developer.android.com/design/style/themes.html Jul 24 08:48:43 That should include a default background for the theme.. Jul 24 08:49:47 am aware, was just wondering if I could add that style specifically to only one text field. Jul 24 08:50:22 You should be able to reference the color 'background_holo_dark' as the EditText background color Jul 24 08:50:29 Is that what you mean? Jul 24 08:50:47 well you would not want just the color Jul 24 08:51:11 there are about 5 states that go with it :) so you want the stateList I would think Jul 24 08:53:26 luc4> Hi! I see the MediaPlayer class can use a content URI as data source. But can it be used to provide binary data to it with a OutputStream? --- Look into AudioTrack if you want to play raw PCM data Jul 24 08:53:39 hmpf, this'll be tricky Jul 24 08:53:49 Kegsay: not PCM data. Jul 24 08:54:00 luc4, no, it can't read data from arbitrary streams of file handles Jul 24 08:54:21 which is dumb, especially it's just a stagefright interface problem Jul 24 08:54:27 you can set file descriptors on MediaPlayer but not a stream itself I believe Jul 24 08:54:29 Tee_Pee: found it Jul 24 08:54:39 edit_text_holo_dark :) Jul 24 08:54:41 simples Jul 24 08:54:54 luc4, the usual trick is to do a loopback http socket, but that has some of its own problems Jul 24 08:55:04 No, file descriptors are not ok I guess. I need to provide dynamically generated data. Jul 24 08:55:06 yeah, I found it too, thanks, but this means that it'll sport this background even on non-holo devices :( Jul 24 08:55:22 Yes, I know that trick, I was trying to avoid that. Jul 24 08:55:45 Tee_Pee: ah, see your point, well unless you add to an extended holo style ? Jul 24 08:55:49 luc4, well unless you wanna do your own decoder and video rendererer, that's it Jul 24 08:56:01 Tee_Pee: this is why I dont use styles :) Jul 24 08:56:05 yeah, I don't think there's any other way luc4 :( Jul 24 08:56:07 * StingRay_ has no style Jul 24 08:56:43 Mavrik: I see it is possible to provide a ParceFileDescriptor, where with a pipe I can provide data. But that pipe is like a regular unix named pipe? Jul 24 08:56:44 StingRay_ - the project specifications of this app are very... colorful. Each category has its own colors for the actionbar, nav buttons, selection overlays etc. Jul 24 08:56:52 I not only have styles, I have stupidly convoluted styles Jul 24 08:56:55 :( Jul 24 08:57:06 I do that too Jul 24 08:57:14 I am overhauling it though to set it all programatically Jul 24 08:57:17 via hex codes Jul 24 08:57:28 I just dont use styles Jul 24 08:57:46 luc4, that won't work Jul 24 08:57:55 cause it is not seekable? Jul 24 08:58:11 no, because stagefrigt runs an fstat on the filedescriptor and that pipe will return 0 as size Jul 24 08:58:17 causing the player to die Jul 24 08:58:40 if you find a third way… do tell me ;) Jul 24 08:58:52 I've wasted enough of my life on that :P Jul 24 08:59:10 Tee_Pee, have you thougjt about using the HoloEverywhere library? https://github.com/Prototik/HoloEverywhere Jul 24 08:59:28 Mavrik: unfortunately, the fd must be seekable, which means that, without creating a custom device with a kernel driver I fail with any idea I had :-) Jul 24 08:59:42 That would bring the applications style in line across all devices. Jul 24 08:59:59 Seidr - project specifications also list "native look of common elements such as text fields" Jul 24 09:00:06 Mavrik: did you try using a local http server already? Jul 24 09:00:13 Ah ok Jul 24 09:00:14 which is really really stupid considering that no other android design principles are used. Jul 24 09:00:17 luc4, yp. Jul 24 09:00:23 like the action bar, or home icon navigation Jul 24 09:00:31 Mavrik: does it work correctly? Jul 24 09:00:43 it works. Jul 24 09:00:57 on some devices the MediaPlayer randomly takes up to 5 seconds to prepare Jul 24 09:01:00 but otherwise it works. Jul 24 09:01:32 Mavrik: I'll do it like that then, thanks. Could you also tell me what http server you used? Jul 24 09:02:16 Mavrik: I don't want to end up with issues related to the http server as well :-) Jul 24 09:07:22 luc4, wrote my own. Jul 24 09:07:39 Mavrik: I see. Thanks for the information! Jul 24 09:10:57 Chainfire, thank you very much mate! Jul 24 09:20:18 hey folks, do you have experience with putting root-only apps on the play store? are there many people downloading and then complaining? Jul 24 09:48:14 hi all, please remind me how to load reasourses. I nead to get a LinearInterpolator. Im trying to do something like that: LinearInterpolator interpolator = getResources(android.R.anim.linear_interpolator) Jul 24 09:49:15 dont think you load an interpolator Jul 24 09:49:31 you can load an anim that uses an interpolator Jul 24 09:52:40 well ok, so how do I do that? I mean getResourses() is not the one who I need Jul 24 09:53:10 what do you want to do ? Jul 24 09:55:03 cause any anim by defualt will/should use simple linear interpolation Jul 24 09:56:25 I want to create an Interpolator in code and then set it via animation.setInterpolator(interpolator); Jul 24 09:57:05 by default you dont need one then Jul 24 09:57:15 unless you wanted something OTHER than linear Jul 24 09:57:42 example being a DecelerateInterpolator Jul 24 10:01:13 do DIP scale per resolution? Jul 24 10:02:26 yes ? Jul 24 10:02:37 if you read the docs it tells you Jul 24 10:04:10 cool :) Jul 24 10:04:23 i thought they do, just wanted to have a quick check Jul 24 10:27:04 what is the best way to add the admob.jar to my /libs folder? Jul 24 10:27:07 android studio Jul 24 10:27:34 drag&drop it there, rightclick - "add as library" Jul 24 10:27:48 and configure in build.gradle to compile it Jul 24 10:28:01 compile files('admob.jar') Jul 24 10:28:37 has anyone ever experienced not receiving messages over GCM? Jul 24 10:28:44 like - it completely stops receiving them Jul 24 10:30:10 zhulikas, you probably received new registrationId and didn't handle that. Jul 24 10:30:16 especially after app upgrade. Jul 24 10:30:35 okay Jul 24 10:30:41 I do handle it Jul 24 10:30:42 I can't find the admob.jar Jul 24 10:30:59 after a while it does start working again Jul 24 10:31:01 where is it intended to be. Turns out nothing is in /sdk/extra/google/admob Jul 24 10:31:14 (mac os x) and yet the package manager shows it as installed Jul 24 10:31:24 I think it may be phone losing connection to google server Jul 24 10:32:54 okay, reinstalled it :) Jul 24 10:44:34 in android studio, is it possible to show the docs inline? Jul 24 10:44:49 e.g. i hover over "String" and it shows me its docs Jul 24 10:44:54 spobat, Ctrl+J Jul 24 10:45:24 Which i assume stands for jocumentation. Jul 24 10:45:45 JuiceSSH: that works great! :) Jul 24 10:52:24 JuiceSSH, Javadoc? Jul 24 11:13:20 how can I get a time string with seconds formatted according to the locale? DateFormat.getTimeFormat() is only HH:MM Jul 24 11:15:20 Date date = parseString(datestr); Jul 24 11:15:23 String str = android.text.format.DateFormat.getDateFormat(ctx).format(date); Jul 24 11:15:51 If you have a Date instance already, just feed it to the second line with a proper context. Jul 24 11:16:09 (parseString is my own custom method..) Jul 24 11:16:24 ah, java.text.DateFormat.getTimeInstance(DateFormat.MEDIUM) does the trick Jul 24 11:16:48 kjeldahl: thanks though :) Jul 24 11:16:54 How does that method know what locale your phone uses?? Jul 24 11:17:24 Maybe it works for YOUR locale, but that's a flawed assumption. Jul 24 11:18:58 kjeldahl: I need to display the current time to the user, and the time should show seconds. I am pretty sure if my locale has a seconds display for MEDIUM, the other ones can be assumed to do it as well Jul 24 11:19:10 kjeldahl: of course I could just define a format string and ignore the user locale.... Jul 24 11:21:22 If you're only looking or seconds, the locale doesn't come into play anyway, and there are simpler ways of getting to it. But I (probably wrongly) assumed you wanted to show a time and date in the user's locale. If you've solved your problem alredy, good for you! Jul 24 11:21:30 looing *for seconds.. Jul 24 11:21:38 *looking *for seconds.. Jul 24 11:29:08 anyone know why I dont have a standard "drawable" folder in my android studio project? I created it but its unable to reference anything in there Jul 24 11:30:35 or it seems it fails to preview Jul 24 11:33:24 Hi Jul 24 11:35:07 In open gl es shaders there's a variable called vPosition. I have looked in the official docs and googled a lot but I can't find out much about it. I am guessing that it is a variable that is shared from the code that generates the edges. has anyone got any decent info on it please? (tnx) Jul 24 11:48:27 Anthy the sl has its own built in variables, Jul 24 11:48:55 I am guessing vPosition is not one of them, but is a variable you have to provide a value for via the glAttributePointer call Jul 24 11:48:57 http://stackoverflow.com/questions/8551935/opengl-es-2-0-specifiying-position-attribute-vec3-or-vec4 Jul 24 11:49:55 without seeing your code I am assuming vPosition, in the shaders, represents a vertex in your vertex buffer (untransformed by view, projection and model matrices) Jul 24 11:50:38 tnx for your reply. I really don't understand this I think I need to tinker a little Jul 24 11:51:32 hmm this website is down but is good for you http://www.learnopengles.com/android-lesson-one-getting-started/ when up Jul 24 11:51:53 this is also very good http://www.arcsynthesis.org/ Jul 24 11:52:02 but it is not gl es just gl Jul 24 11:52:35 Does anybody know if there is any information on exactly HOW the Gradle plugin for Android supports "Full incremental builds"? Jul 24 11:52:41 so some of the functions are changed, also it uses glut or something (designed for c++) but you can probably figure out how to parse it (ie it has a onwindowresized callback and android has on windowchanged callbeck) Jul 24 11:52:58 I have a geometry engine running just I am onto the shaders that's the bit where I am having problems. I can render triangles etc just I need to know what and where these weird variables they keep using without description keep popping up Jul 24 11:54:50 when its back up http://www.learnopengles.com/android-lesson-one-getting-started/ will explain all that to you Jul 24 11:54:57 lasserix: you are right in your assumption vPosition. I pass this through a proj matrix and it's fine. Jul 24 11:55:04 Yep those pages are down at mo Jul 24 11:55:23 usually you want to pass it through proj * view * model Jul 24 11:55:27 in the vertex Jul 24 11:55:30 shader Jul 24 11:55:55 if you don't you can pretend you did but view and model where identity Jul 24 11:56:00 *were Jul 24 11:56:45 Yeah but my problem is that I dont have a complete list and description of these variables Jul 24 11:56:52 vPosition etc Jul 24 11:57:39 Stuff like gl_Position I understand because they are documented Jul 24 11:58:06 (I cant see where vPosition is passed) Jul 24 11:58:21 you define vPosition Jul 24 11:58:27 you can call it whatever you want Jul 24 11:58:48 basically gl sl has its own data types Jul 24 11:59:21 so vPosition it pulled from the VBO? Jul 24 11:59:36 let me see if I can change it Jul 24 12:00:06 you have uniform, attribute, varying Jul 24 12:00:18 uniform is something that doesn't change per vertex, like model view or projection matrices Jul 24 12:00:44 attribute is something that changes per vertex, that you have supply a pointer to the data via glVertexAttribute pointer Jul 24 12:01:00 so in my draw program i have something like: Jul 24 12:01:03 err draw call Jul 24 12:01:10 GLES20.glUseProgram(handles_program[Constants.sl_program_trivial_with_color]); Jul 24 12:01:15 final int mMVPMatrixHandle = GLES20.glGetUniformLocation(handles_program[Constants.sl_program_trivial_with_color], Constants.slNames_u_MVPMatrix); Jul 24 12:01:15 Jul 24 12:01:22 how do you guys know all this?! Jul 24 12:01:26 final int mPositionHandle = GLES20.glGetAttribLocation(handles_program[Constants.sl_program_trivial_with_color], Constants.slNames_a_Position); Jul 24 12:01:26 Jul 24 12:01:33 Jul 24 12:02:03 Ah thansk I think I understand now. The vPosition is pulled from the VBO Jul 24 12:02:04 so the first one tell the shader in the program that somethign called uMVPMatrix will passed in later when i make the call at the end of the draw call GLES20.glUniformMatrix4fv(mMVPMatrixHandle, 1, false, mvp, 0); Jul 24 12:02:21 the second one will tell the shader to use GLES20.glVertexAttribPointer(mPositionHandle, Constants.dimension_per_3d_vertex, GLES20.GL_FLOAT, false, 0, buffer_vertices); Jul 24 12:02:21 Jul 24 12:02:28 so I could add another VBO for texture positions and call it what I want and it will be interpolated? Jul 24 12:02:34 yeah Jul 24 12:02:42 but if you want it interpolated in fragments Jul 24 12:02:43 Nice! 9tnx) Jul 24 12:02:46 you have to use varying keyword Jul 24 12:02:50 I see Jul 24 12:03:09 How would i write the NDC x into a colour ni the fragment shader? Jul 24 12:03:11 so you do an attribute in your vertex, then set the varying in the vertex main to the attribute Jul 24 12:03:39 umm not sure what you mean Jul 24 12:03:49 Say I want to change the pixel colour I write out Jul 24 12:04:04 So in fragment shader I have gl_FragColor = vec4(0.0, 0.0, 1.0, 1.0); Jul 24 12:04:18 I would like to change that colour based on the x co-ordinate say the red= x Jul 24 12:04:39 so vec4(,0,1,1); Jul 24 12:04:49 umm you can do it various ways Jul 24 12:05:10 depends on what you are trying to accomplish Jul 24 12:05:30 here are the built in variables: http://www.opengl.org/wiki/Built-in_Variable_(GLSL) Jul 24 12:06:03 Page dead again (internet is so volatile!) Jul 24 12:06:08 err Jul 24 12:06:09 http://relativity.net.au/gaming/glsl/Built-inVariables.html Jul 24 12:06:11 I have the pdf of the official docs Jul 24 12:06:12 that is es 2.0 Jul 24 12:06:23 (tnx!) Jul 24 12:07:10 anyways you can look around and see what or how you want to compute Jul 24 12:07:26 you can also ask in #opengl just be sure to specify you are doing es 2.0 Jul 24 12:07:38 since some of the shading language is modified Jul 24 12:07:53 2 hashes AFAIK Jul 24 12:07:56 ##opengl Jul 24 12:10:28 I think I need to take a step back and understand fully how the shaders work. Jul 24 12:11:46 narekb: to answer your question i tried to do fixed function stuff to make a kind ofparametric geometry visualizer back in the day, then i audited a class at the local uni on intro to 3d graphics that just touched on sl at the end, then just lots and lots and lots of trial and error :) Jul 24 12:13:40 Anthy: try to understand the difference between goroud and phoung shading Jul 24 12:13:48 espicially applied to lighting Jul 24 12:14:00 clarifys the functions of the vertex and fragment shaders and how they interact Jul 24 12:15:20 if you are going to do this a while, refresh your LA if you are rusty Jul 24 12:15:33 lasserix, great way of learnig Jul 24 12:15:38 btw what's LA? Jul 24 12:15:41 Linear Algebra Jul 24 12:15:42 ? Jul 24 12:15:46 aye Jul 24 12:16:10 oh, so THIS is where the legend comes true, when you actually need math for app development Jul 24 12:16:49 most definatly Jul 24 12:19:07 Well opengl support routines use right handed stuff. I'm used to left handed so I derived project matrix etc as left Jul 24 12:19:34 oh yeah, well the good thing is that you right or left multiply with the Matrix mult library Jul 24 12:19:59 chirality its nature's natiest coding bug :) Jul 24 12:20:06 *nastiest Jul 24 12:20:23 Yep I just extended the opengl.Matrix class and overrode the routined which were chiral dependant Jul 24 12:20:41 :) Jul 24 12:20:57 cool in case you don't know opengl is column major ordered Jul 24 12:21:25 Yea Jul 24 12:21:48 Most of my bugs come from jumping ahead skipping the hello stuff Jul 24 12:22:19 hehe Jul 24 12:23:01 if you dont mind me asking what's the application your doing about? Jul 24 12:23:10 I'm writing a game Jul 24 12:23:15 oh cool me too Jul 24 12:23:31 sounds like you have previous exp though Jul 24 12:23:38 Nice! let me show you a sreeny of the thing working on 1.x opengl Jul 24 12:24:10 What's your game - full 3d platform etc? Jul 24 12:25:28 That's a screeny http://imgur.com/1PVEMrt Jul 24 12:25:49 Anthy oh yeah i saw you post this a week back or so :) Jul 24 12:25:57 Was basically a primer for opengl learning on Android, so I decided to up to 2.x opengl as i want to write a game that will sell on the store :) Jul 24 12:26:07 Anthy, no offense but this is as Illuminati as it could get :D Jul 24 12:26:19 Hehe yeah it's based on conspiracy theories Jul 24 12:26:23 yeah its 3d fps shooter, trying to develop everything procedurally Jul 24 12:26:32 Anthy, suits me :D Jul 24 12:26:35 don't forget the lizard men! Jul 24 12:26:42 and FSM Jul 24 12:26:44 :D Jul 24 12:26:50 Kind of loving java the way i can just stuff tings on a list and then when the surface is lost call an interface to refresh the thing onthe GPU Jul 24 12:26:56 hehe Jul 24 12:27:56 dont use foreach on your array lists Jul 24 12:27:58 Interdimensional beings controlling the world heh funny stfuf Jul 24 12:28:09 great game context! Jul 24 12:28:36 I hit a problem though and that was that if I spend 1 min on each question (I need abotu 10k questions) that's a lot of hours researching Jul 24 12:28:52 Do you think I should finish the game? Jul 24 12:28:57 I bet bored fast and go onto another idea Jul 24 12:29:02 *foreach invokes a transitory iterator so if you are calling whatever method that runs that loop frequently you'll create a lot of gc Jul 24 12:29:24 anthy: figure it out so you have a seed of questions and the rest are user-content produced Jul 24 12:29:26 :) Jul 24 12:29:50 that way you get marketing and user persistence for free Jul 24 12:30:06 yeah that's a good idea Jul 24 12:30:11 plus who doesn't have their own crazy interpretation of the world they secretly want to share? Jul 24 12:30:50 If can avoid the question base and add personalisation to the questions then that frees me a lot of time doing questions Jul 24 12:30:55 true Jul 24 12:31:21 I've been thinking the game mechanics are a little boring at the moment I should re think and add some spice into moving about the pyramid Jul 24 12:31:41 (Running around a pyramid is a little boring tbh) Jul 24 12:33:48 do visual puns? Jul 24 12:33:59 eye scream! Jul 24 12:34:20 it's a q and a game but your avatar is able to move around in the 3d world? Jul 24 12:35:01 Yeah the pyramid rotates it's like monopoly board dice is thrown and you move about Jul 24 12:35:23 but that idea about personal questions is awesoms! (Txn!) Jul 24 12:35:39 I could add a bank of pre defined questions and then let the user edit ones to tease their buddies Jul 24 12:36:32 Do you know who much $ you make per unit off android game? (Say for example it is 1$ on the store) Jul 24 12:36:53 70% of $1 :D Jul 24 12:36:55 If sell enough copies can live for a while and keep programming :) Jul 24 12:36:57 google takes .3 and whatever else taxes goto Jul 24 12:37:05 rest is yours Jul 24 12:37:10 sweet! Jul 24 12:37:11 lasserix, almsot nothing Jul 24 12:37:24 consider the sales will be poor because piracy Jul 24 12:37:28 if you can update your question base you can use advertising and make residual income Jul 24 12:37:34 "residual" Jul 24 12:37:43 the key is to make a really good promo video Jul 24 12:37:51 which would be a lot of fun for this app i imagine Jul 24 12:39:08 Well originally I thought that I would target a meme (conspiracies) so there's a potential user base Jul 24 12:39:21 I was considering hoaxing a UFO video or something and then later exposing it Jul 24 12:39:32 Like bigfoot or something hehe Jul 24 12:39:41 Letting it go viral then exposing it Jul 24 12:40:05 What if paxil in our water supply is keeping us sedated? What if Marge Simpson was the second shooter on the grassy knoll? What if the DaVinci code is not only a book, but the real story... Jul 24 12:40:15 yeah Jul 24 12:40:26 ahh yeah that's really good Jul 24 12:40:39 *the meme angle Jul 24 12:40:47 memes are free marketting too :) Jul 24 12:41:07 :) Jul 24 12:41:10 you could have the option to generate a meme with the answer they put to send to their friends Jul 24 12:42:15 Do you want to hear a theory I have about the internet? Jul 24 12:42:29 sure Jul 24 12:42:52 Well it goes like this we are all networked up and some of us are slaves to the information Jul 24 12:43:14 so the question is have we been enslaved by some unconsious force? Jul 24 12:43:29 We have a the internet as nodes and each person is a processor at each node Jul 24 12:43:44 So each person has been hijacked to swap information (pass information on) Jul 24 12:44:00 or they have been allocated to process the information (for example critique an article) Jul 24 12:44:22 but really these people being in the network are being controlled by information Jul 24 12:44:39 Kind of like hijacked by some giant network Jul 24 12:45:09 and some of their lives are really bad because of it - they have trouble concentrating etc and can only pass stuff on fast (shallow memes) Jul 24 12:45:19 these are swappers Jul 24 12:45:23 like by giant floating brains that are trying to amass all knowledge in the universe whereupon when they do they'll destroy it so no new information can be concieved? Jul 24 12:45:31 (so the network has hi jacked their brain to ber a swapper node) Jul 24 12:45:41 Yea Jul 24 12:45:41 Of course, the same could be said about religion, politics, markets, entertainment, etc. Basically Dawkin's memes. Or the idea of the selfish gene using us to reproduce itself. Jul 24 12:45:51 Anthy: i think the force you are looking for is advertising because most of the internet that normal people use these days is based on consumerism Jul 24 12:45:56 What is the network trying to accomplish ? Jul 24 12:46:07 to get you to buy more stuff you don't need? Jul 24 12:46:14 Well that is one aspect of it Jul 24 12:46:26 but if you think about it information piggy backs on other memes Jul 24 12:46:27 or it is prepping us for the singularity? Jul 24 12:46:40 this is evolution. there is no larger purpose. is about what memes have the traits are best at reproducing themselves. Jul 24 12:46:43 Like you have a page with some jpeg or other on it and then on that same page there's real stuff that needs processing Jul 24 12:47:25 but how many people (critical thinking people) lose their ability to be critical because of memes? Jul 24 12:47:36 i thinkit's quite shocking Jul 24 12:47:51 so we need a kind of proworm antimeme algorithm? Jul 24 12:47:56 it's kind of evolving into where there's a huge organism which will be responsible for thought Jul 24 12:48:15 hehe I dont know Jul 24 12:48:15 Anthy what you are talking about resembles kurzweil's singularity Jul 24 12:48:43 eventually we become so entangled as vectors of information we lose individuality and become a collective computational engine Jul 24 12:48:44 superintelligence? Jul 24 12:48:51 yeah Jul 24 12:49:05 I agree Jul 24 12:49:06 Most people never had critical thinking skills in the first place. Or more to the point: critical thinking is _another_ meme. So the right question is: does critical thinking have better self-propagation traits than herd mentality? Sometimes is safer to be in the herd. Jul 24 12:49:50 roadfish in an overpopulated astable society herd mentaltiy is likely to doom us all even if it kept us going early on ;p Jul 24 12:49:52 roadfish, sometimes Jul 24 12:50:07 it is easier to control a herd Jul 24 12:50:08 roadfish interesting I would say there needs to both, but what happens when the informtation in the herd is enough? Jul 24 12:50:21 so the "masters" of the world try to unite people around something Jul 24 12:50:29 enter New World Order Jul 24 12:50:35 long term collective doom but short term individual survival. Jul 24 12:50:43 or at least individual advantage Jul 24 12:51:01 I was thinking the herd woudl trim itself as the wirehead syndrome becomes less and less but this isn't happening Jul 24 12:51:10 sorry more and more* Jul 24 12:51:23 There are no masters. There are evolutionary trends. And even the so-called masters are deluding themselves. Jul 24 12:51:28 and what happens when we come to the final bit of information Jul 24 12:51:39 there's a choice to simply stop and cease Jul 24 12:51:40 roadfish: i suspect critical reasoning and group thinking are codependent unfortunatly Jul 24 12:51:48 ordo we break up the information base and start again Jul 24 12:52:14 There is no final bit of information. The combinatorial explosion of the search-space of memes is far greater than the entropic life time of the universe. Jul 24 12:52:17 I mean if I assimilate all the information in a closed system there's one choice before that - to stop or to break up and continue Jul 24 12:52:35 roadfish, I am the kind of person who believes some conspiracy theories Jul 24 12:52:46 anthy there is no such thing as a closed system of information Jul 24 12:52:48 so I believe in the existence of "masters" Jul 24 12:52:50 narekb I believe some of them Jul 24 12:53:02 some of just crazy though Jul 24 12:53:09 such as? Jul 24 12:53:21 Well bill hicks is alex jones etc Jul 24 12:53:27 the earth is hollow Jul 24 12:53:33 heh Jul 24 12:53:42 you don't even need conspiracy theories, there is a segment of the population that owns most of the worlds wealth and as a result decide how the materials of the world are used and thereby are somewhat like masters du jure, but that's getting a little to political for this channel ;p Jul 24 12:53:51 but they still propagate Jul 24 12:54:05 hehe Jul 24 12:54:09 keanu reeves is really immortal! Jul 24 12:54:09 Conspiracy theories are a form of herd mentality. Is an excuse that makes us feel better about ourselves. We get to blame "the masters" rather than looks within. Conspiracy theories (and other lack of critical thinking) are why we can't escape the herd mentality. Jul 24 12:54:32 roadfish, I never blamed masters for anything Jul 24 12:54:35 good point Jul 24 12:54:45 don't generalize Jul 24 12:55:04 lassserix I dont know is the universe closed or what? Jul 24 12:55:11 but many who promote conspiracies _do_ want to blame others rather than look within. Jul 24 12:55:19 if we assume it is closed then how can we keep making information Jul 24 12:56:14 Whether or not the universe is closed is irrelevant to the space of all memes. Jul 24 12:56:23 why? Jul 24 12:56:59 The space of all memes is far vaster than all the available matter to perform the computations. At least within any given Hubble volume. Jul 24 12:57:13 Well i was talking about assimilating information if we assume our goal is to assimilate information we can't keep on doing that because we run out of space right? Jul 24 12:57:39 you mean physical space? Jul 24 12:57:45 storage space Jul 24 12:57:52 well, people will produce that forever Jul 24 12:58:13 Anthy you ever see "THEY LIVE"? Jul 24 12:58:18 yeah Jul 24 12:58:21 roddy piper good movie Jul 24 12:58:29 I saw it also Jul 24 12:58:37 what's it about? Jul 24 12:58:49 it's about aliens living among us Jul 24 12:58:55 oh Jul 24 12:58:57 interesting Jul 24 12:59:00 http://www.youtube.com/watch?v=L86AAGZ9BBg Jul 24 12:59:03 you got to see it Jul 24 12:59:12 great special effect Jul 24 12:59:12 well I cant watch it now Jul 24 12:59:13 it's a great movie Jul 24 12:59:15 but this is getting saved Jul 24 12:59:35 Duke Nukem 3D owes a lot to it :) Jul 24 12:59:44 Bit of a comedy or parody. Can be viewed as a social commentary on our world. Jul 24 12:59:59 how old is the film? Jul 24 13:00:01 narekb: a nondescript pair of sunglasses peels back the illusian and underneath the main character finds that for instance dollar bills simply say in black and white (instead of the graphics and denomiation) SEX Jul 24 13:00:03 GOD Jul 24 13:00:04 POWER Jul 24 13:00:04 old Jul 24 13:00:07 for instance Jul 24 13:00:09 80's Jul 24 13:00:19 major spoiler alert here Jul 24 13:00:25 its a critique of the effects of reagenomics Jul 24 13:00:32 roadfish: that's in the trailer :) Jul 24 13:00:39 hah! Jul 24 13:00:47 :D Jul 24 13:01:14 a good reason to avoid the trailers Jul 24 13:01:24 :D Jul 24 13:01:27 hey guys Jul 24 13:01:33 great discussion got to graze the cat. anthy if you get your game up in beta send me a link and i can contribute some actual ideas as to the gameplay Jul 24 13:01:34 what's up? Jul 24 13:01:43 I think a few games capture ther atmosphere in those old movies (half life 2 being an example) Jul 24 13:01:44 ok, I have a meme here ... Android WebView ... Jul 24 13:01:47 I need some help with a ListView :/ Jul 24 13:01:50 can I do multiple text selection in WebView? or alteratively, can I highlight a text selection just before I start on another selection? that is, can I highlight an arbitrary span of text (when the text isn't properly nested within some HTML tags)? Jul 24 13:01:58 lasserix sure tnx! Jul 24 13:02:00 Hello Jul 24 13:02:15 ListView? Jul 24 13:02:20 here's my problem, on StackOverflow: http://stackoverflow.com/questions/17820446/performitemclick-not-working-after-setadapter/ Jul 24 13:03:15 Yeah, I'm trying to performItemClick after setting the adapter, but it returns a NULLPOINTER expection Jul 24 13:04:51 Wat happens if you dont set the adapter? Jul 24 13:05:01 and populate from a resource? Jul 24 13:05:46 I cannot do that Jul 24 13:05:53 I need the data from run time Jul 24 13:06:26 ah Jul 24 13:08:17 It's really strange, because after setting the adapter, if you check the getLastPosition returns -1 and the getFirstPosition returns 0 Jul 24 13:09:28 I'm pretty sure perform item click requires you to pass the view as a parameter. Have you tried changing the view from null to the currently selected item? Something like list.getAdapter().getView(position) Jul 24 13:09:42 yeah, nullpointer also Jul 24 13:09:44 Oops misclick Jul 24 13:09:46 Ah ok Jul 24 13:10:04 gmullernh try this ? listViewAdapater.notifyDataSetChanged(); Jul 24 13:12:22 I'm going to have to go. Thanks for the good chat/tips people. XD Jul 24 13:12:38 I'd have a more in depth look for u but on phone at the moment Jul 24 13:12:48 bye Anthy Jul 24 13:14:52 hey, i'm back Jul 24 13:15:03 Welcome back Jul 24 13:15:13 going to try the notifyDataSetChanged Jul 24 13:15:45 Yea hopefully it will work. I use it when updating user lists in my client Jul 24 13:16:11 I've have to set the adapter and call the notify, alright? Jul 24 13:16:56 Yep Jul 24 13:17:55 still not working :/ Jul 24 13:19:42 Hmm something else must be up. Does the list get populated with data? Jul 24 13:20:25 yeap Jul 24 13:20:50 I'm also made a onKeyDown Jul 24 13:20:55 that simulates the click Jul 24 13:20:59 and it works fine Jul 24 13:21:37 the only problem is when I call the performItemClick right after setting the dataAdapter Jul 24 13:25:15 Maybe you could make a function that performclick calls instead and directly call it from there? Jul 24 13:25:45 Maybe perform click isn't working because it isn't initialised yet Jul 24 13:26:44 Unless that isn't an option Jul 24 13:27:39 I've tried that already, but didn't work either. Jul 24 13:27:55 Odd Jul 24 13:27:58 I've also tried to make a new delayed thread Jul 24 13:28:23 Yeah, it's a really strange behaviour Jul 24 13:31:15 I wish I could be more helpful, its not a function I have used. Jul 24 13:32:01 Hi developers! green android here! http://www.imageshack.eu/Gjv Jul 24 13:32:39 Awesome xD Jul 24 13:32:47 Thanks anyway :D Jul 24 13:33:20 I need some help with getting string value from preference: http://pastebin.com/1aZE6Fe7 Jul 24 13:33:22 Is there any way to pass a string argument to onPreExecute in an AsyncTask? I have a listview and want to send the string of the clicked item to an AsyncTask to display it in a ProgressDialog while performing the AsyncTask Jul 24 13:34:07 I need to get the hex value.. but it requires int. I dont know why Jul 24 13:35:13 cmon people.. it took over one hour to render that :)) Jul 24 13:36:58 azeam, pass it in constructor_ Jul 24 13:36:59 ? Jul 24 13:37:47 Mavrik: thanks, I tried that but couldn't get it to work, are you sure it should work? In that case I'll keep trying Jul 24 13:37:49 Zgary, maybe because a hexadecimal number is still an integer? :) Jul 24 13:37:56 and is thus stored like that into prefs? Jul 24 13:38:12 how can I get the hex value? Jul 24 13:38:14 azeam, yes, I'm sure passing a string should work :) Jul 24 13:38:32 Zgary, is there a reason you need a "hex" value? Jul 24 13:38:43 since if you're setting colors you're setting 32-bit ints anyway Jul 24 13:38:49 to read the red, gree, blue stored Jul 24 13:39:41 I am using the package yuku.ambilwarna; I dont know how to get the value from the preference :| Jul 24 13:39:49 Anyone can help me with this ListView issue? http://stackoverflow.com/questions/17820446/performitemclick-not-working-after-setadapter Jul 24 13:40:03 Zgary, your value is an integer. Jul 24 13:40:07 read an int, show it Jul 24 13:40:07 Zgary, first get the int Jul 24 13:40:14 ok Jul 24 13:42:36 I put inside: android:defaultValue="0x00000001" Jul 24 13:42:46 and I use: Log.i ("test", "test " + prefs.getInt("color_key1",0)); Jul 24 13:42:55 i get in log: I/test: test -467130 Jul 24 13:42:57 :( Jul 24 13:43:21 well, was the color anywhere else modified? Jul 24 13:43:38 I will check Jul 24 13:44:41 wow, that was quick http://www.securityweek.com/first-malicious-apps-targeting-android-master-key-vulnerability-found-wild Jul 24 13:45:53 Mavrik: working now, as usual you need to do the same (?) thing twice to get it to work ;) Thanks for the help Jul 24 13:46:19 Oh wow. I hope they can patch that out of android Jul 24 13:47:21 the weird thing, if this was the bug i am thinking about, is that google patched this in early 2013 but didn't give the updates to nexus owners for some reason Jul 24 13:47:22 it is working Jul 24 13:47:36 I was the old value from the preferences. I had to uninstall Jul 24 13:48:59 Zgary, you could also just clear the app data instead of uninstalling Jul 24 13:51:22 Yes I have a nexus 4 and apparently it is not patched. Hope they do soon :/ Jul 24 13:57:45 hello everybody, i have a little problem with my layout and listview Jul 24 13:59:19 if it's crashing put the stacktrace in pastebin.com, if you have a question feel welcome to ask Jul 24 13:59:27 my example is https://github.com/roramirez/test-list-view Jul 24 14:00:15 if set my android:layout_width to wrap_content the text is not view correctly Jul 24 14:00:47 and if set width on 200dip the text make multiline Jul 24 14:00:51 for the entire listView? Jul 24 14:00:57 for for a row item? Jul 24 14:01:04 https://github.com/roramirez/test-list-view/blob/master/res/layout/listitem_comments.xml#L28 Jul 24 14:01:05 *or Jul 24 14:01:15 for this row item Jul 24 14:01:36 make the parent LinearLayout match_parent width Jul 24 14:03:29 nseidm1: here https://github.com/roramirez/test-list-view/blob/master/res/layout/listitem_comments.xml#L4 ? Jul 24 14:05:41 how to clear the app data? Jul 24 14:07:36 does someone know an Android OpenGL ES engine similar to NinevehGL (which is for iOS) ? Jul 24 14:08:31 I use LigGDX. it helps with using openGL Jul 24 14:10:19 LibGDX* Jul 24 14:14:44 hey, how can i get the eponch value? Jul 24 14:20:36 amid8bimo: it varies for each type of calendar https://en.wikipedia.org/wiki/Epoch_(reference_date) Jul 24 14:22:06 stupid intellij, I wanted it to override onActivityResult, it chose startActivityForResult Jul 24 14:22:15 was wondering wtf my thing never fired off Jul 24 14:23:28 :-P Jul 24 14:23:45 Zgary, thanks I'll look into it too.. I was looking at jpct-ae Jul 24 14:24:59 nseidm1: change to match_parent is not working :( Jul 24 14:25:07 that's why I use Android Studio XD Jul 24 14:25:17 *pfn Jul 24 14:25:20 android studio is intellij Jul 24 14:25:27 i know Jul 24 14:26:04 hey guys. The very first time my users launchs my app I want to pull some information from the internet. I am using an asnytask but I don't think I should be because this information I pull is essential to how my app works. Jul 24 14:26:25 is there a way to wait for the asyn task to be completed so I can get the return value? Jul 24 14:26:34 navetz, then use a service and a splash screen/loading activity Jul 24 14:26:34 nseidm1: is there any reference/standard one? like a simple unix time/epoch time? Jul 24 14:26:38 navetz: you need to use progress bars while your data is loading Jul 24 14:26:44 service + thread Jul 24 14:26:49 or asynctask + thread Jul 24 14:26:54 er, asynctask + service Jul 24 14:27:04 Or ExecutorService Jul 24 14:27:10 not executor service Jul 24 14:27:31 you need the android service to maintain the longer lifecycle if the user quits your activity Jul 24 14:27:46 come on man, lets encourage proper understanding of thread pooling Jul 24 14:28:06 saying executorservice in the context of service is confusing Jul 24 14:28:12 because they're 2 completely independent things Jul 24 14:28:15 Service + Executor Service + Event Bus :-) Jul 24 14:28:56 okay I'll take a look at services. Am I suppose to use the splash screen with the services? Jul 24 14:29:05 ahhhhh splash screen Jul 24 14:29:06 nooooooo Jul 24 14:29:29 why not? Jul 24 14:29:30 well, you need to use something Jul 24 14:29:38 if your app can work without a splash screen while data is loading, then don't Jul 24 14:29:45 if it can't work, then you need a loading screen Jul 24 14:30:30 indeed Jul 24 14:30:35 and agreed Jul 24 14:31:32 okay sounds good. Jul 24 14:31:55 Zgary, one suggesting in the main video tutorial to use the nightly build in place of the last release is something that makes me stop watching the video and caring about the project (libGDX) Jul 24 14:32:32 it is quite stable Jul 24 14:33:40 well, when development is extremely active, using nightlies is effective Jul 24 14:34:01 Zgary, if it's stable you call it stable not nightly version and, either way, issue is not if it is stable or not but if the build is reproducible and you know exactly which version your app is using Jul 24 14:34:09 Zgary, nightly just mean "the last committed version" Jul 24 14:34:25 nightlies still have versions associated with them Jul 24 14:34:32 just not actual version names Jul 24 14:37:05 if I have a loading screen why do I need a service? Jul 24 14:37:22 because if your screen goes away, your download won't continue Jul 24 14:37:43 pfn: gotcha Jul 24 14:37:50 the service is for lifecycle management Jul 24 14:37:54 loading screen is just visual Jul 24 14:42:00 is there anyway to monitor audio in a service regardless of the app that is playing the audio? Jul 24 14:45:28 hi, do you know if it's possible to use GLES3 on Android yet? Jul 24 14:46:27 I've got this device http://gfxbench.com/device.jsp?benchmark=gfx27&D=Google+Nexus+10&testgroup=gl Jul 24 14:46:43 which reports OpenGL ES 3.0 as version string Jul 24 14:47:20 but I'm not sure how to initialize a GLES3 context on Android, or if it's possible Jul 24 14:50:32 I've tried with EGL to initialize a EGL_CONTEXT_CLIENT_VERSION with 3, but it doesn't work at least Jul 24 14:51:28 I don't really know much about GL stuff, but is it possible that the N10 supports it in hardware, and the drivers support it, but Android's GL layer doesn't? Jul 24 14:51:59 I wonder how the gfxbench.com report has been then made, since it says GL_VERSION OpenGL ES 3.0 Jul 24 14:52:14 also in android 4.2.2, in android.opengl package I see only GLES10, GLES11 and GLES20 Jul 24 14:52:23 maybe in a update, 4.3 Jul 24 14:53:32 THERE IS NO 4.3! (for another 70 minutes or so) Jul 24 14:53:43 wut Jul 24 14:53:45 ? Jul 24 14:54:42 4.3 is - I think it's fair to say for sure now - due to be announced/released at an event which starts in just over an hour... Jul 24 14:55:35 Yup. There's been rumours about OpenGL ES 3.0 in Android 4.2 Jul 24 14:55:38 4.3* Jul 24 14:56:29 hmmh Jul 24 14:57:13 I'm very very puzzled why this lists GL_VERSION OpenGL ES 3.0, it's got Android 4.2.2 version Jul 24 14:58:18 well, hopefully version 4.3 then Jul 24 14:58:38 Leeds: there's some public event/feed to follow today? Jul 24 14:58:58 yeah, 'breakfast with Sundar' Jul 24 14:59:05 http://live.theverge.com/google-android-chrome-sundar-pichai-summer-announcement/ Jul 24 14:59:39 given the leaks, which have turned into a flood... it's pretty sure they're going to releasing 4.3, and a new updated N7 spec... we don't know if there's anything else big coming Jul 24 15:00:06 I'm enumerating USB devices on Android (http://pastebin.com/PRH4LJhs) and when I plug a device in and unplug it, ct remains the same. Does anyone know why it's not going down? Jul 24 15:00:30 from the leaks, 4.3 doesn't seem like a massive update - Bluetooth LE should be in there, at least Jul 24 15:01:37 finally ;) Jul 24 15:01:39 hmmh, in case GLES3 isn't publicly announced for 4.3, do you know if there's a way to obtain support for it by some other means, e.g. a developer OS version/rooting? Jul 24 15:02:14 Is that just for you? Because otherwise you'll be supporting a VERY limited range of devices. Jul 24 15:02:41 i wonder after today, if they are going to use the jelly bean name into perpetuity Jul 24 15:02:43 yeah, just for my own dev setup purposes atm - looking towards the future Jul 24 15:02:59 clb: Let's wait an hour :) Jul 24 15:03:09 heh, ok, I guess I can do that :) Jul 24 15:03:10 57 min ! Jul 24 15:03:24 Oh is the Google presentation today? Jul 24 15:03:33 i'll let you guys beta test the N7 first though :) Jul 24 15:03:57 Is it possible to have a service be able to tell if audio is playing? and if so what audio api would it be calling? Jul 24 15:04:01 I usually buy most new devices. Jul 24 15:04:13 Gonna get the N7, hopefully there's an LTE variant Jul 24 15:04:16 nseidm1 cool , can you be my beta tester ? Jul 24 15:04:25 otherwise I'll grab the ATT version Jul 24 15:04:38 I'm getting the Droid Maxx, an X, and a One on Verizon too Jul 24 15:04:53 gotta love full retail prices Jul 24 15:11:57 I want the new n7 Jul 24 15:12:00 tempting to get Jul 24 15:12:01 so cheap Jul 24 15:12:21 plus 1099 worker discount, great deal Jul 24 15:12:27 that's like a 35% cut off the price Jul 24 15:12:40 Stream https://www.youtube.com/watch?v=GZzS6BxHEns Jul 24 15:13:28 I picked up a couple of $65 tablets from Amazon, fascinating devices Jul 24 15:13:40 there's over 200 fascinating android tabs on Amazon Jul 24 15:13:54 FFFUUUUUU Jul 24 15:13:56 they're so cheap, they'd just waste space for me Jul 24 15:13:56 NEW NEXUS 7 Jul 24 15:14:02 GOOGLE I LOVE YOU Jul 24 15:14:04 BUT MY WALLET, IT HURTS Jul 24 15:14:57 on these ultra low end tabs you can't set threads to min priority, they literally never ever execute :-P Jul 24 15:15:00 what's new about it? Jul 24 15:15:05 I hate my nexus 7, current Jul 24 15:15:34 QcMat: higher res, twice the RAM, faster CPU, rear camera, dual speakers... at least Jul 24 15:15:39 ok Jul 24 15:15:43 so, like a kindle fire? Jul 24 15:15:55 bout time :| Jul 24 15:16:05 the kindle fire lags soo much Jul 24 15:16:08 thinner long-size bezel, same short-side, by the looks of things Jul 24 15:16:17 my nexus 7 lags more than my kindle fire Jul 24 15:16:27 dont take me wrong though, I hate kindle os Jul 24 15:16:28 plus the 540 min width dp is a pain in the arse Jul 24 15:17:18 The current nexus 7 has no lag, either you're experiencing a poorly written app, malfunctioning hardware, or in need of a factory reset Jul 24 15:17:28 hmm, interesting Jul 24 15:17:31 indeed Jul 24 15:17:33 I'll look into it Jul 24 15:17:36 *some units* of the current N7 have *terrible* I/O performance Jul 24 15:17:45 I use it as a development unit, but I noticed overall it's sluggish Jul 24 15:17:50 it's not smooth as it should be Jul 24 15:18:00 at least under some circumstances, like when the storage starts to get full-ish Jul 24 15:18:06 k Jul 24 15:18:08 well, n7gen1 has 768mb of ram? Jul 24 15:18:16 it's very good for the screen size Jul 24 15:18:17 I had to open the thing up to replug the battery thing too once Jul 24 15:18:23 pretty shady, never dropped it or anything Jul 24 15:19:00 and it seemed pretty common, enough to find a guide how to do it pretty fast, with lots of comments Jul 24 15:19:08 pfn: 1GB, innit? Jul 24 15:19:34 while coding Paltalk's tablet app I'm able to get ~20 views that require around 40+ network calls and a 5 pool ExecutorService to load quite smoothly Jul 24 15:20:06 much better than the $65 Dragon Touch :-) Jul 24 15:20:25 QcMat: Unplugging batteries is something frequently done by IT staff at my last office Jul 24 15:20:28 lol Jul 24 15:20:37 It's a good way to make sure there is nothing still int he memory of the motherboard Jul 24 15:20:42 yeah, well now I let some of them die out and just deal with them later, I got too many devices Jul 24 15:20:55 soon im going to build a pretty big wooden thing for them, with power and all Jul 24 15:21:27 QcMat: I want to do that as well Jul 24 15:21:48 Cause I have a first gen N7, second gen N7, Nexus 10, Asus Transformer, Galaxy S3, and now a dev model of the Razr Maxx HD Jul 24 15:22:06 I got a bunch of androids, ios devices, WP8 devices, too many dammed devices Jul 24 15:22:11 cant keep up with charging them, etc Jul 24 15:22:21 QcMat: heh, know the feeling Jul 24 15:22:33 Brian|CB: when you say second gen N7... Jul 24 15:22:43 didnt they just up the storage last time for N7 ? Jul 24 15:22:48 Leeds: I'm accounting for the one I'm going to order tonight Jul 24 15:22:52 lol Jul 24 15:22:52 I've got a grid of extension cords to serve for that Jul 24 15:22:57 It's already accounted for in my logic Jul 24 15:22:58 ah :) Jul 24 15:22:59 because I have to have it Jul 24 15:23:01 GOogle pls Jul 24 15:23:10 is there a way for an android service to be able to get information about audio currently being played on the device? Jul 24 15:23:22 I'll need to find someone who ships internationally and sells them - Frys or B&H are my best bets, I think - or someone in the US to ship me one... Jul 24 15:24:39 tab1293: you can get *some* info from AudioManager - depends on how much you're after Jul 24 15:25:18 Leeds, i would like the service to be able to see what app is currently playing the audio and then get some basic information about the audio it is playing Jul 24 15:25:23 isMusicActive(), isSpeakerphoneOn(), etc. Jul 24 15:26:38 Leeds, thats all? Jul 24 15:27:19 rtfm, dear Jul 24 15:28:11 a little off topic but http://www.pi6.fernuni-hagen.de/GeomLab/VoroGlide/ (interactive voronoi graph applet) then this line in the disclaimer: "Though written in Java, VoroGlide is fast enough to provide a smooth response to the user's actions." Jul 24 15:29:06 Leeds, I mean AudioManager is the only class that would be able to do something like that? it doesn't have even close to enough functionality as I would expect Jul 24 15:29:41 tab1293: it's the only one I'm aware of - someone else might have other information Jul 24 15:30:07 tab1293, what do you want to know that isn't covered in it? Jul 24 15:30:10 is it common for music applications to share intents on what music is currently being played leeds? Jul 24 15:31:04 poutine, I want to know if its possible for a service to be able to access information about audio that is currently being played on the device regardless of the app playing it. AudioManager doesn't fit that bill Jul 24 15:31:15 tab1293: do you mean audio, or do you mean music? Jul 24 15:31:33 the only information I'd expect to be available about audio is the stream format, not metadata Jul 24 15:32:01 Leeds, music Jul 24 15:32:19 mediaplayer api sends some undocumented intents Jul 24 15:32:29 which sucks frankly Jul 24 15:32:48 I'm unable to reproduce the same easily in my music player :p Jul 24 15:33:47 But there is no general way to access the music that is being played on the device? Jul 24 15:33:56 there is not, no Jul 24 15:33:58 no Jul 24 15:34:03 it's up to the app to send out the info Jul 24 15:34:19 there really should be a standard intent for it Jul 24 15:34:20 imo Jul 24 15:34:45 or some kind of service Jul 24 15:35:06 there's so many overlapping intents already Jul 24 15:35:20 broadcasting what a specific app is playing Jul 24 15:35:23 it suclks Jul 24 15:35:26 -l Jul 24 15:36:24 tab1293: Why do you ask? Jul 24 15:37:14 Was trying to see if it was possible to have a service that just collectively gathers information about the music being played on the device Jul 24 15:37:27 but it doesn't seem to possible/realistic Jul 24 15:39:51 endomondo tries to do that and I want it to register xmms2, but they don't provide any info on how they collect the info so I'm shooting with a shotgun here trying to make it happen Jul 24 15:52:43 http://www.youtube.com/watch?feature=player_embedded&v=GZzS6BxHEns Jul 24 15:53:03 whats this press event about? Jul 24 15:55:00 google bacon, according to ars technica so far Jul 24 15:59:22 its about experiencing technical dificulties Jul 24 16:01:51 hey guys Jul 24 16:02:02 anyone can help with this ListView issue? http://stackoverflow.com/questions/17820446/performitemclick-not-working-after-setadapter Jul 24 16:04:43 What does the stack trace look like? Jul 24 16:04:46 I don't see any nullpointerexception in that post, just some guy claiming he got one Jul 24 16:06:40 breakfast is late Jul 24 16:06:42 For some reason the NULLPOINTER freaks me out a bit. Just call it a NullPointerException... Jul 24 16:07:14 anyone know of or used an attractive looking chart library? Jul 24 16:10:07 bear10 apparently theres only one Jul 24 16:10:18 lol, who's tablets :P Jul 24 16:10:32 lasserix, can you point me in that direction? Jul 24 16:10:47 g00s, who is/was tablets? Jul 24 16:10:58 Stack trace: http://stackoverflow.com/questions/17820446/performitemclick-not-working-after-setadapter Jul 24 16:11:07 http://stackoverflow.com/questions/424752/any-good-graphing-packages-for-android Jul 24 16:11:35 *achartengine Jul 24 16:11:41 at com.app.device.WelcomeActivity.unselectViews(WelcomeActivity.java:1637) Jul 24 16:11:44 Fix that line Jul 24 16:11:45 waswhat i meant but you might like something else Jul 24 16:11:52 It works Jul 24 16:11:56 did you read² Jul 24 16:12:01 the question? Jul 24 16:12:11 The stack trace clearly shows that the item is being clicked Jul 24 16:12:16 THen you fuck up once it's clicked Jul 24 16:12:17 Yeah Jul 24 16:12:26 I believe the problem Jul 24 16:12:34 heh lasserix thanks i had seen that one just doesn't seem all that "attractive" maybe its the color schemes Jul 24 16:12:58 is when setAdapter is called and performItemClick is called right after Jul 24 16:12:59 bear10 yeah unfortunatly this is the gamut of them, you can probably spec it out to your tastes Jul 24 16:14:05 is someone in this channel in that room? Jul 24 16:15:30 wtf, why is Collections.EMPTY_LIST null Jul 24 16:17:30 pixels so sharp you'll cut your eyeballs if you look too close! Jul 24 16:18:07 pfn how could that happen? "public static final List EMPTY_LIST = new EmptyList();" Jul 24 16:19:02 yeah, nevermind, desync in my line numbers vs. debugger Jul 24 16:21:19 api 18 sdk available :) Jul 24 16:21:53 yayyy Verizon LTE for the N7 Jul 24 16:22:11 oh man Jul 24 16:22:44 each puzzle an in app purchase, really milking the maleability of kids as consumers Jul 24 16:23:07 ahh. I wonder when Xylon will have Jul 24 16:24:06 \o/ Jul 24 16:24:21 so what's new in api18 Jul 24 16:24:57 it makes your heart rate faster Jul 24 16:25:02 meh, stupid gson, returning null when the string is "null" for a List.class, was hoping it'd return an empty list Jul 24 16:25:08 gl es 3.0 Jul 24 16:25:17 mmm APIs Jul 24 16:25:37 yay !! Jul 24 16:26:00 I'm hitting my Nexus 10 update button, but it's not downloading 4.3. :( Jul 24 16:26:12 lol Jul 24 16:26:25 optimism :D Jul 24 16:26:59 meh, I have to wait till the sources are released and merged :) Jul 24 16:27:54 not sure all of that about 3.0 was actually new to 3.0 Jul 24 16:29:19 it would have been nice if restricted profiles was "restricted app profile" Jul 24 16:29:26 lasserix: usually the version number just means "if you report this version, you have to support *those* extensions" Jul 24 16:29:28 "The Nexus device update starts "Today."" Jul 24 16:29:42 more worried abut protecting my apps from each other :| Jul 24 16:29:42 * clb rams on the Update button - "work dammit!" Jul 24 16:29:55 GE devices update "very soon" Jul 24 16:30:03 it'd be nice if there were a zipWithIndex function guava somewhere Jul 24 16:30:06 p_l: right, he was just pointing out like a horizontal lense flare effect like it was something new, the stubble is because they added geometry shaders, but the other things (shadows) not so much Jul 24 16:30:09 Custom rotation animation types Jul 24 16:30:13 Apps can now define the exit and entry animation types used on a window when the device is rotated. You can set window properties to enable jump-cut, cross-fade, or standard window rotation. The system uses the custom animation types when the window is fullscreen and is not covered by other windows. Jul 24 16:30:13 Wewt Jul 24 16:30:21 does this mean all devices with 4.3 will have es 3.0 support? Jul 24 16:30:30 lasserix: nope Jul 24 16:30:41 just like introduction of 2.0 didn't mean it was supported Jul 24 16:30:48 everywhere Jul 24 16:30:52 yeah just new devices, sigh. that geometry shader is sooo useful. Jul 24 16:31:06 lasserix: geometry shader has to be supported by the hw Jul 24 16:31:13 right Jul 24 16:31:40 hmm... maybe I should backup my phone and check out 4.3 Jul 24 16:33:34 lobster burger = after key lime ! Jul 24 16:33:36 do people actually use hangouts regularly like you would normally talk to your roomates over breakfast about what to get at the store later that day? Jul 24 16:34:28 i like the idea, just only seen it used for interviews with eccentric people Jul 24 16:36:13 lasserix: I used them for voice chat in games :) Jul 24 16:36:22 ahh that is useful Jul 24 16:36:32 also, calling family in different country Jul 24 16:36:45 I use hangouts all the time Jul 24 16:36:54 it's just another form of IM Jul 24 16:36:58 hangouts and facebook messenger Jul 24 16:37:17 facebook killed the phenonema of im dialoges Jul 24 16:37:59 it did? they still have them Jul 24 16:38:03 (by hangouts, I meant the video ones) Jul 24 16:38:15 video hangouts are used often for any sort of video conferencing Jul 24 16:38:22 remote work, etc. Jul 24 16:38:31 oh i meant instant messaging w/o video Jul 24 16:38:45 lasserix: well, for me, the application is the same as Talk, and I use it sometimes Jul 24 16:38:55 aim and icq back in the day were centered on the conversation/dialoge, embedded into facebook it became a side effect of browsing social network Jul 24 16:39:00 most of the people I keep connected to are on IRC nowadays Jul 24 16:39:04 hehe Jul 24 16:39:11 or rather, we meet each other on IRC most commonly :) Jul 24 16:40:20 all the changes: http://developer.android.com/about/versions/android-4.3.html Jul 24 16:40:55 the stereosound is not hardware dependent? Jul 24 16:42:09 ahh google getting into the textbook racket, Jul 24 16:42:30 rent for 6 mos, hah Jul 24 16:42:38 "ellie, when can we xfer a paid app to free + IAP" Jul 24 16:43:07 textbook manufacturers are grimmier than your back alley porn producer Jul 24 16:43:24 g00s: this is Ellie, right? Jul 24 16:43:30 or was Jul 24 16:43:33 Yes Jul 24 16:43:53 I missed her intro, thought i recognised her Jul 24 16:44:47 Why do they leave the 1' on the top of the bottom, is that an ergonomic thing for thumb positioning? Jul 24 16:44:53 *top and bottom Jul 24 16:45:07 lasserix: yeah - note that they're pushing landscape as the 'standard' layout for this model Jul 24 16:45:29 interesting, Jul 24 16:46:00 certainly for gaming and browsing... also, the speakers are 'top/bottom', and the back logo is landscape Jul 24 16:46:32 cool, maybe toast masters will be handing these out Jul 24 16:47:20 apparently people have seen the chromecast streaming dongle on the play store as well Jul 24 16:48:47 I really like the fact they have some kind of master control console with someone obviousily doing something important behind the desk :p Jul 24 16:50:00 how do i get the quick settings panel working in a 4.2 or 4.3 emulator? Jul 24 16:50:01 can't pull it down Jul 24 16:50:01 I got a free mp3 player from a toastmaster once ... didnt work Jul 24 16:50:26 free broken swag ! Jul 24 16:51:28 is there any chan where andorid-dev-noobs can share info? Jul 24 16:51:39 chromecast requires usb for power, or is that somehow powered through hdmi? Jul 24 16:54:16 ohhh, UiAutomation is nice Jul 24 16:54:33 lasserix i think through hdmi Jul 24 16:54:41 roku has a device like that too Jul 24 16:54:53 older tvs might have to power externally tho Jul 24 16:54:58 i think powered hdmi is newer Jul 24 16:55:07 yeah low power though hdmi provides 5V @ 50ma Jul 24 16:56:31 Chromecast and Play Videos? Jul 24 16:57:21 first it will be our televisions, then our refridgerators, and once the lights become synced no appliance will be safe from the google cloud! Jul 24 16:58:43 is there any chan where noob android-dev can share info? Jul 24 16:59:00 El_Jack0: most of the people in here are noobs Jul 24 16:59:11 theelfismike: ah, there is MHL spec for hdmi which has 5v at 1amp Jul 24 16:59:14 *which is new Jul 24 16:59:29 http://www.roku.com/streamingstick#roku-ready Jul 24 16:59:40 i'm guessing it's similar to the devices that work with the roku stick Jul 24 16:59:44 ok ty evanc Jul 24 16:59:46 $35 Jul 24 17:00:07 chromecast 35$? Jul 24 17:00:44 yup Jul 24 17:00:51 alright! Jul 24 17:01:12 market saturation :) Jul 24 17:01:33 that's cheap enough to include as a promotion on a 2 year contract Jul 24 17:02:01 that's cheap enough to include as a promotion on a 2 day contract Jul 24 17:02:22 heh Jul 24 17:02:27 that's cheap enough to throw in the box with an N7 Jul 24 17:03:20 hey all, we're doing a few Android UX surveys. We'll reward you for your time and would really appreciate the feedback. You can sign up here: http://bit.ly/16pVQq3. Thanks! Jul 24 17:03:43 it is commonly said that making android apps is harder than web, win or other platforms Jul 24 17:04:03 it is commonly wrong Jul 24 17:04:07 lol Jul 24 17:04:16 does chromecast only work by pushing data over cloud? Jul 24 17:04:32 ie you can't transmit directly from device to tv? Jul 24 17:05:26 https://play.google.com/store/devices/details?id=chromecast Jul 24 17:05:26 lasserix: the dongle runs chromeos - you're pushing a URL for the dongle to open itself Jul 24 17:05:30 confirmed, $35 Jul 24 17:05:50 Play Movies, Chromecast, done deal for me Jul 24 17:06:17 chromecast has no bluetooth? Jul 24 17:06:24 beats the Xbox method that I currently use Jul 24 17:06:43 what would it need bluetooth for? Jul 24 17:06:49 games Jul 24 17:06:55 games on a dongle? Jul 24 17:07:16 if i am playing one of these awesome es 3.0 games on my n7, why can't i look at a tv Jul 24 17:07:18 ? Jul 24 17:07:31 lasserix: pay attention to the stream Jul 24 17:07:34 :) Jul 24 17:07:55 it's hard with all the screens in screens ! Jul 24 17:08:12 nested fragments Jul 24 17:08:20 how do you control the playback on the chromecast? remote from your phone? Jul 24 17:09:13 yes Jul 24 17:10:17 how to test my project on my own android device instead of emulator ? Jul 24 17:10:33 pranav: http://developer.android.com/tools/device.html Jul 24 17:10:46 evanc: you're quick... Jul 24 17:11:08 * evanc flexes Jul 24 17:12:06 hmm, can you not specify the text color for in a linear layout? Jul 24 17:12:30 Of course not, linearlayout doesn't display text Jul 24 17:12:52 is the chromecast sdk api up somewhere? Jul 24 17:12:53 but you can set the background Jul 24 17:12:59 indeed Jul 24 17:13:07 That's because linearlayout can have a background Jul 24 17:13:29 If I want to pass data (a document, maybe 1-100 kb) from a file to a WebView, should I use mWebView.loadUri("javascript:moo('" + data + '")"); or should I pass it to a JavascriptInterface via mWebView.addJavascriptInterface() ? Jul 24 17:13:31 is there a way to set the text color for a bunch of textviews in one spot? Jul 24 17:14:31 i've read some stuff about styles, i bet it would be done in there Jul 24 17:14:47 aye Jul 24 17:15:13 I personally will be curious to see if the BBC will be joining in with the chromecast, i think I want one regardless when they finally make it over here Jul 24 17:15:30 anyone know what os chromecast runs? Jul 24 17:15:37 chrome os Jul 24 17:15:43 not android? Jul 24 17:15:57 correct Jul 24 17:16:04 not according to what was said in the stream Jul 24 17:16:39 interesting Jul 24 17:16:54 it would have been nice if all the apps we wrote ran on it Jul 24 17:16:55 it *is* sort of what it says on the tin :P Jul 24 17:17:05 if I have a 'File' object, how do I read the data from it? Jul 24 17:17:27 * capella forgot chrome had an OS Jul 24 17:17:36 smallfoot text data? Jul 24 17:17:54 smallfoot-, yes Jul 24 17:19:00 same way you'd read any file Jul 24 17:19:31 http://www.javapractices.com/topic/TopicAction.do?Id=42 Jul 24 17:20:13 cool "Android sandbox reinforced with SELinux" Jul 24 17:20:54 evanc: my device ATTR{idVendor} is not listed :( how to test the application on my device Jul 24 17:21:02 smallfoot, if you are going to call those methods a lot make sure to use some stringbuilders that you reuse, since generating lots of new strings can cause lots of garbage Jul 24 17:21:13 pranav: google for the right value Jul 24 17:21:26 teh support lib has the actionbar now Jul 24 17:21:26 ok Jul 24 17:21:58 evanc: ATTR{idVendor} for Micromax Canvas HD A116 ? Jul 24 17:22:10 pranav: I have no idea; it's your device Jul 24 17:23:01 evanc: ATTR{idVendor} is mandatory right > Jul 24 17:23:19 is there a stream for the google breakfast going on right now? Jul 24 17:23:35 there was one it ended 10 min ago Jul 24 17:23:42 doh Jul 24 17:23:45 too early Jul 24 17:24:43 uhh if i werent tired let me see if i can dig the link out Jul 24 17:24:54 thanks! Jul 24 17:26:02 i have no idea how to recover the link from the live feed maybe someone else here knows Jul 24 17:26:10 google breakfast; wonder if they are serving lobster pancake Jul 24 17:26:18 the event ended about 15 minutes ago Jul 24 17:26:29 sorry, /me lagged at reading - it's 1:30am! Jul 24 17:26:54 I found this summary: http://techcrunch.com/2013/07/24/google-makes-android-4-3-official-offers-multi-user-accounts/ Jul 24 17:26:58 looks like some good stuff Jul 24 17:27:11 has anyone seen the update come through? Jul 24 17:27:35 erm, multiple user accounts came in 4.2 - what's new is restricted (i.e. kid-friendly) accounts Jul 24 17:28:22 DRM APIs. yay. Jul 24 17:28:53 Yuhei. Jul 24 17:29:24 because everyone loves DRM Jul 24 17:29:30 yeah right Jul 24 17:30:08 DRM and lock-in are good for everyone Jul 24 17:30:35 Direct Rendering will for sure accelerate all the games out there! Jul 24 17:30:42 Did I miss everyone talking about the google event? Jul 24 17:30:56 yiati: what google event? Jul 24 17:31:09 what google? Jul 24 17:31:19 is ATTR{idVendor} vendor or model specific, I actually found a value but for different old model. Jul 24 17:31:35 Leeds: Well it's over now Jul 24 17:31:40 https://www.youtube.com/watch?v=GZzS6BxHEns Jul 24 17:31:48 some people are on the pitch... they think it's all over Jul 24 17:32:02 They just officially accounced the Nexus 7 v2 and Chromecast Jul 24 17:32:06 announced* Jul 24 17:32:14 and 4.3 Jul 24 17:32:19 yeah... we know Jul 24 17:32:36 Then why did you ask what event... Jul 24 17:33:30 sarcasm... it doesn't come across well on IRC. I should just go to bed Jul 24 17:35:18 i have a dumb question, if i'm using gradle, do i get the support library from "Android Support Repository" ? or is it also put up in maven central ? Jul 24 17:35:36 of course i can also get it from the sdk manager into extras :| Jul 24 17:36:07 "Hardware geofencing optimizes for power efficiency by performing location computation in the device hardware, rather than in software." Uhm. Eh. How is _that_ supposed to work? Jul 24 17:36:28 and if so, why is it in play services :P Jul 24 17:36:35 Ge0rG: It depends. Jul 24 17:37:07 Ge0rG: You can tell the GPS if it can do it to do the geofencing. You offload it into that - ratehr than waking up the CPU a lot Jul 24 17:37:10 g00s: that was also my second question, actually. Jul 24 17:37:49 SpeedEvil: so you want to tell me it was not the GPS receiver which was eating battery, but the CPU waken up every second to process the NMEA data? Jul 24 17:38:10 Ge0rG: It depends - it's likely a combination. Jul 24 17:38:35 If you properly integrate the accel/... into the GPS solution, then the GPS can be very, very power efficient. Jul 24 17:38:59 SpeedEvil: you mean, by turning off GPS most of the time? Jul 24 17:39:05 last time I checked, geofencing did not work at all in android Jul 24 17:39:13 Ge0rG: Well - no. Jul 24 17:40:03 I mean putting the accel/gyro/compass into the kalman filter along with the psuedoranges for the GPS - and only powering up the actual GPS receivere hardware when there is doubt if we've moved x00m. Jul 24 17:40:26 SpeedEvil: that sounds like some serious academic work to be done Jul 24 17:40:39 It's not really very hard. Jul 24 17:40:48 It requires coding in the actual GPS firmware. Jul 24 17:41:23 You can however do a fair bit even without this. Jul 24 17:42:08 Ge0rG: SpeedEvil is right.. If you use the accelerometers to read g (gravity) to determine orientation, you can also set an arbitrary distance/time param to check gps at intervals Jul 24 17:42:09 If you're 20km from the nearest geofence, and connected to wifi, you don't need to check the GPS until the wifi goes away Jul 24 17:43:17 Infact if you compare your data to the gps data and correct over time you can improve the accuracy of your guesses. Jul 24 17:43:23 Same if you have an altimeter - and you know you're in a building. You don't need to check the GPS until the altimeter indicates you've left the floor. Jul 24 17:43:24 I'd love to see these things implemented in the OS and not in my app Jul 24 17:43:37 doing it in apps is utterly broken. Jul 24 17:43:47 This sort of thing should never ever be in apps. Jul 24 17:43:47 but people complain that my app eats their batteries :( Jul 24 17:44:05 Also - what about the recent geofence API announce Jul 24 17:44:10 Or has that not rolled out Jul 24 17:44:44 http://developer.android.com/training/location/geofencing.html Jul 24 17:46:22 any way to force this OTA ? Jul 24 17:46:39 images are posted. Jul 24 17:46:46 clench fiercely Jul 24 17:46:56 funkbox: grab the factory images Jul 24 17:46:58 follow up, chromecast api docs? Jul 24 17:47:46 i want a new nexus 7 Jul 24 17:47:47 NOW Jul 24 17:47:54 monsti, Why? Jul 24 17:47:54 right in this moment Jul 24 17:47:55 lol Jul 24 17:47:57 monsti: I know Jul 24 17:47:58 in my hands! Jul 24 17:47:59 i want it so hard Jul 24 17:48:00 323 ppi Jul 24 17:48:03 hdmi output Jul 24 17:48:14 Sonicadvance1: to be honest? Jul 24 17:48:15 The iPad retina display is adorable Jul 24 17:48:20 just because of the back cam Jul 24 17:48:27 i need it for QR codes Jul 24 17:48:36 Doesn't the Sony Xperia Z Tablet have a back cam? Jul 24 17:48:40 the full hd option sucks Jul 24 17:48:42 in your.... hands. Jul 24 17:48:49 because lack of the SD card Jul 24 17:48:57 soon 64gb sd cards will be cheap Jul 24 17:49:11 so the new nexus 7 is polluting the enviornment Jul 24 17:49:12 64gb microsd cards are already less than 90 USD last I checked Jul 24 17:49:24 yeah and 128gb are available Jul 24 17:49:46 so a full hd device needs at last an option to save 2-5 HD movies Jul 24 17:50:39 *sigh* Jul 24 17:50:48 Nexus devices won't have SD card slots. Probably ever. Jul 24 17:50:56 This whining repeats on each new unveiling. Jul 24 17:51:10 Mavrik: I bet it doesn't support UMS either Jul 24 17:51:30 because Google is evil and wants to make it hard for the tiny percentage of Linux users who find MTP too hard Jul 24 17:51:45 well maybe that sandisk stuff with the wlan usb stick will help Jul 24 17:51:51 mhm Jul 24 17:52:00 "The /system partition is now mounted nosuid for zygote-spawned processes, preventing Android applications from executing setuid programs." no more rooting :( Jul 24 17:52:14 Leeds, of course, them explaining the reasoning, somehow doesn't stick to people :P Jul 24 17:52:23 android 4.3 is out! :> Jul 24 17:52:34 Mavrik: really, they should get someone from the Android team to explain it in person to everyone Jul 24 17:52:40 indivually Jul 24 17:52:53 just yesterday i was like 'duh, a new os please' Jul 24 17:52:54 * Bleeptech selected a dev device based on it having Wifi / BT / SD card slot and a screen big enough to read... Jul 24 17:53:33 Bleeptech, not selecting a dev device that'll cover most of your users? Jul 24 17:53:38 is there any way to force the overflow menu on actionbarsherlock? (for devices that have a menu button) Jul 24 17:53:41 you bought a personal toy then ;) Jul 24 17:53:47 (overflow menu icon) Jul 24 17:54:14 i'm confused; the 'Android Support Repository" from the sdk manager puts the support lib in a local m2 repo, but not the other stuff like analytics ? Jul 24 17:54:39 pfn: no Jul 24 17:55:16 also , the support repository seems to have rev 13 of the support lib, but the sdk manager shows rev 18 Jul 24 17:55:32 Mavrik: Project specs were Wifi / BT .. SD / 10.1 screen were for 'ease of development' .. LOL Jul 24 17:55:37 Why is the nexus 7 not in my hands yet Jul 24 17:55:37 I want it Jul 24 17:55:38 now Jul 24 17:55:39 what should i do with the adb device serial no for running app on my smartphone ? Jul 24 17:56:48 ok, got it :D it already shows in eclipse. maybe because server was not restarted. so Jul 24 17:57:14 JakeWharton, yeah, I hate that part about android guidelines--the overflow button serves as a good visual reminder that there *are* unsurfaced menu actions Jul 24 17:57:27 there's so many times I use apps and I don't think about pressing the menu button Jul 24 17:57:48 just use that reflection method to force it Jul 24 17:57:56 pfn: I agree. ABS just follows the native action bar logic Jul 24 17:57:58 it's insane not to force showing it Jul 24 17:58:54 It was removed in 4.2.0 Jul 24 17:59:10 Sadly Jul 24 17:59:26 so the new Nexus 7 is out or what ? Jul 24 17:59:33 It is Jul 24 17:59:37 I guess I missed the discussion, but I guess RIP ActionBarSherlock? Jul 24 17:59:45 Why RIP? Jul 24 17:59:46 I was getting at least 3 emails a day where users were asking where to change the Shady dialing code. I would respond "press menu, and select Set Dialing Code". Users do not know the menu button exists. Jul 24 18:00:42 kakazza: well, ActionBar now included in Support Library Jul 24 18:00:42 RIP ActionBarSherlock and AppCompat. It's time for minSdkVersion="14" Jul 24 18:00:44 nseidm1, yeah, actionbar was the greatest blessing to fix that--then they decided not to show the overflow button Jul 24 18:00:49 * YuviPanda can't do that yet, unfortunately. Wikimedia needs to be more 'inclusive', and stuff Jul 24 18:01:05 pfn: easy solution: just don't use overflow menu items Jul 24 18:01:19 that's a solution also Jul 24 18:01:29 JakeWharton, yeah, I can show actionbar icons instead; or content actions Jul 24 18:01:39 it's just ugly for stuff that I don't want exposed all the time Jul 24 18:01:39 but then the person presses the menu button on their phone and it does nothing Jul 24 18:01:52 Does the ActionBar from support library show an overflow menu on 2.x? Jul 24 18:01:56 In case anyone already tried Jul 24 18:02:00 no Jul 24 18:02:19 the situation is to follow status quo action bar design patterns Jul 24 18:02:40 or to say "users don't know the damned menu button exists", force the overflow menu Jul 24 18:03:08 there's arguments for both Jul 24 18:03:43 in case you guys want to jump the gun: https://developers.google.com/android/nexus/images Jul 24 18:03:46 personally I prefer forcing the overflow menu because users simply do not know the menu button exists, and I also don't want them pressing the menu button and having it do nothing at all Jul 24 18:03:47 4.3 is up for n7 Jul 24 18:04:47 SimonVT: +1 for min sdk 14 Jul 24 18:05:04 I'm almost forcing Paltalk to go min sdk 14 going forward Jul 24 18:05:16 14 is <0.1% according to the Dashboard Jul 24 18:05:45 14 is > 50% of devices Jul 24 18:05:58 15+ is Jul 24 18:06:04 So is 14+ Jul 24 18:06:08 14 is <0.1% Jul 24 18:06:18 waiting for 18 to appear in the table Jul 24 18:06:20 jeez, correct myself 14+ is > 50% of devices Jul 24 18:06:50 1+ is >50%, what's your point? API 14 still doesn't show up in the table. Jul 24 18:07:37 anything greater than 14 is 14+, ie 15, 16, 17, 18. The total quantity of devices with sdk version 14+ is over 50% of registered devices. Jul 24 18:07:55 yay math Jul 24 18:08:11 For me 14+ is ≥14 Jul 24 18:08:26 hence minSdk=14 Jul 24 18:08:31 the point is that 14 is 4.0, except 4.0.4 - i.e. 15 - became the baseline Jul 24 18:08:50 14 doesn't even show up in the platform versions Jul 24 18:08:54 nseidm1: <0.1% of devices is API 14. Hence minSdk=15 Jul 24 18:08:55 sure, fascinating technicality Jul 24 18:08:57 which is why 14 doesn't show up Jul 24 18:09:01 14 has that VPN bug :( Jul 24 18:09:02 may as well skip bugs from 4.0.0 - 4.0.2 Jul 24 18:09:20 4.0.3 had the most fascinating bugs Jul 24 18:09:20 I'm gonna need to change my pants after this google announcement day Jul 24 18:09:20 API 14- are older devices wich those users dont like to download apps a lot and most dont even have internet plan, so 14+ is mainstream for good userbase Jul 24 18:09:43 Well, the Dashboard is based on Play Store Activity. Jul 24 18:11:12 Brian|CB: yeah my pants are wet, too Jul 24 18:11:25 Like Jul 24 18:11:26 users with newer device tend to be more active downloading and spending cash on this kind of tech Jul 24 18:11:26 my money Jul 24 18:11:28 they can have it all Jul 24 18:11:38 I need to just direct deposity my paychecks to google Jul 24 18:14:24 is the new sdk online, yet? Jul 24 18:15:18 not on sdk manager Jul 24 18:15:28 Yep, in sdk manager Jul 24 18:16:40 anybody know if that unity app demonstrated during the presentation is posted on the play store yet? i can't see the play games app they mentinoed so i assume that's not up yet either Jul 24 18:18:52 yeah api18 is now on sdk manager :D Jul 24 18:19:01 yup, plus lots of other updates Jul 24 18:19:43 i am getting exception Permission Denial: starting Intent.. says.. requires android.permission.INTERNET. (while I try to run the app. in debug mode in my phone). Emulator works well. AndroidManifest.xml file has permission. Please help! Jul 24 18:19:45 Stew-a, you mean this one: https://play.google.com/store/apps/details?id=com.google.android.play.games&utm_source=Social_US&utm_medium=soc&utm_campaign=playgames&pcampaignid=socialPG1 Jul 24 18:20:31 ? Jul 24 18:21:29 anyone get 4.3 yet? Jul 24 18:21:36 I have a nexus 4 but mine hasn't updated yet Jul 24 18:23:32 You must be new if you expected it to get it already Jul 24 18:23:54 Guys where is my Android 4.6? Jul 24 18:23:56 google is lazy! Jul 24 18:24:04 https://developers.google.com/android/nexus/images#occamjwr66v ;) Jul 24 18:24:23 where is my glasses? Jul 24 18:24:28 you can use a virtual machine already ;D Jul 24 18:24:32 didd you hear me? Jul 24 18:24:47 I have a nexus 4, that's straight from google by the way, no t-mobile etc... Jul 24 18:24:51 lol Jul 24 18:24:55 so I should be getting the update first Jul 24 18:25:01 according to articles I raed Jul 24 18:25:01 only nexus 7 images are up right now Jul 24 18:25:08 asm: see link ^ Jul 24 18:25:29 woops, you're right, there are others up now as well Jul 24 18:25:36 http://news.cnet.com/8301-1023_3-57595290-93/google-nexus-devices-are-first-to-get-android-4.3/ Jul 24 18:25:38 mdev: Go read up on "staged rollouts" Jul 24 18:25:54 nexus 4 has a 4.3 link looks like Jul 24 18:26:07 so how I install that, just download to my phone and run? Jul 24 18:26:12 not trying to brick anything Jul 24 18:26:23 mdev: read the "instructions" near the top of the page Jul 24 18:26:27 yes, there's your update. Either wait patiently for the stages rollout, or fuel your impatience and install it right now Jul 24 18:26:28 mdev, wait for OTA then. Jul 24 18:26:42 mdev also, patience is a virtue Jul 24 18:27:11 it is indeed Jul 24 18:27:15 and alrighty i'll awit Jul 24 18:27:36 i'm hoping this updat fixes some of my apps, they're terrible at getting notifications Jul 24 18:27:46 delay way too long, from aim, skype, to gmail Jul 24 18:27:49 get the x86 emu Jul 24 18:28:00 oh wait, thats not there Jul 24 18:28:28 sometimes they don't make any noise for new messages, is really random and unpredictable, so has to be the os Jul 24 18:28:32 Nexus 4 image https://dl.google.com/dl/android/aosp/occam-jwr66v-factory-08d2b697.tgz Jul 24 18:28:32 mdev: why would an os update fix that? Jul 24 18:28:38 because it's an os problem? Jul 24 18:28:51 nah, that's a device problem Jul 24 18:28:52 these are notifications over wifi by theway, a very fast router Jul 24 18:29:15 anyhow, i think this is about android programming, not support Jul 24 18:29:57 for your info I read about it being a bug in the os Jul 24 18:30:11 I doubt it Jul 24 18:30:12 which is related to android dev, in case your apps idk, do any notifications? Jul 24 18:30:16 you doubt it Jul 24 18:30:20 yes Jul 24 18:30:23 what do I get when I drop the link on you? Jul 24 18:30:30 a cookie Jul 24 18:32:36 lol ok, one second Jul 24 18:35:40 http://www.androidauthority.com/nexus-4-nexus-7-android-4-2-4-2-1-wi-fi-issue-40065-not-publicly-addressed-google-154998/ Jul 24 18:35:46 https://developer.android.com/reference/android/os/Build.VERSION_CODES.html#JELLY_BEAN_MR2 Android 4.3: Jelly Bean MR2, the revenge of the beans. Jul 24 18:35:49 that's not the bug page I seen before, still looking Jul 24 18:35:52 but close enough Jul 24 18:37:00 is the ticket here: b.android.com? Is it assigned? Jul 24 18:37:01 Nice that the SDK is already available Jul 24 18:37:40 quit Jul 24 18:37:49 https://code.google.com/p/android/issues/detail?can=2&q=40065&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&id=40065 Jul 24 18:37:56 there's the status of the ticket Jul 24 18:38:33 Status: FutureRelease, hence it's not in 4.3 Jul 24 18:39:04 thanks nseidm1 that's the page Jul 24 18:39:11 If I want to pass data (a document, maybe 1-100 kb) from a file to a WebView, should I use mWebView.loadUri("javascript:moo('" + data + '")"); or should I pass it to a JavascriptInterface via mWebView.addJavascriptInterface() ? Jul 24 18:40:52 got this the other day http://www.amazon.com/Android-Programming-Ranch-Guide-Guides/dp/0321804333 Jul 24 18:40:59 hopefully is a good one Jul 24 18:41:38 g00s around? Jul 24 18:41:49 heya ron_frown Jul 24 18:41:53 so is abs nullified now supportlib has actionbar? Jul 24 18:41:54 =) Jul 24 18:41:54 paper books still exist? Jul 24 18:42:04 ron_frown: both are Jul 24 18:42:08 minSdkVersion="14" Jul 24 18:42:13 JakeWharton++ Jul 24 18:42:13 both what are Jul 24 18:42:13 JakeWharton: oh, you Jul 24 18:42:15 It's the new black Jul 24 18:42:33 ron_frown ha, well i'm waiting for the support lib to update in the "android support repository" part of the sdk manager; you know the "repository in the repository" Jul 24 18:42:44 so fucked up Jul 24 18:42:44 heh Jul 24 18:42:55 in the skd manager what is this 'Google API' entry for? Jul 24 18:43:18 wtttfff Jul 24 18:43:24 the system image for 4.3 on N7 is out Jul 24 18:43:26 google pls Jul 24 18:43:27 update Jul 24 18:44:29 i wonder though - if you use the support lib you get more consistent bugs; maybe its like that with the actionbar now too Jul 24 18:44:34 brian Jul 24 18:45:32 mdev: Jul 24 18:45:39 https://developers.google.com/android/nexus/images#occamjwr66v Jul 24 18:45:51 I know Jul 24 18:45:54 I just want a system update Jul 24 18:45:57 I don't wanna restore Jul 24 18:45:57 D: Jul 24 18:46:02 me too Jul 24 18:47:06 patience! Jul 24 18:48:10 not like google doesn't have the bandwidth Jul 24 18:48:21 they need to update, click the red button Jul 24 18:48:38 fascinating Jul 24 18:48:40 god google really knows how to get to me lol Jul 24 18:49:03 g00s: what does that even mean? it still proxies to the native version where available Jul 24 18:49:29 it's not a standalone implementation on all API levels Jul 24 18:49:38 Unlike the Fragments API in the support lib? Jul 24 18:49:42 correct Jul 24 18:49:52 I see. Jul 24 18:50:37 I think I'll stick with ABS for some legacy apps. Unless there's a compelling reason to switch. Jul 24 18:50:53 gradle support? :P Jul 24 18:51:07 The ONLY reason not to use abs is if you're targeting 14+ Jul 24 18:51:32 where can I find binaries for android arm achitecture ? like precompilled binaries, not apps from market but system tools for wireless, I don't want to install gcc on the phone I only have 125MB free space and I don't know how to install on SD card, there is tool for bluetooth in my 2.2.1 system, it called "hcitool", and I also need "hciconfig" Jul 24 18:51:34 Mavrik: I can fix that in 15m. But maybe tomorrow Jul 24 18:51:37 where can I get them ? Jul 24 18:51:51 If I want to pass data (a document, maybe 1-100 kb) from a file to a WebView, should I use mWebView.loadUri("javascript:moo('" + data + '")"); or should I pass it to a JavascriptInterface via mWebView.addJavascriptInterface() ? Jul 24 18:51:57 JakeWharton, no rush :) Jul 24 18:52:39 Not enough apklib stuff has switched to aar packaging to be worth wasting time with gradle for now. Jul 24 18:53:19 JakeWharton ok, if it proxies than i guess it doesn't matter. i thought it was a standalone impl Jul 24 18:57:15 Hi Jul 24 18:57:18 NEED HELP QUICKLY Jul 24 18:57:28 I set am display-size to 1024x552 Jul 24 18:57:35 to test my app on 7" Jul 24 18:57:41 Now my Transformer doesn't start Jul 24 18:57:56 what's the exception? Jul 24 18:58:11 When I type am display-size reset, I get "AndroidException: Can't connect to activity manager; is the system running?" Jul 24 18:58:22 restart the device Jul 24 18:58:33 I tried a lot of times using adb reboot Jul 24 18:58:35 I can't launch it Jul 24 18:58:52 **bump Jul 24 18:59:06 HOW DO I RESTORE THE DISPLAY SIZE??? Jul 24 18:59:39 nice CAPS LOCK. Unless someone else has a suggestion, do a factory reset. Jul 24 18:59:52 How do I do a factory reset from ADB? Jul 24 19:00:03 The device doesn't even appear as a media device Jul 24 19:00:10 why dont you use the emulator to test different screen sizes? Jul 24 19:00:52 http://bit.ly/1c3j8D8 Jul 24 19:00:56 SiPlus is the 7" tablet a Nexus 7? Jul 24 19:01:11 rottz, yes, but I tried a Transformer Jul 24 19:01:22 on boot press Volume Up + Volume Down + Power Jul 24 19:01:27 then navigate the options Jul 24 19:01:30 and do a factory reset Jul 24 19:01:38 is there a "safe mode" on Android? Jul 24 19:01:41 so the files aren't gone Jul 24 19:01:47 oh Jul 24 19:02:03 if you have important files Jul 24 19:02:07 adb pull? Jul 24 19:02:11 indeed Jul 24 19:02:19 then you definitely should try something else Jul 24 19:02:21 ok Jul 24 19:02:23 but Jul 24 19:02:32 any way to only reset activity manager settings? Jul 24 19:03:06 when you press Vol Up + Vol Down + Power on boot Jul 24 19:03:13 you will have a "Recovery Boot" option Jul 24 19:03:18 which I dont know what is exactly Jul 24 19:03:21 but it might help you Jul 24 19:03:26 vol up + vol down? Jul 24 19:03:29 clear dalvik cache? Jul 24 19:03:30 how? Jul 24 19:03:33 + power Jul 24 19:03:40 how do I press both buttons? Jul 24 19:03:50 they're not separate Jul 24 19:03:55 nseidm1, how? Jul 24 19:03:57 and I don't think it's cache Jul 24 19:04:19 any way to do factory reset from adb? Jul 24 19:04:53 hold those 3 buttons right after powering up and hold a while, a different screen should pop up Jul 24 19:05:15 Hi. Currently, I want to use a SimpleCursorAdapter to display data in a ListView. However, the data is spread across two tables. Is it possible for me to do a lookup on Table 2 based on an ID from Table 1? Jul 24 19:05:33 cheese1756: aggregate the cursors into a consolidated list Jul 24 19:06:16 rottz Jul 24 19:06:18 but Jul 24 19:06:22 volume up and down are not two buttons Jul 24 19:06:26 nseidm1: I looked into sqlite's VIEW function, but the data is not consistent between row ID's. One row in Table 2 may correspond to many rows in Table 1 Jul 24 19:06:34 they're one button with 2 sides Jul 24 19:06:43 vol up and down are separate buttons you can press them both Jul 24 19:06:50 on tf300t? Jul 24 19:06:51 Table 1 references Table 2 through an ID that it stores Jul 24 19:07:05 just have the same plastic cover but are 2 diffrnt buttons Jul 24 19:07:13 what's Cold Boot? Jul 24 19:07:19 http://www.transformerforums.com/forum/transformer-pad-300-help/32263-tf300-stuck-asus-logo.html Jul 24 19:07:26 This procedure will NOT wipe your data: Jul 24 19:07:27 Cold Boot (aka Hard Reset) Jul 24 19:07:29 Unplug the power cord and shut the unit off. Press and hold the VOL DOWN and then POWER button at the same time for at least 10-12 seconds until after the start-up screen appears and is joined by some small print at the top left of the screen then let them both go. Since you are using the TF300 with jelly bean if done correctly you should also see 4 icons, the left most being RCK, which will... Jul 24 19:07:30 ...be fading in and out. Let go of all your buttons. In about 10 seconds "Cold Booting Linux" appears in the list near the top of the screens and let it reboot on it's own. Jul 24 19:07:32 and Jul 24 19:07:38 what if factory reset fails? Jul 24 19:07:46 and doesn't restore the activity manager settings Jul 24 19:07:48 but this is not support channel Jul 24 19:08:09 SiPlus: what is android 4.3 is a hoax and won't get released Jul 24 19:08:11 then usb debugging will be off Jul 24 19:08:12 *if Jul 24 19:09:25 you'll know after you try it Jul 24 19:10:03 cheese1756: either initialize your sql databases to aggregate at the sql level, or iterate your cursors to compile a consolidate list of strategically customized objects Jul 24 19:11:15 what exactly does cold boot do on android? Jul 24 19:12:30 If I want to pass data (a plain text document, maybe 1-100 kb) from a file to a WebView, should I use mWebView.loadUri("javascript:moo('" + data + '")"); or should I pass it to a JavascriptInterface via mWebView.addJavascriptInterface() ? Jul 24 19:12:31 I'm currently starting to use Gradle for a large project with various libraries. It was building fine before but now that I'm using Gradle, I get this: com.android.dx.util.DexException: Cannot merge new index 65538 into a non-jumbo instruction! Jul 24 19:12:54 smallfoot- use both Jul 24 19:13:00 cold boot differs from warm (normal) like hardware reset vs sleep Jul 24 19:13:02 Too many methods Jul 24 19:13:03 Or fields Jul 24 19:13:26 smallfoot- and see what works better Jul 24 19:13:48 El_Jack0, so it wipes the settings without wiping the apps and the files? Jul 24 19:13:54 or what? Jul 24 19:14:26 nseidm1, I don't know how to see which works "better" Jul 24 19:14:45 smallfoot- do both methods work? Which one is easier for you to do? Jul 24 19:14:51 cold boot is starting the device from a power off (no energy) state Jul 24 19:14:56 no wipe or nothing Jul 24 19:15:24 nseidm1, I haven't tried. I wonder which is the more "correct" or more prefered way to do it, because I want to avoid bad coding habits and want to stick to best practices Jul 24 19:15:30 nseidm1: Iterating the cursors is a very good idea, as long as it isn't too heavy. I'll test that Jul 24 19:16:15 cheese1756: shouldn't be too bad, obviously thread it; unless it's a huge million item tablet it'll be quite quick Jul 24 19:16:19 use a cursor loader or something Jul 24 19:16:58 in the SDK, what does 'Google APIs' entry is for? what does it install? Jul 24 19:17:06 nseidm1: Would I create a combined cursor out of the two separate cursors? Jul 24 19:17:41 cheese1756: whatever works, is most efficient, and don't forget to close your cursors Jul 24 19:18:07 lookout for unnecessary object creation in large while loops Jul 24 19:18:16 is it only for Maps or all google services? Jul 24 19:19:52 nvm i got the info Jul 24 19:20:23 well, before the factory reset Jul 24 19:20:32 is there a way to force start activitymanager? Jul 24 19:20:37 from adb Jul 24 19:21:11 celeritas1 if you dont mind me asking, what libs were you using ? Jul 24 19:21:34 i think there is a way, but i dont know it Jul 24 19:21:50 investigate the way eclipse runs your app for debugging Jul 24 19:22:28 El_Jack0, it's not Eclipse Jul 24 19:22:31 I can't even start Android Jul 24 19:22:35 it's stuck on ASUS logo Jul 24 19:22:43 activitymanager hasn't yet started Jul 24 19:22:49 so I can't use shell am display-size reset Jul 24 19:24:37 what is adb siplus? Jul 24 19:24:48 android debug bridge, are you joking? Jul 24 19:25:03 eclipse uses that for running programs Jul 24 19:25:12 started the activity manager Jul 24 19:25:16 need to start window manager Jul 24 19:25:34 at least the device is not stuck? Jul 24 19:25:35 Any clue why I keep getting "Device disconnected" in DDMS as soon as I click the device? I unplug it, plug it back in, and it shows up in 'adb devices'.. wait a while, no issues. Click the device in DDMS, and bam — "Device disconnected" Jul 24 19:26:47 El_Jack0, what? Jul 24 19:26:50 it's BRICKED Jul 24 19:26:55 it's stuck on ASUS logo Jul 24 19:27:33 i mean the device responds to adb commands ? Jul 24 19:27:37 it does Jul 24 19:27:46 but neither the activity manager nor the window manager work Jul 24 19:27:58 it doesn't work as a media device either Jul 24 19:28:04 SiPlus: bricked? um, factory reset Jul 24 19:28:33 http://stackoverflow.com/questions/10817721/wipe-data-factory-reset-through-adb Jul 24 19:28:44 what options do you have in your recovery menu? Jul 24 19:29:39 nseidm1, haven't opened it Jul 24 19:29:44 do it Jul 24 19:29:51 but there's a small button below the sd card slot Jul 24 19:29:53 for reset Jul 24 19:29:58 press it Jul 24 19:30:19 is there recovery menu on tf300t specifically? Jul 24 19:30:30 yes Jul 24 19:30:31 No thoughts on my question? It's really holding me back at work :/ Jul 24 19:30:50 doppio|work: restart phone, restart computer Jul 24 19:31:04 Tried the phone a few times, I'll try the computer now. Jul 24 19:32:52 JakeWharton: So now that the actionbar is included in the support library, are there any remaining benefits to using ABS? Jul 24 19:32:55 nseidm1: When combining the data from the two Cursors, what should I combine them into? An array? Can I put them into another Cursor? Jul 24 19:33:46 cheese1756: combine them into a List Jul 24 19:33:58 nseidm1: Ah, that should work well. Thank you! Jul 24 19:34:09 Or use MergeCursor to.. merge cursors Jul 24 19:34:27 rebooted with "adb reboot recovery" Jul 24 19:34:35 just stuck at "Error!" screen Jul 24 19:34:45 buttons don't work Jul 24 19:34:47 hold down volume, then press up Jul 24 19:35:06 SimonVT: I was also looking into CursorJoiner too. Is one better than the other? Jul 24 19:35:15 nseidm1, I tried to press everything Jul 24 19:35:18 nothing works Jul 24 19:35:37 Dunno what CursorJoiner does Jul 24 19:35:45 SimonVT: it has a few more features. but really you should probably just be using minSdkVersion="14" Jul 24 19:35:51 SimonVT: but it definitely sounds interesting Jul 24 19:35:55 JakeWharton: Wrong user Jul 24 19:36:10 restarted it by holding the power button Jul 24 19:36:16 ugh Jul 24 19:36:18 Brian|CB: Jul 24 19:36:40 Sorry if you've already answered that question like 1000x times D: Jul 24 19:37:01 JakeWharton: any idea what those 'few extra features' are? Jul 24 19:37:13 If you're making a new app, use minSdkVersion="14" .. If you're already using ABS, keep doing that.. And work towards minSdkVersion="14" Jul 24 19:37:37 how do I turn off the tablet with adb? Jul 24 19:37:42 SearchView backport, ShareActionProvider backport, doesn't use the native action bar on Honeycomb so you get the full API Jul 24 19:37:46 there's "adb reboot" Jul 24 19:37:49 but it restarts Jul 24 19:37:51 doesn't require using different namespaces in menu MXL Jul 24 19:37:51 not shuts down Jul 24 19:39:57 are you willing to do a wipe? Jul 24 19:40:23 Hey, for some reason eclipse gives a error on the directory values-zh_CN (simplified chinese) when I change the name to values-zh it's fine. any idea what's the problem here? Jul 24 19:40:30 g00s, i was adding jackson 2.2.1, which looks like is brining in some stuff i don't need. im going to exclude that and see if it helps Jul 24 19:40:34 Is Roboto automatically used on 4.x? Jul 24 19:40:41 "/system/bin/sh: recovery: not found" Jul 24 19:41:22 celeritas1 surprised to see you ran into that just because of jackson though ... Jul 24 19:41:30 JakeWharton: Those are the things ABS has and Support Lib doesn't or vice versa? Jul 24 19:41:43 ABS has those. ActionBarCompat does not Jul 24 19:42:12 I haven't dug if there are more. I don't really care to. I no longer advocate using ABS, I advocate minSdkVersion="14" Jul 24 19:42:58 It has SearchView as well Jul 24 19:43:04 It's that time folks. Leave pre-4.0 users on existing versions of your apps and target future updates to only 4.0+. Those users will get a better experience, you as a developer will work faster and find less bugs, and your overall app quality will go up Jul 24 19:43:15 And ShareActionProvider Jul 24 19:43:25 adb reboot-bootloader Jul 24 19:44:19 JakeWharton to do that, do you leave 2 apks on play; one with maxSdk=13 and another one with minSdk=14 ? Jul 24 19:44:20 adb reboot recovery Jul 24 19:44:32 maxSdkVersion is deprecated Jul 24 19:44:35 So on legacy apps, is Roboto used per default as a font on 4.x? Or only on AOSP devices? Jul 24 19:44:42 El_Jack0 adb reboot recovery Jul 24 19:44:45 just "Error!" Jul 24 19:44:54 I'm currently wiping data Jul 24 19:44:58 "Erasing..." Jul 24 19:45:04 g00s: you enable multi-apk and then just upload a new version that's 14+ Jul 24 19:45:19 ah, ok. i and i just leave the old one as is … Jul 24 19:45:21 erased Jul 24 19:45:24 starting the tablet Jul 24 19:46:03 so Jul 24 19:46:06 no brick yet Jul 24 19:46:13 correct loading screen Jul 24 19:46:41 same thing happened to me with a virtual device missing all the localstorage file Jul 24 19:47:03 YES YES YES YES YES Jul 24 19:47:08 Got to the "select language" screen Jul 24 19:47:26 Well, thank you very much for helping Jul 24 19:47:34 Most importantly, for that vol- + vol+ + power tip Jul 24 19:47:37 Good night Jul 24 19:47:45 fascinating Jul 24 19:48:06 JakeWharton: I just can't bring myself to leave so many users behind just yet. For new apps, yes, minSdk=15 all the way. Jul 24 19:48:44 lots of users, vs quality users Jul 24 19:49:21 You'll still have those users, they just wont get updates Jul 24 19:49:35 ;_; Jul 24 19:50:28 http://developer.android.com/training/basics/supporting-devices/platforms.html Jul 24 19:50:43 aried3r you could use the gradle stuff to repackage your stuff in a way that old users get some updates, just that flavor of the app Jul 24 19:50:50 the flavor thing is pretty useful Jul 24 19:51:20 desing for the new while supporting the old Jul 24 19:51:47 may as well get used to it, what are you going to do when android 5 comes out? it will be the same story. i think te way to go, is to carefully design the app so that core services are shared between flavors, get updates, and you evolve uis slightly differently with gradle flavors. Jul 24 19:52:20 its the same old story Jul 24 19:52:42 Phew, I don't think my old apps are ready for flavors. The structure surely isn't. Jul 24 19:53:00 And I'm not sure how I'd split up the packages. Jul 24 19:54:17 core features are most likely be shared, user interface stuff is not core Jul 24 19:56:01 mvc programming tells us to differentiate function against presentation Jul 24 19:58:26 * monsti codes mvvm Jul 24 20:01:21 any thoughts on getting the version name or code from an installed apk? Jul 24 20:01:34 nseidm1: what do you mean by "thoughts?" Jul 24 20:01:35 PackageManager Jul 24 20:01:46 it's got all that infoz Jul 24 20:01:59 via the shell Jul 24 20:02:01 ... apart from installing the damned app in the damned phone and getting it from the OS? Jul 24 20:02:15 adb pull; aapt d badging Jul 24 20:02:51 ah, thx Jul 24 20:04:10 weeee, finally about to re-launch my app I haven't touched in years years years Jul 24 20:04:29 go get'em, cheers Jul 24 20:05:03 https://play.google.com/store/apps/details?id=com.hanhuy.android.bluetooth.keyguard Jul 24 20:05:10 finally updated it to use the device administrator crap Jul 24 20:05:56 pfn are you going to work on qicr again ? Jul 24 20:06:03 yeah, that's in my queue, too Jul 24 20:06:12 contracts are finally letting up, so I have time to work on my own stuff Jul 24 20:06:26 in the last <12 months, I've released 5 client apps Jul 24 20:06:27 evanc any ideas on why the 'android support repository' didn't get updated with support lib 18 ? Jul 24 20:06:39 pfn prolific ! Jul 24 20:06:51 of course, one of those clients was a 3-app bundle Jul 24 20:06:52 heh Jul 24 20:07:55 g00s, gonna post qicr up on github, too Jul 24 20:07:58 g00s: no idea, but I'm sure it will shortly. Jul 24 20:07:59 as well as my keyguard manager Jul 24 20:09:15 pfn have most/all your apps been scala ? Jul 24 20:09:28 scala, really? Jul 24 20:09:33 pfn: great app, needs a bit of http://developer.android.com/design/patterns/index.html to be greater Jul 24 20:10:03 wooooaaaaaaaa, calling pfn out on design :-p Jul 24 20:10:18 haha Jul 24 20:15:10 Is there a way to do iOS style press states for buttons automatically? Jul 24 20:15:21 As in, not actually making png files? Jul 24 20:15:22 a selector Jul 24 20:15:30 with shape drawables Jul 24 20:15:42 Not really what I need :/ Jul 24 20:15:48 I mean, is it possible to have a filter press state Jul 24 20:16:16 Or maybe that would do it? Can a color filter of some sort mask? Jul 24 20:16:18 So to speak Jul 24 20:18:38 why is there no MmsManager yet? Jul 24 20:20:01 now that mms proxy apn info is no longer available in 4.2+ it's impossible to reliably handle mms worldwide Jul 24 20:23:16 candy rush has made 633k in a single day before... Jul 24 20:23:25 candy crush rather Jul 24 20:24:12 imagine making that much in a year much less a day! Jul 24 20:26:11 RomainGuy, evanc: any opinion on the availability of an MmsManager down the road? Jul 24 20:27:15 nseidm1: my opinion is that there probably should be one, but that in no way means that there ever will be (since it's not something I have anything to do with) Jul 24 20:38:45 g00s, no, most of the apps I wrote in 2010 were java Jul 24 20:38:49 g00s, and they're staying java Jul 24 20:38:55 g00s, after that, it was scala, yeah Jul 24 20:39:06 ;) Jul 24 20:39:21 I noticed that the latest SDK either standalone or adt bundle have no documentation anymore Jul 24 20:39:25 pfn: how'd compilation go, seamless? Jul 24 20:39:31 for scala? for me, seamless Jul 24 20:39:40 since I use my own sbt plugin, and when I use intellij, I build with sbt anyway Jul 24 20:40:10 as soon as mpeltonen merges my sbt-idea pull request, I'll post my keyguard manager to github Jul 24 20:40:17 (about the same time I update it on play for sale) Jul 24 20:45:20 pfn what ide do you use for java dev/compiling? Jul 24 20:47:31 I use sbt for builds, regardless of whether it's java or scala Jul 24 20:47:35 and lately, I've been using intellij Jul 24 20:52:07 thanks Jul 24 20:53:51 was kinda hoping 4.3 would bring in jsr166y and nio.2 Jul 24 20:54:15 jsr166y isn't a big deal; apparently you can get that to run on java6 Jul 24 20:54:31 but a lot of stuff i've been interested in uses nio.2 Jul 24 20:58:21 how does a new dev decide on a monetization method, the app is a sms/media/messaging app Jul 24 20:58:38 there have been some i/o classes Jul 24 20:58:39 iap now the standard to either remove ads or add features ? Jul 24 20:58:48 I recommend a subscription model, with virtual currency and credits Jul 24 20:58:52 g00s: they are little to no examples though Jul 24 20:58:59 remember once you choose one way, atm it doesn't seem you can switch Jul 24 20:59:01 and the decision needs to be in context Jul 24 20:59:21 soo if you go paid, you can't switch to free + iap or vice cersa, etc Jul 24 20:59:22 nseidm1: god no Jul 24 20:59:27 not for a msg app Jul 24 20:59:39 you can switch to free, but you can't switch vice versa Jul 24 20:59:44 works in ShadySMS Jul 24 21:00:12 pfn from what i understand, you can't go from paid to free + iap ? according to Chainfire Jul 24 21:00:19 i haven't tried it Jul 24 21:00:25 but i was going to go that way .... Jul 24 21:00:28 guess not Jul 24 21:01:11 definitely can't go from free + anything to paid Jul 24 21:01:56 can't go from paid to free+iap, there's no way to migrate paid users to iap. So they'd lose their old purchase and have to re-purchase iap. Unless there's some voodoo I don't know of. Jul 24 21:02:18 So, is the new NDK like... released? Jul 24 21:02:40 so in iap you can have 1 off AND subscription options ? or is that a 1 or the other kinda deal ? Jul 24 21:02:46 huh, I thought IAP was in free and paid apps Jul 24 21:03:03 i.e. just because the app is paid, doesn't mean you can't have IAP Jul 24 21:03:09 indeed Jul 24 21:03:23 so if you migrate your app to free, you should retain the ability to have IAP Jul 24 21:03:25 it's the migration that get's testy Jul 24 21:03:49 e.g. I were to launch a ebook app that has a base cost associated, I should also be able to have IAP to purchase books after the fact Jul 24 21:04:00 after I've recouped R&D, I should be able to set base price of ebook app to free and retain IAP Jul 24 21:04:06 if that doesn't work, google sucks Jul 24 21:07:53 I've had decent success with a subscription and virtual currency model using TapJoy, ~12,000 daily active users per Google Analytics, https://play.google.com/store/apps/details?id=com.project.memoryerrorthreepayg Jul 24 21:08:52 shady peeps Jul 24 21:08:56 gotta keep their honeys on the dl Jul 24 21:09:26 quite a niche market Jul 24 21:09:47 my pops originally wanted me to target business, but naughty stuff sells Jul 24 21:10:33 Hey, can anyone help me with extracting the properitary bits for toro from AOSP? I've tried running each script in the root of my androidsource folder, and i continually get a build that is 126MB...which seems small Jul 24 21:10:40 this is on 4.2.2r1 btw Jul 24 21:12:22 Midnightninja see #android-root Jul 24 21:12:50 nseidm1, indeed Jul 24 21:13:30 nseidm1 i was reading last week devs are increasingly turning to enterprise apps for $$$ Jul 24 21:13:37 over comsumer based stuff Jul 24 21:14:10 nseidm1, of course, consumers don't pay Jul 24 21:14:23 enterprise drop the big bucks, so you can sell 100 copies @ 100k per Jul 24 21:14:24 nseidm1, most money in software isn't consumer Jul 24 21:14:34 s/nseidm1/g00s/ Jul 24 21:14:51 ios just barely tipped the paradigm on its head Jul 24 21:14:59 but clearly, 90% of devs on IOS don't make money Jul 24 21:15:46 the biggest benefit of an individual dev releasing an app on the Play Store is resume padding Jul 24 21:15:55 only the lucky few make big bucks Jul 24 21:15:56 here are some numbers http://www.fiercedeveloper.com/story/developers-increasingly-turn-enterprise-apps-make-money/2013-06-28 Jul 24 21:15:59 most make peanuts Jul 24 21:16:05 and some make ok money Jul 24 21:16:14 I fall into the ok money category Jul 24 21:16:14 * pfn makes enough to pay for his phone bill... Jul 24 21:16:16 if I'm lucky Jul 24 21:17:05 pfn you got that espresso machine ! Jul 24 21:17:52 i think there is a real problem with quality though, the push for these app download numbers and store listing totals is killing the small single dev that actually does good work Jul 24 21:17:56 Interestingly enough, on a Android 4.3 device, my application can't get the function address of glMapBuffer from eglGetProcAddress Jul 24 21:17:58 imho anyways Jul 24 21:18:07 g00s, that has nothing to do with my personal apps on play Jul 24 21:18:14 g00s, and I sold off all my photo gear for it Jul 24 21:18:15 but on my 4.2.2 application it is fine Jul 24 21:18:42 an individual dev can make a beautiful app for excellent resume padding Jul 24 21:19:02 a nobody can go from nothing to extremely employable with the click of publish Jul 24 21:19:17 I wonder if eglGetProcAddress is locking down the OpenGL ES 3 functions in the official drivers if I'm only creating a GLES2 context Jul 24 21:19:28 hmm, not the case / goal for everyone though Jul 24 21:20:47 it's not the goal, but it's certainly a benefit Jul 24 21:20:50 I put screencaps of my app star ratings on my resume :-P Jul 24 21:21:02 heh Jul 24 21:21:05 I don't Jul 24 21:21:08 not enough space Jul 24 21:21:16 my apps are my resume Jul 24 21:21:54 nseidm1: are there any docs of these emoji, emoticon things ? you know, these things an old guy like me just dosn't use or understand :) Jul 24 21:22:07 absolutely no docs Jul 24 21:22:08 all custom Jul 24 21:22:16 unicode standard Jul 24 21:22:48 I decompiled Hangouts for the graphics and conveniently the resource has the unicode sequence as the file name Jul 24 21:23:13 oh is hangouts not a open app ? Jul 24 21:23:33 oh yeah, guess none of the play related things are Jul 24 21:23:41 it's closed, but since it's from Google it's the defacto official Android emoji Jul 24 21:23:48 I guess they will eventually make an API available Jul 24 21:24:06 heck, WhatsApp and countless other apps resort to stealing Apple emoji Jul 24 21:26:43 Apple jackers Jul 24 21:27:32 http://en.wikipedia.org/wiki/Emoji Jul 24 21:30:45 wont never ever use -> ;) <- it could be a hack Jul 24 21:30:50 :D Jul 24 21:33:32 sad: http://www.fiercedeveloper.com/story/vision-mobile-67-developers-fall-below-app-poverty-line/2013-05-07 Jul 24 21:35:08 nseidm1: see all these figures that have are missing specifics are pointless really Jul 24 21:35:22 true Jul 24 21:35:29 well, using them in such a varied market for informed decisions is Jul 24 21:44:03 hey nseidm1 Jul 24 21:45:51 hey mannnnnnnnn Jul 24 21:46:06 check out the release notes for 4.3 yet? Jul 24 21:46:07 hey there Jul 24 21:46:21 http://developer.android.com/about/versions/android-4.3.html Jul 24 21:47:10 BLE, totally needed for the watches and Glass Jul 24 21:47:30 totally needed for everything Jul 24 21:47:37 I hate charging my bluetooth devices so often Jul 24 21:47:41 i am following the guidelines to get sdk set up to be able to test on my p5100, but it says there are usb drivers in this directory (The Google USB Driver is located in \extras\google\usb_driver\.) Jul 24 21:47:42 BLE can totally offset ANT+ Jul 24 21:47:54 there is no such directory :S Jul 24 21:48:16 ahh, Notification Listener Jul 24 21:48:17 interesting Jul 24 21:48:26 Oooh - 'restricted profiles' Jul 24 21:48:38 they've also released actionbar in the compat lib Jul 24 21:48:48 meh, 14+ Jul 24 21:48:59 better late then never, i guess Jul 24 21:49:43 ooo OpenGL ES 3.0 Jul 24 21:49:57 Napalm, It has been around since the SGS4 release Jul 24 21:50:37 is the low latency audio thing worked out yet ? Jul 24 21:50:39 finally ViewOverlay and ViewGroupOverlay Jul 24 21:51:48 hmm optical bounds on nine patches Jul 24 21:52:27 nice Rect animations Jul 24 21:52:31 that should come in handy Jul 24 21:53:13 omg finally window attachment listener's Jul 24 21:53:22 no need to wrap views Jul 24 21:53:24 Is there any reason to using the ActionSherlock lib for fragments, if the support version of fragments works from 2x and up? Jul 24 21:54:05 leaving the office for the day, ciao Napalm Jul 24 21:54:15 cya Jul 24 21:58:29 Is there a user-facing site liek developer.android.com explaining the new features from a user POV? Jul 24 22:00:06 http://www.android.com/whatsnew/ Jul 24 22:01:12 Is there any changelod posted yet? I mean full changelog, bugs fixed etc Jul 24 22:01:17 mmmm, some whisky while I'm working Jul 24 22:01:18 so yummy Jul 24 22:02:01 dumb question: I have an activity whose layout has a "Next Step" button that should be grayed out if no ListView items are selected (in the same Activity) Jul 24 22:02:21 what is the best practice to get the Activity to change the look of the button based on whether anything is checked or not? Jul 24 22:02:38 setEnabled(mAdapter.isSomethingChecked()) Jul 24 22:03:00 what if the checking takes place after onCreate() ? Jul 24 22:03:05 implementation of isSomethingChecked() (as well as calling that line) is up to you Jul 24 22:03:10 like user is scrolling around and finally decides to click something Jul 24 22:04:35 the current state is something like: ((MyActivity) mContext).updateNextButton() from inside the adapter (not my solution) but that feels weird to me Jul 24 22:05:13 coworker suggested sending a Broadcast, but it feels weird doing mContext.sendBroadcast(new Intent()...), basically using the activity (mContext) to send a broadcast to itself Jul 24 22:07:28 tnzr: the listview offers an onChecked or onItemsSelected or something Jul 24 22:08:04 damccull: but the adapter would still have to signal to the activity that something changed and that the button should now change right? Jul 24 22:08:56 tnzr: if both are in the same activity, you can just put button.setEnabled(true) in the listeview's onItemsSelected() method Jul 24 22:10:54 <_5m0k3> Anybody have luck using the Theme.AppCompat themes? Getting resource not found in manifest. I remember having this problem with ABS, but managed to resolve it Jul 24 22:11:56 finally we have View#isInLayout() Jul 24 22:12:52 I downloaded occam, is flash-all.sh only way to upgrade Nexus 4? Jul 24 22:13:25 <_5m0k3> (using android studio) Jul 24 22:13:48 I'm running 4.2.1 atm ... Jul 24 22:14:02 If I want to pass data (a document, maybe 1-100 kb) from a file to a WebView, should I use mWebView.loadUri("javascript:moo('" + data + '")"); or should I pass it to a JavascriptInterface via mWebView.addJavascriptInterface() ? Jul 24 22:14:53 I am trying to animate a view halfway up the screen to make way for a keyboard, but the view just resets back to its original position afterwards. Here's my code: http://pastebin.com/A69QPGDu Jul 24 22:14:57 shipit: not the only way, but it's definitely the recommended way Jul 24 22:15:18 evanc: the docs say that it'll erase all my data ... Jul 24 22:15:52 smallfoot-: I would suggest you open a content:// url inside your webview Jul 24 22:15:55 MarkT-: could use anim listeners, or look at fillAfter property Jul 24 22:16:38 fillAfter? Jul 24 22:17:05 Napalm, but I want pass it to the webview, so the webview can put it in a