**** BEGIN LOGGING AT Fri Feb 08 02:59:56 2008 Feb 08 03:54:21 anyone awake ? Feb 08 03:54:48 yes Feb 08 03:55:25 do you know why android:textColor might be ignored (I have a theme applied to a whole screen Feb 08 03:55:33 do you have to like tell it to override the Theme ? Feb 08 04:27:22 Canvas.translate(float,float) adjusts the origin of the canvas? Feb 08 06:53:51 anyone play around with passing your java code thru proguard before converting it to android bytecode? Feb 08 10:26:07 anyone around? Feb 08 10:26:49 does anyone know where I can find this? " the NullPointerException log" Feb 08 10:27:10 it's not in 'logcat' ? Feb 08 10:31:23 I do have a Logcat window, but it doesnt say anything about the line number of where the exception is happenning Feb 08 10:31:43 I just see the columns: Time,pid,tag,Message Feb 08 10:33:45 how can I know what line is causing my code to die at? I thought logcat would be the correct place to look Feb 08 10:35:44 maybe you need to compile with debugging symbols Feb 08 10:36:04 catch it, and do a printStackTrace()....errr...wait, never mind Feb 08 10:36:09 damn Log vs stderr Feb 08 10:36:24 somewhere in Hecl I wrote code to dump a stack trace to Log Feb 08 10:36:49 public static void logStacktrace(Exception e) { Feb 08 10:36:49 Log.v("stacktrace", e.toString()); Feb 08 10:36:49 StackTraceElement elements[] = e.getStackTrace(); Feb 08 10:36:49 for (int i = 0; i < elements.length ; i ++) { Feb 08 10:36:49 Log.v("stacktrace", elements[i].toString()); Feb 08 10:36:50 } Feb 08 10:36:52 } Feb 08 10:37:40 ok, I'll try that Feb 08 10:40:26 im still learning java :(, would I make a class for that method and include that class everywhere to use that logging? Feb 08 10:41:37 you might try using Hecl Feb 08 10:41:39 it's easier Feb 08 10:42:15 davidw: haha, ok, I'll give it a try soon Feb 08 10:42:23 how is the work coming on it anyway? Feb 08 10:42:44 pretty well Feb 08 10:43:03 trying to get this xmpp stuff going Feb 08 10:43:29 do you know what they mean in the docs by saying that always one xmpp connection will be kept? Feb 08 10:45:27 where? Feb 08 10:45:49 let me see in docs, hold on Feb 08 10:47:06 http://code.google.com/android/toolbox/google-apis.html: The system currently maintains a single XMPP connection to the server, and all XMPP traffic — including both standard XMPP instant messages, and this P2P message-passing system — is carried on the same connection. Feb 08 10:47:20 does that mean a gtalk account is always associated with the phone? Feb 08 10:48:49 that seems odd, because you'd have to log into it with your google credentials Feb 08 10:48:53 so I'm not really sure Feb 08 10:50:00 im sure that would be huge battery drain also Feb 08 10:52:55 dammit... even dims' example isn't working Feb 08 10:55:13 how does sms work so that it can receive messages but doesnt kill the battery where wifi will kll the battery with an open connection? Feb 08 10:55:52 wifi isn't passive iirc Feb 08 10:55:58 sms reception can be Feb 08 10:58:04 I'm not exactly sure what that means, but would android keeping a single xmpp connection always open solve the problem? Feb 08 10:58:19 if so, that would be awesome Feb 08 10:59:29 if they're clever, maybe they can play tricks to keep the socket open without generating any traffic Feb 08 10:59:56 the things are always in contact with base stations, so it's not like they don't do anything ever Feb 08 11:00:07 not forever... GPRS leases expire after a period of inactivity Feb 08 11:00:25 and normally you don't get notified it's expired Feb 08 11:03:12 hmm, thats too bad, I wonder if that is the same with 3G+ technologies Feb 08 11:03:57 it would be great to have real time applications work on the phone that interact online and notify you immediately Feb 08 13:10:48 davidw: what's not working? Feb 08 13:43:35 hi tmarble Feb 08 13:43:55 dims: hello Feb 08 13:44:19 dims, hey Feb 08 13:44:27 dims, your gtalk example... it's odd... Feb 08 13:44:34 just says xmpp not connected Feb 08 13:44:38 nothing in the logs Feb 08 14:08:09 without more information, it's hard to really say what's wrong, I guess Feb 08 15:18:29 dims, what version of the sdk are you using? Feb 08 15:23:26 i believe it was m3-rc37a. haven't touched android in a month now.. Feb 08 15:30:29 sure, that's what I'm on... Feb 08 15:30:44 bizarre...I'll pester dan when he comes on line:-/ I'm sure it must be something stupid I'm doing Feb 08 16:03:58 morning! Feb 08 16:04:23 good morning Feb 08 16:05:13 going to look at creating a custom view for a horizontal progress bar / slider Feb 08 16:06:40 in case you were wondering ;) Feb 08 16:08:59 zhobbs: I had a question for you -- In your musicdroid application you are applying a theme (the dark theme) Feb 08 16:09:20 is it not possible to override the textColor of a TextView inside of a themed screen ? Feb 08 16:09:36 I was trying to set the textColor of one of my TextViews to another color and it always came out white Feb 08 16:12:14 chadkouse, yeah, I think it's a bug Feb 08 16:12:22 oh ok... Feb 08 16:12:26 that would make more sense :) Feb 08 16:12:31 http://code.google.com/p/android/issues/detail?id=149 Feb 08 16:12:40 I submitted it as a bug Feb 08 16:13:05 I was even talking about like when you define the element in your layout xm Feb 08 16:13:06 xml Feb 08 16:13:12 doesn't work there either. Feb 08 16:13:16 howdy Feb 08 16:13:17 ther Feb 08 16:13:24 woops Feb 08 16:13:36 hey michaelnovakjr Feb 08 16:13:46 how's it going Feb 08 16:14:21 it's going... Feb 08 16:14:33 crunch time with this app Feb 08 16:14:37 yea same here Feb 08 16:14:52 anyone try any GPS related stuff with android? Feb 08 16:15:36 yeah, mock location providers and stuff Feb 08 16:15:40 yep Feb 08 16:16:00 Now, with Exciting Hecl Sprinkles in 10 mouth watering flavors! Feb 08 16:16:14 did you have to do anything special in terms of testing GPS functionality? Feb 08 16:18:03 what do you mean? Feb 08 16:22:16 I am attempting to test location based stuff and I want to test pulling my location Feb 08 16:24:11 you can create a route in google earth and save the kml Feb 08 16:25:13 phew, finally back from Atlanta Feb 08 16:25:33 never seen so many waffle houses in my life :) Feb 08 16:38:13 mmmm, waffles Feb 08 16:41:25 anyone working on client-server apps for android? Feb 08 16:42:51 thinking about working on one Feb 08 16:43:40 i am. Feb 08 17:07:12 any of them SOA based? Feb 08 17:09:00 ahhhh, Atlanta Feb 08 17:09:34 that's the south there Feb 08 17:10:07 I live south of the south (fl) Feb 08 17:20:10 jasta, how's atlanta? Feb 08 17:20:19 * davidw thinks he may have been through the airport once... Feb 08 17:31:15 * davidw is thinking about moving ... again ... Feb 08 17:32:01 morrildl, would you happen to have an idea why my XMPP service is 'not connected' ? Feb 08 17:32:11 hmm Feb 08 17:32:15 I'm using dims' code: http://davanum.wordpress.com/2007/11/23/totally-unofficial-android-gtalk-client-sendreceive-xmpp-messages/ Feb 08 17:34:07 nothing in the logs... it's all kind of weird. It must be something stupid I'm doing Feb 08 17:37:20 are you logged in? Feb 08 17:38:04 that sounds like a something stupid that might be missing... logged in where? Feb 08 17:39:02 Applications > Dev Tools > XMPP Settings I believe Feb 08 17:40:29 damn... yeah that was it Feb 08 17:40:33 thanks! Feb 08 17:43:16 np Feb 08 17:43:48 The XMPP service is getting some substantial changes & improvements in the next SDK Feb 08 17:45:15 anything you can give us a rough idea about? Feb 08 17:46:05 I can't wait to see the source code... I think it'll be pretty amazing what people will be able to do with access to that, given what's already been done in a short time without it Feb 08 17:49:31 the source will be nice Feb 08 17:51:27 davidw: Instead of the source what you really want is solid documentation Feb 08 17:51:42 nah, I want both:-) Feb 08 17:52:27 I've found bugs in things like libc before, and hacked on the kernel, and been able to discover how things worked too many times to not want both Feb 08 17:52:38 romainguy_: heh, *I* want the source, too :) Feb 08 17:52:52 * romainguy_ is looking at the source right now Feb 08 17:52:52 :) Feb 08 17:53:06 romainguy_: Also, are you implying our documentation isn't solid now? Feb 08 17:53:43 * morrildl is also looking at the source, but can't really DO anything with it (except what The Man tells me to) because it's not mine and not open ;) Feb 08 17:53:45 Does google currently maintain any open source projects? Feb 08 17:53:52 zhobbs: oh goodness Feb 08 17:53:54 yes :) Feb 08 17:54:15 zhobbs: http://code.google.com/hosting/search?q=google&btn=Search+Projects Feb 08 17:54:41 morrildl, but google maintains/develops the codebase? Feb 08 17:54:48 GWT Feb 08 17:55:01 Guice, although that's actually semi-independent Feb 08 17:55:14 ok, cool...just wondering if it's something you guys have done before Feb 08 17:55:23 Gears Feb 08 17:55:30 can't believe I forgot Gears :) Feb 08 17:55:54 morrildl: I'm saying I still have a lot of javadocs to write :) Feb 08 17:56:20 zhobbs: this one's kind of neat: http://code.google.com/p/google-collections/ Feb 08 17:56:45 maybe it's a bit of a desperation thing, but I've actually been quite pleased with all the open source stuff coming out of/being supported by yahoo as of late Feb 08 17:57:04 Yeah, Yahoo does some good stuff Feb 08 17:57:55 I guess that's about to fall into the gaping maw of redmond... oh well, c'est la vie Feb 08 17:59:11 i can see it now: "ok, msn search still sucks compared to google. how can we improve things?" "well.. we could buy yahoo" "yeah, that sounds easy, lets do that" Feb 08 18:00:13 hi pandora-- Feb 08 18:32:31 hey david__ Feb 08 18:32:34 hows it goin? Feb 08 18:35:03 alright Feb 08 18:37:39 tryin to think of a good android app to write.. Feb 08 18:38:08 now that I'm not working at zannel I can't use their webservices to make a cool android-zannel app Feb 08 18:39:58 oh, you left that place? Feb 08 18:40:42 morrildl, will it be possible for judges to test apps that have 2 phones interacting? Feb 08 18:41:14 I'd imagine... Feb 08 18:41:27 * davidw thinks of two phones with little tin-can+string animations Feb 08 18:41:56 :) Feb 08 18:42:05 it could use the location thing to determine when the string is taut Feb 08 18:42:13 zhobbs: do you know if album art is available through jlibid3 ? Feb 08 18:42:34 I don't think so Feb 08 18:42:41 ok... Feb 08 18:42:45 chadkouse, you run linux? Feb 08 18:42:48 * chadkouse is used to working on the iPhone Feb 08 18:42:51 zhobbs: mac Feb 08 18:42:58 so.. kinda Feb 08 18:43:02 ahh...Amarok is a greak mp3 player for linux Feb 08 18:43:19 fetches album art, and I was thinking a plugin for your site would be really handy Feb 08 18:43:42 has a pretty decent plugin architecture Feb 08 18:44:24 * morrildl wishes he could run Amarok on his Mac Feb 08 18:44:34 Amarok is fabulous, better than iTunes IMO Feb 08 18:45:16 yeah... Feb 08 18:45:25 where does it get the artwork from? I was thinking Amazson Feb 08 18:45:27 Amazon Feb 08 18:45:35 yea Feb 08 18:45:44 amazon Feb 08 18:45:45 oh I've done that before.. that's what I was going to do with this Player Feb 08 18:46:23 there used to be some weird licensing things where it's have to refetch it every 30 days...but seems like it doesn't do that anymore Feb 08 18:47:00 yeah I was reading about it a few months back and it's like they are fine with it now :) Feb 08 18:47:11 I'm going to do it Feb 08 18:47:40 morrildl, might be possible to get amarok eventually... http://techbase.kde.org/index.php?title=Projects/KDE_on_Mac_OS_X Feb 08 18:48:00 coool Feb 08 18:49:35 davidw: nah didnt leave, they "laid me off" :( Feb 08 18:49:45 doh:-( sorry to hear it Feb 08 18:51:04 time to start your own thing:-) Feb 08 19:00:55 sweet...sent an xmpp thing with hecl Feb 08 19:01:03 nice Feb 08 19:03:02 now... how to receive them... that's the tricky part I guess Feb 08 19:06:22 put a observer on Im.Messages content provider Feb 08 19:07:57 it would be nice to actually be able to install this stuff on a device Feb 08 19:09:35 yeah, i worry about using fonts that are too small Feb 08 19:09:41 :-) Feb 08 19:09:51 with my application i am worried about battery life and stuff like that Feb 08 19:09:58 how efficient it is Feb 08 19:10:09 yeah, i worry about speed too Feb 08 19:10:28 my looks for requests coming from an application server Feb 08 19:11:02 data requests that is Feb 08 19:11:39 kind of like receiving messages but in a different sense Feb 08 19:12:02 polling Feb 08 19:13:02 i can see where that might get expensive if done alot - but the phones are doing it pretty much constantly as it is Feb 08 19:13:26 it'll be cool when the first round of the challenge is over Feb 08 19:13:33 i am going to make all my code open source Feb 08 19:14:15 cool i have album art now :) Feb 08 19:14:37 chadkouse, damn...making quick progress Feb 08 19:14:52 heh.. yeah I even tinted it down so it sits behind the text on the screen nicely... Feb 08 19:15:00 remember, MusicDroid is GPL :) Feb 08 19:15:32 what does that mean ? Feb 08 19:15:33 actually, I should have included the license with the source... Feb 08 19:15:43 I thought projects built off of GPL projects could still be closed source Feb 08 19:15:56 not if they are public Feb 08 19:15:59 yes, but you have to make the MusicDroid stuff available Feb 08 19:16:17 no, they can with apache or bsd, but GPL must stay open Feb 08 19:16:25 gpl == "copyleft" Feb 08 19:16:36 guess I'll have to rewrite the audio player toot hen Feb 08 19:16:37 then Feb 08 19:16:44 :) Feb 08 19:16:51 why not just make the code open source? Feb 08 19:16:57 GPL is open source Feb 08 19:17:02 ugh Feb 08 19:17:10 just can't... hard to explain... Feb 08 19:17:16 licensing discussions are boring... go read up on it on wikipedia or something:-) Feb 08 19:17:16 that sucks Feb 08 19:17:32 yeah I know Feb 08 19:17:43 but our investors would have be hanged ;) Feb 08 19:17:50 s/be/me Feb 08 19:17:56 ahh, investors. figures Feb 08 19:18:07 i hate investors Feb 08 19:18:18 but love their money Feb 08 19:18:25 not even that Feb 08 19:18:53 they don't care about the software, just about making a return Feb 08 19:19:02 can't sell the cow if you get the milk for free Feb 08 19:19:04 damn investors allowing people to do innovating things that require capital... Feb 08 19:19:27 and then go ahead and lock it up Feb 08 19:20:17 is setVisibility on a view broken ? Feb 08 19:20:38 or maybe just broken when used with a Theme ? Feb 08 20:10:26 looks like I'm unable to use Amazon ECS webservices from within Android :( Feb 08 20:13:10 you want to use Amazon as a big disk for your mobile phone?:-) Feb 08 20:14:02 haha Feb 08 20:22:41 chadkouse, you might want to try to change the http useragent Feb 08 20:23:00 some websites block java* Feb 08 20:23:11 it wasn't even building Feb 08 20:23:16 but I'm already on to a workaround Feb 08 20:30:38 I gotta figure out a tab completion hack for sh on the terminal Feb 08 20:36:52 is there an easy way to download a file from the web using android ? Feb 08 20:37:19 binary or text? Feb 08 20:37:24 binar Feb 08 20:37:45 http://davanum.wordpress.com/2007/12/29/android-videomusic-player-sample-from-local-disk-as-well-as-remote-urls/ Feb 08 20:37:56 that saves the file Feb 08 20:40:11 cool Feb 08 20:40:28 damn I've been to that site 3 times now and just didn't read Feb 08 20:40:50 yeah, dims has lots of good stuff up there Feb 08 20:41:32 too bad he got a real job or else it probably would keep coming :) Feb 08 20:43:27 hehe Feb 08 20:48:04 dims: you going to submit anything for the ADC? Feb 08 20:49:05 zhobbs: hey it worked ;) Feb 08 20:49:54 nice Feb 08 20:50:42 does File.createTempFile not allow you to rename the file and keep it later ? Feb 08 20:50:46 I want to keep these files. Feb 08 20:51:47 Then use context.OpenFileInput I think Feb 08 20:58:50 just File.createNewFile() Feb 08 20:59:24 yeah, but you don't want to use an absolute path...you want to let your Context object figure out where your storage location is Feb 08 20:59:37 unless you're working on the /sdcard I guess Feb 08 21:00:13 yeah sd card. Feb 08 21:00:34 then you can probably use an absolute path Feb 08 21:01:36 zhobbs: i don't think so. Feb 08 21:01:57 yeah, it's a lot of time to put in Feb 08 21:02:19 yep! Feb 08 21:03:56 hmmm.... Feb 08 21:04:30 ImageView.setImageURI doesn't seem to like URI's with spaces in them. Feb 08 21:05:36 hmm, wonder if there is a special character for spaces (like %20 in http querystrings) Feb 08 21:07:10 yeah maybe... Feb 08 21:07:12 or + Feb 08 21:16:07 albumArt.setImageBitmap(BitmapFactory.decode(currAlbumArtPath)); Feb 08 21:16:11 worked better than Feb 08 21:16:27 albumArt.setImageURI(new ContentURI(currAlbumArtPath)); Feb 08 21:31:28 zhobbs: i'm having a problem with MP3File -- only seems to be able to get info for the 1st song on my card Feb 08 21:31:58 ever experience it ? Feb 08 21:32:31 nope, sorry Feb 08 21:32:49 worked with all the mp3's I stuck on there.. Feb 08 21:32:52 well I'm wrong actually. Feb 08 21:33:10 i removed the one it was working for, and now it just doesn't work for any of t hem.. but these songs all have ID3 tags.. hmm. Feb 08 21:33:34 on the playlist? Feb 08 21:33:53 yeah Feb 08 21:34:00 no.. on the playlist you don't see them either Feb 08 21:34:01 sorry Feb 08 21:34:09 they have id3 tags on my computer though Feb 08 21:34:11 I can see that. Feb 08 21:34:23 also once you start playing is there no way to get back to the song list currently ? Feb 08 21:34:42 you can hit the back button Feb 08 21:35:02 ahah.. ok.. Feb 08 21:35:09 might be an issue with the ide3 version...I think it just checks for v1 tags Feb 08 21:35:18 could be wrong though Feb 08 21:37:18 hmm ok Feb 08 21:39:46 chadkouse: you need to publish a webservice/framework so people can whip up plugins for different music players, etc Feb 08 21:40:31 dims, how *did* you find that provider.Im thing - just decompiling the code? Feb 08 21:40:57 zhobbs: yeah I could see that.... Feb 08 21:41:02 I'll see what the team thinks Feb 08 22:04:29 zhobbs: did you not build in support for ID3v2 tags because it's so much harder ;) Feb 08 22:05:36 or is jid3lib just not good at it? I'm getting nothing. Feb 08 22:08:43 I didn't really research it very much Feb 08 22:09:01 I was hoping that using v1 would work for v2 tags, not sure if they're backwords compatible or not Feb 08 22:09:58 zhobbs: v1 and v2 tags are very different Feb 08 22:10:09 v1 tags are located at the top of the mp3 file and have fixed lengths Feb 08 22:10:23 v2 tags are placed at the end of the file Feb 08 22:12:09 good to know Feb 08 22:13:41 romainguy: Feb 08 22:13:53 yeah but I'd expect jid3lib to just "work" when I ask for the song title. Feb 08 22:13:57 if it's in any of the tag formats Feb 08 22:14:09 chadkouse: that is another issue :) Feb 08 22:17:18 Does anyone know how to reset the clipRect for a canvas to nothing? Feb 08 22:17:29 Is the only way to do it to call save() and restore()? Feb 08 22:17:33 why would you want to do that? Feb 08 22:17:54 Well one component draws to the canvas, and wants to use a certain clip Feb 08 22:18:03 another component might want to use the whole canvas Feb 08 22:18:17 does clipRect(null) do it? Feb 08 22:18:25 or will that give me an NPE? Feb 08 22:22:31 you could clipRect the whole thing Feb 08 22:22:53 jerkface03: don't call clipRect(null) Feb 08 22:23:00 you can do what zhobbs suggests Feb 08 22:23:41 but it's a bad behavior Feb 08 22:23:47 how so? Feb 08 22:23:58 if your component needs to draw over the whole canvas, give it the appropriate dimension Feb 08 22:24:16 seems like you would need a way to change clip to whole canvas some times Feb 08 22:24:27 well Feb 08 22:24:45 clipRect()ing the whole thing would work, and save() and restore() would work also, right? Feb 08 22:28:59 what's the point of an xmpp intentreceiver if it's all done through cursors?:-/ Feb 08 22:40:16 davidw: will an observed curser wake up your app? Feb 08 22:40:33 no idea Feb 08 22:40:53 you mean someone using foul language ? Feb 08 22:40:55 cause the receiver can open your app up if it's not running Feb 08 22:40:56 ;) Feb 08 22:42:36 hehe, took me a while Feb 08 22:53:59 hehe Feb 08 22:54:16 just found a forum post of people saying jid3lib is broken when it comes to iTunes id3v2.2 tags Feb 08 22:54:36 but also a (very simple) patch that I applied to the source and it worked Feb 08 22:56:48 http://sourceforge.net/forum/message.php?msg_id=4336630 Feb 08 22:56:53 if anyone is interested Feb 08 22:57:28 works like a f'ing charm! Feb 08 23:10:02 zhobbs: found another bug for your code... not really a bug.. but kind of ;) Feb 08 23:14:05 zhobbs: http://pastebin.com/m3d7b2d4a Feb 08 23:26:36 mmmm doesn't even seem possible to receive xmpp messages with an intentreceiver Feb 08 23:37:53 wow Feb 08 23:46:21 ahh, finally get to do some android dev this week Feb 09 00:36:05 someone here knows a cross platform widget lib that supports igoogle, facebook etc.? Feb 09 00:44:42 is it possible for the android eclipse plugin to operate on something that's outside of the workspace? for example can I put my res folder and src folder in a folder that isn't apart of the sclipse workspace and still be able to use the eclipse plugin? Feb 09 01:05:26 jerkface03: why don't you want to put them in the workspace? Feb 09 01:29:18 no reason in particular Feb 09 01:29:30 i just have a seperate svn repo for all my test code Feb 09 01:29:36 and its all already checked out in 1 folder Feb 09 01:40:55 lol nice, it imported properly Feb 09 01:41:08 but it wont run in the emulator yet Feb 09 01:43:20 k sweet Feb 09 01:43:22 it works now **** ENDING LOGGING AT Sat Feb 09 02:59:57 2008