**** BEGIN LOGGING AT Sat Nov 08 03:00:02 2008 Nov 08 05:33:26 Where is a good place for android example code/tutorials Nov 08 05:35:58 ionstorm, there are a few places. code.google.com/android of course. also the andev forums and there was some stuff here http://android.jim.sh Nov 08 05:36:20 languish, thanks, what do you prefer for a new coder Nov 08 05:36:29 i really want to learn this Nov 08 05:36:49 ionstorm http://www.anddev.org/index.php?c=2 Nov 08 05:37:00 thanks Nov 08 05:37:27 ionstorm, I'm not a coder. Just a bit aware of the topic :) Nov 08 06:13:47 can we compile certain packages in the source instead of the whole thing? Nov 08 06:16:13 Laz: use 'mm' or 'mmm' Nov 08 06:17:48 Laz: mmm path/to/module snod && adb sync Nov 08 06:18:23 ok Nov 08 06:22:14 i saw your google groups reply to this :) it helped a lot Nov 08 07:16:05 Morning Nov 08 07:18:24 What kind of music formats do you use in your Android games? Does it play MIDI and AMR like JavaME? Can you use MODs and XMs without problems? Nov 08 07:31:56 dunno, I hear ogg is one of the preferred Nov 08 07:37:21 Hmm Nov 08 07:37:44 I think that's what developers do on the iPhone as well, but I just imagine games being insanely big then. Nov 08 07:37:57 ogg compresses well Nov 08 07:38:10 as good or better than mp3 at low bit rates Nov 08 07:38:22 and besides storage is cheap Nov 08 07:38:31 I added 8GB to my g1 for $30 Nov 08 07:39:36 XM and MOD are much smaller, and MIDI even smaller, but I'd prefer using XM or MOD. That format also offers more control with the music. Nov 08 07:40:01 But there has to be a player for it of course. Nov 08 07:40:05 dunno Nov 08 07:40:12 might be a poor choise for a game Nov 08 07:40:23 I suspect the g1 cpu is about as fast as the cpu in most sound cards ;-) Nov 08 07:40:36 Then it should be possible. Nov 08 07:40:57 With JavaME you can play mp3 files as well, but it's not fast enough to play MODs and XMs. Nov 08 07:41:21 well ideally your game would be spending some of it's cpu on running the game ;-) Nov 08 07:42:03 Oh... sound cards. Nov 08 07:42:21 Er Nov 08 07:42:29 You mean it's not that fast? Nov 08 07:45:59 Windows smartphone games uses MOD all the time. Surely Android must be able to also then. Nov 08 08:37:37 I just got a update notification, and pressed update later, how do I bring it back up to update Nov 08 08:40:45 just sleep Nov 08 08:40:47 and wake up Nov 08 08:40:51 er end Nov 08 08:40:55 please do suid first Nov 08 14:54:59 hmm.. why can't I replace the Dialog in onPrepareDialog(int id, Dialog dialog) with some other Dialog that I create there? :) Nov 08 14:56:23 eg dialog = new AlertDialog.Builder(this).create(); Nov 08 14:58:59 ..or is there any other way that I can change the items (Dialog was created in onCreateDialog() using AlertDialog.Builder.setItems()) in onPrepareDialog()? Nov 08 15:13:22 found a way.. I call removeDialog(id); before doing dialog = new AlertDialog... in onPrepareDialog(). Nov 08 16:39:02 wonder how can I easily display styled text in a Dialog (created using AlertDialog.Builder.setItems())? Tried passing in a CharSequence that contained styled text but that didn't work Nov 08 16:41:19 currently I do AlertDialog.Builder.setAdapter() and then use a custom Adapter that spits out TextViews that contain the styled text.. but it does not look as good as the list that is created by using AlertDialog.Builder.setItems() Nov 08 16:43:47 ..should use ArrayAdapter I guess.. Nov 08 17:02:36 hmm..what if I wanted to use android.R.id.text1 as the TextView in an ArrayAdapter?.. Nov 08 17:02:55 ArrayAdapter(myContext, android.R.id.text1) is clearly not working.. Nov 08 17:05:28 gives me a "android.content.res.Resources$NotFoundException: File from xml type layout resource ID #0x1020014" <- that's because the context is.. "wrong"? :) Nov 08 17:15:45 romainguy__, I guess you could save the day here again :) Nov 08 17:18:48 another option would be to take text1 and include it in my app but I haven't located it in the source yet.. and this solution would be.. lame Nov 08 18:07:43 ah.. I'm getting everything wrong again :P Nov 08 18:07:52 disregard my last questions :P Nov 08 20:09:17 hey guys, I'm curious about just seeing what goes on behind the scenes when you make a call--where should I start looking? Nov 08 20:34:41 anyone newbie programming tutorials for android for a beginning programmer Nov 08 20:35:09 been searching google, just see docs that are quite advanced and dont explain the code thoroughly Nov 08 20:39:05 ionstorm, for programming android applications? Nov 08 20:39:15 KNY, yea Nov 08 20:39:19 http://code.google.com/p/android/ Nov 08 20:39:44 http://code.google.com/android/intro/index.html Nov 08 20:39:52 go through the notepad tutorial Nov 08 20:40:03 thanks Nov 08 22:52:44 Howdy Nov 08 22:54:06 Quiet in here today Nov 08 23:10:39 hola Nov 08 23:14:01 :) Nov 08 23:14:04 i was testing IR Nov 08 23:14:06 C Nov 08 23:14:30 IRC on my G1 Nov 08 23:23:05 michaelnovak-g1_, what clinet? Nov 08 23:23:09 client, too Nov 08 23:27:47 KNY: mine Nov 08 23:28:09 nice, I've been looking for an IRC app Nov 08 23:28:22 its coming along.... needs work but i have it functioning Nov 08 23:29:44 is this planning on being closed-source? Nov 08 23:29:50 if not, I wouldn't mind helping Nov 08 23:30:01 i'm going to open the source up Nov 08 23:30:09 i'm all about open source Nov 08 23:30:10 :) Nov 08 23:30:29 nice :) send me a pm or something when you get a repo set up or something, would you? Nov 08 23:30:39 no problem, thanks :) **** ENDING LOGGING AT Sun Nov 09 02:59:57 2008