**** BEGIN LOGGING AT Tue Mar 25 02:59:56 2008 Mar 25 03:21:26 I want to store images for album art in an mp3 player on to the /sdcard...I'm just trying to figure out a good way to name the files Mar 25 03:21:49 I was doing it by album id, but if the library gets deleted/refreshed the id will change Mar 25 03:22:14 I was thinking of hashing the album/artist name or something... Mar 25 03:22:32 I would use album name as filename but I'm wondering about weird characters Mar 25 04:24:48 ola Mar 25 04:54:56 hey folks Mar 25 04:55:01 good old #andorid Mar 25 04:55:17 hello Mar 25 04:55:37 what would be handy, handy indeed is if someone had a nice default set of contacts with numbers and addressses everyone could use for dummy data Mar 25 04:55:53 maybe package it in a nice little ContactFillerUpper.apk Mar 25 04:55:58 anyone/ Mar 25 04:56:06 i don't want to have to do this myself, but i will if i have to Mar 25 04:56:13 how would it work? Mar 25 04:56:15 i would rather have some contacts so i could do real work Mar 25 04:56:22 * zhobbs isn't using contacts for anything yet Mar 25 04:57:07 muthu: i think probably just a one-use app that has a bunch of contact info in a list of maps and sticks them in the contacts db when you run it Mar 25 04:57:26 daniel: how many are you looking at? Mar 25 04:57:35 though i suppose just a sql file would do, presuming we can get at the contacts db Mar 25 04:57:41 thedaniel`: not sure where they're stored on the filesystem, but you might be able to add a bunch of contents and pull the file Mar 25 04:57:43 muthu: oh, not many, a dozen Mar 25 04:57:52 then just push it back whenever you need it Mar 25 04:58:04 s/contents/contacts Mar 25 04:58:06 zhobbs: that's not a bad idea - i would imagine it's just in a sqlite db somewhere Mar 25 04:58:49 zhobbs: of course for my competition app i'd want to do it programatically at the same time the app DB was created to ensure the judges would have a useful bit of test data Mar 25 04:59:03 yeah Mar 25 04:59:34 yes.. creating the dependent data upfront would be good Mar 25 05:00:29 its in /data/data Mar 25 05:01:01 com.google.android.providers.contacts/databases/contacts.db Mar 25 05:01:25 yeah, just found it Mar 25 05:02:27 .tables on that DB: _deleted_people,android_metadata,people,_sync_state,calls,peopleLookup,_sync_state_metadata,contact_methods,phones Mar 25 05:02:58 cool.. quickly creating contacts is a good idea Mar 25 05:03:04 you know like setting up mock data Mar 25 05:03:18 no just contacts.. may be more Mar 25 05:03:21 gotta make it as easy as possible on the judges Mar 25 05:03:34 not just for the challenge.. but in general Mar 25 05:03:59 well on a real phone you won't need to do that Mar 25 05:04:08 mockdata.apk or something (setup all data.. maps, contacts etc.,) Mar 25 05:04:11 only for testing Mar 25 05:04:18 meaning dev env Mar 25 05:09:21 heh, the address book doesn't seem to have an address field Mar 25 05:10:01 which table? Mar 25 05:10:46 i mean the Contacts app in the emulator Mar 25 05:11:34 yeah looks like it Mar 25 05:11:35 ah, but there's a POSTAL_LOCATION_LONGITUDE in ContactMethods Mar 25 05:45:55 have any of you folks worked with Contact, ContactMethod etc? Mar 25 08:06:47 does anyone know how do change the background of an activity? I want to put a logo in the background and have other elements (TextView, ProgressBar, etc) able to be placed over this logo Mar 25 08:06:57 well, creating a contact wasn't as straightforward as it looked (i haven't spent all this time working on it, but a bit then and a bit now) Mar 25 08:07:25 insert() seems to return an Uri if it was successful and just returns null with no info if there was a problem? how..awesome Mar 25 08:08:00 * thedaniel` makes friends with logcat Mar 25 08:08:42 raidfive: you can set a drawable as the background Mar 25 08:14:04 nice thanks Mar 25 08:14:37 why doesn't google link their xml files ... some of their demo code is pointless without them Mar 25 08:20:45 can anybody please tell me how to create a photo slide show using image switcher Mar 25 08:21:12 raidfive: which xml files do you mean? Mar 25 08:21:20 raidfive: the stuff from android.R.layout? Mar 25 08:21:52 raidfive: if that's what you mean, an enterprising dude that often idles in this channel managed to decode their binary xml and put an archive of those xml files on his blog Mar 25 08:23:02 raidfive: if what you mean are the layouts for the sample apps, for the views that you actually see when you run the emulator, you can find those in the samples/ directory in the sdk Mar 25 08:23:12 can anybody help me out to create a photo slide show Mar 25 08:23:13 like, ApiDemos/res/layout et cetera Mar 25 08:23:42 nil132: is there example code for how to use ImageSwitcher in the ApiDemos project/ Mar 25 08:24:13 ya i have gone through it Mar 25 08:24:26 but unable to create a slide show Mar 25 08:26:06 thedaniel`, yea I have that archive thankfully :) Mar 25 08:31:10 any googlers in the house? when I try to create a ContactMethod via contentprovider, insert() returns null HOWEVER there are no SQL errors revealed in LogCat Mar 25 08:32:00 do you have the permissions set? Mar 25 08:32:22 muthu: you know, i set the contact permissions, but i wonder if i need a ContactMethod permission! Mar 25 08:32:25 i bet it's that Mar 25 08:32:27 * thedaniel` slaps forehead Mar 25 08:33:23 how to set an image as background? Mar 25 08:34:41 android:background="@drawable/tab_indicator" Mar 25 08:35:51 Tab_indicator is an image ?or what? Mar 25 08:36:12 its a .png file in res/drawable Mar 25 08:36:21 so you can set whatever png you like Mar 25 08:36:24 ok Mar 25 08:36:41 muthu: hm, the docs refer to ContentProvider permissions, but suggest that SecurityExceptions will be thrown Mar 25 08:36:49 let me try n inform u Mar 25 08:37:14 daniel: haven't worked with contacts yet Mar 25 08:37:25 muthu: well, good luck when you do ;) Mar 25 08:37:30 thx Mar 25 08:37:44 am staying away from the contacts for now ;) Mar 25 08:37:46 hopefully i'll suffer through all your problems and you can just ask me Mar 25 08:37:58 the sacrifices i make for #android! *sniff* Mar 25 08:38:01 jasta: the android god would help us Mar 25 08:38:26 Thanku muthu it worked Mar 25 08:38:31 cool nil Mar 25 08:41:29 muthu i have one more question Mar 25 08:41:38 r u there? Mar 25 08:42:02 yes nil Mar 25 08:42:57 when we run the applications provided by google the highlighte list item or photo from grid view or anything that is highlighted appears with blue colour Mar 25 08:43:11 ok Mar 25 08:43:31 and when i run my application the highlighted item appears with yellow colour Mar 25 08:43:48 whats the problem Mar 25 08:43:53 i've been seeing the yellow highlite Mar 25 08:43:58 where you get blue? Mar 25 08:44:19 its for the applications provided by android Mar 25 08:44:31 the demo app Mar 25 08:44:39 which one? Mar 25 08:44:50 any one u run from demos Mar 25 08:45:49 its all yellow for me Mar 25 08:47:08 for me its blue Mar 25 08:47:16 and what about menu items Mar 25 08:48:00 even when we just enter the ApiDemos Mar 25 08:48:01 its all the same theme Mar 25 08:48:10 m15-rc15 Mar 25 08:48:13 that's what i run Mar 25 08:48:33 the App,Graphics,Content all appear blue when highlighted Mar 25 08:48:46 no its first version Mar 25 08:49:05 m3 Mar 25 08:49:14 oh. thats why Mar 25 08:49:31 but have used the first version Mar 25 08:49:38 in m5 its all yellow Mar 25 08:49:54 blue looks cool than yellow Mar 25 08:50:15 how to create a photo slide show ? Mar 25 08:50:21 do u have any idea Mar 25 08:50:30 have you tried gallery? Mar 25 08:50:38 its all in apidemos Mar 25 08:51:01 ya but the image is enlarged when it is clicked Mar 25 08:51:41 i want a photo slide show with a mere click of a button or menu option Mar 25 08:52:16 you can do animation Mar 25 08:52:51 do u have any idea about how can i start Mar 25 08:53:01 bcoz i have never used animation Mar 25 08:53:02 what about imageswitcher? Mar 25 08:54:12 image switcher will work but if the for loop used to switch the images is put in the onCreate(Bundle)only the last image is visible Mar 25 08:54:38 check out the animation.. in api demos Mar 25 08:55:00 ok Mar 25 08:55:07 thank you Mar 25 08:55:29 use a viewflipper Mar 25 08:56:09 will try Mar 25 08:56:27 .. then say mFlipper.startFlipping(); Mar 25 08:56:57 before that, set mFlipper.setInAnimation(AnimationUtils.loadAnimation(this, R.anim.in)); Mar 25 08:58:18 ok but how to assign image source Mar 25 08:58:25 in xml Mar 25 08:58:53 use inside Mar 25 08:59:13 in xml Mar 25 08:59:50 Mar 25 08:59:50 Mar 25 09:00:32 but if i use an array of images in my java file then how to access it using animation Mar 25 09:00:45 but then this for one image Mar 25 09:01:30 you can have many images inside your flipper Mar 25 09:01:35 that's just 1 example Mar 25 09:02:06 ok but all the time i have to mention different img src Mar 25 09:02:24 so you would have for ex: 10 image views and view flipper would start flipping the images at the scheduled interval Mar 25 09:03:18 but in my application i m going to get images from a server Mar 25 09:03:42 so its not possible to make changes in xml file at that time Mar 25 09:04:10 ok Mar 25 09:04:32 i'm sure the gallery, imageswitcher, viewflipper can be used Mar 25 09:04:38 check it out Mar 25 09:04:47 ok i will try Mar 25 09:04:57 thanks for ur help Mar 25 09:05:10 good luck Mar 25 09:05:14 when setting the background for a view, how do I prevent it from stretching my image to fill both horz and vert ? Mar 25 09:05:43 there's this fillXY attribute Mar 25 09:06:04 i guess the scaleType Mar 25 09:06:11 FIX_XY? Mar 25 09:06:12 FIT Mar 25 09:06:19 yes fitXY Mar 25 09:06:31 that would stretch Mar 25 09:06:41 you want to set the scaleType attr to something else Mar 25 09:06:56 this stretches - android:scaleType="fitXY" Mar 25 09:07:32 will that mess with any other elements that are added to the view? or is it just for the background? Mar 25 09:07:55 not sure Mar 25 09:08:46 i'm having this funny thought Mar 25 09:09:22 damn, tried all the different ScaleTypes for ImageView and nothing :/ Mar 25 09:09:43 some of the 50 winners would come say: "yeah, i did it in a day.. you know in a couple of hours when i was chatting over the phone" ;) Mar 25 09:10:25 i'm taking it easy.. Mar 25 09:10:33 many times i blame it on android Mar 25 09:11:14 android.org costs 75k, any takers? Mar 25 09:22:25 I can categorically state that I have spent more than a few hours on my project. No matter how crappy it will appear. So no , "I did it in a day" shenanigans from me. Mar 25 09:23:07 chomchom: its going to happen Mar 25 09:23:29 Some guys are really that good though and I have no doubt they could do it in a day Mar 25 09:23:58 may be a day is a overkill.. but you know a couple of days or week Mar 25 09:24:41 I have personally witnessed guys just run with an idea and do in two or three hours what would take me weeks. It's just some peoples make up. Mar 25 09:25:02 True hackers man, you gotta love 'em. Mar 25 09:25:07 agree Mar 25 09:27:19 I'm getting so irrationally excited to see the top 50 apps! Mar 25 09:27:43 I hop google parades them and we can all poke about the source Mar 25 09:27:59 source will not be revealed Mar 25 09:28:14 they don't have to be open source Mar 25 09:28:30 but with jasta magic may be you can reverse engineer ;) Mar 25 09:28:45 reallys? Thats a shame, but I'm sure there will be a great many that are Mar 25 09:29:22 I suppose its actually a really good thing to get more sceptical companies on board Mar 25 09:29:40 like what? Mar 25 09:29:47 or who? Mar 25 09:30:51 Like a small company run by older programmer guys who know nothing about 'the new state of play' in the software industry. Mar 25 09:31:06 yeah.. hope its a mixed bag Mar 25 09:31:28 i'm sure there would be a lot of discussions(ahem) over the winners Mar 25 09:31:34 They will have a very hard time parting with their source. Also I too think it's best to keep it to yourself for the very early stages Mar 25 09:32:07 Once you let it go it will be harder to change as it is under the constant critique of the world Mar 25 09:32:13 ok, gotta run to work Mar 25 09:32:16 cya Mar 25 09:32:19 bye Mar 25 10:59:09 I'm going to need to work on android offline for a few days. Does anyone know how I can have a local cache of the api searchable? Mar 25 10:59:18 is that possible? Mar 25 11:00:04 eh? Mar 25 11:00:07 it's part of the sdk Mar 25 11:00:13 oh, searcheable Mar 25 11:00:21 that's what grep is for:-) Mar 25 11:01:12 good idea davidw , so I should just use some kind of wget miror Mar 25 11:01:34 no Mar 25 11:01:40 you have all the html as part of the sdk Mar 25 11:02:02 ahhh "docs" Mar 25 11:02:04 awesome Mar 25 11:02:05 :) Mar 25 11:02:54 nice of google to think of me like that :) Mar 25 11:35:31 IS there anyone mentoring android projects for Google SOC? Mar 25 11:36:05 is it in the list of projects? Mar 25 11:36:20 yeah I think so Mar 25 11:36:50 I don't see it Mar 25 11:37:14 It must be a specific application project for Android Mar 25 11:37:32 If u have any better idea for an app in android u may go for it Mar 25 11:38:03 I think of creating a game using openGL Mar 25 11:38:27 I don't see it. Mar 25 11:38:35 one sec Mar 25 11:38:37 that sounds like the contest Mar 25 11:39:37 http://code.google.com/p/protobot/ Mar 25 11:39:38 thats is a project Mar 25 11:39:55 which link are you referring to? Mar 25 11:42:32 http://code.google.com/soc/2008/ Mar 25 11:42:38 which is what you asked about Mar 25 11:42:46 I don't see 'protobot' amongst the list of organizations there Mar 25 11:43:03 it could be that one of those things has something for android Mar 25 11:45:47 there's an outside chance that I could get some traction in the Tcl community for a SoC Hecl projec Mar 25 11:45:48 t Mar 25 11:55:58 u mean to say there must be an organization which is hosting that project? Mar 25 12:00:16 Sophiroth, what is it that you want to do? Mar 25 12:00:20 you're confusing me Mar 25 12:05:15 I want to do a game in ANDROID Mar 25 12:05:21 DO u get me? Mar 25 12:06:20 david are u there? Mar 25 12:06:45 Whenever I navigate to the organization list on the Google SOC page ot shows me that no project has been currently assigned to that organization Mar 25 12:09:35 if you want to write a game in Android, by all means, write a game in Android. Mar 25 12:10:09 get started here: http://code.google.com/android/ Mar 25 12:13:19 Google ‘LCB’ localised mobile category search uncovered (http://www.phonemag.com/google-lcb-localised-mobile-category-search-uncovered-031896.php) Mar 25 12:14:51 LCB - "searchless search" Mar 25 12:16:00 interesting Mar 25 12:16:31 yeah david Mar 25 14:54:47 hey jasta Mar 25 15:02:38 hello Mar 25 15:02:50 * jasta_ looks at the topic Mar 25 15:03:41 a hitchhiker's reference? ugh, nerds :) Mar 25 15:04:44 jasta_: Apparently I am a lamer though, I guess it's actually MAY 25, not MARCH 25 Mar 25 15:05:08 hehe, I just searched the topic and see that also Mar 25 15:06:43 I guess you guys know what to expect on May 25 then :) Mar 25 15:07:40 we're stuck with that topic for 2 months? :) Mar 25 15:08:05 morrildl, poopy diapers Mar 25 15:08:22 like every other day after early may Mar 25 15:08:50 davidw: O RLY Mar 25 15:09:24 apparently Mar 25 15:09:46 Got a small baby person on the way or something? Mar 25 15:09:56 yeah Mar 25 15:10:02 davidw: nice work :) Mar 25 15:10:06 thanks:-) Mar 25 15:10:11 i wouldn't call making babies "work" Mar 25 15:10:12 Congratulations, &c. Mar 25 15:10:39 jasta, neither would I, but my wife gets offended when I tell her that it's all pretty easy Mar 25 15:10:53 well that's because it's not for her Mar 25 15:12:04 in other news, i just got a sort of eerie note from my boss saying that this relatively large project he just gave me is due Apr 15th first thing in the morning Mar 25 15:12:16 lol Mar 25 15:12:18 hehe Mar 25 15:12:26 i can't exactly tell him that deadline really conflicts with ...another deadline. :) Mar 25 15:12:41 can you suggest android? Mar 25 15:13:12 some guy on the mailing list was saying he lost his job because he was focusing too much on his ADC project Mar 25 15:13:25 oh boy Mar 25 15:13:31 his boss said his heart wasn't into his working or something like that Mar 25 15:13:33 well that guys an idiot. i haven't told my company about android at all. Mar 25 15:13:52 yeah.. why he disclosed that? Mar 25 15:13:54 crazy! Mar 25 15:14:00 that would be a major conflict of interest Mar 25 15:14:25 * davidw works for himself and unfortunately... my boss is really an asshole Mar 25 15:14:32 hehe Mar 25 15:14:32 yeah, outside projects should be kept secret Mar 25 15:14:58 everyone is too naive as to think their personal time is really of no interest to the company :) Mar 25 15:15:36 i guess he was working for google Mar 25 15:15:37 lol Mar 25 15:15:46 really? Mar 25 15:15:51 no no Mar 25 15:15:54 jk Mar 25 15:16:57 hey jasta can you pm? Mar 25 15:17:30 sure Mar 25 15:24:38 anyway, if management at my company knew i was working on Android, they would probably rightly be nervous that I'd be quitting at some point looking for a career change Mar 25 15:24:46 and might preemptively fire me as a result. Mar 25 15:25:11 likewise, my productivity at work has certainly declined indirectly resulting from Android because i'm just less interested in my somewhat boring job Mar 25 15:25:30 pff Mar 25 15:25:39 I read something online about how this guy was working with a bunch of idiots Mar 25 15:25:47 and the management would announce crazy schedule changes Mar 25 15:26:02 and they'd work one day out of the week while the guy was looking at the crap code they'd done and suggesting improvements Mar 25 15:26:09 and then I realized that I worked at that place Mar 25 15:26:24 and I died a little inside. Mar 25 16:03:02 oh hey Kraln Mar 25 16:11:36 oh hiu Mar 25 16:16:20 Kraln, are you entering the Android SUPAH-MONAY compo? Mar 25 16:16:42 has anybody experienced ScrollView.scrollTo(x,y) not working but smoothScrollTo(x,y) working? Mar 25 16:16:51 Does scrollTo() not function? Mar 25 16:17:48 not that it matters too much, smoothScrollTo works well enough I guess, but it's weird that scrollTo doesn't work Mar 25 16:18:12 poffy: I've found I don't have time to complete my project, I'll toss you a pm about it later though Mar 25 16:18:37 Kraln, k. I'm going to see if I can't hax something together for the deadline Mar 25 16:18:51 I'm not really that close.. but I'm going to see what I can do Mar 25 16:19:31 poffy: see pm Mar 25 16:19:42 I don't see it Mar 25 16:20:28 * Kraln blinks Mar 25 16:59:23 yawn Mar 25 17:00:16 I'm starting to finally wake up Mar 25 17:04:16 i'm irritated that i have so much actual work to do these next few weeks Mar 25 17:04:22 yo people Mar 25 17:04:25 i was hoping to slack off and just spend all my energy at night on the ADC :) Mar 25 17:04:31 jasta: same here...that's how it always happens though Mar 25 17:04:48 android.org costs 75k - want em? Mar 25 17:04:51 I know the week after april 14 I'll have NOTHING to do for my normal work Mar 25 17:05:13 zhobbs really? Mar 25 17:05:32 can ya all suggest me a mobile domain? Mar 25 17:05:38 muthu: well that's just how it seems to work...extreme peaks and valleys Mar 25 17:05:56 you should be working on your app, no? Mar 25 17:06:12 i'm building this mobile search engine.. suggest me a domain Mar 25 17:06:46 muthu: mobile search engine as in: search web from mobile? search web from PC for sites about mobile? Mar 25 17:06:59 search stuff from mobile Mar 25 17:07:11 find people, restaurants etc., Mar 25 17:07:25 heyo Mar 25 17:07:30 have a quick question Mar 25 17:07:31 its purely for a mobile Mar 25 17:07:39 nowiressearch.com Mar 25 17:07:46 that's kinda lame though Mar 25 17:07:59 hmm.. interesting Mar 25 17:08:11 zhobbs: the subactivity i'm passing an object to Mar 25 17:08:17 mobeegal Mar 25 17:08:23 can only retrieve an Intent Mar 25 17:08:32 which in turn can only retrieve a Parcelable Mar 25 17:08:49 and Parcelable only has a single method (a writer) Mar 25 17:08:57 how do i retrieve data from a Parcelable? Mar 25 17:09:14 or is there another method i should call? Mar 25 17:09:15 you have to do more than just implement that one writer function Mar 25 17:09:27 jjt001: http://code.google.com/android/reference/aidl.html Mar 25 17:09:46 look down at the same "public final class Rect implements Parcelable" Mar 25 17:10:00 ok Mar 25 17:10:01 thanks Mar 25 17:10:34 you have to create that public "CREATOR" as a Parcelable.Creater Mar 25 17:10:47 that's strange Mar 25 17:10:57 additional methods should be defined in the interface Mar 25 17:11:06 otherwise things get confusing Mar 25 17:11:09 jjt001: yeah, it's weird Mar 25 17:11:22 zhobbs: thanks anyway Mar 25 17:11:56 jjt001: yeah, but it's actually pretty easy to make an object parcelable Mar 25 17:12:14 hey, i registered androidrocks.com.. yippy! Mar 25 17:12:34 love androidrocks.com :) Mar 25 17:12:55 nice Mar 25 17:13:39 moboogle is taken Mar 25 17:14:48 androidrocks.com would be my consulting site.. need to put some stuff there Mar 25 17:29:59 to load a list from a parcel, it looks like i need a ClassLoader Mar 25 17:30:11 should i just pass in getSystemClassLoader() Mar 25 17:30:12 ? Mar 25 17:30:45 zhobbs: Mar 25 17:31:25 do you just writeList(), readList()? Mar 25 17:32:03 what's your List consist of? Mar 25 17:32:36 yep Mar 25 17:32:39 Strings Mar 25 17:32:55 so writeList() and readList() isn't working? Mar 25 17:33:17 what i'm saying is to read a list from a parcel, you need to pass in a ClassLoader Mar 25 17:33:30 so should i just pass in ClassLoader.getSystemClassLoader ()? Mar 25 17:34:01 no idea Mar 25 17:34:12 i'll try this Mar 25 17:34:20 yeah try that and let me know Mar 25 17:34:25 it looks like the only way to obtain a legitimate class loader Mar 25 17:34:27 will do Mar 25 17:34:34 thanks Mar 25 17:38:28 Google’s original chef Charlie Ayers claims in a new book that much of Google’s success comes from free beer and sushi. Mar 25 17:38:47 http://feeds.feedburner.com/~r/Techcrunch/~3/257353681/ Mar 25 17:39:09 that would get me going Mar 25 17:52:01 i don't like sushi :) Mar 25 17:52:34 I figured everyone in seattle liked sushi Mar 25 17:52:40 zhobbs: final question Mar 25 17:53:11 zhobbs: how can i retrieve the data from within a parcelable from the onCreate method of a subactivity? Mar 25 17:53:25 zhobbs: most people do, but i don't. Mar 25 17:53:34 i don't like most japanese food. Mar 25 17:53:50 jjt001: Bundle b = this.getIntent().getExtras(); Mar 25 17:53:54 it's all about unagi Mar 25 17:53:54 jjt001: you would pass it through the bundle. Mar 25 17:54:13 jjt001: MyType var = (MyType) b.getParcelable(KEY); Mar 25 17:54:24 ok Mar 25 17:54:26 thanks a lot Mar 25 17:54:34 np Mar 25 17:54:35 i'll tell you whether the ClassLoader works Mar 25 17:56:22 japanese food is so damn expensive Mar 25 18:02:27 try french Mar 25 18:05:40 ok.. i couldn't resist. one more link.. bear with me Mar 25 18:05:45 http://www.thefrisky.com/post/if_hillary_and_barack_had_a_baby/ Mar 25 18:06:24 creepy Mar 25 18:06:37 real creepy Mar 25 18:10:54 eek Mar 25 18:15:51 is there a way to set up arbitrary collapsible regions in Java, like there is in C#? Mar 25 18:18:01 I guess that's a no Mar 25 18:19:06 bojangles: in your ide, you mean? Mar 25 18:19:23 no, just in my code in Eclipse Mar 25 18:19:35 You know, like you can collapse a function... Mar 25 18:19:47 with the little - in the left border Mar 25 18:19:52 you can in eclipse Mar 25 18:20:02 oh you mean arbitrary regions, don't know about that Mar 25 18:20:09 yes, arbitrary regions Mar 25 18:20:11 arbitrary.. no Mar 25 18:20:17 in C#, you just do #region, #endregion Mar 25 18:20:19 okay, thanks Mar 25 18:20:35 really a function of the IDE not the language Mar 25 18:20:56 well, yeah, but the language has to know not to parse the "#region" Mar 25 18:20:57 i'm not sure if intellij does that Mar 25 18:24:29 hello? Mar 25 18:24:38 er Mar 25 18:30:23 Anyone see the problem with these classes? http://rafb.net/p/pDHQIJ97.html http://rafb.net/p/5Dij7e67.html Mar 25 18:31:06 I want the MapActivity to start, just to test stuff out, when I open the application Mar 25 18:31:24 and for some reason, it just sits there and doesn't display the map at all Mar 25 18:32:39 Why do you start a FriendList subactivity from FriendList? Mar 25 18:32:55 ahahaha Mar 25 18:33:07 Wow Mar 25 18:33:17 ;) Mar 25 18:33:19 I guess that's it Mar 25 18:33:24 No wonder starting the application started to make my computer slow done Mar 25 18:33:29 lol Mar 25 18:33:42 while(1){} Mar 25 18:33:45 yeah Mar 25 18:34:11 I looked at my log and was wondering why it kept starting the same process over and over again Mar 25 18:34:11 heh Mar 25 18:34:12 wow Mar 25 18:34:42 did it stop ever? Mar 25 18:34:49 not till I closed my app Mar 25 18:35:09 its a blank activity.. so i guess you had time Mar 25 19:40:58 davidw: congratulations on the baby making. Mar 25 19:55:48 is it wrong that i am trying to encourage my girlfriend to sign up for some graphic design courses at school so that she can create artwork for my android projects? :) Mar 25 19:58:27 Is this channel about Google Android? Mar 25 19:59:13 why is it wrong? Mar 25 20:00:02 muthu: i dunno, just feels selfish :) Mar 25 20:02:10 jasta: i don't think so Mar 25 20:02:35 *encourage* is ok Mar 25 20:57:30 I am trying to pass an array of Integer to an Activity via an Intent, I am exploring putExtra/getParcelableArrayExtra but got nothing, which is the best way to do this, any suggestions? Mar 25 21:22:29 Hey guys. Mar 25 21:22:50 hi :) Mar 25 21:22:50 Anyone knows whether we can expect another sdk-release before the ADC-End ? Mar 25 21:22:51 good evening! Mar 25 21:22:54 hi Mar 25 21:23:11 lol i meant not "End" but "Deadline" Mar 25 21:23:55 The google guys will know, but I certainly do not expect Mar 25 21:24:11 yeah its just 19 days left :( Mar 25 21:24:22 yeah I see from your count down Mar 25 21:24:27 ^^ Mar 25 21:24:28 nice touch Mar 25 21:24:41 how is your app coming along? Mar 25 21:24:52 somewhen/somewhere I promised to put a countdown there ^^ Mar 25 21:25:03 hm, no progress in the last 2 weeks :( Mar 25 21:25:12 so much to do at uniersity Mar 25 21:25:31 darn life, getting in the way. Mar 25 21:25:38 ^^ Mar 25 21:26:34 I'll add some minor features to AndNav! and then simply submit it, hoping of having a chance ^^ Mar 25 21:29:02 I think it looks pretty good, you know your way around more than most so if you can refine it better than others who have chosen to develop navigation apps I really think you have a good chance. Mar 25 21:29:30 The devil wil be in the detail in a navigator app. Mar 25 21:34:42 jap Mar 25 21:35:25 Google needs to release a new sdk to fix animatino Mar 25 21:35:29 animation Mar 25 21:35:40 what do you expect, hitting the Menu-Button, being in navigation-mode Mar 25 21:36:48 damn... the inlaws watch way too much TV Mar 25 21:37:05 lol Mar 25 21:39:16 anyone got a snippet, how to disable the zoom-functionality on a MapView ? Mar 25 21:41:31 just set an OnLongPressListener ?? Mar 25 21:42:37 o_O What is the difference between OnLongPressListener and OnLongClickListener ?!? Mar 25 22:31:43 calling canvas.rotate(float f); in an Overlay causes really straneg behaviour. Everything gets drawn twice! Mar 25 22:33:35 so the everythign appears once in the place expected and the second time, rotated againg by the angle passed!!! Mar 25 22:33:44 this is crazy Mar 25 22:39:02 This is ANROOOIIID! Mar 25 22:39:21 i so need to make a issue-submission Mar 25 22:39:26 this is valuable, lol Mar 25 22:40:07 what happens is simply impossible Mar 25 22:40:21 double buffering issues probably Mar 25 22:40:25 (imo) ;) Mar 25 22:40:58 plusminus_ Mar 25 22:41:01 you work with map overlays right Mar 25 22:41:02 ? Mar 25 22:41:14 yes Mar 25 22:41:14 i'm having lag when scrolling around in a map Mar 25 22:41:20 i have about 6 overlays Mar 25 22:41:32 thats the reason maybe Mar 25 22:41:43 each 32x32 px Mar 25 22:41:57 i guess i'll have to accept it. Mar 25 22:42:14 do you know how to correctly draw ninepatch png's as overlays? Mar 25 22:42:23 that is, stretch them properly per the zoom level ? Mar 25 22:42:23 not done before Mar 25 22:43:12 my feeling is, that draw() of the Overlay gets called twice on the same bitmap, somehow... Mar 25 22:43:38 f00f-: I've been ignoring quite a few of the performance problems in my app, unfortunately. I just can't imagine that they're my fault, so... Mar 25 22:44:19 hopefully i will have a chance to investigate before the challenge deadline, otherwise whatever :) Mar 25 22:44:29 i was thinking of optimizing a floating point to long conversion issue, but i might just leave it be, seen as there are lots of perf issues on the map. Mar 25 22:44:42 it's also difficult to tell how it will perform on physical hardware Mar 25 22:45:08 well if it's slow on the emulator, then i won't have high hopes :\ Mar 25 22:45:59 i have heard quite a few reports from folks that real hardware runs much faster than the emulator under certain conditions Mar 25 22:46:42 yep, seems to depend highly on the hardware-setup used (not just MHz) Mar 25 22:46:50 why not just clk_speed++ for the emu... Mar 25 23:27:16 quick quick animation question Mar 25 23:27:25 Apparently, they got it working somewhere Mar 25 23:27:52 the docs are apparently out of date Mar 25 23:28:03 I'm trying to use the new XML stuff, but it's not working Mar 25 23:28:04 http://rafb.net/p/3pnG8953.html Mar 25 23:28:26 Eclipse is telling me that there's an unbound prefix Mar 25 23:29:09 Here's the thread, by the way, http://groups.google.com/group/android-developers/browse_thread/thread/90f0b250f61694c3/0fac0aba91eec37b?#0fac0aba91eec37b Mar 25 23:29:14 I'm not sure if I'm missing something... Mar 25 23:39:36 what a day, sheesh... Mar 25 23:40:09 hm Mar 25 23:45:26 I got a single frame of the animation to show up Mar 25 23:46:03 http://rafb.net/p/ImEYlR96.html Mar 25 23:46:10 Nothing moves, however Mar 25 23:47:08 There are animation bugs around... Mar 25 23:47:22 try disabling drawing cache in the view being animated Mar 25 23:47:30 also, search the android issue list for similar bug reports... Mar 25 23:48:36 drawing cache? How would I disable that? Mar 25 23:52:37 This problem is driving me nuts Mar 25 23:52:38 blah Mar 25 23:52:56 I guess I'll have to work on it at home, later. Mar 26 01:46:59 * jasta scratches his head and attempts to ponder a way to determine album uniqueness when various artists are involved Mar 26 02:57:21 i bet Google is getting ready for another release. Mar 26 02:57:33 it's been real quiet in here from the google folks :) **** ENDING LOGGING AT Wed Mar 26 02:59:56 2008