**** BEGIN LOGGING AT Tue Apr 30 02:59:58 2013 Apr 30 03:00:33 You can set them fairly loud. They're definitely loud enough. Apr 30 03:05:02 bankai_, I liked different things about the Nexus, the S4 and this. Apr 30 03:05:21 Walt Mossberg said it was good, and the camera lens is supposed to be good Apr 30 03:09:09 i had a HOX and the ROM always did funky shit that pissed me off Apr 30 03:11:17 pity coz it was a nice phone Apr 30 03:12:06 also, at this rate, who knows where HTC will be in 2 years -- i'd want updates for that long :D Apr 30 03:14:19 hey guys. i'm building a camera activity sort of like they describe in the Android docs here> http://developer.android.com/guide/topics/media/camera.html Apr 30 03:14:28 I think it's pretty unlikely that HTC are actually going to go *away* Apr 30 03:15:55 My preview frame is not a standard frame (ie. it's actually ~1:1) , I was wondering if you guys know of any examples out ther (OSS or not) where they've managed to crop the preview frame to a weird format like that Apr 30 03:16:12 i saw some SO posts about overlaying something else on top of hte frame, but that feels kind of ugly to me Apr 30 03:16:28 *(on top of the surface view, that is) Apr 30 03:17:47 SurfaceViews are rather messy. if you can use a TextureView instead (if the camera api allows it, and if you're targeting a modern enough version of Android) you might have better luck. Apr 30 03:19:31 Leeds: its an interesting discussion for sure; i wonder where the "event horizon" is for them as they need customers to buy new phone to stay in business vs "waste" valuable resources backporting updates to existing customers Apr 30 03:20:17 of course if they want customer loyalty they need to keep their phone up to date; i bet they know that Apr 30 03:20:23 if they actually manage to maintain a focus on the One this year, and don't get too caught up in random variants of last year's phones, or the First, I expect them to be pretty on top of things Apr 30 03:20:41 yeah hopefully there isn't a One+ Apr 30 03:20:51 or One- Apr 30 03:20:55 One HD+ Apr 30 03:21:16 One S Apr 30 03:21:51 there's already at least one variant of the One, the Chinese version with removable back, SD and dual-SIM Apr 30 03:21:52 HTC First One. Apr 30 03:22:02 but at the end of the day, they are like motorola (with a smaller patent portfolio maybe) thats basically picking parts out of a catalog - among suppliers that don't think they are a tier-1 OEM to begin with Apr 30 03:22:14 * jasta yawns Apr 30 03:22:37 jasta sounds excited by the One ! Apr 30 03:23:12 I dunno, I think Motorola were never that big outside the US - in phones, that is - while HTC have always been more global Apr 30 03:23:25 i'm glad to see HTC swinging back around Apr 30 03:23:31 I was a big HTC fan back in the early days Apr 30 03:23:37 The Nexus One, IMO, was their last great phone Apr 30 03:23:43 and that's too bad Apr 30 03:23:48 USians have a *terrible* tendency to think that whatever happens in the US matters worldwide - crap like "if they don't get this phone on Verizon it'll fail!" Apr 30 03:24:22 the US is an important market, but yeah it's definitely not the only one Apr 30 03:24:25 I can't tell, is USians Americans, or US Asians? :) Apr 30 03:24:41 USians as opposed to Americans Apr 30 03:24:59 just to stop the pedants who start wittering about Brazilians and Canadians Apr 30 03:25:28 jasta: whats your opinion these days of using a content provider local-only db? Apr 30 03:25:50 local-only meaning a content provider which has no other function than within your own process? Apr 30 03:25:55 yeah Apr 30 03:26:04 i remain convinced that this is the strongest overall pattern on android Apr 30 03:26:29 in fact, i'm knee deep in a mess right now caused by a large architecture refusing to acknowledge this fact. Apr 30 03:26:40 :O Apr 30 03:27:59 every time i try to make some abstraction - say something like MyCursorLoader for non-provider operations - it doesn't seem to work out so well Apr 30 03:28:01 i am however looking at a little R&D project of building an almost SQL protocol for Content Providers though that lets you interact with it like you would a SQL server, rather than a sqlite database. Apr 30 03:28:41 so you can write much richer applications using it Apr 30 03:29:10 jasta: oh yeah, i think this was option 3 of "Android Rest Applications" where you hit the CP , but then it went to a REST service ? Apr 30 03:29:18 (not the local db) Apr 30 03:29:27 basically, but i'm looking at doing it locally Apr 30 03:29:47 its as simple as just implementing the SQLiteDatabase API over Android IPC Apr 30 03:31:11 i was thinking about a little project that let you query the db from your pc, using a socket connection back to the apps process Apr 30 03:31:13 jasta: I have code that might help for that; but you might have to wait a few weeks before I can release it Apr 30 03:31:41 It parses java source code and creates AIDL definitions and implementations Apr 30 03:31:58 (obviously, you could modify it to use other templates) Apr 30 03:32:16 MotoDev studio lets you query/browse the sqlite db but it has to be exported to some public spot ddms can see, which effectively takes it offline for the app Apr 30 03:32:24 g00s: sounds pretty neat, though i usually just use adb backup -noapk to get at my databases Apr 30 03:32:39 ah, thats a nice tip too Apr 30 03:33:47 kevinb: yeah, agree that they are messy.. will look into TextureView Apr 30 03:42:35 kevinb: ah, dang.. it's API 14.. i'm targetting 9 Apr 30 03:42:55 oh, actually 8 Apr 30 03:43:19 i've noticed about 60% of my users are ics+ ; i need to cut the chord on those below that soon Apr 30 03:43:42 whoa.. 40% of your users? you'd be willing to do that? Apr 30 03:43:55 100% of mine are Apr 30 03:44:13 guess why ;) Apr 30 03:44:19 wabz: lol Apr 30 03:44:40 i target 14+ but the Play Store still shows some gingerbread users somehow installing it. sure it doesn't work though. Apr 30 03:47:25 i'm pretty excited about the next OS X and iOS; iOS seems like its going to be very flat :| and OS X seems like its getting features for power users - oxymoron :D Apr 30 03:47:51 no more simulated leather \o/ Apr 30 03:48:49 righ Apr 30 03:48:50 t Apr 30 03:48:56 closing up on Android design I see :P Apr 30 03:49:44 probably more like WP. i think they read there were going to be more information radiators , which is a theme in metro with tiles Apr 30 03:52:09 but i use os x so i'm happy about tabs in finder, etc Apr 30 03:53:03 yeah, i've been kind of annoyed with the past few OS X releases focusing more on bring iOS UI to the desktop. glad to hear they're going to focus on power users for a bit. Apr 30 03:53:13 maybe i'll finally upgrade from snow leopard Apr 30 03:53:44 i'd still wait until 10.9.2 or something though; seems like Apple is stretched a bit too Apr 30 03:54:23 yeah Apr 30 03:54:37 os x 10.x.1 releases seem to be right afterwards though, since they really screw up .0 :D Apr 30 03:56:25 kevinb: i predict some scandal like Oracle java not working at all on 10.9 or something Apr 30 03:56:35 just to keep us on our toes Apr 30 03:56:37 android seems to just skip the .0 at all and ship the first version as .1 Apr 30 03:56:50 2.3.1, 4.0.1, 4.1.1 Apr 30 03:56:53 can't remember honeycomb Apr 30 03:56:57 i had 2.0.0 Apr 30 03:57:17 oh and wasn't 2.1 just 2.1 and then 2.1-update1? Apr 30 03:58:42 I think I had 1.0.0... Apr 30 03:59:00 Leeds which was really 2.2 right ? Apr 30 03:59:03 :D Apr 30 03:59:15 1.0 was 1.6 Apr 30 03:59:42 I never touched any of the M releases Apr 30 03:59:43 eh, there was a 1.0 Apr 30 03:59:45 and a 1.1 Apr 30 03:59:48 then 1.5 Apr 30 03:59:51 and finally 1.6 Apr 30 03:59:55 i'm saying conceptually Apr 30 04:00:09 there was also m3r20 and all that jazz Apr 30 04:00:12 1.5 was really the "first release" that mattered. that was cupcake. Apr 30 04:00:21 1.5 felt very much like 0.9 Apr 30 04:00:28 the amount of change between 1.5 and 1.6 was staggering Apr 30 04:00:33 it really fleshed out the platform to be usable Apr 30 04:00:35 btw, on a related note Apr 30 04:00:46 i feel like punching anyone in the mouth that complains about gingerbread Apr 30 04:00:54 fuck all yall, i remember cupcake. Apr 30 04:01:00 yeah Apr 30 04:01:20 gingerbread is a cake walk :) Apr 30 04:01:21 Developing for cupcake was about as fun as writing SOAP XMLs by hand Apr 30 04:01:26 i mean, if you want to measure penis' I can go way beyond that Apr 30 04:02:00 JakeWharton, like what? Symbian C++? :P Apr 30 04:02:09 Is there a difference in build time maybe significant if I include this script along with these additional 2 for building a cm 10.1? "export USE_CCACHE=1" then "export CCACHE_DIR=//.ccache" then "prebuilts/misc/linux-x86/ccache/ccache -M 50G" or up to 100G. Versus just "export USE_CCACHE=1" Apr 30 04:02:14 i developed a paint application on m3r20 when the interface was exactly a blackberry and my first application on play targets API 1 Apr 30 04:02:45 sadly the play store no longer says "Android 1.0 and up" anymore Apr 30 04:03:46 but like awkward teenage phases, those years are best forgot Apr 30 04:04:41 JakeWharton: i wrote a streaming media player a la google music on m3r20 ;) Apr 30 04:04:50 that must have been awful Apr 30 04:04:53 you bet Apr 30 04:04:54 :) Apr 30 04:05:10 that's awesome though Apr 30 04:05:16 still have the source? Apr 30 04:05:21 yup Apr 30 04:05:24 one sec Apr 30 04:05:27 I managed to drag along all my old apps through the changes in VCS Apr 30 04:05:39 https://code.google.com/p/five/ Apr 30 04:06:21 thoe screenshots, btw, were _updated_ with 1.5 ;) Apr 30 04:06:31 those* Apr 30 04:06:59 fantastic Apr 30 04:07:14 i maintained it for a couple of years, off and on for fun Apr 30 04:09:54 hi to all D: Apr 30 04:09:56 :D Apr 30 04:13:57 um, is there a decent documentation source of in-depth Surface/TextureView behaviour anywhere? Apr 30 04:13:57 is anyone here? Apr 30 04:15:34 I have an activity 1 that calls activity 2 for result, but the activity 2 wants to return a result from activity 3 (to 1), is that possible? Apr 30 04:16:33 why wouldnt it be? :) Apr 30 04:17:31 what is the difference between String str[][] and String[][] str? Apr 30 04:18:05 nomo, no difference. one is ugly other isnt :) Apr 30 04:18:28 which one is ugly ?:) Apr 30 04:18:35 String str[][] ? Apr 30 04:19:13 what do you mean by ugly? Apr 30 04:20:07 nomo, exactly what the word means. Those statements are equivalent. Use the one that looks better to you / complies with your coding standard / is consistent. Apr 30 04:21:09 in the java tutorials, they recommend String[][] str Apr 30 04:21:41 Mavrik: When I start the 3rd activity, I dont risk my first activity gets lost? Apr 30 04:22:45 String[][] arr = (String[][])2dListArray.toArray(); is this correct? I want to convert 2d list array to array Apr 30 04:22:54 jahd, well it can get suspended Apr 30 04:23:07 jahd, but the result will still be delivered to callback after it restarts Apr 30 04:23:26 Mavrik: excellent :D thank you Apr 30 04:23:43 jahd, just make sure your onSaveInstanceState does what it should :P Apr 30 04:24:24 I never used that, i will look for it then :) Apr 30 04:46:12 hi again Apr 30 04:46:33 in my /android-sdks/platforms/android-8/data/res/layout/ i see a activity_list.xml layout Apr 30 04:46:50 but when writting android.R.layout... I can't find it Apr 30 04:46:58 how can I use that layout? Apr 30 04:49:10 jahd: it is automatically generated when you build your project Apr 30 04:49:27 jahd, not all resources are exposed for usage Apr 30 04:49:28 oh, android.R Apr 30 04:49:31 nevermind :) Apr 30 04:49:35 yes android.R Apr 30 04:49:51 I see in the docs, that layout is used for the listActivity Apr 30 04:50:04 but I need that exact layout for another usage Apr 30 04:50:29 jahd, just copy it :) Apr 30 04:50:49 Mavrik: i didn't want to do that, but that is the only way :P thanks! Apr 30 04:51:00 jahd, yeah, some resources are private Apr 30 04:51:17 and just making a copy is the most reliable way to cope with that Apr 30 04:52:31 hey guys Apr 30 04:52:43 if i wanted to basically create a bunch of forms in different activities Apr 30 04:52:55 and the forms essentially have multiple input fields of a particular format Apr 30 04:53:06 can i somehow use re-usable ui elements for that? Apr 30 04:53:35 like i can't use fragments for that, because it's bascially a label, input field with (numeric , double) type Apr 30 04:54:29 pr0ton, um, you have includes in layouts Apr 30 04:54:35 you write the layout Apr 30 04:54:37 i was thinking more of Apr 30 04:54:41 adding them programatically Apr 30 04:54:53 that works too, more clunky though :) Apr 30 04:55:03 what i want to do though is Apr 30 04:55:05 create the layout in XML Apr 30 04:55:11 and change the values in Java Apr 30 04:55:37 i think, one solution might be to create a custom UI component -.- Apr 30 04:55:39 Hi, is this an official channel (since it's #)? Apr 30 04:56:03 pr0ton, uh Apr 30 04:56:16 pr0ton, I think you need to describe the type of your problem more Apr 30 04:56:17 :) Apr 30 04:56:22 okay, so here goes Apr 30 04:56:27 i'm basically going to create a ton of forms Apr 30 04:56:27 Lara, official…ish :) Apr 30 04:56:32 like 7-8 Apr 30 04:56:38 i mean thats what the app is basically Apr 30 04:56:44 these forms are simple, bascially labels and input fields Apr 30 04:56:48 input fields have a type Apr 30 04:56:49 can you explain with fewer lines and more punctuation ? Apr 30 04:56:56 Mavrik: Ok, I'm thinking of adding it to #google's topic... only #android is there right now. Thanks Apr 30 04:57:07 Lara, great :) Apr 30 04:57:54 okay, sure. so basically i want to be able to easily create forms and add them programatically. the idea is that if i have to change something about these input elements, it'd require me making 1 change, instead of a change across 7-8 forms and multiple fields Apr 30 04:58:10 pr0ton, hmm, what do these fields have in common? Apr 30 04:58:18 or, just how simillar are these forms? Apr 30 04:58:26 they're bascially