**** BEGIN LOGGING AT Mon Sep 08 02:59:57 2008 Sep 08 03:41:43 how do you go to a new "window"? Sep 08 03:41:55 like how can i open a new layout? Sep 08 07:13:38 hi, is it possible in android to turn on / off gps device from application level ? Sep 08 08:23:52 shit, didn't know you have to be a windows user to be enjoying all of the google services Sep 08 09:18:34 muthu: what is missing for non windows users? Sep 08 09:19:07 http://lively.com/ Sep 08 09:20:34 Oh guys Im starting to hate the MediaRecorder :D Sep 08 09:20:54 is it working? Sep 08 09:21:17 Audio recording is working now but adding the files to the audio content provider isnt working properly Sep 08 09:21:31 Yeah I can record the audio even from the mic of my notebook Sep 08 09:21:36 cool Sep 08 09:21:45 And I can play it with the music app. Sep 08 09:22:08 But after rebooting the emulator the meta information is gone. Sep 08 09:22:37 is it stored in db? Sep 08 09:22:38 But I have added titel etc. I can see it when I play the file directly with the music app. Sep 08 09:22:43 Yeah it is. Sep 08 09:22:48 I'm playing it from the URI Sep 08 09:23:15 the next time, does it disappear from db? Sep 08 09:23:45 Well one moment I take some screenshots. Sep 08 09:23:50 http://img.skitch.com/20080908-m5yaiyqh7jugcub5p5pmmna2ee.jpg <- playing Sep 08 09:24:31 playlist: http://img.skitch.com/20080908-rkd2s7jnc6dksftwa5xf5p9hir.jpg Sep 08 09:24:40 And now I'm restarting Sep 08 09:24:43 the emulator Sep 08 09:25:58 http://img.skitch.com/20080908-825exr6mcqt82dm2idkwpwa7xh.jpg Sep 08 09:27:20 http://img.skitch.com/20080908-jsgf8yghnkdg8241rsqyweje78.jpg Sep 08 09:27:30 So I dont really understand what happens :) Sep 08 09:27:51 did you look in db? Sep 08 09:28:08 Hmm well no thats what I have to do now. Sep 08 09:28:14 But it is pretty wired Sep 08 09:28:21 With pictures everything is working well Sep 08 09:28:40 might be a bug Sep 08 09:44:30 Does the mediarecorder not work? I wrote an (audio) mediarecorder app today but I havent tested it yet. Sep 08 09:46:37 gambler: Well it is recording fine. You can add it to the audio content provider. You can play the added file from the "recently added files" section Sep 08 09:46:45 in the music app Sep 08 09:47:06 But the file is not showing up in the Artist, Album, Title section Sep 08 09:47:22 even with provided meta data while adding it to the content provider Sep 08 09:47:43 And after restarting the emulator all of the added meta data is gone. :-) Sep 08 09:48:20 So well recording works. (it is bad sound quality but ok the encoder is AMR so I dont expect much from that at the moment) Sep 08 09:50:34 Did you use a ContentResolver and all that? Sep 08 09:50:38 yeah Sep 08 09:50:45 thats the limit of my knowledge Sep 08 09:51:23 anno^da_: so its saved in db, then lost Sep 08 09:51:24 Yeah I've discussed that with Mega Joshi from the groups and the whole section "MediaRecorder" is kind of buggy. :-) Sep 08 09:51:35 muthu: seems so. Sep 08 09:51:51 Otherwise the meta data wouldnt show up when I'm playing the file directly Sep 08 09:51:56 would be surprised if its in db, then lost Sep 08 09:52:19 I would be surprised as well. Do you know by heart where the db for the audio files is located ? Sep 08 09:52:47 not by heart.. but can check with ddms Sep 08 09:52:58 must be under /data/system Sep 08 09:54:53 hmm well it isnt there Sep 08 09:55:12 I'm going through all the dirs now Sep 08 10:15:27 Does someone know a service that converts files from a variety of audio formats into mp3 ? Sep 08 10:15:42 and has something like an API Sep 08 10:15:47 for accessing this service Sep 08 10:39:57 hello, how can i manage curent network connection from my app ? For instance is it possible to turn of wifi and switch to gprs ? Sep 08 12:03:39 wtf, is this the official android-market o_O http://androidcommunity.com/forums/androidmarket.php Sep 08 12:03:50 that cannot be true !! Sep 08 12:05:12 must be fake... Sep 08 12:08:22 guess what, the author of that rumour is the author of androidcommunity itself... Sep 08 13:41:56 oy Sep 08 13:42:31 is the protocol buffer used in android? Sep 08 13:55:10 no Sep 08 14:00:02 gambler: what's aidl based on? Sep 08 14:01:44 muthu, an independent code base. Sep 08 14:03:10 I imagine its legacy before Google acquired "Android Inc." Sep 08 14:04:18 oh ok Sep 08 14:05:50 yep. I was really hoping at one stage it would get integrated. Very compact+efficient Sep 08 14:26:05 yeah, that would be nice since they claim its super fast Sep 08 14:39:54 are you guys expecting an announcement from google today? Sep 08 14:44:36 tethridge: about what Sep 08 14:44:51 don't know Sep 08 14:45:03 I heard google was having an announcement today Sep 08 14:45:12 don't know what it's about Sep 08 14:45:17 nobody does, I guess Sep 08 14:45:39 publish your ad on the moon? :) Sep 08 14:45:50 I have been hearing that rumor Sep 08 14:46:09 just a matter of time... Sep 08 14:47:06 I don't think that would be particularly useful. The moon does't get a lot of foot traffic to see your ad ;) Sep 08 14:47:46 Pepsi would pay Sep 08 15:04:37 what's the announcement about? Sep 08 15:04:56 is it the market launch? Sep 08 15:07:27 who would buy the apps? there are no phones outside Sep 08 15:08:44 yeah, no reason for a market launch yet Sep 08 15:08:55 plus, i thought it was announced that the market wouldn't launch until after the phone launch Sep 08 15:08:59 there was that whole "update" thing Sep 08 15:09:20 Dougie187: market will be out when phones are released, just only will include free apps Sep 08 15:09:27 oh true. Sep 08 15:09:30 i forgot that part. Sep 08 15:09:39 then the update is for "priced" apps Sep 08 15:11:59 where do people hear that google is supposed to announce something today anyways? Sep 08 15:12:05 then what's the announcement about? Sep 08 15:12:37 is it Chrome for Linux? Sep 08 15:12:42 i wish. Sep 08 15:12:49 Chrome on Android?? Sep 08 15:12:59 i thought that was already semi announced. Sep 08 15:13:03 not quite chrome. Sep 08 15:13:07 but parts of it Sep 08 15:13:09 or something Sep 08 15:13:38 Android on PC??? Sep 08 15:14:22 no, but the browser on android Sep 08 15:14:23 http://www.intomobile.com/2008/09/04/googles-chrome-browser-coming-to-google-android.html Sep 08 15:14:40 there ya go. Sep 08 15:15:01 ha Sep 08 15:15:08 that's old news! Sep 08 15:15:45 i think thats the point. Sep 08 15:18:38 is gmail running on chrome? Sep 08 15:20:01 Should be pretty easy to find out... Sep 08 15:20:03 I hope gmail works with chrome, I think that's the whole point Sep 08 15:20:50 yeah, guess so Sep 08 15:20:57 announcement at 11:45 AM pacific time Sep 08 15:21:02 what? Sep 08 15:21:08 only google knows Sep 08 15:21:09 another one? Sep 08 15:21:15 they didn't say what it concerns Sep 08 15:21:57 may be gphone Sep 08 15:21:59 obviously, I'm hoping for a, "Hey we have an android phone available for immediate purchase so our developers can be more productive!" Sep 08 15:22:04 but I'm not holding my breath. Sep 08 15:22:06 :-) Sep 08 15:22:13 that's a possibility Sep 08 15:22:36 developers need the devices now Sep 08 15:23:39 I think the moon ad is more likely though Sep 08 15:23:56 me too Sep 08 15:24:00 im down with the moon ad idea Sep 08 15:24:10 google ads for android Sep 08 15:24:46 odds are that it's not related to android at all.... Sep 08 15:25:02 zhobbs: is there an announcement? Sep 08 15:26:01 may be gphone shipping worldwide? Sep 08 15:26:10 muthu... Sep 08 15:26:51 you should tape your hands to your face for 3 hours and 15 minutes. Sep 08 15:27:10 then come back and the "announcement" should be out. Sep 08 15:27:14 haha Sep 08 15:27:21 but is there an announcement? Sep 08 15:27:27 who knows? Sep 08 15:27:30 call google. Sep 08 15:27:35 maybe they will tell you Sep 08 15:27:35 who knows is in android!! Sep 08 15:27:43 1-800-GOOG-411 Sep 08 15:27:53 do you have that tape yet? Sep 08 15:27:55 that pizza delivery was impressive :) Sep 08 15:28:08 what a timing.. Sep 08 15:28:26 are you one of the people who falls for google's april fools jokes? Sep 08 15:28:51 Dougie187: Android is close, so this is newtime Sep 08 15:28:56 s/newtime/newstime Sep 08 15:29:04 i could just imagine you in here "OMG! They have this new super fast internet that goes through your toilet!" Sep 08 15:29:15 hehe Sep 08 15:29:31 well you have at most 3 months to wait until android is out. Sep 08 15:29:35 i guess 4 actually though Sep 08 15:29:47 there's only one thing i want to know Sep 08 15:29:54 when does the market launch? Sep 08 15:30:01 does it matter? Sep 08 15:30:04 yes Sep 08 15:30:07 is that really the biggest thing on your mind? Sep 08 15:30:09 yes Sep 08 15:30:14 why? Sep 08 15:30:19 need to plan Sep 08 15:30:19 wouldn't you want to know when phones were out first? Sep 08 15:30:24 so make one. Sep 08 15:30:30 and then when it comes out, you will be ready Sep 08 15:30:44 as an android developer.. i'm more focused on the launch date Sep 08 15:30:51 so we can polish our app and get it ready Sep 08 15:30:56 of the phone. or of the market? Sep 08 15:31:20 are you guys going to charge for your app? Sep 08 15:32:13 i'm working on a new one Sep 08 15:32:33 will be free Sep 08 15:32:33 a new app? Sep 08 15:32:37 yup Sep 08 15:32:40 what about cooking capsules? Sep 08 15:32:44 is that free? Sep 08 15:32:53 donno Sep 08 15:33:18 CC cannot be free Sep 08 15:33:30 it takes a lot of money to produce those shows Sep 08 15:33:42 do you guys have an idea how much it will cost? Sep 08 15:33:49 argghghghghg Sep 08 15:34:07 sounds expensive Sep 08 15:34:13 haha Sep 08 15:34:55 i don't know how many people are going to be able to pay argghghghghg for it. Sep 08 15:41:11 plusminus_: it's not a bug that Home takes the label of since you can have several LAUNCHER activities in the same apk Sep 08 15:44:39 if you have multiple launcher activities within the same apk, do they all show up in home screen? Sep 08 15:45:40 nick muthu Sep 08 15:47:16 muthu: yes Sep 08 15:47:17 What is the easiest way to save an BufferedInputStream to a file ? Sep 08 15:47:31 morrildl: thx Sep 08 15:49:02 anno^da_: write bits to an OutputStream Sep 08 16:07:57 http://androidcommunity.com/forums/androidmarket.php Sep 08 16:20:37 is there a download for the androidmarket yet? Sep 08 16:21:59 ooh, weather channel mobile looks awesome Sep 08 16:23:17 km-: no d/l for market yet Sep 08 16:23:40 drats. Sep 08 16:23:47 I wanna try that weather channel mobile on the emulator Sep 08 17:15:04 hmm i cant seem to use ' or " in strings.xml :/ Sep 08 17:15:10 * umdk1d4 tries " Sep 08 17:15:58 nope doesnt like that either Sep 08 17:17:32 im trying to use them around '%s' maybe thats the issue Sep 08 17:17:55 nope it happens regardless of location Sep 08 17:20:43 escape them Sep 08 17:20:52 or put " all aroudn the string Sep 08 17:20:55 that should work Sep 08 17:21:35 It Sep 08 17:21:47 \s a pity,/string> Sep 08 17:21:50 damnit Sep 08 17:21:52 aha! Sep 08 17:22:01 didnt think of that, and i was already escaping newlines Sep 08 17:22:02 It\'s a pity Sep 08 17:22:06 thanks :) Sep 08 17:22:25 i think it worked for me Sep 08 17:34:08 umdk1d4: saw you were quoted in that business week story Sep 08 17:34:28 she always interviews me, but never quotes me...guess I'm not interesting enough Sep 08 17:49:58 Does someone have an idea if it is possible to transcode a recorded 3GP file into MP3 on the device? (is there a possobility to get ffmpeg or sth similar on the device) Sep 08 17:51:37 (because 0.9 is lacking MP3 encoding support) Sep 08 19:14:46 hello? Sep 08 19:14:59 hi? Sep 08 19:15:07 hi, just testing my mIRC setup Sep 08 19:15:24 hello android devs Sep 08 19:15:29 :) Sep 08 19:16:01 kingkung: might I suggest xchat? Sep 08 19:16:21 mIRC sort of has the security record of swiss cheese Sep 08 19:16:29 ah Sep 08 19:16:32 okay Sep 08 19:16:53 didn't realize they have xchat for windows Sep 08 19:17:13 http://silverex.info/news/ Sep 08 19:18:23 zhobbs: yup Sep 08 19:18:28 i'm in it now Sep 08 19:18:54 i have a quick question, dunno if anyone can help Sep 08 19:19:29 re: listview focus Sep 08 19:19:56 maybe, just ask Sep 08 19:20:11 i have a list of elements, and within those elements are Linkified links Sep 08 19:20:28 these links seem to grab the focus away from the actual list element Sep 08 19:20:40 so my OnClickListener becomes void for any element with a link in it Sep 08 19:21:24 kinda a strange UI setup to have links inside list rows Sep 08 19:21:43 is there any good way to maintain this listener? so if the user touches the list element, something happens, and if he specifically touches the link within the element, it does a request? Sep 08 19:21:48 an http request Sep 08 19:22:10 why is that strange (just wondering)? Sep 08 19:23:06 well, maybe it's not...just depends on the size of the linkified links vs the size of everything else I guess Sep 08 19:24:11 yeah, taking a list of contacts for example, you may have URLs for your contacts... Sep 08 19:25:34 so when the user touches there you should get the onclick/onitemselect event from one of the two right? Sep 08 19:27:17 yeah Sep 08 19:27:22 if he touches the link it opens a browser Sep 08 19:27:39 if he touches anywhere else it does something else Sep 08 19:27:47 anywhere else within that list item Sep 08 19:27:48 i mean Sep 08 19:28:21 RomainGuy said there was an XML attribute that allowed a parent to inherit a child's state (and hence, focus) Sep 08 19:28:33 but i don't know what attribute he means Sep 08 19:34:03 kingkung: it's in the documentation... android:addStatesFromChildren Sep 08 19:34:16 kingkung: is there any good way to maintain this listener? so if the user touches the list element, something happens, and if he specifically touches the link within the element, it does a request? << no Sep 08 19:37:21 hey, okay, thanks Sep 08 19:43:09 RomainGuy, u said in a previous post that android doesn't handle embedded foci (focusable item within focusable item) well... is there something in the works, or is this going to be the way it is? Sep 08 19:43:43 i'm not sure if this problem is with android or SQL Sep 08 19:44:43 ? Sep 08 19:45:44 i have an SQLiteDatabase Sep 08 19:45:51 (gotten from getWritableDatabase) Sep 08 19:46:09 one of the fields is "link text not null" Sep 08 19:46:31 i tried values.put("link", link); (where link is a string containing a url) Sep 08 19:46:56 i was rewarded with this error: Sep 08 19:46:57 ERROR/Database(4012): Error inserting link=http://revision3.com/diggnation/feed/quicktime-small/ using INSERT INTO podcasts(link) VALUES(?); Sep 08 19:49:26 squeakypants: missing any required fields on that table or something? Sep 08 19:49:53 only not nulls are title and link, and I add title right after link Sep 08 19:50:11 this is all in the ContentValues, before i do db.insert Sep 08 19:52:01 oh do i need to do beginTransaction()? Sep 08 19:53:59 can I assume that's a no, then? Sep 08 19:58:30 well, putting it inside a "transaction" seems to have fixed it :) Sep 08 19:59:12 anyone else have this weird issue Sep 08 19:59:40 where if a listactivity menu has >6 items (where you have to hit "More") Sep 08 20:00:01 hitting "More" will nullify the selected item in the list? Sep 08 20:00:33 "More"? Sep 08 20:00:56 when i have more than 6 MenuItems in my activity's menu Sep 08 20:01:10 it displays five of them on the first menu screen, and the last item is "More" with a down arrow Sep 08 20:03:54 argh Sep 08 20:03:56 this is not an issue Sep 08 20:04:09 selection and focus do not exist in touch mode Sep 08 20:04:29 you should NOT use the menu for context based actions Sep 08 20:14:16 will the androidmarket be opened before the t-mobile previewdevices are launched? Sep 08 20:15:00 nothing has been announced about devices Sep 08 20:17:01 not official Sep 08 20:17:03 lz Sep 08 20:17:06 ly Sep 08 20:17:22 maybe I was just dreaming of that... Sep 08 20:27:27 hmm Sep 08 20:27:36 i'm getting java.netSocketException when I try to open a URL Sep 08 20:27:39 like to parse Sep 08 20:27:45 you need to request the INTERNET permission Sep 08 20:27:59 aha, how do i do that? androidmanifest? Sep 08 20:28:03 yes Sep 08 20:28:10 aha, thank you very much :D Sep 08 20:55:14 so romainguy, any chance in future versions of Android of the possibility that embedded focusable items may work as they should? Sep 08 20:55:54 i'm holding out hope. Sep 08 20:56:33 they do work as they should Sep 08 20:56:35 they get the focus Sep 08 20:58:31 i mean, any chance that the outer list item would be able to also have focus when it contains an inner focusable item? Sep 08 20:59:13 in future versions i mean Sep 08 20:59:45 no Sep 08 20:59:59 focus is on one widget at a time Sep 08 21:00:26 dammit Sep 08 21:00:30 enabling this would create a discrepancy between keyboard-based navigation and touch-based navigation Sep 08 21:00:49 (unless of course we find a nice way to do this :) Sep 08 21:01:03 i'm hoping that you do :) Sep 08 21:01:23 don't get your hopes too high Sep 08 21:01:36 okay, i'll try to find a way around it Sep 08 21:01:37 having to support touch and keyboard at the same time is a big mess Sep 08 21:01:48 i understand Sep 08 21:33:05 how would i compile an external java library for use in an android app? Sep 08 22:43:47 So UK gets android phone on tmobile in november huh? Sep 08 23:09:27 Dougie187: where did you hear that? Sep 08 23:09:34 http://www.engadget.com/2008/09/08/htc-dream-coming-to-t-mobile-uk-in-november/ Sep 08 23:09:43 i'll be in the UK in november.. i thought i had to wait until i was in the usa in december Sep 08 23:09:46 granted, its a rumour. Sep 08 23:10:10 or should i wait till i get back to australia .. decisions ;) Sep 08 23:11:32 i love how you can paste urls from bitchx now into firefox (when they split onto seperate lines) Sep 08 23:12:02 it used to paste the newline into the address bar as well.. and break.. and you had to manually join the url back together (annoying) Sep 08 23:15:37 that article has a post in it that links to a cnet article which is offensive ;) Sep 08 23:16:02 it suggests that andoid wont sell.. and that what people want is tightly integrated hardware/software ... okaaaay ;) Sep 08 23:29:10 if i update a db that's attached to a SimpleCursorAdapter, how do i update the listview? Sep 08 23:40:55 getListView().invalidateViews() Sep 08 23:41:09 you can only update the view through invalidating the entire listview. Sep 08 23:44:57 I think you can update one row at a time Sep 08 23:45:12 romainguy_: how do you update one row in a listview? just get the view for that row and invalidate it? Sep 08 23:47:45 kingkung: thanks :) Sep 09 00:05:44 how do i set an imageview to a file (instead of a resource)? Sep 09 00:19:03 squeakypants: setImageUri Sep 09 00:19:16 aha, thanks :) Sep 09 00:50:59 Does anyone know of a way to achieve "stateful programmatic web browsing" in Android ? such as Mechanize for Python ( http://wwwsearch.sourceforge.net/mechanize/ ) and Perl ( http://search.cpan.org/dist/WWW-Mechanize/ ). I have used HTTPUnit in the past to navigate websites in Java, however in android HTTPUnit doesnt work. I need a way to fill in HTML forms, submit them, read responses, follow links - web browsing stuff. anyone ha Sep 09 00:51:00 ve any experience with this? **** ENDING LOGGING AT Tue Sep 09 02:59:57 2008