**** BEGIN LOGGING AT Mon Feb 09 02:59:57 2009 Feb 09 03:02:06 estiven: Looking through the docs, it doesn't seem so. You can set the drawable for it, so you might see how big you can make it... Feb 09 03:02:23 ok, thanks Feb 09 03:02:24 I'd be careful how much you style it though - consistency is a good thing Feb 09 03:06:26 Do you know if it's possible to change the color of the grey title bar that is shown in applications? Feb 09 03:06:51 I would like it to be a green title bar :) Feb 09 03:07:05 Beause of the style I{m using in my application Feb 09 03:07:55 I think I have seen that one in the docs. Feb 09 03:08:32 Activity.setTitleColor? Feb 09 03:08:38 Never used it, but sounds right.. Feb 09 03:08:52 mmm, perfect Feb 09 03:11:01 it is actually the color of the text, not the grey bar Feb 09 03:11:22 ah. bummer... Feb 09 03:11:29 you can create a custom title Feb 09 03:11:33 there's an API for this Feb 09 03:11:39 look at the window features on activity Feb 09 03:12:22 ok, i try it Feb 09 04:49:02 question Feb 09 04:49:49 can anyone get onSharedPreferenceChanged() to hit when a pref is changed? Feb 09 04:50:00 I cannot. But, I may be slow. Feb 09 05:38:49 I can't get AnimationDrawable to work. In my onCreate I load the AnimationDrawable, use setImageDrawable() to use it on an ImageView, and start() the AnimationDrawable. The ImageView shows only the first frame of the animation. What am I missing here? Feb 09 11:37:32 Has someone played with the Environment variables ? Feb 09 15:53:16 how do you set a seekbar position? Feb 09 15:55:28 .setProgress(progress) ? Feb 09 15:59:47 thanx? Feb 09 16:18:39 The source of the SMS/MMS provider is not open` Feb 09 16:18:40 ? Feb 09 16:20:41 So, who has experience using the Surface Flinger? Feb 09 16:20:55 iirc ttuttle wrote an irc app that linked against it Feb 09 16:33:44 is there a possibility to get the content of a Cursor drawn to the console Feb 09 16:33:59 But not not one after each other Feb 09 16:34:18 er what? Feb 09 16:34:19 just something like Log.d(TAG,c.getContent()) Feb 09 16:34:31 no :) Feb 09 16:34:33 Well I know that from PHP just to see what is in the provider :) Feb 09 16:34:49 you can use a simple loop to dump every row though Feb 09 16:34:50 because I don't want to step through the SMS provider again :> Feb 09 16:37:43 (btw will there be an update of the docs? It is a bit stressful to be forced to step through the code just to know which columns are in the SMS provider) Feb 09 16:42:24 Since the docs are in the source tree, we also accept contributions to improve them ;-) Feb 09 16:43:07 jbq_: they want only the benefits of Open Source :) Feb 09 16:43:39 heh. you're being harsh. Feb 09 16:44:45 true Feb 09 16:45:08 jbq: I'm about to give up :( Feb 09 16:45:11 I got carried away after reading Disconnect advertise his leaked/stolen ADP1 firmware and then complain about our lack of involvement in Open Source Feb 09 16:45:31 LeChuck2k: give up because of what? Feb 09 16:45:43 LeChuck2k: damn :( sorry to hear that. Feb 09 16:46:02 I'm trying to port a native C++ library which does real time image processing. Feb 09 16:46:04 oooh, snap. so i'm clearly missing something.. where do i get an official update (stock even) for my adp1? i did some platform dev from master but now i need to go back to stock images. Feb 09 16:46:29 lol - you have a point. We're on it. Really. Feb 09 16:46:30 my own library actualy, which runs nicely on Symbian, Brew and Win Mobile. Feb 09 16:46:37 Well I'm providing alle the things in my blog. So well yeah I'm a beginner and don't really know how to contribute to the docs. It was "just" a question. Feb 09 16:46:52 Disconnect: what jbq_ just said Feb 09 16:47:14 anno^da_: more seriously, file a bug so that we get that fixed Feb 09 16:47:32 LeChuck2k: sorry then, I can't help you with native code :( Feb 09 16:48:16 * Disconnect never said it wasn't in progress. or that its being left forever. etc. (and i even said, in so many words, don't bother the guys here, they can't help or make it faster or even take the blame..) i just said that this is where it is now, and the only thing to do to put pressure to fix it is to report through channels that it is a problem.. Feb 09 16:48:44 I have an old outdated crappy java implementation of my lib, so i'll just try to plug that in and see how well Dalvik performs. Feb 09 16:48:58 Really didn't want to get to this point. Feb 09 16:49:11 I wish I could just activate the camera in a native binary. Feb 09 16:49:14 romainguy: Well I really would help to improve the docs. Since I'm collecting here everything for myself at the moment. Feb 09 16:49:18 Disconnect: agreed; I still disagree about the use of leaked images though Feb 09 16:50:03 romainguy: so the preferred answer to someone who flashed master is "wow, look. a $700 paperweight. haha glad i'm not you!" ..? :( Feb 09 16:50:22 it certainly would turn up the heat on getting images released, but still :) Feb 09 16:50:29 no, the answer is to contact the company who sold you the phone Feb 09 16:50:32 and Google and HTC Feb 09 16:51:13 I understand the issue here but it does not justify, imo, the use of stolen binaries Feb 09 16:51:35 anyway Feb 09 16:51:38 you do realize nobody there will even respond, much less solve a problem, right? Feb 09 16:51:41 time to go to work and fix stuff :p Feb 09 16:51:49 Will someone steal the sources for qualcomCamera for me? Feb 09 16:51:54 pretty please? Feb 09 16:51:58 Disconnect: that's a pretty strong assertion Feb 09 16:52:11 threadkill, please. There's progress going on, so there's no point discussing how screwed up it's been so far. Feb 09 16:53:13 i don't count "we can't help" as a response. but given that - afaik - nobody has even gotten an answer for who is responsible for service/repairs, much less iamges... google punts to brightstar, they laugh and kcik it back, and htc won't talk cuz its google's exclusive... so.. yeah. but sure, i can be done with this. Feb 09 16:54:26 Well, in this discussion romainguy and I are "Google", and we're telling you that we've been listening, that there's progress, and we're asking you to be patient a little bit more. Feb 09 16:56:17 sure. and i totally accept - and even expressed - that someday it will be better. and someday may even be tomorrow. when there is an alternate path, i'll happily pull my images and save the bw and hassle :) (or teh goog coudl go gorilla on me and i'll obviously pull them then as well, althoguh that would reflect poorly on the whole 'open' bit ;) ..) Feb 09 17:02:52 how do you round a float to say 2 decimal places? Feb 09 17:03:13 sprintf :P Feb 09 17:03:25 *100 & round & /100 ? Feb 09 17:03:46 o_O .. its for printing purposes .. so sprintf may be best :P Feb 09 17:04:03 heh well ok then. i was kidding but .. :) Feb 09 17:04:08 silly java Feb 09 17:05:47 how about a String function to truncate? Feb 09 17:06:07 either that or can you limit a textview to x chracters Feb 09 17:07:31 http://java.sun.com/developer/technicalArticles/Programming/sprintf/ Feb 09 17:07:51 actually..nevermind Feb 09 17:07:58 :P Feb 09 17:08:01 wow. "use the sprintf commandline tool from jni" WTF sun?? Feb 09 17:08:04 crazy and a half Feb 09 17:08:33 oh there ... Feb 09 17:08:46 although it does look like they regain sanity farther down with examples of the java sprintf Feb 09 17:08:53 i just set the textview to not allow scrolling and set the max width Feb 09 17:09:14 and now it just adds an ellipsis to the end of the float Feb 09 17:09:16 that works fine Feb 09 17:09:36 :) Feb 09 17:09:37 that'll break on different resolutions, fonts, etc Feb 09 17:10:06 stupid non-g1 support :P Feb 09 17:11:10 DJTachyon, oh come on -"java round to 2 decimal places" into google.com and you are set Feb 09 17:11:20 :) Feb 09 17:12:10 :P Feb 09 17:12:53 i can't believe I have to integer shift even in Java Feb 09 17:13:02 i mean i know how to do that, I am a C coder Feb 09 17:13:04 please don't turn into me and use hacks like "i just set the textview to not allow scrolling and set the max width" to round a float :) Feb 09 17:13:22 i have to code on targets without floating point support :P Feb 09 17:13:48 meh .. not a hack if it handles it correctly Feb 09 17:14:12 ..if you say so :P Feb 09 17:14:16 if it just clipped it, that would be another thing Feb 09 17:14:35 ill probably be looking to save cycles on this app anyway Feb 09 17:14:49 ..seriously, thats a hack Feb 09 17:14:54 *shrug Feb 09 17:15:10 and, bonus, its not rounded Feb 09 17:16:49 its just to prevent it from overflowing the textview with 8 decimal places Feb 09 17:17:39 BigDecimal eh Feb 09 17:19:57 BigDecimal SpeedParam = new BigDecimal(num); Feb 09 17:19:57 SpeedParam = SpeedParam.setScale(2, BigDecimal.ROUND_HALF_UP); Feb 09 17:25:05 or i could just do a .substring(0,6) :P Feb 09 17:31:15 well ... Feb 09 17:31:26 SpeedString = Float.toString(Speed); Feb 09 17:31:26 SpeedString = SpeedString.substring(0,(SpeedString.indexOf(".")+2)); Feb 09 17:31:29 would be best Feb 09 17:35:36 but this does not do any rounding - I don't know if you need that or not :) Feb 09 17:46:25 nope dont need rounding Feb 09 17:46:41 not really anyway .. its just for user reference Feb 09 18:38:09 http://developer.android.com/ Feb 09 18:38:36 We are putting the blog post ASAP, but let me know if that site crashes or something in the meantime :) Feb 09 18:38:45 new SDK? :)) Feb 09 18:38:50 new site! Feb 09 18:38:55 romainguy_: that too, but this is just the site Feb 09 18:38:56 wow, the doc looks much better Feb 09 18:38:59 Indeed. Feb 09 18:39:02 This is just a reskin Feb 09 18:39:07 It's a necessary infrastructure and appearance upgrade Feb 09 18:39:21 it will let us add some new cool things going forward Feb 09 18:39:43 cool Feb 09 18:39:49 I can't wait for you to announce it on the mailing lists Feb 09 18:39:55 devs were getting impatient about the chagnelog :) Feb 09 18:39:58 all in the fullness of time :) Feb 09 18:40:08 hehe Feb 09 18:40:16 well at least I can finally enable marquee in my app now :p Feb 09 18:40:25 heh :) Feb 09 18:41:08 only like 3 months after I wrote the feature Feb 09 18:42:32 very nice, the docs do look much better Feb 09 18:44:08 I apologize once again if I was overreacting about the missing changelog before rc33 was pushed :/ Feb 09 18:44:18 the new site looks nice :) Feb 09 18:44:43 dev.android.com is a shorthand alias Feb 09 18:46:45 ..and theres the changelog.. THANKS guys! :) Feb 09 18:48:24 tauno_: what, were you ranting somewhere? :) Feb 09 18:49:16 tauno_, link? Feb 09 18:49:44 http://dev.android.com/sdk/android-1.1.html Feb 09 18:49:52 morrildl, I was on android-devel.. now I'm just ranting "locally" :) Feb 09 18:52:52 if anybody with write access is listening, there's a broken link at the bottom of that page for http://developer.android.com/ Feb 09 18:54:11 xlv-labs: which link? Feb 09 18:54:40 the one I mentioned, the link itself is "ttp://...." Feb 09 18:55:06 xlv-labs: I don't see any broken links Feb 09 18:55:08 what is the link text? Feb 09 18:55:49 in the documentation paragraph at the bottom:

