**** BEGIN LOGGING AT Tue Apr 01 02:59:56 2008 Apr 01 03:08:48 B0jangles, have you checked out the notes at: http://code.google.com/android/migrating/m3-to-m5/m5-api-changes.html#geo Apr 01 03:09:35 it looks like you have to create mock locations as of right now ... similar to grabbing GPS coordinates Apr 01 03:30:52 raidfive: yeah, that's why I said it doesn't work... Apr 01 03:37:35 good day Apr 01 03:37:56 howdy Apr 01 03:38:59 hows it going Apr 01 03:59:24 Anyone know if you can bind a column in a SimpleCursorAdapter to an ImageView using remote Uri's? Apr 01 03:59:51 zhobbs: in the next release, yes Apr 01 03:59:51 unlikely Apr 01 04:00:09 ok Apr 01 04:09:28 it's getting really exciting as the deadline approaches :) Apr 01 04:12:35 jasta: how come? Apr 01 04:13:26 it's just exciting getting our apps much closer to completion and the prospect of seeing all the yet unheard of entries Apr 01 04:16:29 or wonder if google is going to have an showcase for all the submitted apps ... or even just the accepted ones Apr 01 04:18:52 is it currently possible to have an app that jumps to the native contact list and then choose a person and jump back to your application? Apr 01 04:18:59 yes Apr 01 04:19:07 you would do that with startSubActivity. Apr 01 04:19:18 my app is nearly done Apr 01 04:19:22 pollishing it off Apr 01 04:19:25 see the ApiDemos. Apr 01 04:19:38 duey: mine's not, i will have much more work to do even after the 14th. Apr 01 04:19:48 oh yeah me too Apr 01 04:19:52 mines going until august Apr 01 04:19:56 at least Apr 01 04:20:01 though i'm starting to move into the feature set that i want to have ready for the first submission Apr 01 04:20:03 I was unable to find the activity that does that though Apr 01 04:20:31 better check the submission datesz Apr 01 04:20:40 duey: why? Apr 01 04:20:51 forgot what i had to do to submit Apr 01 04:21:28 Notes, Docs ,Readme i guesws thats a PDF or something? Apr 01 04:50:20 does anyone know how to change the defualt link color that is set by Linkify.addLinks() ? Apr 01 04:50:38 the blue is really hard to read on the default black background Apr 01 04:53:40 TextView..setTextColor() doesn't seem to change the color of the links, just the non-link text Apr 01 05:16:19 is it possible to get a File object of an asset Apr 01 05:17:02 duey: no, just an stream Apr 01 05:17:09 fark Apr 01 05:17:13 farkfarkfark!!!! Apr 01 05:17:21 gotta save it to the filesystem Apr 01 05:18:12 hmm i guess that would work Apr 01 05:18:21 can we write to /tmp ? Apr 01 05:20:01 you can Apr 01 05:20:09 but /tmp is about to go away Apr 01 05:20:21 why do you need a File object? Apr 01 05:20:48 so I can post it to the internets Apr 01 05:20:53 using FilePart Apr 01 05:21:03 (from apache commons httpclient) Apr 01 05:21:24 where is the best place to write to? Apr 01 05:21:44 use Context.getFileOutputStream() Apr 01 05:23:37 ah cool Apr 01 05:23:39 thanks Apr 01 05:23:53 http://helloandroid.com/node/328 - OMG!! Apr 01 05:24:51 didn't do a very good job of that prank :\ Apr 01 05:25:02 haha Apr 01 05:25:07 that's why I hate April 1st on the web :) Apr 01 05:25:12 indeed Apr 01 05:25:22 its all a bit of fun though Apr 01 05:25:25 there's no way to really do a good one Apr 01 05:25:32 but yeah, it's fun anyway Apr 01 05:25:53 i love my thinkgeek calandar entry for april 1st "Thinkgeek releases amazing new technologies" Apr 01 05:26:32 zhobbs, you need to have fake screen shots of the annoucement etc Apr 01 05:26:57 duey: yeah, I could def sell it a little better... Apr 01 05:27:05 or just wait until they release there fake annoucement Apr 01 05:27:15 maybe a fake IRC log of morrilld revealing it or something Apr 01 05:27:51 posted to the android-challenge.. must be fun :) Apr 01 05:28:26 next 2 weeks are going to be hell Apr 01 05:28:32 android + 3 assignments Apr 01 05:28:42 I need a screenshot of the ADC submission page saying "Currently not taking any submissions" or something Apr 01 05:28:49 ya! Apr 01 05:30:55 * duey hasn't checked the android mailing list in awhile Apr 01 05:31:00 Android (5084) Apr 01 05:31:29 can anyone tell me what I am doing wrong with this simplecursoradaptor code: http://pastie.textmate.org/173602 I dont understand how todo this properly Apr 01 05:33:03 The error I get is Unable to get field Slot Apr 01 05:33:31 jtoy: seems like cursors need a "_id" column Apr 01 05:34:16 I did select the _id column, I think it might be something to do with me using rawQuery Apr 01 05:36:54 jtoy: I don't know, I haven't had any probs with raw Query Apr 01 05:37:21 I think I might know what the problem is, but I dont know how to test it Apr 01 05:37:44 if data is pulled from a rawQuery, can the columns be accessed via a String name? do you know what I mean? Apr 01 05:38:57 ok, added screenshot to fake story Apr 01 05:39:11 normally when I use rawQuery I access data via cursor.getXXX(X) not via a string name, but simpleCursorAdaptor needs string names, that is what I suspect Apr 01 05:39:39 much better :) Apr 01 05:40:46 way better! Apr 01 05:45:47 i fixed it, just lowercased the string names Apr 01 06:03:13 is there a way I can use the android.provider.Contacts.People contentprovider and along with the names of the peopl have a list of all their phone numbers included, like a sql join query? Apr 01 06:09:25 jtoy: think you just have to loop through them and do it that way...sucks though Apr 01 06:10:00 hmm, that sucks, that would also generate tons of sql Apr 01 06:10:40 you could create a table and then copy it into table and join...still lots of sql I guess Apr 01 06:13:34 it seems liek a bad idea to have duplicate tables created, i am already doing that for some of my code Apr 01 06:49:25 deadlines coming up Apr 01 06:49:43 pressures on Apr 01 08:43:53 android withdrawn by google, all prizes cancelled : http://tinyurl.com/395w9a Apr 01 08:58:21 haha Apr 01 08:58:22 nice Apr 01 08:58:40 for a second there i thought i was going to get directed to 2g1c Apr 01 08:59:51 me too Apr 01 09:40:47 hello Apr 01 09:41:40 hi Apr 01 09:47:33 hi Apr 01 09:47:43 http://www.helloandroid.com/node/328 Apr 01 09:47:46 have you seen this? Apr 01 09:54:35 http://uk.youtube.com/ Apr 01 09:54:41 acsia, yeah sucks aye :( Apr 01 09:55:23 watch the featured videos http://uk.youtube.com/ Apr 01 10:10:11 duey: nice Apr 01 10:10:53 duey: I did not get it at first Apr 01 10:11:09 I have a slow brain Apr 01 13:03:58 the new SDK release coming today as promised.. good news. Apr 01 13:10:07 muthu: you think so? ;) Apr 01 13:14:04 oh yeah! Apr 01 13:14:38 i'm not sure why they release now since ADC is cancelled - http://www.helloandroid.com/node/328 Apr 01 13:15:10 :\ Apr 01 13:15:49 I'd take anything stated on the 1st of April with a massive dose of salt... Apr 01 13:16:04 Stephmw, (That's the point) Apr 01 14:28:08 I hear Android is being renamed to Google Aii Apr 01 14:28:28 Aii? Apr 01 14:28:40 Apparently Apr 01 14:28:53 what's that? Apr 01 14:29:14 Dunno Apr 01 14:29:40 I guess they briefly talked about calling it Android Revolution, but settled on Aii for the production name Apr 01 14:29:51 lol Apr 01 14:32:28 lovely name, really highlights the pains it causes Apr 01 14:32:38 Yeah, it's pronounced Aieeeeeeee Apr 01 14:33:59 you have to say it as if you'd just jumped off of a cliff Apr 01 14:35:16 nono, it's the sound the other person makes before kicking you in the gonads... and the sound you make as you curl into a small ball afterwards Apr 01 14:35:33 heh ;-) Apr 01 14:36:46 Aiee in tamil is shit Apr 01 14:37:04 hope google renames quickly.. Apr 01 14:37:37 tamil? Apr 01 14:37:49 like Tamil Tigers? Apr 01 14:38:15 muthu: wonderful association with Android Apr 01 14:38:21 muthu: I think they keep the name Apr 01 14:38:26 s/think/hope/ Apr 01 14:38:27 Stephmw meant: muthu: I hope they keep the name Apr 01 14:38:40 * Stephmw raises an eyebrow Apr 01 14:38:52 infobot is awesome Apr 01 14:39:07 yeah tamil as in tamilnadu Apr 01 14:40:06 tamil has this all weird aiee, oiyee, doiyee deiyee etc., Apr 01 14:41:40 I've always wondered if they're aware that the name of their group sounds like a minor-league baseball team Apr 01 14:43:42 lol Apr 01 14:43:58 probably not Apr 01 15:15:30 yawn Apr 01 15:17:04 april 1st is such a stupid day :) Apr 01 15:18:19 april 1 is great fun Apr 01 15:18:42 so much pranks going on Apr 01 15:21:36 I wonder if I should propose to my girlfirned Apr 01 15:21:36 http://antwrp.gsfc.nasa.gov/apod/ap080401.html Apr 01 15:21:41 that might not go over well Apr 01 15:28:03 Haskel++! Apr 01 15:28:11 why not OCAML though? Apr 01 15:28:26 what, are you one of those OCAML zealots? Apr 01 15:28:42 they do zealots? Apr 01 15:28:56 naaaw, just some place I was thinking of applying at does everything in OCAML Apr 01 15:29:02 ahh Apr 01 15:30:01 so, how's the 'plex? Apr 01 15:30:12 We were going to use LISP, but jbq ran some tests and discovered that parentheses are way too expensive for mobile Apr 01 15:30:14 buzzing with AFJs? Apr 01 15:30:18 hmm? Apr 01 15:30:24 oh you mean the Googleplex? Apr 01 15:30:27 That closed last week Apr 01 15:30:31 We all work from home now Apr 01 15:30:47 most of you probably do work from home hehe Apr 01 15:31:13 now you see, if you're gonna be making things up, at least be creative... I'd have almost believed it if you'd said you all been coopted by SCO Apr 01 15:32:04 yeah, for example, now would be an excellent time to mention that you sometimes wear women's clothes Apr 01 15:32:48 or that Dalvik is actually written in .net Apr 01 15:32:52 Stephmw: hey, don't be mean now, there are some great engineers working over at SCO. Apr 01 15:33:22 morrildl: shouldn't that be in the past tense? I thought they'd replaced everyone with (bad) lawyers? Apr 01 15:34:03 i think that was his april fools ;) Apr 01 15:39:17 ;) Apr 01 15:39:39 * Stephmw hasn't yet made any AFJ today... yet Apr 01 16:13:33 hehe, youtube is automatically rick rolled'ing everyone Apr 01 16:27:59 i really dont want to go to work Apr 01 16:49:08 'i just want to bang on de drums all day.' Apr 01 16:57:11 hello Apr 01 16:58:03 I seem to be having trouble with binding to a Service - "unable to start service intent... not found" Apr 01 16:58:26 i've defined it in the manifest file, and most if not all the code is straight from apidemos Apr 01 17:03:36 zhobbs: are you here ? Apr 01 17:14:32 I vote for Arc Apr 01 17:14:47 -1 for Haskell Apr 01 17:16:33 brainfuck ftw ! Apr 01 17:23:26 Haskell would be groovy... Apr 01 17:26:56 groovy would be grooviest Apr 01 17:38:14 Is there a word that isn't a programming language's name? Apr 01 17:38:29 peni Apr 01 18:01:42 hrm - bitmapfactory decodebytearray doesn't need to know the encoding type of the data? Apr 01 18:02:26 seems so Apr 01 18:05:27 davidw: it can infer it from the data itself Apr 01 18:05:39 makes sense Apr 01 18:24:38 what string encodings come with Android? Apr 01 18:25:36 hrm... never mind Apr 01 18:36:12 Anyone know how to resolve "Unable to start service Intent {} not found"? Apr 01 18:44:16 has anybody used contentObserver? Apr 01 18:44:26 and registerContentObserver Apr 01 18:58:06 is there a way to tell the emulator it's someplace other than lat0 lng0 ? Apr 01 18:59:25 you need to create mock up data Apr 01 19:05:21 acsia: but will instantiating a location object on actual hardware give valid results "in the wild" ? Apr 01 19:06:12 well LocationProvider should give you a correct location Apr 01 19:06:48 so, just Location l = new Location(); l.getLatitude() will be invalid? Apr 01 19:06:57 yea you need to do Apr 01 19:07:03 getSystemService(LOCATION_SERVICE) Apr 01 19:07:04 or something Apr 01 19:07:12 that will return a location manager i think Apr 01 19:07:20 then you get a list of providers from it Apr 01 19:07:24 Yes first you need a location provider like GPS or signal Apr 01 19:07:25 use 'gps' if you want Apr 01 19:07:38 then set up an intent receiver to receive location updates if that's your aim Apr 01 19:08:15 so by default, locations are invalid? Apr 01 19:08:17 beh Apr 01 19:08:36 location will only be given by a provider Apr 01 19:08:48 there can be several providers at one time Apr 01 19:10:06 which is the right one, though? Apr 01 19:10:43 gps is the default with mockup data Apr 01 19:11:45 I do not see, uh, an example for location Apr 01 19:16:14 is there one and I'm missing it? or Apr 01 19:16:50 there isn't one Apr 01 19:16:54 check www.anddev.org Apr 01 19:18:09 thanks, I'll take a look Apr 01 19:24:41 * davidw files a new issue: http://code.google.com/p/android/issues/detail?id=588 Apr 01 19:25:23 why do you need to set system properties Apr 01 19:26:17 davidw: You probably need to give more detail examples explaining why this is so useful Apr 01 19:28:12 I think the phone number one is pretty obvious Apr 01 19:29:20 not at all Apr 01 19:29:50 the word 'phone' doesn't even appear in it :P Apr 01 19:29:50 to have two emulators running with different phone numbers Apr 01 19:31:00 f00f-, it's meant for the google guys who presumably know exactly what that property means. Apr 01 19:31:36 I just broke eclipse Apr 01 19:31:49 dinner time in any case Apr 01 19:33:29 davidw: not all of us know about every part of the system (I didn't know for instance that I could set this property to change the emulator's phone number) Apr 01 19:55:15 romainguy, wow... ok... good point I guess... I'm probably too tired to be very clear Apr 01 19:55:29 * davidw got up at some ungodly hour and drove from Padova to Innsbruck Apr 01 19:56:27 :)) Apr 01 20:27:20 hey romain Apr 01 20:28:48 hey jasta Apr 01 20:40:23 i started integrating the last.fm stuff into my music player yesterday :) Apr 01 20:40:56 hopefully i can feature freeze next week so i don't release an unstable mess on Apr 14 :) Apr 01 20:42:03 i'm getting really excited that the deadline is approaching hehe Apr 01 20:42:09 :D Apr 01 20:42:27 jasta: cool Apr 01 20:42:55 you got any screenshots of the player jasta? Apr 01 20:43:04 i just hope somebody creates some kick ass podcast/vidcast stuff for android. with torrent support. Apr 01 20:44:13 why would podcast need torrent support? Apr 01 20:44:27 are there any torrented podcasts? Apr 01 20:44:41 agreed. Apr 01 20:44:45 but no one will Apr 01 20:44:56 jasta, did you get your phone? Apr 01 20:45:10 davidw: yeah Apr 01 20:45:34 f00f-: no, but i could probably make some. i need to pop some stupid clip art into it though :) Apr 01 20:45:38 B0jangles: there are, and I belive more will. becuase the bandwidth bill is getting so large Apr 01 20:45:40 right now i'm just using some dummy graphics in places. Apr 01 20:45:48 jasta, they're pretty nice, better than I thought Apr 01 20:45:52 davidw: definitely. Apr 01 20:45:53 i can't wait to see it. my hopes are high you know :P Apr 01 20:45:59 meus: I agree it would be a good idea, but I hadn't seen any yet Apr 01 20:46:12 or well mostly vidvasts are torrented. like dignation and other rev3 stuff Apr 01 20:46:28 ah, I mostly only do the podcast thing Apr 01 20:46:33 but I belive many are not because iTunes cannot deal with them if they are. Apr 01 20:46:39 agreed Apr 01 20:47:02 but lets hope that if some good clients with opional torrent support arrives that a seperate torrented feed can be published or something Apr 01 20:47:13 hmm, wth. i installed vmware and outlook just so i could finally start using Google Desktop again Apr 01 20:47:26 and for some reason Google Desktop only indexes e-mails newer than Mar 27th :( Apr 01 20:47:47 well, that's the first day Apr 01 20:48:07 everything you remember from before Mar 27 was just encoded into your brain Apr 01 20:48:09 i don't quite get what the problem is. i even forced it to re-index. Apr 01 20:50:27 in BitmapFactory, where does the Resources come from in decodeResource ? Apr 01 20:50:34 usually you just have to give it an id Apr 01 20:53:26 getContext().getResources() Apr 01 20:56:01 http://rafb.net/p/TDCqo083.html <- okay, when this thread runs, it crashes the emulator. any idea why? (or how I can find out?) Apr 01 20:56:50 jasta: will you music player hav podcast support? Apr 01 20:59:48 romainguy, great, thanks! Apr 01 21:06:45 romainguy, know anything about decodeByteArray ? Apr 01 21:07:48 specifically the length attribute... does it need setting, or can you just give it 0? Apr 01 21:07:57 it's choking on my data Apr 01 21:09:35 usually you pass myArray, 0, myArray.length Apr 01 21:10:05 well this isn't good Apr 01 21:10:09 http://rafb.net/p/86FrN738.html <- this is what crashes the emulator Apr 01 21:10:39 is this a bug in android? Apr 01 21:10:42 No Apr 01 21:10:45 it's a bug in your application Apr 01 21:10:52 you need to request permission in your manifest Apr 01 21:11:13 why is that tanking the emulator, though? Apr 01 21:11:45 there must be another trace in logcat Apr 01 21:11:48 oh I see, that exception happens infinite times Apr 01 21:11:51 and then it runs out of memory Apr 01 21:11:58 ah, that's because of your infinite loop in your thread Apr 01 21:12:07 surely /that's/ not my fault. :-) Apr 01 21:12:16 bah, fine I accept responsibility Apr 01 21:12:21 * Kraln grumbles Apr 01 21:12:46 :) Apr 01 21:12:52 it's actually better for you Apr 01 21:13:00 since you don't have to wait for a new SDK Apr 01 21:13:05 * Kraln nods Apr 01 21:13:33 so I need ACCESS_LOCATION and ACCESS_GPS, I suppose Apr 01 21:19:05 meus: i hadn't planned on it. Apr 01 21:21:26 jasta: ok :) Apr 01 21:21:52 I've added the stuff to the manifest, do I need to do anything else to get 'location' permission? Apr 01 21:25:18 meus: my app will be open sourced, though, so... Apr 01 21:29:09 cool, got it working Apr 01 21:29:11 thanks guys =) Apr 01 21:49:13 jasta: cool :) Apr 01 21:55:46 the emulator moves around, eh Apr 01 21:58:54 it moves around? Apr 01 21:59:18 snzzz time Apr 01 21:59:30 night Apr 01 22:01:32 B0jangles: gps wise Apr 01 22:01:34 it seems to move a bit Apr 01 22:01:42 oh, yes it does Apr 01 22:12:01 maybe to help you test in a realistic scenario? Apr 01 22:15:25 yes, definitely Apr 02 00:28:39 romainguy_: have you guys thought about adding some padding short-hand like CSS does? Apr 02 00:28:53 so you could specify padding="top right bottom left" or padding="top/bottom left/right" Apr 02 00:33:41 or margin="t r b l" Apr 02 00:34:33 whatäs the differe Apr 02 00:35:27 margin is space between view1 and it's neighbors, padding is the padded space inside view1 Apr 02 00:35:38 you can really see the different with a button Apr 02 00:35:56 i think he meant, isn't that obvious? :) Apr 02 00:36:06 so you want linearlayout's padding with relativelayout's left/right/bottm/up stuff Apr 02 00:36:27 f00f-: no, he's just projecting that if padding had that, so should margin. Apr 02 00:36:39 which to me seems obvious Apr 02 00:36:47 ok Apr 02 00:48:42 is it possible to get the cursor from within a contentobserver? Apr 02 00:49:40 no, you'd need to extend it if you needed that for some reason. Apr 02 00:52:09 well I want to log my insert/update/delete method from my contentProvider Apr 02 00:52:33 so I am wondering the best way to do so Apr 02 00:52:43 uhm, the best way would be to log them. Apr 02 00:53:00 i would place that logging in the insert, update, and delete methods myself. Apr 02 00:53:21 well I am not sure about the ContentProvider itself Apr 02 00:53:29 it will be dynamic Apr 02 00:53:42 I am writing some kind of pluggable system Apr 02 00:53:59 so I need to execute some code just before the insert - for instance - returns Apr 02 00:55:50 I could create my method and enforce the fact that each plugin needs to call my method within the interface but it is just a bit to intrusif... Apr 02 00:56:08 you have no choice but to do it in the provider... Apr 02 00:56:39 well I could create byte code injection :) but at the same time just a bit less then 2 weeks... Apr 02 00:58:06 have you tried the SyncAdapter? Apr 02 00:58:13 It might be a good choice here actually Apr 02 02:31:43 hey there Apr 02 02:34:13 hey there Apr 02 02:40:26 anyone work with xmlrpc services with android yet? **** ENDING LOGGING AT Wed Apr 02 02:59:57 2008