**** BEGIN LOGGING AT Wed Feb 06 02:59:57 2008 Feb 06 08:35:10 mornin Feb 06 09:44:19 romainguy, I can't disable buttons - is that a known thing? Feb 06 13:10:40 I guess it is chinese new year Feb 06 13:10:42 gah, ww Feb 06 14:17:17 hello, could someone help me clarify the difference between Bundle and shared preference use? Am I right in saying that Bundles should always be used when passing values to an activity, whereas shared preferences should be used for values shared throughout the application; not just for one activity in particular? Feb 06 14:17:47 I ask because the Demo in the Demo apps with android does not make a clear distinction in implementation. Feb 06 14:20:45 It demonstrates the passing of a value to a sub activity through the use of shared prefs rather than the bundle Feb 06 14:22:50 My understanding is that shared preferences are used for persistence whereas the bundle is used for passing values to an activity. hadn't seen that demo. Feb 06 14:23:55 The one for redirection Feb 06 14:24:01 uses the shared prefs Feb 06 14:24:19 but there is none that create a new bundle and then put a mappable value in it Feb 06 14:28:23 the only demo that i remember seeing use a bundle was in the onFreeze in order to reset when the onResume occurs. Feb 06 14:28:54 yeah, thats pretty activity specific as well Feb 06 15:56:31 Has anyone been using any good tools they could recommend developing their android application? Feb 06 16:02:00 chomchom, the sdk? Feb 06 16:02:06 eclipse plugin? Feb 06 16:02:12 netbeans plugin? Feb 06 16:04:01 yeah these are all good, theres also an intelliJ plugin Feb 06 16:04:26 but I mean like in your every day work environment, if there is anything else you find quite handy Feb 06 16:04:41 just curious, making conversation Feb 06 16:05:00 i understand Feb 06 16:05:28 I use SQLite Database Browser to verify the data in the SQLite DB. Thats quite handy Feb 06 16:05:42 yap, good idea Feb 06 16:06:20 Also I use the a library called sqlitejdbc to run unit test against the created DB entries Feb 06 16:06:37 also handy Feb 06 16:08:02 have you got any extra little tools you use? Feb 06 17:35:13 are javadocs available for android java APIs? Feb 06 17:39:51 mike1o, apparently the docs are javadocs Feb 06 17:39:58 just munged in terms of the template/formatting Feb 06 17:40:32 I know but I I wanted something that would be compatible with eclipse... Feb 06 17:40:39 Fun Android Fact: all contents on http://code.google.com/android except for the package/class reference are actually generated by a doclet Feb 06 17:40:51 mike1o: what's missing? Feb 06 17:41:08 I can link that online docs to eclipse? Feb 06 17:41:28 The plugin should handle it Feb 06 17:41:37 is there a class that is missing JavaDocs? Feb 06 17:42:00 no I didn't mean to say that :) Feb 06 17:44:03 using android_sdk_linux_m3-rc37a/docs/reference as javadocs won't show me the documentation when I hover over android methods of classes :9 Feb 06 17:44:41 mike1o, works for me Feb 06 17:44:52 mike1o, I didn't have to do anything...I guess the plugin did it for me Feb 06 17:44:53 morrildl, yeah: android.telephony.Phone :-> Feb 06 17:44:57 then I probably need to set some stuff up Feb 06 17:45:38 mike1o: well, no, you shouldn't have to if you are using our Eclipse plugin Feb 06 17:45:49 davidw: indeed :) Feb 06 17:45:59 oh yeah.. morrildl it doesn't work just for some methods... Feb 06 17:47:00 morrildl, actually, all I care about is getting the number of the current (outgoing in this case) call, hopefully that will be addressed at some point Feb 06 17:47:29 nope actually it doesn't work only for my classes ... oops... sorry guys... I need to drink more coffee Feb 06 17:47:41 davidw: you mean android.telephony.IPhone ? Feb 06 17:49:24 no docs for android.app.IActivityManager Feb 06 17:49:31 morrildl, no, I'm interested in the other stuff like Phone, PhoneFactory, GSMPhone, Connection, or whatever else it takes to get the current call information Feb 06 17:50:01 I actually managed to get makeDefaultPhones() working by killing the phone app, but that's pretty useless for real apps Feb 06 17:50:37 and actually that's not a pressing need... my client understands that it's not supported right at the moment Feb 06 17:51:32 davidw: er, you can kill the phone app? Feb 06 17:51:37 from code, or from adb/ddms? Feb 06 17:52:09 from adb shell, don't worry:-) Feb 06 17:52:12 * morrildl is looking at the list of docs that changed Feb 06 17:52:15 davidw: phew :) Feb 06 17:52:30 There is a PhoneStateIntentReceiver Feb 06 17:52:36 morrildl, know offhand what restarts the phone app? Feb 06 17:52:52 davidw: not sure, it should be restarted by the system watchdog Feb 06 17:52:58 that got me curious too, although it's not really relevant to what I'm doing Feb 06 17:53:16 Phone and Home are the only 2 "special" processes that the system won't kill and tries to keep running Feb 06 17:53:20 morrildl, actually Im.Contacts doesn't have any javadocs says here Feb 06 17:53:34 morrildl, you know if streaming video will be included in the next sdk? Feb 06 17:53:52 zhobbs: in what form? you mean in the MediaPlayer stuff? Feb 06 17:53:57 yeah Feb 06 17:54:15 morrildl, I guess cause it's only a content provider and not really a class/interface etc. Feb 06 17:54:16 not sure Feb 06 17:54:26 that's harder to tell from an API delta report :) Feb 06 17:54:44 mike1o: probably Feb 06 17:55:52 wow, this sucks...someone copied the calendar event reminder and made it into a spam template:-( Feb 06 17:55:53 so the telephony stuff changed Feb 06 17:56:00 there's some GSM stuff in there now Feb 06 17:56:07 davidw: where? Feb 06 17:56:18 morrildl, google calendar, not the phone stuff Feb 06 17:56:29 do you mean in the Group? Feb 06 17:56:45 oh wiat, you mean someone's spamming your calendar? Feb 06 17:57:32 someone sent me an email that looks exactly like a calendar event message... I did report phishing, hopefully those get investigated Feb 06 17:58:09 it was a good enough fake that it took me a few seconds to figure out what was going on Feb 06 17:59:12 anyway...irrelevant, it just surprised me... Feb 06 18:00:04 morrildl, i was wondering Im.Contacts.AVATAR_CONTACT ... what kind of data format is it? Feb 06 18:00:41 davidw: ahh... that's lame Feb 06 18:00:46 definitely report it Feb 06 18:00:51 mike1o: not sure Feb 06 18:01:47 mike1o: actually I am not even sure which class you're referring to Feb 06 18:02:06 morrildl, it's a content provider Feb 06 18:02:27 actually it's a srting constant containing an uri Feb 06 18:02:31 introspection is cool Feb 06 18:02:34 Contacts is, yes Feb 06 18:02:55 What do you mean by Im.Contacts? Feb 06 18:04:03 sure... Feb 06 18:04:13 Im.Contacts.AVATAR_CONTACT Feb 06 18:05:20 could be Im.Avatars.CONTENT_URI also... Feb 06 18:07:34 mike1o: what is "Im"? Feb 06 18:07:52 instant messenger ? Feb 06 18:08:00 for xmpp right? Feb 06 18:08:05 yup Feb 06 18:08:11 what is the full package name? Feb 06 18:08:38 Im.Contacts.AVATAR_CONTACT ? Feb 06 18:08:45 Im.Contacts Feb 06 18:08:55 or Im.Avatars Feb 06 18:10:20 actually I was trying to load Im.Avatars.DATA in to an imageview... but that didn't work out too well... I think I might have to write an adapter Feb 06 18:11:34 mike1o: that isn't a package name though Feb 06 18:11:44 I don't know what class you're talking about Feb 06 18:13:12 it's probably not a class but a content URI... don't tell I have to read the xmpp specifications :( Feb 06 18:13:36 well, I mean that as far as I can tell, that class doesn't even exist :) Feb 06 18:13:49 where are you seeing it? Feb 06 18:17:11 in eclipse I type "Im" and then I press ctrl-space and I get a list of stuff... Feb 06 18:17:32 oops... Feb 06 18:17:45 it's android.provider.Im Feb 06 18:17:47 actually Feb 06 18:17:59 my mistake Feb 06 18:25:35 but it's weird cause it doesn't appear in here http://code.google.com/android/reference/android/provider/package-summary.html Feb 06 18:31:07 ahh Feb 06 18:31:15 If it's not in the reference docs, it doesn't exist Feb 06 18:31:24 That is, it's an internal system class Feb 06 18:41:11 morrildl, so how am I supposed to find get info about it? Feb 06 18:42:19 mike1o: you aren't :) Feb 06 18:42:22 you aren't supposed to use it Feb 06 18:42:28 It's not a public supported API Feb 06 18:42:35 oops :) Feb 06 18:42:48 If a class has "poor" JavaDocs, that means it's just poor docs Feb 06 18:43:09 If a class has no JavaDocs at all that means it's non-public/unsupported Feb 06 18:43:40 We are working on a way to strip those classes from android.jar so they don't appear in Eclipse either Feb 06 18:45:52 mike1o, google for dexdump :-) Feb 06 18:46:19 Did you mean: hexdump ? Feb 06 18:46:31 no Feb 06 18:47:02 ok :-) Feb 06 18:47:14 you can also use javap to get at the stuff in android.jar and see what things look like, although of course it's all unsupported and might change Feb 06 18:47:35 but it's fun if you like to poke and prod at things and see what they do Feb 06 18:49:40 wife says it's time to fix dinner....later:-) Feb 06 18:50:25 tnx davidw Feb 06 18:51:08 this is like reverse engineering Feb 06 18:52:59 more like forensic pathology :) Feb 06 18:54:55 actually, nevermind. wrong channel. Feb 06 18:55:06 again. Feb 06 18:59:46 mike1o, yeah... so don't depend on it, it's just for fun Feb 06 20:19:36 nah, too markety-sounding Feb 06 20:19:46 better Feb 06 20:21:13 howdy Feb 06 20:22:47 ::looks empty:: Feb 06 20:24:00 howdy Feb 06 20:24:10 hey Feb 06 20:24:28 i am curious about media streaming on android? does it exist? Feb 06 20:25:11 more specifically audio Feb 06 20:26:36 I don't think it works very well Feb 06 20:26:40 or at all maybe Feb 06 20:26:52 might be able to get rtsp audio only working Feb 06 20:28:21 interesting...its only an added feature, not an absolute must luckily Feb 06 20:29:41 whens the deadline for the challenge first round Feb 06 20:30:36 apr 14 Feb 06 20:30:48 good stuff Feb 06 20:35:11 morridl: whens the signup page for the Boston event going to be available? Feb 06 20:35:55 jasonlee: that's an excellent question Feb 06 20:36:12 unfortunately Azhar is out of the office until tomorrow, and only she has the answer :) Feb 06 20:36:56 morrildl: but it's for sure on the 23rd right, no chance of it changing.. Feb 06 20:37:46 jasonlee: Yup! Feb 06 20:38:43 cool, i'll go ahead and buy my plane tickets then Feb 06 20:39:14 morrildl: oh, and btw, i emailed you a picture of us in front of the cylon from the campfire, hope you got it. Feb 06 20:41:52 wha? that sounds entertaining Feb 06 20:43:45 yeah, the campfire was cool, i hope they do it again.. Feb 06 20:45:03 there was a cylon at the campfire? Feb 06 20:46:23 yep: http://jasonhudgins.blogspot.com/2008/01/android-campfire.html Feb 06 20:46:47 i'm the fat dude on the right =) Feb 06 20:47:07 "a simulated campfire" ? sounds californian;-) Feb 06 20:48:05 it was some backlit colored fabric that was being blown around by a fan or something..i didn't look at it too closely Feb 06 20:48:08 haha Feb 06 20:49:04 jasonlee, so what are you working on that you're completely open about? Feb 06 20:49:46 I'm working on an app that tells you what your standing next to Feb 06 20:49:58 jasonlee, ? Feb 06 20:50:08 *what* you're standing next to? Feb 06 20:50:11 not who? Feb 06 20:50:16 yep.. Feb 06 20:50:17 how so? Feb 06 20:50:24 i hope i know what i'm standing next to Feb 06 20:50:37 yea Feb 06 20:50:45 talk about really not having to think at all Feb 06 20:51:14 * davidw thinks of the blind guys and the elephant... Feb 06 20:51:14 haha, i love saying it like that, but more specifically, it references web resources, so if your standing next to a statue of an important figure, it will open up the wikipedia page (or any arbitrary web page) about that person.. Feb 06 20:51:32 geographic relevance if you will Feb 06 20:51:40 thats a big database! Feb 06 20:51:44 jasonlee, that's pretty cool... I had thought about that myself... get the location coordinates, and fetch the relevant wikipedia page Feb 06 20:52:17 yeah, we bootstrapped our service with wikipedia, but the app (which i'm going to give out for free) will let anyone make their own geo-bookmarks Feb 06 20:52:28 thus the database drows on itself, noway i could put all that data in myself.. Feb 06 20:52:36 true Feb 06 20:53:01 nobody has come out and told me it was a dumb idea yet Feb 06 20:53:18 it's not Feb 06 20:53:32 (well, since I had it too, I tend to think not;-) Feb 06 20:54:21 the app is almost finished, but now that they extended the deadline, i'm thinking about doing another one for the contest.. Feb 06 20:54:26 morrildl, romainguy: setEnabled(false) with buttons doesn't seem to... "work" - I looked in the bug list, but didn't see anything. Is it a known issue? Feb 06 21:09:24 davidw: yeah that's known and long-fixed Feb 06 21:09:38 It probably isn't in the external tracker Feb 06 21:13:50 ah ok, cool Feb 06 21:13:53 I figured as much Feb 06 21:28:29 are ImageViews focusable? Feb 06 21:32:59 hmmm, I probably have to create a custom imagebutton view Feb 06 21:41:59 hmmm...actually might be able to control how a selected image looks via a theme... Feb 06 23:46:31 Hello everyone. Feb 06 23:47:12 hello Feb 06 23:53:48 how are you doing today zhobbs? Feb 06 23:54:19 I have a question about bluetooth in Android if anyone here knows about that... Feb 07 00:45:51 hello Feb 07 00:46:34 saw halfshell and zhobbs greeting so thought I'd join in Feb 07 00:46:52 we should make a habit of it. Makes things a little more friendly Feb 07 00:53:49 chomchom: long day isn't it? weren't you on early this am? Feb 07 00:53:55 or maybe that was yesterday Feb 07 00:54:01 it's a just a blur. Feb 07 00:54:05 a=all Feb 07 01:01:19 yup Feb 07 01:01:33 I'm hard coring it man Feb 07 01:01:56 I'd like to get through to the second round of the competition Feb 07 01:02:08 how is your application coming along? Feb 07 01:02:25 for you to know that I was up, that must mean you were also up! Feb 07 01:09:49 i should start Feb 07 01:10:59 you should start? Feb 07 01:11:19 my project Feb 07 01:11:48 oh yeah you should definetly start Feb 07 01:11:50 no duey. take a few more weeks off. Feb 07 01:11:52 :-D Feb 07 01:11:54 right now Feb 07 01:11:59 good idea Feb 07 01:12:01 right in april. Feb 07 01:12:11 uni starts soon Feb 07 01:12:14 they will make me do it then Feb 07 01:12:24 yeah? in uni?! Feb 07 01:12:30 yeah its my honours project Feb 07 01:12:31 wow that would be great Feb 07 01:12:37 chomchom: my app is coming along good. I'm just sitting here wishing there were actually people with handsets that could use it. :-( Feb 07 01:12:40 you lucky duck Feb 07 01:12:57 i should get a decent prototype in 1.5 months Feb 07 01:13:02 have you shown it to anyone yet skicson? Feb 07 01:13:15 just friends and family so far Feb 07 01:13:24 secrets are secret Feb 07 01:13:31 Whats the feed back so far? Feb 07 01:13:48 "Why can't I have it on my phone" Feb 07 01:13:48 well everyone i talked to about my idea is "holy shit thats awesome" Feb 07 01:14:19 ! well you guys must have some jaw dropping stuff! Feb 07 01:14:28 dre Feb 07 01:14:32 will be if it works Feb 07 01:14:33 lol Feb 07 01:14:42 complex ideas have complex problems Feb 07 01:14:53 400mhz of problems Feb 07 01:14:59 I'm really looking forward to the big flood of all these applications Feb 07 01:15:52 I'm not really into keeping everything secret I prefer just to share and share alike. For the amount of effort it takes in the actual implementaion people don't have time to steal! Feb 07 01:16:14 i dont like releasing unfinished things Feb 07 01:16:19 yah, i'm interested to see what other people have come up with. Feb 07 01:17:14 Are you guys going to release it before the entry date? Feb 07 01:17:28 unlikely Feb 07 01:17:33 yah probably Feb 07 01:17:39 ultimately i would prefer it to be released when its perfect Feb 07 01:17:51 or at least usable Feb 07 01:18:00 you should try and get something out even if its rough for the sake of usability/bug testing Feb 07 01:18:06 yeah Feb 07 01:18:22 by that time theres no way anyone could steal anything in time! Feb 07 01:18:36 yeah but secrets are fun Feb 07 01:20:18 ultimately i have to finish it to get honours Feb 07 01:21:19 well thats ideal Feb 07 01:21:55 may as well make it a fully commercially viable application. That way you've produced software in your study time that can produce a small income Feb 07 01:22:11 well if i release it, it will be open source Feb 07 01:22:16 or at least establish enough kudos to guarantee you a position somehwere Feb 07 01:22:24 yeah its more for kudos Feb 07 01:23:03 income can be gained from open software it is just gained through bespoke services Feb 07 01:23:28 not interested in generating income off the project Feb 07 01:23:40 I have a job :o) Feb 07 01:24:35 well a job is only secure as the next paycheck. A product is an asset Feb 07 01:25:27 i guess Feb 07 01:40:38 has anyone ever seen this error before? Feb 07 01:40:41 E/AndroidRuntime(650): Caused by: java.lang.RuntimeException: view android.widget.TextView@4004a358 being added, but it already has a parent Feb 07 01:41:16 It happens when I try to add another Text view to something with a text view Feb 07 01:41:55 chomchom: Where does the TextView you're trying to add come from? Feb 07 01:42:28 It seems the TextView is already part of the View hierarchy and you're trying to add it to ViewGroup that's not its current one Feb 07 01:42:52 ah right Feb 07 01:43:04 does that mean it is in the wrong activity? Feb 07 01:43:15 Not necessarily Feb 07 01:43:20 It just means the TextView already has a parent Feb 07 01:46:45 ah Feb 07 01:46:49 I get it now Feb 07 01:47:16 :) Feb 07 01:47:52 It was because I was trying to source the textview from an xml file and then programatically assign it to a collection. But I couldn't jus lift it out the xml and then reassign it to a different ViewGroup Feb 07 01:47:56 thanks Feb 07 01:48:07 Actually you can do that Feb 07 01:48:22 but when you use the inflater you should just not pass a parent ViewGroup to the inflate() method Feb 07 01:48:55 so what should you pass? Feb 07 01:49:27 null Feb 07 01:49:34 ah Feb 07 01:49:45 right yeah that'll work Feb 07 02:05:32 Has anyone attempted to make their own skin for the android emulator? Feb 07 02:19:28 night guys, thx for the help **** ENDING LOGGING AT Thu Feb 07 02:59:57 2008