**** BEGIN LOGGING AT Wed Apr 09 02:59:57 2008 Apr 09 03:01:24 romainguy__: this is interesting. using layout_centerInParent, the view is centered horizontally, then placed half way off the top edge of the rest of the layout Apr 09 03:02:07 i bet this is baseline alignment Apr 09 03:02:26 nope :\ Apr 09 03:17:35 ok acxia you may sleep Apr 09 03:18:01 acsia even Apr 09 03:18:28 I will now also crawl to bed. Apr 09 03:36:31 How the hell does one close an app on android os? Apr 09 03:42:43 System.exit Apr 09 03:42:52 No no - when using the interface Apr 09 03:43:04 Apps appear as acons in a stack on the top right - is this the taskbar or history Apr 09 03:43:18 you'd have to write a method to call the System.exit Apr 09 03:43:36 then connect it to your interface Apr 09 03:44:00 heh - *sigh* - not programming anything Apr 09 03:44:02 Just using it Apr 09 03:44:40 Click the browser and then go to the home screen of the phone - the browser is still open for example Apr 09 03:44:46 And shows as an icon in the top right Apr 09 03:45:50 I'm just wondering how does one close the app (as a user) since there doesn't appear to be an 'X' button Apr 09 03:49:07 Wed Apr 9 09:11:57 IST 2008 Apr 09 03:50:51 *poke* Apr 09 03:54:58 sanik the user hits the back button Apr 09 03:55:14 The apps goes on the top right stack Apr 09 03:55:33 Now is that the app history (for reference) Apr 09 03:55:41 or is that a taskbar (currently running apps) Apr 09 03:56:02 app* Apr 09 03:56:23 history Apr 09 03:57:13 Is there a way to clear the history? Apr 09 03:57:51 no Apr 09 03:57:56 i don't think so Apr 09 03:58:06 SANiK: why would there be? think carefully about why you'd need or want to do that. Apr 09 03:58:18 or why you'd specifically want to manage the process lifecycle of running apps. isn't that the platforms job? Apr 09 03:59:02 Well true that - that's the whole point of Java's garbage collection anyways Apr 09 03:59:17 android doesn't like the close button ;) Apr 09 03:59:20 no, that has absolutely nothing to do with this. Apr 09 03:59:59 Yes it is - it's just a little java thing that caused an inspiration in the OS's design Apr 09 04:00:13 ? Apr 09 04:00:22 or why you'd specifically want to manage the process lifecycle of running apps. isn't that the platforms job? << in ref. to that Apr 09 04:00:28 ugh. i don't have the energy to give you the severe cluebat beating that you so clearly need. Apr 09 04:00:36 haha Apr 09 04:01:01 jasta, uhuh - I like how Android looks all fancy and stuff Apr 09 04:01:09 But a lot of the shit they'll have to down-right disable Apr 09 04:01:32 sanik like what? Apr 09 04:01:42 muthu - transparency Apr 09 04:01:52 Or the swish-swoosh crap with the menus Apr 09 04:02:07 what are you talking about Apr 09 04:02:14 disable as in, "provide options to customize" those features Apr 09 04:02:18 they are transitions..... why would they have to be disabled? Apr 09 04:02:30 hmm.. UI is a work in progress Apr 09 04:02:37 michaelnovakjr ... cause not everyone is rich and snobby as you are Apr 09 04:02:37 it'll improve a lot Apr 09 04:02:48 what is that supposed to mean? Apr 09 04:02:51 maybe I have a 20 Mhz phone and not a 300 Mhz one Apr 09 04:03:21 sdk is evolving.. so major improvements on the way Apr 09 04:03:23 in that case you'd need more than disabled transitions Apr 09 04:03:46 the modern Linux kernel would have a hard time running on a 20MHz processor :) Apr 09 04:03:59 the Dalvik VM would especially. Apr 09 04:04:23 jasta - they have a Java VM running on the GBA Apr 09 04:05:04 20MHz is a very slow processor Apr 09 04:05:15 you'd be frustrated in a day if you could actually get it to run Apr 09 04:05:43 anyway, i really gotta get back to coding or i won't be done by the 14th :) Apr 09 04:05:48 x-D Apr 09 04:05:51 What's your app? Apr 09 04:05:54 later folks Apr 09 04:06:03 Ahh - no goody info =) Apr 09 04:06:12 code away jasta Apr 09 04:06:27 I didn't even know about the contest till now Apr 09 04:06:32 Too late I guess Apr 09 04:06:49 there's challenge II Apr 09 04:06:59 I was gonnah port this old thing I wrote which basicly allows one to select an object in a picture, and the program would back-propogate to find the "definition" of the object Apr 09 04:07:10 e.g., one highlights a picture of an apple and it'd say "apple" Apr 09 04:07:17 you can still do it Apr 09 04:07:24 Useful for finding names for things one doesn't remember Apr 09 04:07:43 muthu - I program in C and the AI engine is very exhaustive Apr 09 04:08:02 It basicly creates a 3D model and keeps deforming it until a match is found with the picture Apr 09 04:08:37 After the "best" match is found - the 3D mesh is searched through a database of items to find the definition Apr 09 04:08:48 wow.. cool Apr 09 04:08:56 Java is not a very ... fast language Apr 09 04:09:19 So I expect the 20 second delay would take 30 minutes on a PC compared to a 2.1 Ghz pc Apr 09 04:09:32 on a phone compared* Apr 09 04:09:47 Anyways I'm out - peacers Apr 09 04:11:05 what an absolute idiot ;) Apr 09 04:11:17 definitely Apr 09 04:12:08 really cool games for android - http://www.vimeo.com/875115 Apr 09 04:12:24 looks faster Apr 09 04:12:44 this is a winner Apr 09 04:16:06 muthu: that does look nice, though i dont understand the whole "create your own game" bit. Apr 09 04:16:48 yeah.. but the graphics, speed etc., are nice Apr 09 04:17:21 yeah, nice work. Apr 09 04:17:31 though the only game that they showed which i woul dplay is the arkanoid-type one Apr 09 04:17:35 i love that game :) Apr 09 04:18:06 yea that is the only one that interested me too :) Apr 09 04:19:00 i really want someone to port a super monkey ball like game where you roll the ball around with the accelerometer Apr 09 04:19:10 that would be great Apr 09 04:19:14 the games are pushing the limits Apr 09 04:19:29 are they? Apr 09 04:19:53 from an UI experience Apr 09 04:33:58 I don't see that as a winner Apr 09 04:34:03 that's not doing anything 'new' with the platofrm Apr 09 04:34:12 yeah, i have to agree. it's not that exciting. Apr 09 04:34:18 seems like quality work, for sure Apr 09 04:34:22 but, so what? :) Apr 09 04:34:46 yeah, nothing new Apr 09 04:34:56 come on.. every app cannot do something new Apr 09 04:35:08 some games needs to be picked Apr 09 04:35:08 Kraln: yeah, and more importantly, it seems trivial. Apr 09 04:35:13 muthu: I don't see why not? Apr 09 04:35:14 anyone could sit down and write a game. Apr 09 04:35:16 so they'll pick a well done game Apr 09 04:35:32 I figure they'll pick a game that uses the location services to generate the game world based on things around the player Apr 09 04:35:38 not some hackneyed game creator thingy Apr 09 04:35:40 krain: the apps needs to be appealing to end users Apr 09 04:35:42 muthu: those games aren't that well done either. Apr 09 04:35:49 not necessarily ground breaking and innovative Apr 09 04:35:53 they're not crap, but not that well done :) Apr 09 04:35:55 muthu: I disagree. Apr 09 04:36:08 I think they need to be appealing to end users AND ground breaking/innovative Apr 09 04:36:09 jasta: it looks good from what i've seen submitted for adc Apr 09 04:36:25 muthu: a lot of ADC submissions that folks are showing are crap. the winners won't be crap, i'm sure :) Apr 09 04:36:33 there was this other game i don't remember (car races), but it was slow Apr 09 04:36:44 i Apr 09 04:36:49 you know that the emulator doesn't have 3D accel right? Apr 09 04:36:50 honestly if I thought a crap game collection would win I'd port my gba/nds stuff Apr 09 04:36:57 jasta: i'm submitting crap, hope they pick my crap ;) Apr 09 04:37:04 what is yours again? Apr 09 04:37:19 jasta: mine? Apr 09 04:37:23 yeah Apr 09 04:37:32 i'm doing a cooking show Apr 09 04:37:39 not my idea though Apr 09 04:37:48 say what? Apr 09 04:38:07 yeah.. pretty boring Apr 09 04:38:21 i dont get it? a cooking "show'? Apr 09 04:38:31 re Apr 09 04:38:37 I'm working on something innovative & ground breaking - you might even say, disruptive *chuckles* Apr 09 04:38:39 found a design partner through forums and we are collaborating for the ADC Apr 09 04:38:43 romainguy: I never managed to make that layout we discussed earlier work. Apr 09 04:38:51 krain: what's it? Apr 09 04:39:16 muthu: location aware chat services Apr 09 04:39:24 the mobile search engine is something we develop for our company, but that's only due in june Apr 09 04:39:42 krain: ther's tons of LBS apps Apr 09 04:39:46 LBS? Apr 09 04:39:50 location based Apr 09 04:40:08 mornin romain Apr 09 04:40:21 location based blogging, chatting, dating Apr 09 04:40:22 sure. but as long as I stick my head in the sand I can say confidently that mine is the best Apr 09 04:40:31 lol Apr 09 04:40:35 that's what i do Apr 09 04:41:00 i am pretty proud of how my app is developer, actually. Apr 09 04:41:00 link me to one of the lbs chatting apps? Apr 09 04:41:02 jasta: yeah, cooking buddy Apr 09 04:41:10 developing* Apr 09 04:41:19 but my partner is so secretive and trademarked a lot of stuff ;) Apr 09 04:41:35 which i find highly entertaining Apr 09 04:41:44 stuff can be trademarked without registering it ... Apr 09 04:41:59 yeah Apr 09 04:42:19 ideas doesn't matter anyways Apr 09 04:43:17 so my cooking show is going beat the crap out of you folks :-D Apr 09 04:43:20 do you have any links to those LBS chatting stuff? Apr 09 04:43:27 elimatta.com Apr 09 04:43:32 myloki.com Apr 09 04:43:35 rummble.com Apr 09 04:43:37 mosio.com Apr 09 04:44:01 mobeegal.in (this is mine, and in development) Apr 09 04:44:27 hmm Apr 09 04:44:38 loopt.com Apr 09 04:44:50 one of my best friends works for loopt.com Apr 09 04:45:21 verizon is offering loopt for a monthly subscription, if i remember right Apr 09 04:45:31 i know ;) Apr 09 04:45:36 yeah, loopt is ahead.. they were early. Apr 09 04:45:47 and YCombinator helps Apr 09 04:46:05 hmm Apr 09 04:46:10 none of those are exactly what I'm offering Apr 09 04:46:32 location based chat is what elimatta does Apr 09 04:46:36 rummble does Apr 09 04:47:02 once you find friends, then you chat Apr 09 04:47:13 I think mine looks the most like loopt Apr 09 04:47:29 loopt is pretty cool, actually. i've used it many times. Apr 09 04:47:41 but I'm using IRC as the backend =) Apr 09 04:47:51 interesting krain Apr 09 04:48:07 jasta: yeah loopt looks cool Apr 09 04:48:50 I just gotta make sure the client is up to snuff Apr 09 04:49:20 LBS is the rage Apr 09 04:49:23 I think I can get it where it needs to be by the end of the week Apr 09 04:49:23 so much demand Apr 09 04:49:35 and if you have something working.. you have a deal Apr 09 04:49:39 oh, it works Apr 09 04:49:45 the client is just kind of skeletal at the moment Apr 09 04:50:22 ie, it can connect to the network, see a list of channels plotted by where they are, and join channels and chat Apr 09 04:50:33 but it's sort of ugly. :-( Apr 09 04:51:48 ugly doesn't matter Apr 09 04:52:11 muthu: for the challenge, yes it does. Apr 09 04:52:18 really? Apr 09 04:52:19 I was going to say, I'm pretty sure it does Apr 09 04:52:23 muthu: yes, read the rules. Apr 09 04:52:25 that's one of the four criteria Apr 09 04:52:34 hmm Apr 09 04:54:00 I'm wondering if I should generalize the client so it can function (without location services) on normal irc servers Apr 09 04:54:24 I mean it should, but it'll send a bunch of weirdo-commands Apr 09 04:54:31 that most ircds will be like "wtf?" Apr 09 04:58:13 make up your mind Apr 09 04:58:49 hmm? Apr 09 04:59:19 on the LBS front Apr 09 04:59:29 i'll say LBS is what people want right now Apr 09 04:59:49 you're a very arbitrary person, muthu :) Apr 09 04:59:58 lol Apr 09 05:00:32 well, it's about services tie-in Apr 09 05:00:40 do I want to lock the client to my server or not Apr 09 05:00:57 I'm leaning towards yes Apr 09 05:01:16 krain: how does it help me, as an end user? Apr 09 05:01:28 i'll be thinking more from a user pov Apr 09 05:01:30 if I lock in, end users will be presented with a consistent user experience Apr 09 05:01:39 ok.. good Apr 09 05:01:40 if I don't lock in, users can use it as a general purpose IRC client Apr 09 05:02:17 I mean, the client and the server bits are MPL licensed... so if someone wants a general purpose one it'll take about three seconds to reconfigure Apr 09 05:02:56 IRC on your mobile.. hmm Apr 09 05:03:39 generic services doesn't excite me much Apr 09 05:04:02 jasta: got some news Apr 09 05:04:22 ? Apr 09 05:04:48 May 6 is not going to happen Apr 09 05:05:05 HTC confirmed it's not android related Apr 09 05:05:05 i figured as much :) Apr 09 05:05:15 yeah, we have confirmation now Apr 09 05:05:30 hah, at least HTC is watching the site :) Apr 09 05:05:32 I want a sprint android phone -.- Apr 09 05:05:35 i love when people give feedback Apr 09 05:05:52 i think early may will have plenty of its own excitement :) Apr 09 05:05:56 zhobbs: book an island, buddy.. the party is coming to town Apr 09 05:06:12 oh yeah May 5.. Apr 09 05:06:20 yeah, that will be great Apr 09 05:06:44 twitter, anyone? Apr 09 05:06:49 very addictive. Apr 09 05:07:24 ive never used it Apr 09 05:07:36 try it Apr 09 05:07:37 i'm much too busy to explore it now ;) Apr 09 05:07:57 but be prepared to spend (waste?) a lot of time Apr 09 05:11:42 romainguy: *sigh*, i'm so stuck :( Apr 09 06:25:22 jasta: what are you stuck at? Apr 09 06:25:32 muthu: this silly relativelayout problem Apr 09 06:27:29 what's the problem? Apr 09 06:28:07 it just isnt laying out properly. i ignored it for now Apr 09 06:28:25 man i cant believe the submission is so soon :) Apr 09 06:28:33 most of the layouts needs some sort of a nesting Apr 09 06:29:09 i can't wait for it to be over and done with Apr 09 06:29:30 hehe, yeah i suppose :) Apr 09 06:36:02 has anyone used softreferences in android? Apr 09 06:36:19 they seem to been collected extremly aggressively Apr 09 06:36:51 or if not, have a suggestion for another caching scheme? Apr 09 06:42:39 yes Apr 09 06:42:44 they are collected very aggressively Apr 09 06:42:47 this will change Apr 09 06:43:14 romainguy__, thanks Apr 09 06:44:19 'Erro! Apr 09 06:45:01 Evi here... Just an aimless wanderer, come to see what the commotion is all about. There IS commotion here, right? Apr 09 06:45:09 If not... there should be. Apr 09 06:45:19 commotion? Apr 09 06:45:48 Yes, commotion! Apr 09 06:46:25 A Disturbance in the Force, ya know? Apr 09 06:47:14 You sound like a used car salesmen. Apr 09 06:47:21 I should hope not. Apr 09 06:47:24 Terrible people, those guys, Apr 09 06:47:55 No, the goal of the Used Car Salesman is to HIDE the commotion. Apr 09 06:47:59 At least I'm up-front about it. Apr 09 06:48:08 can you try, like, talking less? Apr 09 06:48:29 Hm. If I talked less, would the all of you talk a bit more? Apr 09 06:49:26 No. See? That doesn't work. Apr 09 06:50:22 Okay. I get it. Goodnight, roybots! Apr 09 06:50:48 strange fella Apr 09 07:03:03 * f00f- is excited that 95% of his app's functionality is there Apr 09 07:03:16 not me hehe Apr 09 07:03:21 like 60% of mine is ;) Apr 09 07:03:37 i'll have the right amount for the challenge tho Apr 09 07:03:49 are you adding any extras just for kicks? Apr 09 07:04:03 extras? Apr 09 07:04:04 i'd like to but i want to strike a good balance for all 4 categories Apr 09 07:04:13 like nice-to-have features that don't really add much Apr 09 07:04:34 for example: i've added things that showcase use of android platform, but don't really add to the uniqueness of my app Apr 09 07:04:34 oh, no, i have several of them but those were developed a while ago :) Apr 09 07:04:53 since most LBS apps will have said features anyway Apr 09 07:05:32 mundane stuff like "show my location" in google maps mobile Apr 09 07:05:33 etc. Apr 09 07:05:44 where if follows you around as your gps/location changes Apr 09 07:20:14 hi Apr 09 07:22:04 'morning Apr 09 07:33:23 deadline is coming androiders Apr 09 07:33:28 hey, what is this "dream" handset? Apr 09 07:35:02 is there any method that can set the position of the cursor in EditText please? Apr 09 07:36:06 rhett: that's the HTC android device, named Dream Apr 09 07:37:20 so, that comes out for developers in may? Apr 09 07:40:56 no its not Apr 09 07:41:07 it might come later Apr 09 08:09:15 morning you crazy code guys. that was a nice game pack - http://www.vimeo.com/875115 Apr 09 08:09:37 Now I have to run to work Apr 09 08:20:19 * rhett cringes as I try to get this on dialulp Apr 09 08:21:32 nogo, i need flash 9 Apr 09 09:56:13 how can i use a layout from xml for the getView() Method in adapters? Apr 09 11:08:33 finally managed to solve a bug after approx 32 hours of searching for it! Apr 09 11:09:06 chomchom: u three? Apr 09 11:09:09 there? Apr 09 11:13:45 can anybody tell me as to how to put buttons for slide show on the image screen Apr 09 11:16:25 can anybody help me Apr 09 11:25:24 can anybody answer my question Apr 09 11:25:49 nil: what you want to do? Apr 09 11:26:18 i have created a photo slide show Apr 09 11:26:39 i want to put up buttons on that image screen Apr 09 11:26:57 use a layout Apr 09 11:27:31 but till now for this particular application i have not used layout Apr 09 11:27:58 now you want buttons, right.. so put them below the image in a layout Apr 09 11:28:42 ok Apr 09 11:29:02 but i have to set the content view to a specific layout Apr 09 11:29:15 yeah set them to the layout Apr 09 11:29:38 design the layout to include whatever views you want Apr 09 11:30:12 but now when i start my application the layout is not from any xml file Apr 09 11:30:29 its directly from the java file Apr 09 11:30:53 if i set a layout from xml file it will display it first Apr 09 11:31:08 you can either load it from xml Apr 09 11:31:13 or do it by code Apr 09 11:31:19 ok Apr 09 11:31:28 i will chek it out Apr 09 11:31:31 thank you Apr 09 11:31:36 np Apr 09 13:32:07 HA! Apr 09 13:32:16 Finally! Apr 09 13:32:27 muthu: how can i load a layout afterwards (for example for getView() in adapters)? Apr 09 13:37:33 you can use view inflate Apr 09 13:41:33 when using view inflate how can i get the view to redraw? Apr 09 13:48:36 michael: you'll have to invalidate.. but am not sure Apr 09 13:48:55 invalidate basically redraws the views Apr 09 13:49:16 hmmm... i called the invalidate but it doesn't redraw it Apr 09 13:50:38 yeah i've noticed weird behaviors too Apr 09 14:19:35 Yolanda: hi, are you the Yolanda I know ? Apr 09 14:19:59 hap: no Apr 09 14:20:40 ok :) Apr 09 14:20:44 different network etc. Apr 09 14:22:50 ... Apr 09 15:13:54 sigh Apr 09 15:13:57 damn you Android :) Apr 09 15:14:04 robbing me of sleep :) Apr 09 15:15:05 things are starting to slow down here Apr 09 15:16:07 robbing of lots of sleep Apr 09 15:18:52 zhobbs: not for me really, i've gotten more aggressive this past week Apr 09 15:19:08 me too Apr 09 15:19:42 i even took Monday off work Apr 09 15:20:50 last monday, or the 14th? Apr 09 15:20:57 the 14th Apr 09 15:21:19 i am going to try to submit on Sunday, but just in case i don't... Apr 09 15:21:27 even if I do submit Sunday, I will be sleeping all day monday :) Apr 09 15:21:40 will be interesting if Google Apr 09 15:21:43 ... Apr 09 15:21:52 ? Apr 09 15:21:54 will be interesting if Google's servers go down on Monday or something Apr 09 15:22:01 * B0jangles accidentally hit enter too early Apr 09 15:22:24 ...overloaded by thousands of submissions Apr 09 15:22:26 i thought of that; i assume that if registration is closed inadvertantly on the last day that they would extend it 1 day. Apr 09 15:22:40 aye ;-) Apr 09 15:22:45 but let's be realistic; *Google's* servers? really? :) Apr 09 15:22:49 Still, I'll be submitting a day or two early Apr 09 15:23:06 what's your project? Apr 09 15:23:16 Sadly, I'm not allowed to talk about it ;-( Apr 09 15:23:35 Though, I suppose I will be allowed to after Monday Apr 09 15:24:06 who is preventing you? Apr 09 15:24:12 my employer Apr 09 15:24:30 is your app being developed by your employer or you personally? Apr 09 15:26:01 well, I'm the sole developer, but it's an project for my employer Apr 09 15:26:22 It's an offshoot of an existing project, so I think they see it mostly as a way to potentially get more attention Apr 09 15:26:23 hmm Apr 09 15:26:28 and potentially some money Apr 09 15:26:37 i'm sorta curious why companies would be motivated to compete. Apr 09 15:26:57 seems like they hand over an awful lot of power to Google for a measley $300K grand prize. Apr 09 15:27:04 what does that R.java class mean? Apr 09 15:27:11 jasta: how so? Apr 09 15:27:17 and those hex values? Apr 09 15:27:27 Tomasso: it's internal id's for resources Apr 09 15:27:27 The ADC is advetised as "no strings attached" Apr 09 15:27:51 except that you permit Google to use your name and materials for use in their marketing. Apr 09 15:28:00 * dpino thought deadline was on Sunday Apr 09 15:28:17 jasta: yeah, Google using your name and materials in their marketing is a *huge* bonus Apr 09 15:28:19 dpino: it's apr 14th 11:59:59 PST. fortunately, i'm in PST :) Apr 09 15:28:48 Pacific time Apr 09 15:28:52 If you're in the sort of business where gaining public attention is a good thing, I guess Apr 09 15:29:13 I am GMT +2, that gives me some extra time, but I do not think I could do much on Monday Apr 09 15:29:18 B0jangles: i would suspect that business entities would want to have more control over how their product is delivered to the public, marketed, etc. Apr 09 15:29:31 Depends on the product Apr 09 15:29:33 letting a third party take it, even one like Google, seems wreckless. Apr 09 15:30:15 esp since the first round is not a public launch (no user will have it yet), so you'd think a business entity would want to not market it at that time. Apr 09 15:30:32 jasta: business who plan on distributing the app for free don't care Apr 09 15:30:40 businesses* Apr 09 15:30:42 Like I said, it's part of a larger product Apr 09 15:30:59 The Android part of it is seen by my employer largely as a marketing vessel Apr 09 15:31:02 also, it takes away from the possibility of being "first to market" on Android, since another entity would be able to swoop in between May 5th and the commercial launch date Apr 09 15:31:03 zhobbs, are those ids auto generated? Apr 09 15:31:14 Tomasso: yeah, R.java is auto generated Apr 09 15:31:21 Having Google be a part of that marketing is a huge bonus Apr 09 15:31:27 R.java connects your java to your UI Apr 09 15:31:34 if I add a new resource then does it refresh? Apr 09 15:31:39 and values and drawables... etc Apr 09 15:31:52 great Apr 09 15:31:59 For instance, (and this is not my project), say you have a Facebook-type social-networking site that nobody's heard of... Apr 09 15:32:06 You make an Android app that interfaces with it... Apr 09 15:32:09 Give it away free Apr 09 15:32:14 Win the Google ADC Apr 09 15:32:22 And suddenly people have heard of your site Apr 09 15:32:28 You get revenue from the ads on your site Apr 09 15:32:31 i have one Apr 09 15:32:39 its called basement networking Apr 09 15:32:51 you have to be over 30 and live in your mom's basement :) Apr 09 15:33:32 as you can see i take social networking with a grain of salt Apr 09 15:33:56 like I said, that's not my project...it's just the first similar example I could come up with... Apr 09 15:34:12 of course, its really popular stuff right now Apr 09 15:34:25 look at myspace.... its garbage now... Apr 09 15:34:38 it was garbage before, too ;-) Apr 09 15:34:40 its not long before facebook goes with it Apr 09 15:35:04 people get bored of the same thing over and over Apr 09 15:35:10 eventually it will fade Apr 09 15:35:13 I've never actually been to Facebook Apr 09 15:35:20 but the concept will always be there Apr 09 15:35:40 social networking of the future, as i see it, will be integrated into company products Apr 09 15:35:54 I'm intrigued by the idea, and have written a few limited social-networking-type things, but I can't say I've used it much Apr 09 15:35:56 not really sure if there will be one big open standard Apr 09 15:36:32 but the core ideas of social networking could enhance productivity in companies if integrated into their current internal software Apr 09 15:36:46 basically work related communication management Apr 09 15:37:01 absolutely, I think social networking can be hugely beneficial Apr 09 15:37:48 but companies like myspace and facebook aren't the long term standards Apr 09 15:38:05 they are the equivalent of rebound relationships Apr 09 15:38:30 soon enough there will be an open standard that everyone will want to adopt because it expands the arena that they can reach Apr 09 15:38:31 It's hard to say. In some ways, I see social networking evolving further, but it's really hard to kill off sites that are first to market Apr 09 15:38:34 Look at Ebay Apr 09 15:38:39 or Craigslist Apr 09 15:39:02 craigslist is a good example of the core principles without all the extra crap Apr 09 15:39:03 Shit, I could write a better Craigslist, but nobody would use it because Craigslist already has the traffic Apr 09 15:39:05 the internet is just a big popularity contest Apr 09 15:39:17 agreed zhobbs Apr 09 15:40:08 I just started the eclipse thing with the Hello application, the emulator started but I only see a red thing going Apr 09 15:40:14 is that supposed to mean it is currently booting ? Apr 09 15:40:19 hap: yes Apr 09 15:40:24 hap: it takes awhile Apr 09 15:40:28 man it does Apr 09 15:40:29 hap: go get a coffee or something Apr 09 15:40:34 its an emulator :) Apr 09 15:40:37 core 2 duo low latency here, 2gigs Apr 09 15:40:44 but once its running, leave it running Apr 09 15:40:50 does it emulate the slowness of what I ll get on my phone ? :) Apr 09 15:40:52 otherwise you'll waste away your life Apr 09 15:41:00 michaelnovakjr: ah ok i can leave it running Apr 09 15:41:06 yea Apr 09 15:41:17 just click run in eclipse to restart the app Apr 09 15:41:18 stupid question but can I get more software to play with, like the thing I see on videos Apr 09 15:41:23 with the browser etc Apr 09 15:41:32 hap what do you mean? Apr 09 15:41:38 hap: no Apr 09 15:41:41 webkit, etc Apr 09 15:41:44 ah sux Apr 09 15:41:46 you have to install the packages with "adb" Apr 09 15:41:59 hap, adb is your friend :) Apr 09 15:42:00 ah ok, but I can install them to have a complete environment ? Apr 09 15:42:11 hap: ? Apr 09 15:42:20 what do you mean by complete environment? Apr 09 15:42:34 it comes with webkit, maps, contacts Apr 09 15:42:42 and ApiDemos Apr 09 15:42:48 and dev tools ); Apr 09 15:42:56 ;) Apr 09 15:48:46 ok i did not see it, i got the complete env Apr 09 15:48:52 but on the video i see a bottom dock Apr 09 15:48:58 wihch i don t get on the emulator Apr 09 15:49:05 the interface was redesigned Apr 09 15:49:14 could be you saw the old version in the video Apr 09 15:50:52 ah ok Apr 09 15:50:58 well i liked the previous bottom dock in fact Apr 09 15:50:59 hehe Apr 09 15:51:08 join the club ;-) Apr 09 15:51:24 the home screen is the hardest part of the interface Apr 09 15:51:39 i have a feeling it will be slightly different in the next release too ;) Apr 09 15:52:54 probably. I'm guessing it will come out pretty soon after the 14th, too Apr 09 15:53:02 yea Apr 09 15:53:43 I have to say it s pretty slick, I bought a n800 when released and i think maemo is the crappiest UI I saw for small devices Apr 09 15:54:40 can t wait to be able to put android on the n800 (i saw about the n810) Apr 09 15:54:57 what provider do you have? Apr 09 15:55:13 michaelnovakjr: what do you mean ? Apr 09 15:55:35 who do you use for your cell carrier? Apr 09 15:56:04 my n800 is used a brick on my desk for the last year now. Can't stand it. I bought a ipod touch and I just love it, can t leave the house without it now (emails notes etc) Apr 09 15:56:13 michaelnovakjr: i feel ashamed but i have no more cell phone Apr 09 15:56:28 wowee Apr 09 15:56:30 for the last 3 or 4 years Apr 09 15:56:36 but i like embed devices etc Apr 09 15:56:54 that's interesting Apr 09 15:56:56 maybe i ll get one if it fits the size of the ipod touch and look like the emulator Apr 09 15:57:10 and not like a blackberry Apr 09 15:57:10 i haven't spoken to someone without a cellphone in a long time Apr 09 15:57:17 well here I am ;) Apr 09 15:57:29 any reason? Apr 09 15:57:50 i have to say, it feels great not having one and being able to say 'no i have no cell phone number but you can reach me at my office' Apr 09 15:58:08 i rarely use mine as a phone Apr 09 15:58:17 well I was tired of people calling me for no reasons, I don t want a brain tumor within 20 years, and I like to feel special. Apr 09 15:58:24 i just like it for the data connection :) i tell people to email me ;) Apr 09 15:58:35 so do I and I fetch them at the office. Apr 09 15:58:49 i am on the move alot so it helps to have it handy Apr 09 15:59:00 yeah i was thinking about a 3g usb dongle Apr 09 15:59:14 I have the vaio tz90 bought in tokyo and I often have it with me Apr 09 15:59:21 a 3g on it would do Apr 09 15:59:27 vaio as in sony? Apr 09 15:59:41 yes Apr 09 15:59:55 1kg, best laptop i ever had Apr 09 15:59:55 ahh, i had bad luck with the vaio Apr 09 16:00:09 i use apple and freebsd Apr 09 16:00:16 me too, the harddrive failed, but it s a toshiba one, the laptop was easy to open Apr 09 16:00:28 well I wanted one but when i saw the Air i just laughed Apr 09 16:00:38 oh yea, the Air is a joke Apr 09 16:00:45 i use a macbook pro Apr 09 16:00:54 mine is 1.1kg, firewire, 3 usb 2gigs of ram 160 of disk, fingerprint reader, etc Apr 09 16:01:07 and it has the best screen i ve even seen Apr 09 16:01:14 however it costs 3k euros in France Apr 09 16:01:21 but 1.4 in tokyo so ... Apr 09 16:01:30 the pro is good but it was too heavy for my needs Apr 09 16:01:38 you could probably get it for half that in the states :) Apr 09 16:01:47 don t think so : Apr 09 16:02:05 our currency is pretty low Apr 09 16:02:17 x61 ftw ! :) Apr 09 16:02:34 worth over 2000EUR in europe, bought it for 900EUR in the states :) Apr 09 16:02:39 http://www.dynamism.com/tz90/main.shtml Apr 09 16:02:46 haha Apr 09 16:02:51 michaelnovakjr: see the price Apr 09 16:02:55 gotta love the good old US of A Apr 09 16:02:58 bilboed-tp: yeah i thought of the x61s too Apr 09 16:03:17 bilboed-tp: wish I had backlight keyboard or the same thing for the x61s for a ticklight Apr 09 16:03:35 hap, there's a light on top of the screen :) Apr 09 16:03:36 i love backlight keyboards Apr 09 16:03:48 bilboed-tp: i know, that s why I was saying Apr 09 16:03:53 the only thing I wished i had on my vaio Apr 09 16:03:56 hap, which I never use even in the dark. The keyboard is just that well designed Apr 09 16:04:12 well me neither but it impresses girls Apr 09 16:04:20 it's a friggin laptop ! Apr 09 16:04:26 find something else to impress girls :) Apr 09 16:04:44 well in the dark they need a bit of light to see the size of my penis Apr 09 16:04:47 well nevermind Apr 09 16:04:52 *cough* Apr 09 16:05:04 else they can t beleive it Apr 09 16:05:11 haha sorry *leaving* Apr 09 16:05:31 hah Apr 09 16:05:37 guess its that hard to find Apr 09 16:05:40 anyway Android looks like a fine thing, now I need customers to pay me to code something on it I guess. Apr 09 16:06:10 when is supposed to come the first phone that looks like the emulator and not blackberry like Apr 09 16:06:33 what do you mean? Apr 09 16:06:56 when can I buy a phone that has a large display and no keyboard Apr 09 16:07:00 June ? Apr 09 16:07:25 htc already makes them, and they will be supporting android, so whenever they decide on a date is when you'll be able to get one Apr 09 16:07:44 ok. is that the 'dream Apr 09 16:07:46 ? Apr 09 16:07:57 well let s wait then Apr 09 16:08:03 they make the touch right now that runs win mobile Apr 09 16:08:57 i cant beleive how the n800 is badly designed on the software side Apr 09 16:09:19 hap, yeah, sucks Apr 09 16:09:30 hap, very good stack, but the end software is so shitty Apr 09 16:09:36 hap, not even some PIM apps on it Apr 09 16:10:03 s/end software/end-user software/ Apr 09 16:10:31 bilboed-tp: well when I saw a menu like on my desk for something that has a touch screen only Apr 09 16:10:48 the UI is crap, no drap & drop and can t change the icons on the left easily Apr 09 16:24:49 yawn Apr 09 16:24:51 at work now :( Apr 09 16:43:44 i am exhausted Apr 09 16:48:40 who works professionaly here for Android ? Apr 09 16:49:31 I do ^^ Apr 09 16:50:01 i don't Apr 09 16:50:57 romainguy, when using the viewinflate, when modifiying the view calling the invalidate should redraw it right? Apr 09 16:51:00 does anybody know how can I take a snapshot of a view? there was createBitmap but it crashes in m5 Apr 09 16:51:36 dpino: you can use setDrawingCacheEnabled(true)/getDrawingCache() Apr 09 16:51:51 michaelnovakjr: if attached to a parent, yes Apr 09 16:51:58 thank you romainguy Apr 09 16:52:23 so, you have to invalidate the parent view romainguy? Apr 09 16:52:37 no Apr 09 16:52:48 but it depends on how you use ViewInflate Apr 09 16:53:00 there are versions of the inflate() methods that don't put the inflated view into a view hierarchy Apr 09 16:53:53 i pull the view by calling the getViewInflate method Apr 09 16:54:15 i can modify for example a string, and see its changed in the log but it doesn't redraw to the UI Apr 09 16:55:02 michaelnovakjr: how do you invoke inflate() ? Apr 09 16:58:39 getViewInflate().inflate(layout, null, null); Apr 09 16:59:37 here you go Apr 09 16:59:40 your view has not parent Apr 09 17:06:08 anyone got build for n810? :) Apr 09 17:12:41 morning romain :) Apr 09 17:15:38 hmm, i've been instantiating ViewInflate with ViewInflate.from(ctx) all this time Apr 09 17:15:54 jasta: it's the same Apr 09 17:15:57 oh, ok Apr 09 17:16:28 so, romain, what sort of app are you excited about on Android? :) Apr 09 17:16:54 "...if you had a magic phone..." Apr 09 17:17:16 an app that would do my job :) Apr 09 17:17:23 more seriously, I don't really care about features Apr 09 17:17:30 I just want something easy to use and that looks good Apr 09 17:18:12 you must have some functionality that you're hoping to see Apr 09 17:18:37 "GirlFinder 1.0" Apr 09 17:18:40 romain wants a cooking app ;) Apr 09 17:18:54 i have that too.. dating Apr 09 17:18:55 I hope there's not more than 10-15 social networking apps in the top 50 Apr 09 17:18:58 jasta: not really, a decent mail app and phone :) Apr 09 17:19:06 zhobbs: agreed :) Apr 09 17:19:25 lot of submission on social networking Apr 09 17:19:50 romainguy: The mail app is pretty important to me. e-mail and maps are the two big reasons i have a smartphone. Apr 09 17:20:30 yep, email, maps, media player and a good browser and you should be covered Apr 09 17:20:34 muthu: the great thing is that i think the novelty will wear off with the judges, and a lot of the app scores will be deflated as a result. Apr 09 17:20:42 hopefully Apr 09 17:21:05 plus EVERY app will probably have some crappy social networking feature crowbarred in Apr 09 17:21:09 social networking is the craze Apr 09 17:21:17 Actually, I am developing this music player when I have never even taken advantage of the media player functionality on my smart phone. It is a feature I completely ignore. Apr 09 17:21:23 google might be watching closely on those submissions Apr 09 17:22:03 jasta: you can send songs to your friends? Apr 09 17:22:12 muthu: No, that would be illegal. Apr 09 17:22:16 share your music list? Apr 09 17:22:28 jasta: last.fm? Apr 09 17:22:43 muthu: yes, in the way that last.fm permits. Apr 09 17:22:51 acsia: ? Apr 09 17:22:52 oh cool Apr 09 17:23:15 though the first round submission will contain only the core set of last.fm features i am looking for. Apr 09 17:23:18 jasta: do you have last.fm integration? Apr 09 17:23:32 submission of songs? Apr 09 17:23:32 and even as the app expands, i will try to keep my feature set erasonably bound. i don't ever intend to have my player turn into a "last.fm client" Apr 09 17:23:39 acsia: Yes, and more. Apr 09 17:23:45 nice Apr 09 17:24:03 Check this out Apr 09 17:24:13 I will show you what inspired my project :) Apr 09 17:24:24 what? Apr 09 17:25:03 did you notice that nelson mandela is developing an app for android? Apr 09 17:25:09 http://www.helloandroid.com/node/178 Apr 09 17:25:56 lol Apr 09 17:25:57 did not know you where so high up in society hobbs ;) Apr 09 17:26:25 ah.. this is funny Apr 09 17:26:35 actually, this blog might be private Apr 09 17:26:37 http://blog.myspace.com/index.cfm?fuseaction=blog.view&friendID=55882634&blogID=292739958&Mytoken=A7495834-12B2-4031-89037435D7278EE328665788 Apr 09 17:26:52 indeed yes Apr 09 17:26:57 damn :) Apr 09 17:27:00 wow private blog.. must read Apr 09 17:27:25 what? Apr 09 17:27:29 open it up jasta Apr 09 17:27:35 it's not my blog Apr 09 17:27:59 anyway, it's a humorous blog post about my friend building his own iPhone. Apr 09 17:28:21 good you drew inspiration from your friends Apr 09 17:28:27 he taped his ipod to the back of his flip phone Apr 09 17:28:57 humor aside, it made me realize that *IS* an iPhone. the "built-in" iPod is basically taped to it; it offers almost nothing extra despite the device now having a mobile internet connection Apr 09 17:29:22 all the same restrictions of a traditionally unwired iPod came with it. even the iPod Touch now has Wi-Fi but for what? iTunes store? lame. Apr 09 17:29:43 yeah steve jobs knows how to sell Apr 09 17:29:45 it inspired me to design a music player that wasn't just taped to the back of a phone, but actually integrated with it. Apr 09 17:29:59 woah deep Apr 09 17:30:08 ** applause for jasta Apr 09 17:30:20 ** awards pouring in for jasta Apr 09 17:30:39 ** nobel prize for jasta Apr 09 17:30:42 lol Apr 09 17:30:57 jasta seriously your app will kick ass Apr 09 17:31:08 since you are drawing from real life Apr 09 17:42:29 ahahah Apr 09 17:49:04 davidw: ? Apr 09 18:03:58 jasta: the iphone offers nothing more because AT&T doesn't want them using gobs and gobs of bandwith Apr 09 18:04:04 you can only use the itunes store on wifi even Apr 09 18:04:10 I'm sure 3G will be different thoguh Apr 09 18:12:52 jasta: so TabActivity isn't really depreciated right? Apr 09 18:23:17 zhobbs: no I don t think so Apr 09 18:24:47 nice acquaintance zhobbs Apr 09 18:26:14 acsia: ? Apr 09 18:26:59 zhobbs: I suppose this is yours: http://www.helloandroid.com/node/178 Apr 09 18:27:12 Bush, Zapatero, Chavez Apr 09 18:27:23 haha Apr 09 18:27:43 not mine Apr 09 18:28:08 only about half those guys are really on my contact list on my phone :) Apr 09 18:28:18 whats the androids middlet version? the main app ? i read an activity is just a page, a View is like a layer, and where do i write the main application? Apr 09 18:29:36 Tomasso, time to hit the docs:-) Apr 09 18:29:37 acsia: it's a screen of the CallFreq application (not mine): http://www.helloandroid.com/node/179 Apr 09 18:29:41 Tomasso are you submitting anything to the ADC? :) Apr 09 18:30:04 :$ Apr 09 18:30:05 zhobbs: I know I just assume that it was yours because the user is hobbs Apr 09 18:30:33 nono i havent done anything yet Apr 09 18:30:34 :S Apr 09 18:30:34 Ahhh...I post a lot of other peoples apps on there Apr 09 18:30:42 ahahah Apr 09 18:30:44 aha ok Apr 09 18:31:16 BTW tomasso, you would use the activity to write your main business logic Apr 09 18:31:19 and lots of people post their apps on there too...hopefully everyone will be posting their apps in there after the 14th Apr 09 18:31:24 there is one guy in my corp that puts his name to source code he didnt write Apr 09 18:31:39 ajahahahah Apr 09 18:31:44 that s bad Apr 09 18:32:11 acsia, isnt an activity just a screen? Apr 09 18:32:26 or that is the view? Apr 09 18:32:55 an activity has usually a view yes Apr 09 18:33:11 Tomasso: You shouldn't try to map Android's concepts to Java ME's Apr 09 18:33:11 what do you want to do? Apr 09 18:33:51 just a splash screen, that when dissappears changes the backgroud and shows a menu with images Apr 09 18:34:07 button images Apr 09 18:34:24 Why is the README file the hardest part .... Apr 09 18:35:09 because it is written in capital letters and with no extension Apr 09 18:35:59 :) right :) Apr 09 18:36:37 http://www.pocketjourney.com/androidVideo.do Apr 09 18:39:34 muthu: I am building something very similar Apr 09 18:39:54 what's it acsia? Apr 09 18:40:39 it is more of a container for geo located data without providing the actual data Apr 09 18:40:42 oooh Apr 09 18:40:55 I use dynamic class loading and convention Apr 09 18:41:05 I like the videos Apr 09 18:41:06 how's it used? Apr 09 18:41:08 the dyn loading is for the map overlay Apr 09 18:41:23 good marketing, I've totally got to get on that after I nail the basic functionality Apr 09 18:41:41 yeah marketing counts Apr 09 18:41:44 well it catchs a meta data tag on your provider, read some config, register the app (that I call module) Apr 09 18:42:06 each time you use your module, my app register it and catch the location Apr 09 18:42:14 then you have a global view of a 'place' Apr 09 18:42:36 ok Apr 09 18:42:36 making the best app in the world is one thing, getting people to use it is another. Apr 09 18:42:45 right Apr 09 18:42:53 I actually just managed today with the class loading part so I am a bit behind :D just hope the judge will understand what my idea Apr 09 18:43:00 but it looks very cool Apr 09 18:43:06 your app that is Apr 09 18:43:12 it scares me a bit :) Apr 09 18:43:22 don't worry its not mine :) Apr 09 18:43:26 oh is that your app muthu? Apr 09 18:43:30 its one of the submissions though Apr 09 18:43:33 good stuff, looks really good Apr 09 18:43:42 note mine.. posted in the challenge forums Apr 09 18:43:46 how do you know it is one of the submissions? Apr 09 18:43:48 aha Apr 09 18:43:59 ah right Apr 09 18:44:14 i'm adding it as my pick no 7 Apr 09 18:44:16 :) Apr 09 18:44:36 I think that gets my pick number 1 Apr 09 18:44:37 hrm hrm hrm... there's no way to programmatically set up an intent filter when an apk is loaded is there... Apr 09 18:44:59 davidw: yeah you can Apr 09 18:45:10 yeah? Apr 09 18:45:11 and enable/disable it also Apr 09 18:45:12 davidw: loaded or installed? Apr 09 18:45:24 installed, I mean...loaded in the emulator Apr 09 18:45:29 yes I managed Apr 09 18:45:45 registerReceiver(updateFinishedReceiver, filter); Apr 09 18:45:51 unregisterReceiver(updateFinishedReceiver); Apr 09 18:46:04 zhobbs, yeah, but what's that called from? Apr 09 18:46:14 android:scheme="package" Apr 09 18:46:15 I know you can do it if your app gets kicked off Apr 09 18:46:24 Ahhh Apr 09 18:46:44 I see, so you want to register it without the guarentee that your app is run to set it all up Apr 09 18:46:53 yeah Apr 09 18:47:20 android.intent.action.PACKAGE_INSTALL? Apr 09 18:47:30 on the above scheme Apr 09 18:47:47 Hmm, is that referring to your package or any package? Apr 09 18:47:52 I guess you could have a stub 'on phone startup' intent receiver than proceeds to create something else for you Apr 09 18:48:16 phone boot does not work Apr 09 18:48:27 permission issue Apr 09 18:48:44 acsia: I've used BOOT_COMPLETE before Apr 09 18:48:55 zhobbs: did you manage?? Apr 09 18:49:03 I keep getting permission not granted Apr 09 18:49:08 while I have the permission set Apr 09 18:49:32 hrm hrm hrm.... think think think Apr 09 18:49:45 * zhobbs is trying to remember if he's done in in M5 yet Apr 09 18:51:06 I'm considering adding it to the builder stage, but that's not quite as neat and clean Apr 09 18:53:12 could anyone tell me how to set progressbar to a some spectacular value? Apr 09 18:54:12 spectacular? Apr 09 18:54:20 spectacular, huh Apr 09 18:54:27 100? Apr 09 18:54:29 like one zillion Apr 09 18:54:31 ? Apr 09 18:54:36 150? Apr 09 18:54:42 pi is pretty spectacular in its own way Apr 09 18:54:45 my progress bar goes to eleven Apr 09 18:54:47 e Apr 09 18:55:19 Hai-Fai: perhaps you are looking for setMax, though it would be impossible to know :) Apr 09 18:55:31 I did mean to set it to a value [ie. from range 1-1000 or whatever..] ie. 55/1000 Apr 09 18:55:45 i just noticed something alarmigng Apr 09 18:55:47 is it via setProgress? Apr 09 18:55:56 fire alarm? Apr 09 18:55:58 Hai-Fai: Yes, obviously Apr 09 18:56:01 thanks Apr 09 18:56:07 ProgressBar's methods are synchronized; wy? Apr 09 18:56:09 why* Apr 09 18:56:17 the progress bar is annoying in that you can't set the style programmatically Apr 09 18:56:27 jasta: for updates from background threads Apr 09 18:57:17 is there magic in here that causes it to post to a handler? Apr 09 18:58:08 davidw: Well, sure you can. just use setBackground() Apr 09 18:58:10 it doesn't post to a handler Apr 09 18:58:38 er Apr 09 18:58:40 it *does* Apr 09 18:58:43 are you sure? what does postInvalidate do? :) Apr 09 18:59:04 does the MicroEmulator for android work ? Apr 09 18:59:08 romainguy___: interesting anyway, i hadn't realized you guys did this. Apr 09 18:59:12 postInvalidate() is not really meant for threads handling Apr 09 18:59:15 is Toast also synchronized in this way? Apr 09 18:59:22 it's more for repainting later Apr 09 18:59:34 but progressbar posts a runnable Apr 09 18:59:38 if needed Apr 09 19:00:30 i've noticed that Toast can also be used from the non-UI threads. Apr 09 19:01:08 was that intentional as well? Apr 09 19:01:30 adobe media player released Apr 09 19:02:17 good night androids Apr 09 19:02:50 i had assumed Toast could be used in non-UI threads because it was being handled by a service somewhere, and so IPC was necessary regardless of the thread that creates and shows it. Apr 09 19:04:34 man i love Android's UI framework ;) Apr 09 19:04:58 jasta you android fanatic! Apr 09 19:43:41 i just looked at Toast.java, looks like I was right about the service, but wrong about the reason why it can be used from non-UI threads. Apr 09 19:44:15 what;s the reason? Apr 09 19:44:43 the notification service is just a scheduler with a timer in this way Apr 09 19:45:08 the reason Toast is usable by non-UI threads is that when the notification service invokes the callbacks, the views are manipulated using a posted runnable. Apr 09 19:45:22 which is presumably because the service callback is happening in the binder thread, not the UI thread anyway Apr 09 19:46:40 i like threads :) Apr 09 19:46:59 i am especially pleased by how beautifully android integrates with the OpenBinder. Apr 09 19:47:22 indeed Apr 09 19:48:19 whats the fastest way to learn android and have an application working in tree days ? Apr 09 19:48:31 in tree days... never tried it Apr 09 19:48:36 heheheh Apr 09 19:48:44 are those like dog years? Apr 09 19:48:51 it depends on the application Apr 09 19:48:57 does anyone have some briefing on android, docs are huge Apr 09 19:49:00 my app crashes a lot in debug mode Apr 09 19:49:00 i haven't written anything useful in three days Apr 09 19:49:04 and dunno where to start from Apr 09 19:49:16 assuming you meant three days Apr 09 19:49:17 Tomasso: tutorials at helloandroid.com, anddev.org Apr 09 19:49:21 anddev.org should be a good start Apr 09 19:49:30 Tomasso: do the official Google tutorial actually Apr 09 19:49:31 lots of coffee Apr 09 19:49:46 Tomasso: that will show you the basic idea of Activities, etc Apr 09 19:49:52 invest in coffee ;) Apr 09 19:50:08 dump spouse/friends Apr 09 19:50:22 stock up on canned food Apr 09 19:51:28 quit your job too while you are at it Apr 09 19:51:54 amphetamines and other stimulant if you can find some Apr 09 19:52:11 are you gonna go for it? Apr 09 19:52:20 sounds appealing :) Apr 09 19:52:47 reminds me of my uni years :) Apr 09 19:52:51 i might suggest frozen pizza over canned food though, easier Apr 09 19:52:51 did we scare him away? Apr 09 19:52:55 well if he wants to submit an entry for ADC at this point, amphetamines are a really good idea Apr 09 19:52:56 true Apr 09 19:58:25 thank you ! Apr 09 19:58:37 are you going for the challenge/ Apr 09 20:02:32 lol Apr 09 20:02:50 Tomasso: If you are hoping to participate in the challenge, you can forget it. There is literaly no way in 3 days you will produce a winning submission. Apr 09 20:03:56 jasta: so are you done? Apr 09 20:05:00 hey, anything is possible in 3 days ;) I wrote an entire recursive ray tracer in college in 3 days Apr 09 20:06:03 the mind is different young Apr 09 20:07:07 meus: Nope, but I won't be "done" after the 14th either. My app still has easily 4 more months of development left before I'm completely happy with it. Apr 09 20:07:33 jasta: ok, so you will not be in the challange then? or can you join even if it is not complete? Apr 09 20:08:03 I will be submitting with a set of requirements I have laid out to have done by the challenge deadline. Though it is not a mature app, I feel it is deserving of the qualifying grant. Apr 09 20:08:17 jasta: you sure you can make Toast's in a non UI thread? Apr 09 20:08:21 zhobbs: Positive. Apr 09 20:08:56 I should take a look at the source to be sure Apr 09 20:09:01 Well, mostly positive. The only gotcha I see in the code is that the view is inflated from the thread you call makeText. Apr 09 20:09:02 I'm getting the standard "can't ... when not Looper ..." Apr 09 20:09:03 the fact it works doesn't mean it will always work :) Apr 09 20:09:12 romainguy___: I'm reading the decompiled code :) Apr 09 20:09:25 jasta: aren't you not supposed to decompile the code? :) Apr 09 20:09:34 or supposed not to decompile the code Apr 09 20:09:42 haha, he's getting thrown out of the challege Apr 09 20:09:50 :) Apr 09 20:10:15 romainguy___: Whatever ;) Apr 09 20:10:41 has google actually said not to decompile the code? Apr 09 20:10:44 romainguy___: At any rate, the only part of Toast that might not be thread-safe to me would be the call to ViewInflate. Apr 09 20:10:55 B0jangles: it's in the terms you accept to d/l Apr 09 20:11:02 oh yeah Apr 09 20:11:02 I assume that inflating views can occur in a non-UI thread, and the View then attached to the UI in a UI thread. Apr 09 20:11:05 forgot about that Apr 09 20:11:32 jasta: if ViewInflate does the attach to the parent, then inflate() has to be invoked from the UI thread Apr 09 20:11:32 I wonder why they care... Apr 09 20:11:45 If it's going to be open sourced eventually anyway Apr 09 20:11:50 B0jangles: they really shouldn't... Apr 09 20:11:55 romainguy___: It does not. The Toast is instantiated, then viewinflate is called and the resulting view associated with the result later. Apr 09 20:11:58 B0jangles: and probably really don't Apr 09 20:12:08 romainguy___: Then, the View is posted to the UI thread and attached to the window. Apr 09 20:12:30 hmm Apr 09 20:12:34 but it also manipulates the text view Apr 09 20:12:36 just BS from the legal dept... Apr 09 20:12:37 calling setText Apr 09 20:13:04 but wouldn't that be safe assuming that the View is not attached yet and thus not being drawn? Apr 09 20:13:29 jasta: still, that doesn't mean you can manipulate it from a non-UI thread Apr 09 20:13:33 the rule is pretty simple Apr 09 20:13:35 View == UI thread Apr 09 20:13:59 unless we explicitly say it's safe to use form a non UI thread, don't assume you can Apr 09 20:14:03 even by reading the code Apr 09 20:14:05 jasta: I'm getting: java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare(), at android.os.Handler.(Handler.java:94), at android.widget.Toast.(Toast.java:348), at android.widget.Toast.makeText(Toast.java:209) Apr 09 20:14:07 (which might change at any time) Apr 09 20:14:11 I understand the general convention, but I suspect that in this case, it would be safe. I see your point, however. Apr 09 20:15:43 Google's ApiDemos code does this too, though. Unless services run in the UI thread? Apr 09 20:16:22 I don't care if you suspect it's safe, if it's not documented to be safe, it's not safe :)) Apr 09 20:16:45 need to be careful when flirting with the thread safe boundaries Apr 09 20:17:36 romainguy___: Fair enough; but then is a service's main thread considered a UI thread? Apr 09 20:17:43 (not the binder threads) Apr 09 20:17:44 I have no idea Apr 09 20:17:56 Well, the ApiDemos assume that it is, I think. Apr 09 20:17:58 what's the ApiDemo? Apr 09 20:18:07 since two services there make and show a Toast in onDestroy Apr 09 20:19:10 romainguy___: AlarmService_Service and RemoteService_Service Apr 09 20:19:22 or rather, RemoteService Apr 09 20:19:44 a Service is an ApplicationContext Apr 09 20:19:52 so it will run on a UI thread I believe Apr 09 20:20:15 I initially was using Toast, incorrectly, from a binder thread in my service. Apr 09 20:20:19 yes Apr 09 20:20:22 it does use a UI thread Apr 09 20:20:28 So I implemented a handler, and assumed that the Service ran in the UI thread. Apr 09 20:20:37 (really called an ApplicationThread internally) Apr 09 20:20:40 Though I was not sure if that was true, or if Toast was thread-safe. That was the reason for my exploration. Apr 09 20:21:36 I am invoking Toasts only in the event of unrecoverable errors, though. Apr 09 20:22:04 question: can a service be run in another thread? Apr 09 20:22:07 I assume that my software has numerous bugs at present, so I try to report them meaningfully. Apr 09 20:22:23 michaelnovakjr: No, but a service could start its own thread. In that case, you'd want to use a handler as I am. Apr 09 20:23:09 yea, i have a service starting its own thread Apr 09 20:23:30 romainguy___: I also assume in my applications that each service connection runs in its own BinderThread, is that true? Apr 09 20:23:50 no idea, ask hackbod on the mailing list Apr 09 20:24:14 there's a mailing list? Apr 09 20:24:20 haha Apr 09 20:24:33 i dont use a handler in a service, i just use a runnable Apr 09 20:24:35 B0jangles: the newsgroup, same thing Apr 09 20:24:36 i get a classnotfound exception when running through the onStart method for the Service Apr 09 20:24:39 oh Apr 09 20:24:46 and i never could set a handler through AIDL =[ Apr 09 20:25:23 can you use NNTP to access the mailing list?? Apr 09 20:28:45 is the mailing list big? Apr 09 20:29:25 android-developer is pretty active Apr 09 20:38:14 romainguy___: Yikes, I was auditing my code and caught that I was using RemoteCallbackList as though it was thread-safe. Apr 09 20:39:34 Hmmm...added TabActivity to my application and now I'm getting StackOverflowErrors Apr 09 20:40:56 zhobbs: It's possible that the complexity of your view hierarchy has exceeded the stack limit Android has. Apr 09 20:41:05 That happened to me already. Apr 09 20:41:11 yeah, I think I'm there Apr 09 20:41:26 well...that kinda sucks Apr 09 20:41:30 It's especially likely if you use ViewInflate.inflate since it is typically adding an extra unnecessary layer. Apr 09 20:41:41 that's when it breaks Apr 09 20:41:52 and adapter that inflates each row Apr 09 20:41:56 I had to adjust some parts of my code to attach the inflated views to its parent myself. Apr 09 20:41:58 s/and/an Apr 09 20:42:04 and not the outer view. Apr 09 20:42:09 i have a Runnable defined in my service... the thread is created and the run method is called. I have it call a method from the service, and it gets caught up there and doesn't finish Apr 09 20:42:15 Ohh...that might be the prob Apr 09 20:42:49 zhobbs: For example in compound controls, you would typically extend a Layout, and then still call ViewInflate.inflate Apr 09 20:43:01 But your XML-defined layout is probably wrapped in its own Layout Apr 09 20:43:24 So your control is a LinearLayout, which contains simply a LinearLayout (and then the rest of your view). Apr 09 20:44:04 so extend linear layout, inflate in this linearlayout and create instances of this linearlayout to use in adapter... Apr 09 20:44:20 I avoided this in certain critical cases by using ViewInflate.inflate, then looping through the yielded view's children and attaching them manually. Apr 09 20:44:47 I have heard that the next SDK makes this problem go away though. Apr 09 20:45:14 *a* next SDK Apr 09 20:45:21 heh Apr 09 20:45:29 but yes Apr 09 20:45:39 as of this week we have and Apr 09 20:46:32 jasta: so when you inflate the view what are you using for parent? Apr 09 20:47:40 null Apr 09 20:50:59 how do I set up transitions between application layouts? Apr 09 20:51:10 based on user input Apr 09 20:53:29 hey you're back :) Apr 09 20:53:48 Tomasso: will be built into future SDK's Apr 09 20:54:06 you can animate switching different Views with ViewAnimator, but can't animate Activities yet Apr 09 20:54:21 if you stop a service that starts a thread, when the service dies the thread dies to correct? Apr 09 20:55:01 it dies to correct what? Apr 09 20:55:12 ? Apr 09 20:55:26 oh sorry discard the to in there Apr 09 20:55:41 or put another o, too Apr 09 20:56:11 basically if the service is shutdown the thread goes with it, right? Apr 09 20:56:15 michaelnovakjr: Not necssarily. Apr 09 20:56:19 necessarily* Apr 09 20:56:54 If your process is still alive (for other reasons), the thread won't die. Apr 09 20:56:54 how can you make sure that it does? or is that something that i don't need to worry about? Apr 09 20:57:17 michaelnovakjr: You make sure it does by stopping your thread. You can interrupt the thread and wait for it to die (using join) Apr 09 20:57:30 and then in the thread itself, make sure that it responds meaningfully to the interrupt. Apr 09 21:00:24 jasta: how do you get the View's children? Apr 09 21:00:43 zhobbs: getChildCount and getChildAt (cast it to a ViewGroup, since you know that it is) Apr 09 21:01:53 hmm...I'm using a RelativeLayout, layout params might be tricky Apr 09 21:05:47 zhobbs: getLayoutParams() Apr 09 21:05:57 or whatever the method is. Apr 09 21:06:19 yeah Apr 09 21:07:37 jasta: http://android.pastebin.com/m33675de8 Apr 09 21:07:59 still get stackOverflow...maybe I'm just screwed Apr 09 21:09:12 zhobbs: You may be *way* over the limit :) Apr 09 21:09:20 investigate your view hierarchy to see how big it is Apr 09 21:09:43 pretty big --- Apr 09 21:09:50 I made a change in post-M5 to improve that Apr 09 21:09:56 btw you should use addView(child, child.getLayoutParams()); Apr 09 21:10:04 jasta: no Apr 09 21:10:08 jasta: gives error Apr 09 21:10:09 jasta: addView(child) will do the same Apr 09 21:10:17 in M5 your hierarchy can be at most about 15 levels deep Apr 09 21:10:24 starting from the top (title bar, etc.) Apr 09 21:10:27 romainguy___: Oh, nevermind then :) Apr 09 21:11:09 zhobbs: You can implement your own Layouts that don't requir as much depth :\ Apr 09 21:11:17 zhobbs: But I'd investigate how deep it is (through code) Apr 09 21:11:19 that's usually the best solution Apr 09 21:11:20 so that you can find places to target Apr 09 21:11:26 it's also much more efficient for drawing and layout Apr 09 21:22:38 romainguy___: i never did figure out that RelativeLayout problem from last night. Apr 09 21:23:14 well...I got rid of one level and it works now...right not the threshold Apr 09 21:23:25 on* Apr 09 21:23:26 do you have any insight? when i used layout_centerInParent for testing, it centered horizontally but then was half way off the top of the edge of the parent Apr 09 21:23:37 zhobbs: My app runs right on the edge too ;P Apr 09 21:28:42 crap...unless I scroll my listview! stackoverflow when I scroll Apr 09 21:29:12 why would you get that? is your depth increasing? Apr 09 21:29:21 no Apr 09 21:29:30 all the views in the list are the same Apr 09 21:29:36 hmm Apr 09 21:29:43 well, try reducing one more layer :) Apr 09 21:30:09 romain said the title bar counts huh? Apr 09 21:43:36 how do I specify an absolute height/width for a View in code? Apr 09 21:43:55 just pass values to LayoutParams Apr 09 21:57:35 zhobbs: yeah, you lose all the unit fanciness, but i think it's just in pixels Apr 09 22:14:05 quick question Apr 09 22:14:08 i have a radiogroup Apr 09 22:14:38 once a user selects an item they cannot change all of the items in the radiogroup to unselected Apr 09 22:15:18 that's because that's how radio groups are supposed to work; if you want a "None", you should add a None option. Apr 09 22:15:19 for example, if they click a choice and later decide they don't want to mark any choices, they have no way of deselecting the entire group Apr 09 22:15:33 jasta: how do i do that Apr 09 22:15:39 sorry Apr 09 22:15:42 nvr mind Apr 09 22:15:47 uhm ;) Apr 09 22:16:02 jasta: i thought you were trying to say something elese Apr 09 22:23:05 and the hacks roll on.... Apr 09 22:25:03 davidw: ? Apr 09 22:25:26 command line tool to insert intent receiver hack thing... Apr 09 22:25:30 it's pretty ugly:-/ Apr 09 22:26:06 uhhh, ok? Apr 09 22:27:39 you might want to write a hecl script that acts as an intent receiver Apr 09 22:27:59 davidw: so? you used the word hack twice without bursting out some code Apr 09 22:28:33 I just wrote the code Apr 09 22:28:37 davidw:have you submitted your hecl project already? Apr 09 22:28:45 no, still tweaking it Apr 09 22:30:20 is it open source? Apr 09 22:30:26 yes, Apache license Apr 09 22:30:35 you can get it out of svn right now Apr 09 22:30:57 I'm actually offering to split the proceeds of any winnings with people who contribute code Apr 09 22:31:20 although it's pretty late at this point:-) Apr 09 22:31:22 I might take a look after monday :) I am not sure it is a good idea to play with it right now Apr 09 22:32:33 do you use some kind of jit compiler? Apr 09 22:35:54 RelativeLayout is driving me insane :( Apr 09 22:36:08 i might just extend my own Layout just to stop futzing with this thing :) Apr 09 22:36:14 I feel your pain man. Apr 09 22:37:02 acsia, no, it's just a simple interpreter Apr 09 22:37:46 that's part of what makes it small Apr 09 22:39:18 is there a media player for android, for playing .3gp or .mov or .flv, etc. files? Apr 09 22:39:56 you should check back on monday Apr 09 22:40:26 there is a link to sample apps on the first page of dev forum Apr 09 22:40:31 not sure about .mov .flv as it is proprietary afaik Apr 09 22:41:29 acsia: what happens on monday? Apr 09 22:41:54 the google challenge deadline Apr 09 22:42:00 John_P2: which dev forum are you reffering to? Apr 09 22:42:32 John_P2: indeed. but nothing remotely similar to a movie player Apr 09 22:42:55 you might want to join forces with tomasso if you are interested in submitting something ^^ Apr 09 22:43:13 John_P2: phone vendors always provide movie players with their systems Apr 09 22:43:43 oh, the Media Sample Apps by Megha isn't what you're looking for? Apr 09 22:43:46 acsia: nah, I decided a month ago not to go with anything Apr 09 22:44:25 sample of 1) MediaPlayerTest, 2) MediaRecorder, 3) VideoViewDemo Apr 09 22:44:39 John_P2: you mentioned a dev forum, which one did you mean? Apr 09 22:44:44 John_P2: oh, that looks promising. thanks Apr 09 22:44:45 is there any way to programatically deselect all of the radiobuttons in a radiogroup Apr 09 22:44:50 proq: I kid, tomasso thought he could learn android in 3 day... and I definitely need some rest after this Apr 09 22:45:09 the main google group dev forum. direct link is: http://groups.google.com/group/android-developers/web/media-sample-apps Apr 09 22:45:19 would RadioGroup.unpress() Apr 09 22:45:20 work Apr 09 22:45:30 acsia: well, you can learn it in three days. but unless you have something really amazing to port, 3 days isn't going to cut it :P Apr 09 22:45:45 ah the group, just checking Apr 09 22:46:06 everyone here done with their apps? Apr 09 22:46:22 nope Apr 09 22:46:27 the last 20/80 :) Apr 09 22:46:27 acsia: plus I signed this agreement not to work on other software with my current employer Apr 09 22:46:45 acisa: do you know how to deselect the contents of a radiogroup Apr 09 22:46:52 would radiogroup.unpress () work Apr 09 22:46:56 jjt001: no, you have to use clearCheck() Apr 09 22:47:07 romainguy__: thanks Apr 09 22:47:18 read the docs... Apr 09 22:47:20 proq: this is my 'free' time Apr 09 22:48:46 acsia: i c Apr 09 22:48:54 anybody have a good suggestion on icon sets? Apr 09 22:48:59 I'm trying to extend a view to add functionality, but find the attribute specification via code difficult. So I'm wondering if there's a way to specify the styles in XML and "pull" it in? I'm aware of view.inflate(), but my understanding is that that gets you an instantiated view that you can set in an Activity. Apr 09 22:50:49 John_P2: I don t get what you are trying to do Apr 09 22:51:33 acsia: fam fam fam is the best quality for free but they are for the web. I would reommend iconshock if you are going to pay for the icons Apr 09 22:51:50 In other words, using XML layouts isn't sufficient for me because I wanna override some of that view's functions. So I'm extending the view. But now, I don't have the XML luxury anymore. Apr 09 22:51:57 thx Apr 09 22:52:28 why would you need the xml if you are doing it programmatically Apr 09 22:53:09 romainguy___: hehe, are you ignoring me? be honest ;) Apr 09 22:53:17 because I'm having a hard time finding how to set the styles. They're not verbatim same as the XML version Apr 09 22:53:35 plus, I already have the XML layout =) Apr 09 22:54:02 John_P2: I would suggest to build as much as possible in your xml and use tag for the programmatical part Apr 09 22:54:23 oh interesting. I did not know that tag. Apr 09 22:55:04 afaik all the style can be set in xml or programmatically Apr 09 22:55:24 that s how you would set a google map for instance in the xml Apr 09 22:59:13 jasta: about what? Apr 09 22:59:26 John_P2: you can use custom Views in XML Apr 09 23:00:20 is there menu exemple in the API Demos? Apr 09 23:01:44 and you guys should try to always use XML Apr 09 23:01:59 since it lets you support different screen resolutions, orientation, languages, etc. Apr 09 23:03:12 romainguy___: how would you package xml into jars so it is usable accross several apps? Apr 09 23:03:42 I don't think we support this yet Apr 09 23:04:07 k, I ve been using java for custom components Apr 09 23:04:16 you can write custom components in Java Apr 09 23:04:22 but you can use these components from XML Apr 09 23:04:29 Home does exactly that for instance Apr 09 23:04:40 the button on the right use a custom layout called ApplicationStackLayout Apr 09 23:04:53 it's a Java class but it's use from XML, in layout-port and layout-land Apr 09 23:05:13 cool - can we see the source code to see how it's done?:-) Apr 09 23:05:17 interesting Apr 09 23:05:32 :) yes I was looking to do something similar Apr 09 23:05:35 davidw: I'd like to put Home as a sample in the next SDK Apr 09 23:05:42 I don't know if it's gonna happen though Apr 09 23:05:56 it'd be nice because Home demonstrates many many features of our UI toolkit Apr 09 23:06:06 * davidw is still contemplating the scripting of intent receivers.... Apr 09 23:06:32 styles, custom attributes, custom widgets, custom adapters, animations, layout animations, text colors, etc. etc. Apr 09 23:06:32 romainguy__: oh that makes sense Apr 09 23:12:59 yeah I agree, that would be a helpful example Apr 09 23:21:27 can we run all C in android??? Apr 09 23:22:39 romainguy___: about the RelativeLayout problem I'm having. Apr 09 23:23:01 the basic layout is: Apr 09 23:23:57 ...stuff Apr 09 23:24:15 centerInParent was used as a test, i really want alignParentRight eventually Apr 09 23:24:32 anyway, the behaviour is very unusual: the TextView is centered horizontally, but placed half way off the top edge of the parent view. Apr 09 23:24:39 (this is an element in a list, if that matters) Apr 09 23:25:09 can we run all C in android??? Apr 09 23:25:37 what i'm trying to accomplish is to just have a right-hanging TextView that can draw over the top of whatever's under it. Apr 09 23:25:44 without affecting the flow of the linearlayout Apr 09 23:25:58 i have done something similar with the AlphabetBar, but that worked and this doesn't :) Apr 09 23:26:13 my first thought was that this was a baseline alignment problem, but i tried shutting it off Apr 09 23:27:07 RelativeLayout doesn't support baseline alignment by default Apr 09 23:27:13 you have to use the alignBaseline attribute Apr 09 23:27:19 well nevermind then. Apr 09 23:28:05 i'm completely lost trying to solve this. if i set visibility=gone on the main LinearLayout, it still draws the textview half way off the edge, but it does make the total height of the row less (as i'd expect) Apr 09 23:32:22 i'm very confused :P Apr 09 23:33:58 it's probably because of the order in which stuff are processed in RelativeLayout Apr 09 23:34:07 also Apr 09 23:34:12 your relative layout is wrap_content Apr 09 23:34:18 but both the children are fill_parent Apr 09 23:34:29 that certainly doesn't help the relative layout compute an appropriate height Apr 09 23:35:58 hmm Apr 09 23:36:23 well what can i do? :) Apr 09 23:36:57 just use a linearlayout with negative margins Apr 09 23:37:39 hmm Apr 09 23:38:01 to just "attach" a fill_parent view to the right-hand side? Apr 09 23:39:23 Apr 09 23:39:47 Apr 09 23:40:00 Apr 09 23:40:04 Apr 09 23:40:14 and in TextView you set the text align to right Apr 09 23:40:46 well, the whole reason i want the textview to fill the parent is because i have a special background i'm attaching to it. Apr 09 23:41:04 then put the background on the parent Apr 09 23:41:38 my end goal with this is to have a listing of tracks on an album. when the song is clicked, a bar will slide out saying "enqueued", hold for a few moments, then slide back away. Apr 09 23:44:34 actually, if you have a suggestion for a better UI, i'm all ears :) Apr 09 23:45:10 i hate that ipods automatically play songs when you click them, even if the playlist is already playing. Apr 09 23:45:43 so if you choose music while the playlist is active, the behaviour is to enqueue to play next, indicate that with the sliding back, then the bar will tuck away showing the enqueued position (1, 2, 3, etc) Apr 09 23:46:08 if you click the row again, i want the bar to slide back out showing more options like "play now", "play next", "go to playlist", etc. Apr 09 23:47:02 jasta: do you have contextual playlist? Apr 09 23:51:21 has anyone got any good tab images? Apr 09 23:51:59 Maybe I should just use the google ones, but I'm sure it's been mentioned that they'd rather we didn't use their images. Apr 09 23:54:27 is that true? Apr 09 23:55:11 chomchom: we meet again, if I start a company, I ll call it vampire consulting Apr 09 23:55:16 because we only work at night :) Apr 09 23:55:27 man these be the hacking hours Apr 09 23:55:50 I manage to solve my bug this afternoon btw Apr 09 23:56:14 the one that you were all "argh game over man" about yeah? Apr 09 23:56:20 I went to bed depressed and woke up in the same mood... really scared as my app is entirely based on that Apr 09 23:56:25 yep Apr 09 23:56:38 heh Apr 09 23:56:39 so back with a smile Apr 10 00:16:40 what Apr 10 00:16:44 is the worry acsia Apr 10 00:20:18 f00f-: lol Apr 10 00:21:12 the thing that s worries me is when I check my watch and it says 1:20AM and I think to myself, great I have another hour or so... Apr 10 00:21:39 I ve been sleeping an average of 4 hours for the last 2 weeks Apr 10 00:22:07 me too man Apr 10 00:22:27 I'm planning on sleeping after the submission Apr 10 00:22:55 It's the first time I've ever bought cans of red bull to keep in the house Apr 10 00:24:14 chomchom: i had a redbull binge when my finals were happening last week Apr 10 00:24:20 there was an article I red on slashdot about a newspaper investigating the health of bloggers as they overwork from home and don t do much exercise... I was reading it and thought, I am working from home, I am not doing any exercise... Apr 10 00:24:26 went a good 60 hours with 7 hours of sleep Apr 10 00:25:34 I want to get in the habit of a little exercise again, its stimulating for your brain. Not ot mention my metabolism is starting to slow down. Apr 10 00:26:39 someone should make one of those diet planner / eating guide apps for android that prevents you from lying about what and how much you've eaten by listening to you eat :) Apr 10 00:26:54 you click apple and it goes "fat chance, that was a snickers" Apr 10 00:26:57 :) haha Apr 10 00:27:17 HEH Apr 10 00:27:19 you say "6 crackers" it says "you were eating for 5 minutes." Apr 10 00:27:32 it should have been the first app as example Apr 10 00:28:13 my latest, going to sleep is 4:15 AM Apr 10 00:28:16 or a android dev planer Apr 10 00:28:20 then waking up at 10 or 11 to go to work Apr 10 00:28:23 bbiab Apr 10 00:28:40 f00f-: welcome to my world, but i get up at 9 for work :) Apr 10 00:29:20 well I am working from home so it is hard to wake up when I do a late night, I end up starting my computer to ensure I dont have important emails and then I watch a family guy or something Apr 10 00:29:24 man, we're all feeling this pain to be no the cusp. Apr 10 00:29:31 on the cusp even. Apr 10 00:30:28 there is one factor to why my productivity is better from home... Apr 10 00:30:32 i can't imagine how crummy i'm going to feel if i don't win at least the qualifying round :) Apr 10 00:30:36 I have much stronger and tastier coffee Apr 10 00:31:12 i've decided may 4th i'm going to buy a bottle of scotch. may 5th, when they announce the winners, i'm gonna drink it either way :) Apr 10 00:31:37 :) I follow you on that Apr 10 00:31:45 heh, I've really given up on the fact I could get through. Apr 10 00:31:49 meeting up on IRC drunk Apr 10 00:32:04 actually, if i win, i'm definitely throwing a kegger at my house :) Apr 10 00:32:15 I am not that confident either especially with the new videos around Apr 10 00:32:21 It would be really nice but it doesn't take away from all the effort thats went into the app, it's made and will continue to get really good. Apr 10 00:32:25 acsia: what new videos? Apr 10 00:32:25 jasta: where do you live? Apr 10 00:32:30 acsia: Seattle Apr 10 00:32:41 party in seattle Apr 10 00:32:42 if I win, I ll buy a ticket ;) Apr 10 00:33:02 chomchom: my thoughts as well. if i don't win, at least i stopped being lazy for 3 months and produced an app i want to use on my mobile. maybe that will be satisfaction enough :) Apr 10 00:34:05 Well the really cool thing is that I made mine with my girlfriend as the client Apr 10 00:34:17 so she got a bespoke piece of software :) Apr 10 00:34:57 what is it? Apr 10 00:35:24 man, I'd love to say. But I may as well wait until everyone is breaking the news. It will be more fun that way Apr 10 00:35:37 anyone know anything about jdbc and mysql Apr 10 00:35:40 ? Apr 10 00:35:43 i need some help Apr 10 00:35:57 jasta: ? Apr 10 00:35:59 anyone? Apr 10 00:36:03 what kind of help? Apr 10 00:36:08 ask don't ask to ask Apr 10 00:36:23 chomchom: strange exception thrown Apr 10 00:36:24 have you seen this: Apr 10 00:36:25 http://groups.google.com/group/android-challenge/browse_thread/thread/9687dfffb684f06d Apr 10 00:36:57 chomchom: what? wait until when? Apr 10 00:37:00 jasta: number 5 Apr 10 00:37:22 you, but he isn't a judge ;) Apr 10 00:37:33 yeah I'll say Apr 10 00:37:35 also, he's kind of a strange fellow, so i don't think he's much like the judges even :) Apr 10 00:37:36 drum roll ... Apr 10 00:37:47 I'm making an app called Apr 10 00:37:52 Running Buddy Apr 10 00:38:04 can you guess what it does? Apr 10 00:38:27 it makes your cell phone run? Apr 10 00:38:34 chomchom: i'm getting an error saying ResultSet has already been closed Apr 10 00:38:37 when it hasn't Apr 10 00:38:38 chomchom: tracks battery life? :) Apr 10 00:39:02 Its a jogging application :) Apr 10 00:39:15 chomchom: I have no calls to close on a resultSet in my code Apr 10 00:39:18 that tracks your jog? Apr 10 00:39:22 yeah Apr 10 00:39:22 chomchom: any idea? Apr 10 00:39:33 jjt001: no idea sorry Apr 10 00:39:51 anyone else here use mysql and jdbc> Apr 10 00:39:53 jjt001: is it a cursor? then you might have the activity closing it Apr 10 00:39:55 jjt001: the thread you sent was the thread about the winner predictions Apr 10 00:40:15 chomchom: i didn't send any thread_ Apr 10 00:40:26 it was me Apr 10 00:40:26 that was acisa Apr 10 00:40:31 oh yeah sorry :) Apr 10 00:40:43 jasta: I was talking about this one http://www.pocketjourney.com/androidVideo.do Apr 10 00:40:47 acisa: it has nothing to do with android Apr 10 00:40:55 it's basically a server for an android app Apr 10 00:40:59 so why are you asking in this channel :) Apr 10 00:41:05 Yeah, Running Buddy is a jogging application to help joggers share times with their running buddys Apr 10 00:41:17 acisa: nobody in mysql knew the answer Apr 10 00:41:51 Its not incredibly innovative but my girlfriend jogs and would like something like this so she can boast about her times and show where shes ran :) Apr 10 00:41:53 sorry I am not knowledgable along those lines Apr 10 00:42:16 anybody from Vending machine here? Apr 10 00:42:20 chomchom: you could integrate it into my app Apr 10 00:42:24 Theres a great number of people in the world with legs after all Apr 10 00:42:25 coca cola? Apr 10 00:42:50 acsia: no, the application to download android apps Apr 10 00:42:59 I don't remember the name or the name of the company Apr 10 00:43:03 they recently announced a v2 Apr 10 00:43:52 wI take it you are making some sort of healthy app acsia? Apr 10 00:44:32 chomchom: not really, I am doing a pluggable container for geo located data Apr 10 00:44:37 acsia: oh, that app looks neat Apr 10 00:44:40 non intrusif Apr 10 00:45:13 so you define a meta data with your overlay, implement a single interface and if it is within a certain area it displays within my app Apr 10 00:45:38 Sounds interesting Apr 10 00:46:00 so you can have several application doing their own location gathering and have one place where you have 'all' your location based data Apr 10 00:46:10 i am irritated that ihavent been able to get this stupid feature working for days, so i haven't recorded a video of my app yet Apr 10 00:46:42 fuck it, i'll just hack it and not design it correctly just to have something :) Apr 10 00:47:05 I am having a lot of similar thought lately ;) Apr 10 00:47:59 acsia: well after the hand in I'll integrate it even if it's just on anothe rbranch Apr 10 00:48:36 sure that would be really cool...I just have my simple app for the tests and would like to try with some others... Apr 10 00:48:47 anyone know of any java-related irc channels Apr 10 00:48:47 I ll set it up on topophilia.mobi Apr 10 00:48:50 ?? Apr 10 00:48:52 topophilia -> love of place Apr 10 00:49:57 acsia: you Apr 10 00:50:05 acsia: know of any java channels Apr 10 00:50:37 not really sorry Apr 10 00:53:38 is it possible to get the scheme from the providerInfo? Apr 10 00:53:44 or Uri Apr 10 00:54:14 I would expect so but from the doc it does not look like it Apr 10 01:00:27 what's the deal with android:weight? I can't seem to use it though it's referenced in the documentation Apr 10 01:00:38 what do you want to do? Apr 10 01:01:21 well, I have this textbox which had a height set to "fill_parent", but it kept getting bigger than the screen, so looking at the documentation it recommends setting width and height to zero and assigning a weight Apr 10 01:01:36 yes, inside LinearLayout Apr 10 01:01:46 ah, so that doesn't work in a relative layout? Apr 10 01:02:11 nope Apr 10 01:02:29 hmm. any idea why adding text to a textbox would cause it to grow in height past "fill_parent" ? Apr 10 01:02:42 it's seriously running off the screen Apr 10 01:02:56 is the textview wrap_content or fill_parent? Apr 10 01:03:19 romainguy___: do know how i can register for the ##java channel on freenode Apr 10 01:03:25 no idea Apr 10 01:03:31 romainguy___: ok Apr 10 01:04:08 romainguy: it's fill_parent Apr 10 01:07:03 romainguy: http://androidchat.googlecode.com/svn/trunk/androidchat/res/layout/chat.xml Apr 10 01:09:06 android:layout_height="wrap_content" Apr 10 01:09:12 that's wrap_content, not fill_parent Apr 10 01:10:23 oh, I was just messing with it. it's fill_parent, I swear. Apr 10 01:10:36 er, yeah. Apr 10 01:10:40 the textbox "ircdisp" Apr 10 01:10:42 not the edit. Apr 10 01:10:44 it looks like, uh Apr 10 01:11:06 * Kraln takes a picture Apr 10 01:13:15 http://i26.tinypic.com/rtksg2.png Apr 10 01:15:59 as you can see, the textview with the channel text has mysteriously migrated northwords Apr 10 01:16:11 (testing... is supposed to be at the bottom) Apr 10 01:16:18 Kraln: I can see that you are a family guy fan Apr 10 01:16:50 Kraln: there's just not enough room to display your text so the textview scrolls it upwards Apr 10 01:17:00 nothing crazy here Apr 10 01:17:09 what is this business about the affidavit of eligibility. Apr 10 01:17:11 scrolling upwards is fine Apr 10 01:17:18 but what's with the blank space at the bottom? Apr 10 01:17:31 a line return? Apr 10 01:17:35 nope. Apr 10 01:17:45 no line returns. also, android:gravity="bottom" Apr 10 01:18:14 why is it that the background disappear after selecting in a listview Apr 10 01:18:25 can I keep it? Apr 10 01:18:31 or grid view Apr 10 01:18:47 also, I cannot seem to activate the ircdisp textview so I can scroll it Apr 10 01:19:12 ok, Im offskie. Going to take a break for two days until l the last big push. Good luck guys. Apr 10 01:19:27 cherio, good luck to you to Apr 10 01:24:39 in an abstract class is it possible to define 2 abstract methods and force at least one method to be implemented? Apr 10 01:25:53 sure Apr 10 01:25:58 make one method abstract :) Apr 10 01:26:05 abstract methods must be implemented Apr 10 01:26:22 but in an abstract class you can have non abstract methods Apr 10 01:26:25 these can be overriden Apr 10 01:27:00 romainguy: this is behaving seriously weird. Apr 10 01:27:12 it's almost like it's ignoring the gravity. Apr 10 01:27:15 let say I ahve onCreate(Uri uri) and onCreate(Uri uri, Drawable d) Apr 10 01:27:20 can I post an APK? You really have to see this. Apr 10 01:27:27 I can't run your .apk Apr 10 01:27:28 can I force at least one to be implemented? Apr 10 01:27:43 acsia: yes, make it abstract Apr 10 01:28:02 but if I put both abstract then they will need to have both of them implemented? Apr 10 01:28:09 yes Apr 10 01:28:10 hmm Apr 10 01:28:18 romainguy: any way I can demonstrate what is going on? Apr 10 01:28:40 Kraln: you should put android:background="#FFFF0000" on your TextView Apr 10 01:28:46 at least you would see if it has the right dimension Apr 10 01:30:03 okay. I'll do that and post a video Apr 10 01:31:00 what is the best way to handle a table not found issue and create the table? Apr 10 01:34:57 michaelnovakjr: db you mean? Apr 10 01:36:42 haha, i actually already have the code in there, my emulator was being cranky Apr 10 01:37:22 romainguy: http://www.kraln.com/issue.swf Apr 10 01:40:13 aahh Apr 10 01:40:14 the EditText Apr 10 01:40:17 that's what I said Apr 10 01:40:22 it's wrap_content Apr 10 01:40:26 you need to make it singleLine Apr 10 01:40:29 or horizontaly scrolling Apr 10 01:41:14 no no, not the edit text Apr 10 01:41:20 the thing below it is messed up Apr 10 01:41:22 the big red thing =p Apr 10 01:41:42 I don't mind if the edit text resizes itself, it's the main chat display moving off the screen that is so troubling Apr 10 01:41:53 because of the edit text... Apr 10 01:42:20 you wrote: android:layout_below="@+id/ircedit" Apr 10 01:42:33 that means the TextView should always stick to the EditText's bottom edge Apr 10 01:42:42 if the EditText grows, as in your video, the TextView is resized... Apr 10 01:42:59 bed time Apr 10 01:44:55 it's not resized, though Apr 10 01:45:01 it's being pushed off the bottom of the screen Apr 10 01:45:18 ***because of the EditText*** Apr 10 01:45:21 or something weird, because the text in the text view is supposed to be 'glued' to the bottom of the textview Apr 10 01:46:06 okay, new example. Apr 10 01:48:47 romainguy__: any idea if you guys are plannign to showcase any of the winning submissions after the 14th? Apr 10 01:48:53 romainguy__: or even any of the submissions at all? Apr 10 01:49:04 any diea Apr 10 01:49:05 idea Apr 10 01:49:12 or is it all going to be on the hush hush? Apr 10 01:50:33 www.kraln.com/issue2.swf - also, I appreciate the help =) Apr 10 01:57:58 romainguy: the only reason I'm sure it's not spurrious newlines is because I just added a character to every 'line' that gets added to the textview, and there's simply nothing past the last line Apr 10 02:03:38 romainguy: this is how the textview is being updated Apr 10 02:03:39 http://rafb.net/p/7MixPW22.html Apr 10 02:05:57 results in-> http://www.kraln.com/issue3.swf Apr 10 02:07:15 any ideas, anyone? Apr 10 02:21:25 why do Nodes only read to new line when you call the getNodeValue method Apr 10 02:21:28 that is a real pain Apr 10 02:38:13 who's doing the severe weather application? Apr 10 02:38:33 me :) Apr 10 02:38:35 http://money.cnn.com/2008/04/09/technology/fcc_cell_phone_alert/index.htm?section=money_latest Apr 10 02:38:37 got bad news for me? Apr 10 02:38:46 good news I guess Apr 10 02:39:56 only bad thing is text based messages aren't all that reliable Apr 10 02:40:07 morrildl: http://www.kraln.com/issue3.swf <- any ideas? =/ Apr 10 02:40:16 just this morning i got a txt message from a week ago Apr 10 02:51:14 when using TabActivity, should tabs be able to do things like this.getParent().setTitle("blah") ? Apr 10 02:54:29 I can't seem to scroll that textview, either Apr 10 02:54:48 put it in a scrollview **** ENDING LOGGING AT Thu Apr 10 02:59:56 2008