http://developer.android.com/

Feb 09 18:55:59 xlv-labs: ahhhhhh, the download page Feb 09 18:56:02 I thought you meant the home page Feb 09 18:56:04 got it, thanks Feb 09 18:57:17 sorry, I should have included the page link in my first message... Feb 09 18:57:49 nice, first bugfix push, and we don't even have the blog post up yet :) Feb 09 19:02:25 come on.. still "Coming Soon: Internationalization and Localization are critical, but are also not quite ready yet in the current SDK"? :) Feb 09 19:02:50 tauno_: like I said, this is an infrastructure upgrade with largely the same content :) Feb 09 19:02:52 the developers APIs are there :) Feb 09 19:03:04 the tech writers are working on integrating the l10n document from the Group into the SDK docs Feb 09 19:03:12 morrildl, I know.. I just like to whine... a lot Feb 09 19:03:24 tauno_: it's not whining, it's constructive criticism :) Feb 09 19:03:29 ..but the new design looks really great :) Feb 09 19:04:32 currently all docs are same as 1.0? I don't have to hunt for new content? :) Feb 09 19:10:05 morrildl, there's some kind of thingie with the layout and my firefox - they don't seem to like eachother - there's no scrollbar in the "blog" page and I can't scroll down Feb 09 19:10:16 tauno_: hahahaha Feb 09 19:10:21 Yes we are fixing that literally this moment Feb 09 19:10:40 Blogger skins are notoriously picky Feb 09 19:11:14 oh, then it's not my firefox fault? good to know :) Feb 09 19:11:21 *mumble*mumble*stupid CSS*mumble* Feb 09 19:11:27 nope Feb 09 19:11:36 Safari does it too Feb 09 19:11:47 I doubt we've really tested it in IE, honestly ;) Feb 09 19:12:52 can I spam you with more stuff? Feb 09 19:13:17 ..it's not layout related so I quess no :P Feb 09 19:13:58 but anyway.. Community -> "Before posting, please red the Groups Charter that covers the community guidelines." first there's a spelling error and secondly the link does not take you anywhere :) Feb 09 19:14:08 haha Feb 09 19:19:07 tauno_: it's a new kind of captcha Feb 09 19:19:20 tauno_: we're hoping that the dumb posters get stuck on trying to find the charter, and never post Feb 09 19:19:22 ;) Feb 09 19:20:12 I see Feb 09 19:20:40 anyway, got that one into the queue for a fixin' Feb 09 19:23:04 another spelling mistake on http://dev.android.com/sdk/android-1.1.html, in New Feature: it's details -> its details Feb 09 19:31:47 http://android-developers.blogspot.com/2009/02/android-11-sdk-release-1-now-available.html Feb 09 19:31:49 yay Feb 09 19:46:39 what? gah. Feb 09 19:46:43 just got my dev environment all set up :) Feb 09 19:50:02 * jasta wonders if T-Mobile will pay to send me to I/O this year Feb 09 19:50:45 jasta: it's just a download, it'll install beside your existing SDK :) Feb 09 19:50:57 jasta: also you don't have to upgrade, the API diffs are very minor Feb 09 19:51:15 I would also love to go.. but I think there too much general google talk and too few android talk to convince my boss to justify the loooooooong trip :) Feb 09 19:51:37 tauno_: well, there will probably be more Android content, the ones that are up are just the current "placeholders" Feb 09 19:52:33 morrildl: ok, good. Feb 09 19:52:44 tauno_: my trip is very short :) Feb 09 19:52:57 i'd like to go to meet Romain. hopefully he won't skip out on this one :) Feb 09 19:53:13 I might be speaking at I/O this year Feb 09 19:53:23 you will be, if I have anything to do with it ;) Feb 09 19:53:48 ^^ Feb 09 19:54:37 excellent, i can heckle :) Feb 09 19:54:43 I better start killing bugs then.. I might squeeze out the trip if I meet some deadly deadlines :) Feb 09 19:55:29 and I'm sure Romain will run from me for his life so I won't bother :P Feb 09 19:55:57 tauno_: no, I will just call you out in the audience and publicly humiliate you Feb 09 19:56:06 ah yeah.. that too :( Feb 09 20:16:53 did someone at google forget to tag git with the 1.1 release? :) Feb 09 20:18:15 jasta: haaha Feb 09 20:18:35 that assumes adp1 or g1 1.1 can be built from the open source tree Feb 09 20:19:06 no it doesn't. Feb 09 20:19:15 it assumes make sdk will produce what they just published. Feb 09 20:19:22 I have a AlertDialog that contains a TextView that can be selected (eg it contains links) and the AlertDialog has also one button (set using AlertDialog.Builder.setPositiveButton()). In touch mode, the default focus is on the TextView - how can I change it so that the default focus is on the button? I'm doing this curently but I better not tell how.. Romain will cry if I do :P Feb 09 20:19:25 and it does, i believe. Feb 09 20:22:16 jasta: make sdk builds the bleeding edge cupcake+master sdk doesn't it? Feb 09 20:22:54 http://developer.android.com/ and the 1.1 SDK launched. Feb 09 20:22:56 well not if they properly tagged ;) Feb 09 20:23:13 they have a release-1.0 tag, i'd have to expect a 1.1 tag would come as well Feb 09 20:23:28 ctate: yeah we covered that :) Feb 09 20:23:30 tauno_: do NOT put the focus on a button in touch mode Feb 09 20:23:32 just don't Feb 09 20:23:36 okay, okay Feb 09 20:24:09 jasta: to tag it, it would have to be in the tree to begin with. which means it had to be done before 12/20 or so, when jbq did the cupcake merge. Feb 09 20:24:21 romainguy, sry, I didn't mean touch mode.. it's late in the evening.. my mistake.. I meant the other - non touch mode :) Feb 09 20:24:25 and if it was done that logn ago it prolly (but not certainly) would have been released before now.. Feb 09 20:29:41 heya Feb 09 20:29:55 ctate: hi Feb 09 20:30:08 so the broadcastreceiver is working and showing the toast message Feb 09 20:30:11 metachris: are you calling startActivity() and passing in the intent that the receiver get? Feb 09 20:30:13 gets Feb 09 20:30:18 cos that won't work :) Feb 09 20:30:35 okay, but no Feb 09 20:30:42 okay, good :) Feb 09 20:30:45 :-) Feb 09 20:30:54 i trie intents that work everywhere else Feb 09 20:31:31 verified Feb 09 20:31:32 does anything at all happen? Feb 09 20:31:45 the application has stopped unexpectedly :-) Feb 09 20:31:53 heh, whoops Feb 09 20:31:55 context.startActivity(intent); Feb 09 20:31:59 does it print anything in logcat? Feb 09 20:32:05 i tried the exact intent in the main class Feb 09 20:32:09 oh, is "context" null? Feb 09 20:32:09 there it works just fine Feb 09 20:32:15 * metachris checks Feb 09 20:32:59 the context is not null Feb 09 20:33:27 you're sure that should be working? Feb 09 20:33:29 okay, now i want to know what's in the logcat output. wacky. Feb 09 20:33:34 no, but it shouldn't *crash* Feb 09 20:33:36 iirc Feb 09 20:33:42 it was my first guess of how to do it :) Feb 09 20:34:10 how do i get the logcat output? Feb 09 20:34:21 (sounds like a stupid question :-) Feb 09 20:34:35 well, i'm not familiar with building stuff from the SDK, so um er uh Feb 09 20:34:41 can you run the emulator from the command line? Feb 09 20:34:47 adb logcat Feb 09 20:34:48 or ddms Feb 09 20:34:52 or the logcat view in Eclipse Feb 09 20:35:05 oh right, run adb logcat in a shell while the emulator is running Feb 09 20:35:07 or those Feb 09 20:35:11 thx romainguy Feb 09 20:35:27 i've already killed the emu Feb 09 20:35:57 okay, here we are Feb 09 20:35:58 maybe eclipse's logcat view will still have the info Feb 09 20:36:44 okay, i was right; there is definitely code in the system that uses context.startActivity() from a broadcast receiver's onReceive(context, intent) method Feb 09 20:36:46 so it should work Feb 09 20:37:07 ha Feb 09 20:37:12 i get it from the console Feb 09 20:37:21 i think the log output already has the solution Feb 09 20:37:24 I/ActivityManager( 52): Start proc org.linuxuser.android.teatime:remote for broadcast org.linuxuser.android.teatime/.TeaTimeAlarm: pid=246 uid=10018 gids={} Feb 09 20:37:24 aha Feb 09 20:37:24 I/jdwp ( 246): received file descriptor 10 from ADB Feb 09 20:37:24 I/NotificationService( 52): enqueueToast pkg=org.linuxuser.android.teatime callback=android.app.ITransientNotification$Stub$Proxy@434963f0 duration=0 Feb 09 20:37:24 D/AndroidRuntime( 246): Shutting down VM Feb 09 20:37:25 W/dalvikvm( 246): threadid=3: thread exiting with uncaught exception (group=0x40010e28) Feb 09 20:37:27 E/AndroidRuntime( 246): Uncaught handler: thread main exiting due to uncaught exception Feb 09 20:37:29 E/AndroidRuntime( 246): java.lang.RuntimeException: Unable to start receiver org.linuxuser.android.teatime.TeaTimeAlarm: android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? Feb 09 20:37:40 there you go :) Feb 09 20:37:56 in general, what you are doing is this: Feb 09 20:38:15 thanks a lot!! now i know a lot more -- also about the logcat! Feb 09 20:38:18 at some time of day, regardless of what the user is doing, you yank the current activity out from under their fingers and start yours instead Feb 09 20:38:24 this is Not Friendly :) Feb 09 20:38:38 right Feb 09 20:38:45 but some cases might excuse that :-) Feb 09 20:38:51 maaaaaaybe Feb 09 20:38:58 this is what the Notification service is for Feb 09 20:39:07 right Feb 09 20:39:13 i got crashes with that too :-) Feb 09 20:39:21 especially on setting the DEFAULT_VIBRATE Feb 09 20:39:31 as of Cupcake, when you do this there will be another intent flag that you pass along with FLAG_ACTIVITY_NEW_TASK that tells the OS that you're yanking focus away from the user Feb 09 20:39:55 so that other apps can correctly tell when the user has acknowledged their UI even when you come along and usurp it Feb 09 20:40:20 stuff like you're doing makes it more likely that other apps' UI notifications get lost :( Feb 09 20:40:29 just FYI :) Feb 09 20:40:55 but hey now you know what's going on Feb 09 20:41:18 yay! Feb 09 20:45:57 ctate: as i'm thinking about it... i think the notification manager is the better choice here :-) but thanks again, i get to understand more and more of it! Feb 09 20:46:06 hooray Feb 09 20:47:08 how long are you working with this plattform? Feb 09 20:48:27 metachris: i work for Google on the Android project Feb 09 20:49:04 so, for a while now :) Feb 09 20:49:10 :-) Feb 09 20:49:18 (about ten months, actually) Feb 09 20:49:43 (Sorry that I repeat myself) is there a sane way to force the focus to the AlertDialog buttons instead of the AlertDialog content in non-touch-mode at all? or isn't it possible without insane and stupid hacks? Feb 09 20:54:54 haha, the new SDK has marquee in it. next we need blink and we'll have gone full circle :) Feb 09 20:56:03 digitalspaghetti, my eyes! Feb 09 20:56:26 ctate: yet another question (about the notification manager): is it actually possible to use the "when" timestamp? Feb 09 20:56:42 because if i set it to System.currentTimeMillis()+10000 it fires off instantly Feb 09 20:57:17 currentTimeMillis() might be the wrong clock Feb 09 20:57:37 tauno_: no, and don't try to force your away around it, file a bug Feb 09 20:57:42 hm... can a notification be set off in the future anyway? Feb 09 20:58:05 s/anyway/in any way Feb 09 20:59:14 or would the notification need to be set off from an alarmmanager/broadcastreceiver Feb 09 21:00:29 <[RiS]> generating an MD5 checksum of a 40MB file it takes more than 10mins on my emulator.. is this expected or am I doing something wrong? Feb 09 21:07:34 I would assume expected Feb 09 21:08:25 <[RiS]> don't know if these are good or bad news xD Feb 09 21:11:15 is there an ETA on the new SDK release date? Feb 09 21:11:53 .. /topic Feb 09 21:12:00 so yeah. about 3 hours ago. Feb 09 21:12:01 :) Feb 09 21:21:05 Disconnect, man, I'm blind. Feb 09 21:23:17 romainguy, thanks for answering, I won't do it, relax :) (Filed a feature request - http://code.google.com/p/android/issues/detail?id=1953 - hope it fits) Feb 09 21:26:24 http://googleappengine.blogspot.com/2009/02/roadmap-update.html + Android = Dev Sex Feb 09 21:26:40 does anyone know how the mechanism works in Android Feb 09 21:26:57 where do these libraries come from? how are they loaded/used? what puts the stubs in android.jar? Feb 09 21:27:20 is this the right way to "extend" the API? Feb 09 21:28:05 As far as I know, and in a nutshell, it'll really only be supported starting with cupcake SDKs, and that support doesn't fully exist yet. I might be wrong and this might end up being post-cupcake. Feb 09 21:29:01 its mentioned in the Android 1.1 SDK that just dropped as being necessary to access maps Feb 09 21:29:13 Yes, that was already the case in 1.0 Feb 09 21:29:24 hmm Feb 09 21:29:35 well what would be a good way to extend the API with vendor-specific stuff? Feb 09 21:29:53 this frameworks/opt/ stuff seems interesting, but i dont understand how it connects to anything. Feb 09 21:30:53 in 1.1 there is no way to do it Feb 09 21:31:01 uses-library is the right way to extend the API in vendor-specific ways, but in 1.0/1.1 you might end up having to hard-code a lot of it, both in the device and in the SDK. Feb 09 21:46:10 Sigh. Feb 09 21:46:17 Anyone have experience with OpenGL ES? Feb 09 21:46:20 I'm hitting my wit's end Feb 09 21:47:09 Basically, the Apidemos stuff works, and I'm trying to change it slightly, and it's not working out. Feb 09 21:48:27 In particular, I'm trying to change the simple GLSurfaceView "rotating cubes" demo to use a triangle instead Feb 09 21:48:37 however, the triangle basically gets completely whacked out Feb 09 21:51:37 anybody have any examples of using MediaStore/Content Providers to get the list of media on your sdcard and putting it in a list? Feb 09 22:04:12 yes Feb 09 22:04:24 figured it out, I think. Feb 09 22:04:50 DJTachyon: http://android.ifies.org/index.php/2009/02/01/gallery-tutorial-with-file-location/ Feb 09 22:05:34 you'll need to adapt it for a ListAdapter and ListView, but the core should help you work out how to get the media you need Feb 09 22:42:09 hmm.. 1.1 release notes don't say anything about the 2 line max dialog title :/ Feb 09 22:42:22 digitalspaghetti: awesome, just got it to play an audio track from the mediastore Feb 09 22:42:33 :) Feb 09 22:44:08 :) Feb 09 22:45:17 how do you pull how many entries there are? Feb 09 22:45:27 so you know how much to parse? Feb 09 22:48:04 do the .getCount() method on the cursor variable Feb 09 22:50:47 hmm im getting exceptions when i try and get the cursor Feb 09 22:51:55 hmm ill deal with that later Feb 09 22:51:56 thanks man Feb 09 22:55:15 np Feb 09 23:22:30 morrildl & jasonchen : nice work on developer.android.com :) Feb 09 23:22:38 zhobbs: thx :) Feb 09 23:24:47 yea, looks amazing Feb 09 23:24:56 should help me in writing my talk for barcamp Feb 09 23:27:49 ugh .. making a listview in a dialog is annoying Feb 09 23:29:17 DJTachyon: did you see my tutorial? Feb 09 23:29:37 http://android.ifies.org/index.php/2009/02/09/creating-alert-dialogs-part-2-adding-listadapters-to-alerts/ Feb 09 23:29:49 nope :) Feb 09 23:31:15 anyway, night folks Feb 09 23:31:34 night, thx again Feb 09 23:41:02 hi all Feb 09 23:41:07 no questions today Feb 09 23:41:25 I want only to say everyone on this channel thanks Feb 09 23:41:33 customer paid .-) Feb 09 23:41:36 :-) Feb 09 23:43:32 I got no Javadoc on the 1.1_r1 :( Feb 09 23:43:39 I was saying before to disconnect ... Feb 09 23:43:40 also no local searches with the geocoder :( Feb 09 23:44:05 that I found a forum with a whishlist of android apps to develop Feb 09 23:44:20 texas hold'em Feb 09 23:44:22 one of them Feb 09 23:45:36 is there a newbie(like me) here (only as a developing mate) that wants to develop with me this game? Feb 09 23:46:11 one activity for me one for him :-) Feb 09 23:49:44 I don't want to suck his mind until he becomes an empty head. I want only to divide tasks. No one? Feb 10 00:00:20 Oh I'm esses again Feb 10 00:00:45 mpagano_ are you italian? Feb 10 00:03:12 bye I go to bed 1.02 here Feb 10 00:22:57 tauno_: yes, as of 1.1 dialog titles are clipped at 2 lines :) Feb 10 00:23:11 because if you want more than that, that's why setText() exists :) Feb 10 00:23:26 (setMessage() i guess. but not setTitle() is the point.) Feb 10 00:31:35 ctate, I know :) it's just not mentioned in the changelog :) Feb 10 00:31:52 the changelog is, alas, not guaranteed to be exhaustive Feb 10 00:32:09 and let me add Feb 10 00:32:15 more than 2 lines of title, wtf? Feb 10 00:32:16 :) Feb 10 00:33:29 ctate, yes, that's my point - it's not complete ;) Feb 10 00:33:54 romainguy, it doesn't take much to fill up the 2 lines, really :) Feb 10 00:34:01 exactly! Feb 10 00:34:10 that's what the message is for Feb 10 00:34:19 you don't put your application's layout in its title bar :p Feb 10 00:36:38 I'm a social guy - I can't express stuff in laconic two word things. I like titles in the form "Please fill in the following fields to proceed" :) Feb 10 00:38:03 yeah, that's what the message is for Feb 10 00:38:32 ok, I'm just kidding :) I don't invent these long titles myself and I'm not social :P Feb 10 00:42:52 and I personally agree with short titles. it's just that "oh come on.. we need to make them shorter? so you are saying we have to retranslate them?" etc Feb 10 00:43:57 and I wanna see Android working with estonian language - in this case 2 lines == 3 words (the last of them truncated) :) Feb 10 01:00:06 how do I set the user agent when using a URL and URLConnection to grab a stream? Feb 10 01:03:37 ahh, setRequstProperty()... Feb 10 01:07:24 no? Feb 10 01:23:21 I don't suppose anyone knows some git/repo magic words to make an android source tree compatible with RC33? Feb 10 01:24:11 cmb_: that's not possible. That tree isn't open-source. Feb 10 01:24:29 double double toil and trouble Feb 10 01:30:01 Anybody want to help me with this? http://pastebin.com/m60002ce2 Feb 10 01:30:32 I'm getting: "The constructor Intent(new View.OnClickListener(){}, Class) is undefined" Feb 10 01:32:29 you need new Intent(TrackSelect.this, TrackSelect.class); Feb 10 01:32:41 because of the inner class Feb 10 01:33:59 ah thanks Feb 10 01:34:27 "No enclosing instance of the type TrackSelect is accessible in scope" Feb 10 01:34:44 I assumed that this was in TrackSelect Feb 10 01:34:50 it's whatever the outer class is Feb 10 01:35:49 bingo :) Feb 10 01:35:50 thanks Feb 10 01:35:51 ;) Feb 10 01:37:01 hmmm still getting crashes Feb 10 01:37:13 when i do startActivityForResult(TrackSelect,0); Feb 10 01:38:05 what is the crash? Feb 10 01:38:44 printStackTrace hold on Feb 10 01:39:56 activity not found exception Feb 10 01:39:57 hmm Feb 10 01:42:28 why cant it find it Feb 10 01:43:20 oh crap Feb 10 01:43:26 i didnt declare it in the manifest Feb 10 01:45:34 there we go :) Feb 10 01:46:46 private String[] Tracks = {MediaStore.Audio.Media.???}; What do I replace ??? to get the mp3s on the sdcard? Feb 10 01:54:32 eh looks like there is more to it than that... Feb 10 02:40:36 [INFO:Sokoban] Solved sokoban level 3 **** ENDING LOGGING AT Tue Feb 10 02:59:57 2009