IRC log for #android on 20080317

00:03.26*** join/#android rch850 (n=rch850@c220090.ppp.asahi-net.or.jp)
00:20.18*** join/#android Gambit- (n=god@unaffiliated/gambit-)
00:56.36*** join/#android ApplePedlar (n=ApplePed@58x158x182x50.ap58.ftth.ucom.ne.jp)
00:58.41*** join/#android illustir (n=alper@s55912056.adsl.wanadoo.nl)
01:12.35*** join/#android chomchom (n=chomchom@78.32.95.81)
01:22.44*** join/#android illustir (n=alper@s55912056.adsl.wanadoo.nl)
01:40.49*** join/#android cybereagle (n=cybereag@unaffiliated/cybereagle)
02:07.29*** join/#android chomchom (n=chomchom@78.32.95.81)
02:18.39*** join/#android jtoy (n=jtoy@125.31.234.200)
02:44.42chomchomI've got a feature request that might not have been considered. but has bugged me quite a few times
02:44.48chomchomIn the error log of the DDMS
02:45.09chomchomit stretches to the end of the window that holds it
02:46.06*** join/#android romainguy_ (n=gfx@adsl-76-229-89-157.dsl.pltn13.sbcglobal.net)
02:46.27chomchomif the log is any wider you have to drag it a little by the top of the column and then move the slider at the bottom and then drag it at the top of the column header and then drag the slider
02:46.47chomchomThis may only be a mac thing as I haven't been using windows
02:48.02*** join/#android romainguy__ (n=gfx@adsl-75-55-212-70.dsl.pltn13.sbcglobal.net)
02:48.17chomchomBut with SQL queries this is a real nuisance. I don't know if there is anything the google developers could do about it as it may be down to eclipse RCP nuances but I thought it was worth pointing out
02:54.17*** join/#android matt_c (n=mcroydon@conference/pycon/x-79d7f89eebfb8db6)
02:56.22*** join/#android rch850 (n=rch850@c220090.ppp.asahi-net.or.jp)
02:57.13*** join/#android matt_c (n=mcroydon@conference/pycon/x-072f473a36d8860d)
02:57.14*** join/#android rch850 (n=rch850@c220090.ppp.asahi-net.or.jp)
02:59.26*** join/#android QuaintRcky (n=user@pool-71-116-69-124.snfcca.dsl-w.verizon.net)
03:27.12*** join/#android tmcneal (n=asdf@pool-151-199-245-93.phil.east.verizon.net)
03:33.24*** join/#android TimRiker (n=timr@rikers.org)
03:50.28*** join/#android romainguy (n=gfx@adsl-75-55-212-70.dsl.pltn13.sbcglobal.net)
04:00.04*** part/#android QuaintRcky (n=user@pool-71-116-69-124.snfcca.dsl-w.verizon.net)
04:31.21*** join/#android muthu (n=sara@59.92.89.234)
04:58.50*** join/#android pandora-- (n=pandora-@cpe-76-172-208-63.socal.res.rr.com)
05:08.56*** join/#android Yeggstry (n=mind@cpc1-rdng14-0-0-cust946.winn.cable.ntl.com)
05:25.59*** join/#android duey (n=Nick@203.96.223.40)
05:48.07*** join/#android romainguy_ (n=gfx@adsl-75-55-212-70.dsl.pltn13.sbcglobal.net)
05:53.11*** join/#android bruno_____ (n=bruno___@200-141-134-28.user.neoline.com.br)
05:53.22*** join/#android pandora-- (n=pandora-@cpe-76-172-208-63.socal.res.rr.com)
05:54.49*** join/#android eton (n=eton@ppp-58-8-3-249.revip2.asianet.co.th) [NETSPLIT VICTIM]
05:55.20bruno_____Hi, anybody here know how change the MapView position?
05:55.40bruno_____I am using     addContentView(myMapView, new LayoutParams(50,50,100,100))
05:55.46*** join/#android rangen (i=rangen@keskuskomitea.org) [NETSPLIT VICTIM]
05:55.50*** join/#android visit0r (i=visit0r@movietron.fi) [NETSPLIT VICTIM]
05:56.25bruno_____it just set the heigth and width, but the X and Y are not changed
05:58.00*** join/#android edcba (i=edcba@nor75-17-82-67-199-204.fbx.proxad.net) [NETSPLIT VICTIM]
06:00.46*** join/#android Marv|LG (n=Marv|TF@ip70-190-12-40.ph.ph.cox.net) [NETSPLIT VICTIM]
06:06.06*** join/#android bruno_____ (n=bruno___@200-141-134-28.user.neoline.com.br)
06:06.13bruno_____Hi
06:06.36*** join/#android molkko (n=molkko__@a88-115-166-231.elisa-laajakaista.fi) [NETSPLIT VICTIM]
06:07.10bruno_____does one here know abou MapView?
06:08.08*** join/#android kies (n=kies@adsl-76-199-12-71.dsl.chmpil.sbcglobal.net) [NETSPLIT VICTIM]
06:13.01bruno_____is there one awake?
06:13.30jerkface03i am, but i don't have an answer for you
06:14.44bruno_____ok
06:15.27bruno_____I guess that problem can be a android bug
06:15.30Gambit-hm, have you guys used the eclipse plugin to load programs into the emulator?
06:15.38jerkface03yep
06:15.45bruno_____cause I am using the right method
06:15.46Gambit-without rebooting the emulator each time?
06:15.50jerkface03yep
06:16.03jerkface03just keep the emulator running and hit the run button button in eclipse again
06:16.11jerkface03it took me a while to figure that out
06:16.16Gambit-How about debugging and stepping through the code?
06:16.20jerkface03same step
06:16.23jerkface03keep it running
06:16.26jerkface03hit the debug run button
06:16.29Gambit-yeah, half my problem is that I'm totally unfamiliar with eclipse as an editor.
06:16.30Gambit-okay, then I must be doing something wrong.  I'll have to investigate it later.
06:17.00Gambit-just as long as I know it's possible :)
06:17.06Gambit-what kind of project are you working on, jerkface03?
06:17.17jerkface03networked twitch gaming stuff
06:17.20jerkface03u?
06:17.28Gambit-security and crypto stuff.
06:17.34jerkface03nice
06:17.37Gambit-hopefully
06:17.49Gambit-mostly just exploratory meddling at the moment, naturally.
06:19.24Gambit-what kind of network protocols are you using?
06:19.34Gambit-I assume there's a full tcp/udp stack available?
06:19.51jerkface03mostly udp
06:19.57jerkface03it's for a class project
06:20.11Gambit-ahh homework, how fun
06:20.40Gambit-how are you planning on finding other people to play with?
06:21.15jerkface03well, im planning on having a central server somewhere
06:21.16jerkface03but
06:21.25jerkface03just like you, right now im just doing some exploratory meddling
06:21.45Gambit-how far in have you gotten?
06:22.22jerkface03pretty far, all the core modules have been written up and tested somewhat
06:27.32Gambit-and how has the android api stood up to actual use?
06:27.50jerkface03it's pretty alright
06:27.58Gambit-not too many major problems/
06:28.00jerkface03there are still a few things that haven't been implemented
06:28.05jerkface03like the bluetooth stuff
06:28.21Gambit-are you able to emulate sms messages and stuff?
06:28.28jerkface03but no, no major problems. i've only noticed one major bug so far, which will probably be fixed in the next release
06:28.35Gambit-what was ti?
06:28.49jerkface03and if you bug romainguy enough he'll implement missing features for the next release
06:28.54jerkface03as in my case with nio
06:29.01jerkface03Gambit-: mediaplayer problems
06:29.18jerkface03Gambit-: haven't played much with sms on android yet, so i wouldn't know
06:29.38Gambit-hm, ok
06:29.58Gambit-I seem to remember seeing that there wasn't any way of faking phone calls or other connectivity related stuff in the emulator yet.
06:30.19Gambit-does it bridge the emulator internal interface to your external network interface?
06:31.13jerkface03http://code.google.com/android/reference/emulator.html
06:31.28jerkface03check out the telephony emulation section
06:32.01Gambit-what, third and forth paragraphs?
06:32.27jerkface03what?
06:32.28jerkface03http://code.google.com/android/reference/emulator.html#telephony
06:32.38jerkface03you can simulate sms/calling
06:32.43jerkface03it tells you how
06:32.50Gambit-ooh, missed that section when I was skimming.
06:33.20Gambit-haha that's funny
06:33.46jerkface03what's so funny about it?
06:34.02Gambit-my screen was exactly the right size to not see all the text below the main screen.
06:37.53Gambit-well that should be enough to get me started...
06:38.14jerkface03you better get busy if you're hoping to make something in time for the challenge
06:38.20jerkface03i think the cut off date is april 14th
06:38.21Gambit-challenge?
06:38.26Gambit-shrugs
06:38.35jerkface03http://code.google.com/android/adc.html
06:39.13Gambit-I doubt anything I'm thinking about would be sufficiently compelling to compete against anyone elses entry.
06:39.31Gambit-plus, I can't commit to the time it'd take to get it to polish level.
06:39.41jerkface03*shrug* you never know
06:40.16Gambit-s'true :)
06:43.11Gambit-anyways, off to bed, ta
07:06.46*** join/#android jeddy3 (n=mattiast@gw.sbg.se)
07:08.17raidfivedoes anyone know if sqlite is the preferred way to store application settings such as a username/password?
07:08.52raidfiveseems to be a bit much to use a database when I'm only storing this information
07:17.20muthuraidfive: what about shared preferences?
07:19.58raidfiveI glanced at that but wasn't sure exactly how it worked or if that was what I was looking for
07:20.04raidfiveknow of a code example using it?
07:21.11muthuyeah sure
07:21.25raidfiveah found the google api demo
07:22.12muthu<PROTECTED>
07:22.12muthu<PROTECTED>
07:22.13muthu<PROTECTED>
07:22.13muthu<PROTECTED>
07:22.13muthu<PROTECTED>
07:22.13muthu<PROTECTED>
07:23.19muthu<PROTECTED>
07:23.19muthu<PROTECTED>
07:23.19muthu<PROTECTED>
07:23.19muthu<PROTECTED>
07:24.07raidfivethis is persistant?
07:24.42*** join/#android pandora-- (n=neil@66.238.50.126.ptr.us.xo.net)
07:30.24muthuyes
07:31.41jastasigh, i'm getting sick now ;)
07:32.53raidfivethanks ... I just got over a cold :/
07:33.28jastathanks?  do you think irc channels are a sufficient medium to transmit viruses and bacteria?
07:34.43raidfivethanks for the code example! :)
07:34.58raidfiveand you never know
07:35.13jastayes, in this case you do know.
07:38.47muthuhey jasta, any luck with media?
07:40.30jastano, there's no luck to be had.
07:40.41jastait's simply an incomplete design, and cannot be made to work right.
07:43.52muthujasta: how to create an mpeg4 video? what's the best tool?
07:44.10muthumy adc partner is hounding me, and i have no idea
07:44.23jastamencoder, of course.
07:44.34jastaor transcode
07:45.07muthucan you do it from quicktime?
07:47.23jastawho knows / doubt it.
07:47.58muthuok
07:48.21jastai'm sure you can find some commercial tools to do this as well, if you're looking to avoid a small bit of reading.
07:49.22muthuyup got an encouraging mail from my partner.. doing the exact same thing
07:49.51muthuhope it works.. i'm getting distracted on this whole video thing and not able to make any real progress with code
07:50.02jastai have avoided the problem for now.
07:50.09jastaonto more interesting things :)
07:50.18muthurock on :)
07:52.48*** join/#android eton_ (n=eton@ppp-58-8-3-249.revip2.asianet.co.th)
07:55.06muthuOSGi on Android? woah - http://www.adon-line.de/kunden/prosystBlog/?p=24
07:56.36*** join/#android mypapit (n=mypapit@pdpc/supporter/active/mypapit)
08:24.44*** join/#android romainguy (n=gfx@adsl-75-55-212-70.dsl.pltn13.sbcglobal.net)
08:24.56romainguyyo
08:31.58muthuyo yo
08:32.11muthuwhats up romain?
08:32.59romainguytired
08:33.05romainguylate night hacking for the past three days
08:33.23muthuha.. that's what weekends do to you
08:33.35jastawhat?  no drinking this weekend at all?
08:33.36romainguyexcept it's for work :)
08:33.51muthuthanks for clarifying ;)
08:34.07muthui drank too much :)
08:34.13romainguyjasta: I did, yesterday afternoon; there was a St Patrick's parade in the street where I live
08:34.21romainguybut hey, deadlines...
08:34.28jastahave you seen the celebration they do in Chicago?
08:34.34romainguynope
08:34.50jastathey dye the chicago river green
08:34.57muthuwhat?
08:35.03muthureally??
08:35.06jastahang on, ill find a photo
08:35.38muthui thought the US rules were pretty strict in terms of polluting
08:35.49jastahttp://www.greenchicagoriver.com/
08:36.06jastamuthu: they may well (and probably do) use a non-toxic dye.
08:38.05muthui like any celebration that encourages you to drink from 8am
08:45.18jastamuthu: i just looked it up, they use a vegetable dye that only works for a few hours.
08:45.52muthuoh great
08:48.59romainguyprff
08:50.44jastawell anyway
08:50.51jastai had a hell of a weekend, but didn't do a bit of work :)
08:51.21jastaditched and went snowboarding all day Friday, then went out with my buddy who just got back in town from NY.
08:51.33jastathen threw a st patty's day party at my house last night
08:52.03jastaand sat around all day today drinking loads of water and watching mythbusters
08:52.11jastagreat time :)
08:53.03*** join/#android cutmasta (n=cutmasta@62.225.134.181)
08:53.08muthuman.. wonderful!
08:54.28muthuyesterday there was a family get together.. so it went well for me
08:54.35jastai'm doing family stuff tomorrow
08:54.40muthuand the delicious chicken biriyan!!
08:54.47jastawe're Irish, so probably corn beef and cabbage at my brother's house or something
08:54.54muthugrea
08:54.58muthugreat
08:55.19muthuwhy the chicken biriyani turned out well was we hired a professional cook
08:55.54muthuas for as biriyani.. chennai & hyderabad is the place to be
08:56.04muthujasta: have you tried biryani?
08:56.40jastanope, never even heard of it
08:57.09muthuits a spicy mix of rice and chicken
08:57.21muthuor lamb or beef
08:57.52muthutry it next time
08:58.02jastanext time what?
08:58.22muthuif you ever go to a indian restaurant that is
08:58.48jastaahh, you know i have to be honest
08:58.56muthutell me
08:59.04jastaindian food is quite delicious, but i have a really hard time detecting much difference between the various dishes and types of curry
08:59.26jastai mean really.  there are like 30 things on the menu or so.  of them, i'd say i could distinctly detect 5 or 6 :)
08:59.29muthutrue.. there's a lot of varieties
09:00.00muthuyup.. there's many styles south, north, kashmiri, punjabi, hyderabadi
09:00.02muthuso on and on
09:00.26jastait seems to break down into just three general categories: spicy curry, sweet curry, or something cooked in the tandoor oven :)
09:00.50muthubasically down south is rice, north is nan, roti etc.,
09:01.02muthuthe kebabs would be great
09:01.55jastamost restuarants in america i've experienced push both rice and naan on you.
09:02.38jastawhich is fine, because they are delicious, and we are civil and eat with forks :)
09:02.49muthuhaha
09:02.50muthulol
09:03.15muthui'll say try two things.. biriyani & kebabs
09:03.36muthuidly, dosa are the south indian delicacies
09:05.37jastai've had kebabs before of course, but those are not strongly associated with indian cuisine in the US.
09:06.00muthuindian cusine is diverse just like the people
09:06.01jastalots of cultures have a similar concept, and even many others have similar combinations.
09:06.56muthuevery state has its own thing
09:07.05jastamuthu: Is it?  Not that I have studied it much, but I wouldn't say that Indian food is especially diverse :)
09:07.11jastaIn fact, it seems kind of narrow to me :)
09:07.39jastaFrench cuisine, for example, I'd more generally regard as diverse.
09:08.11muthujust take south indian food as an example
09:08.47muthui wouldn't argue about indian restaurants in US because.. they tend to stock only the select few items
09:09.12muthuthat's the problem
09:10.38jastalamb rogan josh, btw, is my favorite :)
09:10.53muthuyeah.. good
09:11.16muthui try to imagine the indian restaurants in US and i can see your point about diversity
09:11.27muthuits the same old boring stuff all over
09:11.44jastai will try biryani though.  i do eat at indian restaurants quite often.
09:12.07muthutell me what irish food is good?
09:12.37jastaIrish food is very simple, typically.  You find a lot of things like just quality, simple stews, flavorful breads, etc.
09:14.20jastaNot much to write home about, and that's obviously why it hasn't penetrated many other parts of the world.  But, it's a food very well paired with a pint of Guiness :)
09:14.57muthugreat
09:17.16jastanow, the Irish have a weird take on breakfast I will say that.
09:17.36romainguyjasta: it's because they live too close to the brits
09:18.19jastaShit like blood pudding is very popular there, which even my traditional Irish catholic father can't stand :)
09:19.25muthuwow blood pudding.. man that must be tasty ;)
09:19.42jastaIrish soda bread is very good though, and it's served everywhere for everything
09:20.52muthuok.. i'll try soda bread then
09:21.28jastaThe analogy would be Indian naan, so, it wouldn't make much sense to eat it on its own.
09:22.06muthuwhat would be the side dish?
09:22.16muthui mean the accompaniments
09:22.18jasta*everything* :)
09:22.36jastanearly every meal in Ireland has soda bread with it; breakfast, lunch, and dinner.
09:23.24muthuand you think indian foods are not diverse.. come on!
09:23.43jastaI don't think Irish food is diverse either.  It's sort of backwards to me, really :)
09:24.15muthuchinese/japanese i guess they are the diverse ones
09:25.22jastaMy typical died includes a lot more Thai food than anything else hehe.  But I'm from Seattle, so that's not hard to imagine.
09:25.36muthuwow thai food - delicious
09:25.53jastaYes, their cuisine is much more deserving of praise :)
09:26.03muthutrue.. i love it
09:26.17muthuoh.. sorry mistaken it with vietnamese
09:26.31muthuthe one i remembered was vietnamese in atlanta
09:26.37raidfivedoes anyone know how I can find a files size?
09:27.05jastaraidfive: You can use java.io.File
09:27.12raidfiveI noticed we have to use ApplicationContext.openFileInput(filename) to open the file
09:27.55jastaraidfive: you can also just get the path to that full pathname on disk.
09:28.10jastaerr, something like that.  that sentence was jumbled :)
09:28.46raidfiveok thanks
09:29.09jastanot that this is a recommended approach.
09:30.06jastamuthu: oh boy, 2:30, bed time :)
09:30.47muthugood night
09:30.48romainguyI should do the same
09:30.49romainguy:(
09:30.58romainguySTUPID ALPHA CHANNEL @!#
09:31.24muthusunday nights are hard to sleep early
09:33.50dueyblames the alpha channel too
09:35.06romainguythanks :)
09:36.14dueyRGB was jelous of CMYK because CMYK had 4 colours, so RGB created an imaginary colour and called it alpha
09:37.02romainguyand both RGB and CMYK are jealous of Lab's camel case
09:37.20dueyso they turned on caps lock in protest?
09:37.31dueyzzz time
09:37.32dueycya
09:41.10*** join/#android ApplePedlar (n=ApplePed@58x158x182x50.ap58.ftth.ucom.ne.jp)
09:46.01*** join/#android romainguy__ (n=gfx@72.14.224.1)
10:25.26*** join/#android eton (n=eton@ppp-58-8-3-249.revip2.asianet.co.th)
10:36.40*** join/#android kies (n=kies@adsl-76-199-5-148.dsl.chmpil.sbcglobal.net)
10:45.21*** join/#android davidw (n=davidw@apache/committer/davidw)
11:04.42*** join/#android eton_ (n=eton@ppp-58-8-3-249.revip2.asianet.co.th)
11:12.27*** join/#android ApplePedlar (n=ApplePed@58x158x182x50.ap58.ftth.ucom.ne.jp)
11:38.09*** join/#android _ken__ (n=user@84.92.70.37)
12:22.21*** join/#android Mathiasdm (n=Mathias@vpnf236.ugent.be)
12:30.36*** join/#android maluta (n=coorr@201.45.188.154)
12:32.53*** join/#android tmarble (n=tmarble@user-38q4et6.cable.mindspring.com)
12:42.58*** join/#android acsia (n=acsia@host81-151-184-146.range81-151.btcentralplus.com)
12:44.10*** join/#android matt_c (n=mcroydon@conference/pycon/x-af55204bb17ee3d8)
12:51.37*** part/#android maluta (n=coorr@201.45.188.154)
12:56.48*** join/#android dims (n=dims@c-66-31-154-33.hsd1.ma.comcast.net)
13:21.19*** join/#android zhobbs (n=zach@19.234.189.72.cfl.res.rr.com)
13:50.07*** join/#android littleball (n=littleba@bb121-7-98-106.singnet.com.sg)
13:50.13littleballhello, anyone knows WAP?
14:02.55*** join/#android davidw (n=davidw@62.13.169.102)
14:16.11*** part/#android Sembiance (n=Sembianc@permafrost.telparia.com)
14:26.13*** join/#android plusminus_ (i=590e168a@gateway/web/ajax/mibbit.com/x-ae6d4bc10e449ae3)
14:28.31*** part/#android plusminus_ (i=590e168a@gateway/web/ajax/mibbit.com/x-ae6d4bc10e449ae3)
14:31.53*** part/#android muthu (n=sara@59.92.89.234)
14:36.00*** join/#android morrildl (n=chatzill@nat/google/x-883d5e9833bdc1db)
14:46.51*** join/#android TimRiker (n=timr@70-7-201-54.area7.spcsdns.net)
15:03.06*** join/#android mypapit (n=mypapit@pdpc/supporter/active/mypapit)
15:30.59*** join/#android zelip (n=zelip@nat/hp/x-9986cc3166451d7a)
15:39.58*** join/#android umdk1d3 (n=umdk1d3@adsl-dynamic-64-79-45-15.bridgeband.net)
16:05.16Zer0Her0have there been any android vs iphone sdk comparisons yet?
16:06.36*** part/#android morrildl (n=chatzill@nat/google/x-883d5e9833bdc1db)
16:07.11*** join/#android morrildl (n=chatzill@nat/google/x-883d5e9833bdc1db)
16:13.16davidwZer0Her0, mmmm... nothing good, afaik
16:14.36*** join/#android romainguy (n=gfx@69.36.227.131)
16:14.54Zer0Her0yea i've seen some overview type blog posts
16:15.02*** join/#android bluerive1 (n=qtameic@setnip01.ericsson.net)
16:15.54Zer0Her0but nothing really substantial, and i definately don't have the knowledge/background to know what to look for/how to compare.
16:26.26*** join/#android matt_c (n=mcroydon@conference/pycon/x-30d5779783bf1701)
16:34.39*** join/#android romainguy__ (n=gfx@72.14.224.1)
16:40.23*** join/#android Yeggstry (n=mind@cpc1-rdng14-0-0-cust946.winn.cable.ntl.com)
17:00.46*** join/#android romainguy (n=romaingu@nat/google/x-bc76420390c80fc1)
17:06.46*** join/#android muthu (n=sara@59.92.45.196)
17:17.17muthuglad,  my monday is over.. phew!
17:17.36romainguymine is just starting :p
17:22.09muthuhave fun romain
17:22.47muthuactually i did some work today.. since the #android was very quiet
17:39.56muthuhttp://www.businesswire.com/portal/site/google/?ndmViewId=news_view&newsId=20080317005934&newsLang=en
17:40.40muthuwebtide port jetty to android - iJetty here i come..
17:41.46*** join/#android aksyn (n=aksyn@cp1242056-a.schoo1.lb.home.nl)
17:45.35muthuhow cool is that.. now you can write web applications to run on android
17:51.19inZane-_does someone have an idea how to perform a sql join against the android contacts table?!
17:52.12*** join/#android aksyn (n=aksyn@cp1242056-a.schoo1.lb.home.nl)
18:13.36*** join/#android soulreaper (i=soul@p4FCE5FF0.dip.t-dialin.net)
18:20.31*** join/#android meus (i=bjartka@kremt.pvv.ntnu.no)
18:30.10jastainZane-_: It doesn't really work that way.  Since your only means of interaction comes from a content uri and query parameters, you'll need to find a content uri that matches the type of query you're after.
18:30.29jastaIf one doesn't exist, then it represents an omission on Google's part, and should be filed as an issue/feature request.
18:31.09*** join/#android davidw (n=davidw@62.13.169.99)
18:31.14jastaThat said, you can of course 'join' the data yourself.  For example, you could implement an adapter which can wrap multiple cursors and logically combine the data contained.
18:31.29jastaCertainly a very tedious solution, but this is of course a work-around for an incomplete content provider design.
18:31.42*** join/#android meus (i=bjartka@kremt.pvv.ntnu.no) [NETSPLIT VICTIM]
18:31.49*** part/#android meus (i=bjartka@kremt.pvv.ntnu.no)
18:31.51*** join/#android meus (i=bjartka@kremt.pvv.ntnu.no)
18:32.04jastaContent providers are very difficult to design well.  You must expose a great deal of functionality from an inherently inflexible design pattern.  Hopefully the concept will evolve a bit from what it is today.
18:35.47*** join/#android dop3 (n=dop3@201.21.209.178)
18:46.43*** join/#android aksyn (n=aksyn@cp1242056-a.schoo1.lb.home.nl)
18:47.35inZane-_jasta: i considered implementing an adapter. the way i do it now is to perform a query for every row. im not sure if an adapter will bring any performance improvements...
19:16.31*** join/#android matt_c (n=mcroydon@conference/pycon/x-e539f9b296b1af3e)
19:18.52*** part/#android muthu (n=sara@59.92.45.196)
19:23.39*** join/#android chihau (n=chihau@200.72.204.151)
19:32.06*** join/#android dfas (n=none@10.201.216.81.static.s-o.siw.siwnet.net)
19:39.53*** join/#android Mathiasdm (n=Mathias@vpnc245.ugent.be)
19:51.21*** join/#android Yeggstry (n=mind@cpc1-rdng14-0-0-cust946.winn.cable.ntl.com)
19:58.25*** join/#android cutmasta (n=cutmasta@ip-78-94-46-184.PH-1211F-BSR64K-03.ish.de)
20:05.00jastainZane-_: like i said, there is likely a content uri that you can use which joins the things you are interested in.
20:05.43jastaif not, yes, use an adapter.  performing a query per row is very inefficient.
20:07.54*** join/#android romainguy__ (n=gfx@216.239.45.19)
20:07.57jastahey romain
20:11.12*** join/#android romainguy___ (n=gfx@nat/google/x-5ca0b3b710a981b1)
20:18.39*** join/#android The_PHP_Jedi (n=ThePHPJe@66-50-125-149.prtc.net)
20:24.50*** join/#android aksyn (n=aksyn@cp1242056-a.schoo1.lb.home.nl)
20:30.02*** join/#android licsan (i=4dcf4d60@gateway/web/ajax/mibbit.com/x-5b344e5dcfde7430)
20:35.51*** join/#android davidw (n=davidw@62.13.169.66)
20:42.16*** join/#android romainguy__ (n=gfx@nat/google/x-f524b576ba844c35)
21:20.19*** join/#android davidw (n=davidw@apache/committer/davidw)
21:43.49*** join/#android pandora-- (n=neil@66.238.50.126.ptr.us.xo.net)
21:44.56*** join/#android Lede (n=lede@85.148.228.92)
21:47.16*** join/#android guerby (n=guerby@gut75-4-82-235-162-148.fbx.proxad.net)
21:48.12*** join/#android guerby (n=guerby@gut75-4-82-235-162-148.fbx.proxad.net)
22:31.13*** join/#android duey (n=duey@203-190-208-12.innovationwaikato.co.nz)
22:39.37davidwhrm... it would be super handy to be able to set properties via the command line
22:42.59romainguywhat properties?
22:43.38*** join/#android tmcneal (n=asdf@pool-151-199-245-93.phil.east.verizon.net)
22:46.21*** join/#android inZane- (i=nemo@dslb-084-058-053-161.pools.arcor-ip.net)
23:10.16*** join/#android chumphries (n=chumphri@labs.niroze.net)
23:28.30*** join/#android MrKeuner (n=kudo@unaffiliated/mrkeuner)
23:36.32MrKeunerare there android capable phones already?
23:36.45MrKeunerwill openmoko be one?
23:39.42f00f-not really
23:39.52f00f-if they choose to, sure
23:39.54davidwromainguy, stuff like gsm.sim.line1.number
23:43.02*** join/#android o3u (n=slim@modemcable095.170-70-69.mc.videotron.ca)
23:43.42o3uHi, how can i access the "address" field of contacts ?
23:44.21o3ui've read on a forum that it's automatically converted into a location, is that the case?
23:45.42MrKeunerf00f-: any phone device in development?
23:48.38davidwsleep time for me
23:48.52davidwMrKeuner, no, just tin cans and string
23:51.43tmcnealo3u: you can access the contact data through a ContentProvider
23:52.14tmcnealhttp://code.google.com/android/devel/data/contentproviders.html
23:52.59f00f-MrKeuner: yep, deifnitely, can't really disclose publicly yet. sorry.
23:53.08tmcnealCan I associate a 'value' to each row in a ListAdapter?
23:53.43jastatmcneal: you can extend an adapter and implement something like that.
23:54.07tmcnealLike say I have a sqlite table that has two columns, 'name', and 'id'. And I want to display the 'name' of each row, but when the user clicks it I want it to return the 'id' of that row.
23:54.11tmcnealhmm, ok.
23:54.14jastaor, more efficiently but also more awkward, you could extend the cursor and add that data.
23:54.42jastatmcneal: Uhm, for that you would not do either, instead you'd just use a SimpleCursorAdapter.
23:54.48tmcnealexcellent
23:55.17jastaSimpleCursorAdapter has a gotcha, though.  It works very well for nearly all cases, but not all cases ;)
23:55.18tmcneali knew there'd be a simple way of doing it, just didn't know what it was :)
23:55.25tmcnealhaha oh boy.
23:55.43tmcnealwell my case is simple, it's nothing more than the name and id example i gave. so hopefully it works fine :)
23:56.28jastaSimpleCursorAdapter (actually, CursorAdapter) automatically binds the list id to the Cursor's "_id" column.  So, what you are after is actually very conveniently handed to you.
23:56.47MrKeunerf00f-: I guess you cannot disclose any time frame either?
23:56.59jastathe _id column will be handed to you by value in the OnListItemClickListener
23:57.05f00f-only within the next 4 quarters :)
23:57.22f00f-btw, _id column hacks are horrible.
23:58.48jastaf00f-: I can't say that I agree.  It is simply a nicety consistently utilized in the system.  There is no reason to depend on it.
23:58.58jastaOr rather, no need to.

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.