**** BEGIN LOGGING AT Sat Feb 07 02:59:58 2009 Feb 07 07:33:41 DJTachyon: woohoo! I just saw your app on the market =) Feb 07 07:34:01 I have a good idea what the crash on orientation switch is. Easy to fix, too. Feb 07 07:34:50 @Override onDestroy and set any drawables to null. Feb 07 07:35:15 (assuming you do a logcat and see outofmemory) Feb 07 09:23:33 Hello. Feb 07 09:23:40 Is there a view for inputing integers? Feb 07 09:44:17 Pupeno: EditText, set the input mode to numeric Feb 07 09:44:45 rsteckler: @Override onDestroy and set any drawables to null. << that would help only if the drawables were static Feb 07 14:32:06 anyone worked with files on the SD card before? I am getting errors in my code Feb 07 14:33:08 02-07 14:32:56.942: WARN/System.err(9259): java.io.IOException: Parent of file is not a directory: /sdcard/twitcast/Radio Leo.jpg Feb 07 14:35:31 i've also had: 02-07 14:35:09.852: WARN/System.err(9310): java.io.IOException: Parent directory of file does not exist: /sdcard/twitcast/The Laporte Report - Audio Edition.jpg Feb 07 14:35:46 do you have a twitcast directory on your SD card? Feb 07 14:36:00 so, but i am trying to create it with .mkDir() Feb 07 14:36:34 Are you trying to mkDir("/sdcard/twitcast") ? Feb 07 14:37:29 ahh ignore the second one, i had my SD card there, it's still the first one Feb 07 14:37:36 no, i'll paste it Feb 07 14:38:43 http://paste.ifies.org/324 Feb 07 14:39:53 Hmmm, that looks reasonable to me. You wouldn't happen to have a *file* called twitcast on your sd card? (that bit me once) Feb 07 14:39:56 basically i check to see if this is the first time the app is run, fetch the pre-defined XML feeds and I want to cache the graphics Feb 07 14:40:03 jbq_: no, checked Feb 07 14:41:05 Hmmm, I have no idea then (I'm not familiar enough with those APIs to spot the subtle issues that might exist) Feb 07 14:43:51 Is there a view for inputing integers? Feb 07 14:45:41 no, but you can use a EditView and check to see what is being entered, and if it's not 0-9, ignore it Feb 07 14:45:55 i can't remember how, but you can Feb 07 14:56:44 Is the 1.1 sdk going to be released soon? I just noticed my RC33 g1 complains when I upload stuff to it. Feb 07 15:01:07 macpod: what kind of complaints? Feb 07 15:16:43 [2009-02-06 23:03:22 - SRV1Console] WARNING: Device API version (1.1) does not match SDK API version (1.0) Feb 07 15:17:06 all right, that's just a warning, but it lets you keep going, right? Feb 07 15:19:09 Yea, it doesn't give me trouble. It just made me think the 1.1 sdk was due soon :) Feb 07 16:09:35 http://paste.ifies.org/326 any ideas, why i get false on this? Feb 07 16:19:06 Question about ListView: It looks like it reuses the same view objects, so does this mean that as I'm scrolling down it's calling the setViewValue method of its viewbinder for every item that comes onto the screen? Feb 07 16:29:27 anyone who knows how to get the error log on the android? Feb 07 16:29:30 Okay, just for the record, that is true. I'm having a problem where scrolling has become sluggish, and I suspect it's because I'm calling SimpleDateFormat.format for each row. Feb 07 16:30:15 FrostShock: Go to a shell on the phone and type logcat or do adb logcat. Feb 07 16:31:53 thanks :) Feb 07 16:33:02 Or, adb lolcat Feb 07 16:34:08 trying to figure out why i cant download mms Feb 07 16:48:36 is it possible to debug the trafic going throgh edge/gprs? Feb 07 17:00:17 http://groups.google.com/group/android-developers/browse_thread/thread/54a14defc64e8760 Feb 07 17:07:33 digitalspaghetti: Is /sdcard/twitcast a directory? Feb 07 17:08:24 yes, i'm calling .mkdirs so as far as i understand from the docs, that should create it Feb 07 17:08:27 I'd do filename.getParent().mkdirs() first. Feb 07 17:09:03 I believe you're making a directory called 1.jpg with that command. Feb 07 17:09:27 adb shell into it and take a look at what gets created. Feb 07 17:12:17 ahh, somehow there was a file twitroid on the sdcard that was created Feb 07 17:12:20 i didn't see it before Feb 07 21:34:17 how to i play an audio stream using MediaPlayer? It only seems to work when i point it to an MP3 Feb 07 21:45:22 digitalspaghetti: bingo :) Feb 07 21:45:38 the mediaplayer framework is hardly as abstract or sophisticated as it pretends. Feb 07 21:46:08 you can only stream from those codecs supported by opencore, which is mp3 and lots of the other video formats Feb 07 21:46:12 but not ogg or anything else Feb 07 21:46:25 and to extend it would be nightmarish: each backend has to implement streaming for itself Feb 07 21:46:28 so none of the logic is reusable Feb 07 21:46:51 my solution currently is a lame one server side to transcode ogg files to mp3 for consumption on the phone Feb 07 22:05:01 or i can just ask them to stream mp3 as well Feb 07 22:27:30 I also noticed that the MediaPlayer won't stream anything unless it has a known content-length Feb 07 23:11:44 that could also be an issue, but then how does streamfurious do it? Feb 07 23:25:14 are you supposed to URLEncode everything after the host? or just the query string? Feb 07 23:27:19 because apparently http://www.server.com/path/to/file something.gif is not a valid url Feb 07 23:28:32 replace the space with a %20 ? Feb 07 23:29:04 yeah...that works...just would like a more general way to do it Feb 08 00:07:30 * MikHel is updating the version name and version code in the manifest, but the generated unsigned application does not reflect the change. Anybody got an idea what is wrong? **** ENDING LOGGING AT Sun Feb 08 02:59:57 2009