**** BEGIN LOGGING AT Sun Nov 18 02:59:56 2007 Nov 18 03:08:29 Hmm. Nov 18 03:08:35 Hmm? Nov 18 03:08:48 Mhh. Nov 18 03:08:59 trying to parse an XML file and I get: Nov 18 03:09:02 Can't create default XMLReader; is system property org.xml.sax.driver set? Nov 18 03:09:11 Hm. Nov 18 03:09:15 I'd bet it's not, then :\ Nov 18 03:09:41 How do I set it; what should it be set to? Nov 18 03:10:23 Not sure, I haven't messed with the SAX stuff Nov 18 03:11:50 well, hmm, ok. Nov 18 03:16:19 So I wonder what the SAX driver is in Android? Nov 18 03:17:49 hm so the SAX parser does not work? I was planning on using that :) Nov 18 03:18:17 there's no default driver, at least. i'm looking on the forums now and it looks like there isn't one (but i could be wrong?) Nov 18 03:18:47 odd Nov 18 03:18:53 mornig Nov 18 03:19:04 looks like DOM parsing is available though, but that is silly. it would be crazy not to use SAX in a mobile environment. Nov 18 03:19:57 anyway, i gotta run. i'll futz with this later. Nov 18 03:20:57 i suppose i should try it sooner than later then :) Nov 18 04:11:53 steve_k_: No worries, I found what I was looking for: Nov 18 04:11:57 http://groups.google.com/group/android-developers/browse_thread/thread/6da4f2173534aaf7/4651fb1a2680c910?lnk=gst&q=sax#4651fb1a2680c910 Nov 18 04:12:35 ah very nice, glad to see it works :) Nov 18 04:14:40 that btw, is a terrible example of Android programming :) Nov 18 04:14:51 but it does demonstrate that SAX is there, and works. i was just using it wrong. Nov 18 04:56:14 Ok, nightie all :-) Nov 18 07:05:48 good night. Nov 18 07:12:00 good morning Nov 18 07:59:35 good afternoon Nov 18 08:02:44 good evening Nov 18 08:15:34 very time I run an app I get the following error, after which clickg Force Close, it works: Nov 18 08:15:48 The application com.google.android.providers.contacts is not responding Nov 18 08:16:26 thats using the eclipse ide emulator Nov 18 08:23:06 the Contacts app appears to be working after force quit also... should i be worried about this? Nov 18 08:24:13 i get the same messages, i think it is because android expects the program to start faster and when it doesnt it asks you to either wait or close it Nov 18 08:24:27 note /i think/ that is the problem Nov 18 08:24:37 not sure though.. Nov 18 08:29:03 let hope thats not an idication of how fast it will load on a phone... although i suppose flash memory will operate in a different way... Nov 18 08:52:17 hey all.. anyone know if anyone happens to be working on an AIM client ? Nov 18 08:52:23 (or any client for that matter) Nov 18 09:21:14 i guess there is already somebody working on a chat/irc client i think Nov 18 09:21:29 take a loot at the application database on helloandroid for example (helloandroid.com) Nov 18 09:23:13 thnx Nov 18 09:23:33 i'd imagine since its soo.. sidekick like.. there'd be a aim client Nov 18 09:23:33 lol Nov 18 09:25:24 "adb -version now returns a version number." <- not for me Nov 18 09:25:28 not that it matters Nov 18 10:14:38 hi Nov 18 10:36:58 morning Nov 18 10:38:04 good morning Nov 18 10:45:07 morning Nov 18 12:13:37 hi. how do i know if my phone will support android? Nov 18 12:14:35 lucas__: at the moment it's pretty easy, it won't support android Nov 18 12:14:42 at least officialy Nov 18 12:15:05 according to the FAQ no phone is supported yet Nov 18 12:15:13 i see Nov 18 12:15:41 then maybe some people will achieve to port specific (=low level / hardware) parts to some former phones but nothing is sure about i Nov 18 12:15:42 t Nov 18 12:15:45 about it Nov 18 12:17:10 lucas__: that where you on #zope ? Nov 18 12:17:35 tuxella: yes Nov 18 12:17:52 :) Nov 18 12:18:12 quite a quick stay then Nov 18 12:21:58 cu Nov 18 12:22:38 didn't stay very long here neither Nov 18 12:57:33 * Logi would like to see android ported to the iphone Nov 18 12:58:00 also n800 port would be cool Nov 18 15:52:14 anybody knows how to create controls/widgets/view without xml layouts files? Nov 18 15:54:46 Viator_sg: check the docs: http://code.google.com/android/intro/hello-android.html#ui Nov 18 16:00:29 xD ok... thx i dont remember this Nov 18 16:03:42 it is prefered to use xml tho Nov 18 16:07:35 the XML resource files idea is really neat, you need to have a really good reason to hard code the UI in java Nov 18 16:18:39 anyone knows where is the option to show FPS on Android emulator? Nov 18 17:59:16 greetings android ppl Nov 18 18:09:42 hi hi Nov 18 18:19:23 woo, now my apps ui is working with dummy data, I can work on the Service ;D Nov 18 18:31:15 Tomasu, w00t Nov 18 18:31:33 yup, feels good to have something working finally. Nov 18 18:33:38 hi Nov 18 18:34:09 Tomasu, did you use the xml to make the ui? Nov 18 18:34:30 a tiny bit, but only the built in stuff. Nov 18 18:34:40 the ui is so basic so far it doesnt need anything fancy. Nov 18 18:34:53 I'll probably use xml for the config dialog. Nov 18 18:35:02 ok. i was just curious because im trying to figure out how im goin gto do mine Nov 18 18:35:30 I use https://dl-ssl.google.com/android/eclipse/ for the eclipse plug-in but I have this error : Plug-in com.google.android.adt was unable to load class com.google.android.adt.preferences.DdmsPreferencePage. Nov 18 18:35:41 Once I get all the important bits working I'll redo the main ui with a fancy custom View controll... Nov 18 18:35:57 but I'd like to get away from playing with the view api for a while ::( Nov 18 18:36:09 please can you help me, Android seems to be I great platform Nov 18 18:36:26 Bingo: any more errors? that didnt say anything important... Nov 18 18:38:00 I try to configure Android preferences and I have "Unable to create the selected page" for the reason above Nov 18 18:40:20 the eclipse plug-in seems to don't work on Ubuntu 7.04 Nov 18 18:42:57 when I try https://dl-ssl.google.com/android/eclipse/ on my navigator I have an Error 404, did the address change? Nov 18 18:45:11 hey swetland :) how is msm7200A kernel development going on? Nov 18 19:23:05 no msm progress at all? :( Nov 18 19:27:49 :( Nov 18 20:12:32 It is really odd reading the Android Challenge group. All these people are trying to create teams of developers that live in their same city. What's the point? Nov 18 20:12:46 Since when did open source development work like that? Nov 18 20:13:13 I mean, everyone knows it's just gonna end up being Germans and Americans like it always is :) Nov 18 20:13:31 jasta, ya pretty much Nov 18 20:15:43 hi again bill. Nov 18 20:15:54 hi jasta. Nov 18 20:25:06 jasta: what did you mean by that ? Nov 18 20:25:30 by what specifically? Nov 18 20:26:17 < jasta> I mean, everyone knows it's just gonna end up being Germans and Americans like it always is :) Nov 18 20:26:21 that Nov 18 20:26:56 Oh, just that in my experience open source teams almost uniformly tend to be made up of Germans and Americans. Nov 18 20:27:12 and? Nov 18 20:27:22 and not people who all live in, say, San Francisco Bay Area. Nov 18 20:27:23 uhm Nov 18 20:27:42 well, then join yourselves at San Francisco... Nov 18 20:28:00 what is the deal with "Americans and Germans" ? Nov 18 20:28:08 is there some restriction in your "experience" ? Nov 18 20:28:09 or something like that Nov 18 20:28:30 It just seems really narrow to try to come up with a group of participants who all live geographically near each other. It just isn't in tune with the normal approach to open source software projects. Nov 18 20:29:00 it is very unlikely to find people in the same area willing to do the same thing Nov 18 20:29:03 well, i think most of open source software projects START with people in same area Nov 18 20:29:13 but what I was more interested was by that part.. Nov 18 20:29:17 "Americans and Germans" Nov 18 20:29:29 don't the OpenBSD developers have meetups Nov 18 20:29:52 BoyMercury: most of them, in fact, start with 1 guy, and grow steadily from there. Nov 18 20:30:16 jasta, right!, so ... where is the problem? Nov 18 20:30:25 start a project and then invite others :) Nov 18 20:30:28 I didn't say it was a problem, I said I thought it odd. Nov 18 20:30:50 well, i do work in spain, and i am alone working in my project... Nov 18 20:30:55 Specifically, that all of the folks trying to attract a team of developers on the Android groups are trying to attract them by locality. Nov 18 20:31:30 its not how much people are into a project (more in this case) , its the idea. Nov 18 20:31:36 I didn't mean the American and German comment to be offensive, just quippy. I apologize. Nov 18 20:31:38 well, we are talking about money here. Nov 18 20:31:58 jasta: what i find odd is that people post on the newsgroup telling others they want to be managers for a project and they need programmers to do there work for them. Nov 18 20:32:03 BoyMercury: the teams and individuals who win the money will not be the ones who started their project specifically for the money. Nov 18 20:32:29 Lede: That actually happens a lot for some strange reason. It literally never amounts to anything :) Nov 18 20:32:31 maybe yes, or maybe no... Nov 18 20:33:07 jasta: i dare to say it, but it feels like scammers are trying to do some "phishing" Nov 18 20:33:28 * Lede shrugs Nov 18 20:33:52 Lede: yeah, but they will be safely ignored by everyone with enough skill to actually let their scam work. Nov 18 20:34:02 i hope so Nov 18 20:34:21 XD Nov 18 20:35:39 This is not an unusual phenomenon, Lede. For the next month or so, the Android Challenge and Android Dev groups will be populated largely by folks who will not have projects that go anywhere or have any impact on the platform. Nov 18 20:35:45 so... anyone from spain XDDD ? Nov 18 20:36:02 thats abotu enough of the XD Nov 18 20:36:10 your face is going to stick like ethat Nov 18 20:36:36 "live happy" Nov 18 20:36:59 BoyMercury: If you end up attracting developers to your project, they will be either American or Germans though. You just watch :) Nov 18 20:37:13 German* Nov 18 20:37:35 i guess in spain there are 4 or 5 developers interested, and nearest one is 700 km away... Nov 18 20:37:42 I'd better quit joking about that, I think I've offended gpolo. Nov 18 20:37:57 jasta: sad really, i guess the contest money that is involved removes some of the opensource project aspects Nov 18 20:38:22 Lede: Not likely. It just has attracted a lot of trolling for the time being. Nov 18 20:38:31 i bet there are good judges so np Nov 18 20:38:35 jasta, right. Nov 18 20:38:44 Ultimately, only few enticed solely by the money will end up producing something meaningful. Nov 18 20:38:55 Only very few. Nov 18 20:39:04 jasta the oracle :) Nov 18 20:39:29 Well, it's just that I've been struggling with the way open source actually "works" for a long time now. It's not that hard to predict what motivates people :) Nov 18 20:39:30 jasta: no, it is all ok ;) Nov 18 20:39:47 Wait, only American and German? Nov 18 20:39:54 jasta: i just stopped talking because i'm somewhat busy here Nov 18 20:39:57 I don't know, I think the challenge will have a very strong italian presence Nov 18 20:40:05 billmeltsner: No, probably not :) Nov 18 20:40:16 i thought italy could not participate Nov 18 20:40:25 I was kidding <_< Nov 18 20:41:08 im sure there will be more italians than spanish... Nov 18 20:43:06 Anyway, I'd like to get back to coding. Nov 18 20:43:18 I'm trying to actually produce a complete application to post as a reference for other developers. Nov 18 20:43:29 and to get criticism on how i've failed to do certain things the "android" way. Nov 18 20:43:58 um... now that there are people talking in here... Nov 18 20:44:10 billmeltsner: I've got that app I sent you actually downloading posts now. Nov 18 20:44:47 anyone knows how to enable FPS debug on emulator? Nov 18 20:45:07 i am feeling it a bit slow (from my midp 2 point of view) Nov 18 20:51:23 jasta: awesome! Nov 18 20:56:39 BoyMercury: it is somewhere in "phone's" menus Nov 18 20:57:34 it is not in the place where it should be (dev tools) Nov 18 20:58:18 its nowhere Nov 18 20:58:31 oh hmm, right, no FPS, but there is CPU usage Nov 18 20:59:06 "show screen updates" might be useful too? Nov 18 20:59:44 yes, that option is interesting to view the clipping rectangles and so, but the FPS are described in the docs, but nowhere in the phone, maybe a next version? Nov 18 21:00:02 or it is just because the graphics performance is not very good? Nov 18 21:00:15 someone should port javaboy Nov 18 21:00:31 someone who can make a decent multiscreen gui without it giving errors :) Nov 18 21:03:32 regarding how open source projects start, the nslu2-linux project started between three people (one in Australia, one in Hawaii and one in Californica) - the core team now looks like http://www.nslu2-linux.org/developers.php Nov 18 21:03:56 I too think it's strange that people are putting geographically close teams together. Nov 18 21:04:10 I too wonder how many of them are phishing scams. Nov 18 21:06:44 I suppose when people share a locale, it makes coordination easier. Nov 18 21:06:59 Still, isn't the whole point of the internet (besides porn) to connect people who are geographically distant? Nov 18 21:07:30 Ahh, yes, the Internet: porn and the tools to obtain it. Nov 18 21:07:34 billmeltsner: yeah, that's why this "let's start a team in " is so weird. Nov 18 21:07:51 has anyone successfully created an application that shows a users current location and updates in real-time? Nov 18 21:08:07 gps ? Nov 18 21:08:26 i can get the location, and plot it on the map, but how do I make that position update automatically? Nov 18 21:09:05 if you can get the location Nov 18 21:09:09 then you get it from time to time Nov 18 21:09:21 except it provides a callback that calls something when the location gets updated Nov 18 21:09:23 right, but that's what i'm really wondering how to do.. .how do I get it from time to time? Nov 18 21:09:30 didn't you get it once ? Nov 18 21:10:04 you would need to get it again before displaying it in the map it seems Nov 18 21:10:06 yes :)... but i'm assuming you use something like lm.requestUpdates(lp, 1000, 0, intent); Nov 18 21:10:44 1000 is in miliseconds, right ? Nov 18 21:10:44 but i'm not sure what actually happens every second in this case Nov 18 21:10:46 ya Nov 18 21:10:52 uhm Nov 18 21:11:13 so i'm passing in an intent.. but i'm not 100% sure what i'm doing Nov 18 21:11:14 lp is what you are going to call ? Nov 18 21:11:16 that is the callback Nov 18 21:11:31 lm is an instance of the locationmanager Nov 18 21:11:32 i don't know what parameters requestUpdates takes Nov 18 21:11:37 uhm Nov 18 21:11:41 locationprovider (lp) Nov 18 21:11:58 it doesnt work right now, i guess Nov 18 21:12:02 right ? Nov 18 21:13:33 did you look at its documentation ? Nov 18 21:13:52 each second that intent will be fired for each location update Nov 18 21:14:51 Registers the current activity to be notified periodically by the named provider. Periodically, an Intent will be fired. The fired Intent will be equivalent to the provided Intent in the sense of the Intent.filterEquals() method. The location data may be retrieved from the fired Intent as a Location object by calling intent.getExtra("location"). Nov 18 21:15:14 don't need to repeat it Nov 18 21:15:15 how do capture the fired event in my Activity? Nov 18 21:16:06 maybe it will be stopped ? Nov 18 21:16:44 uhm, dont think so Nov 18 21:40:41 man, android IPC is really great :) Nov 18 21:50:53 anyone knows why preferences saved with android.content.SharedPreferences aren't persistant between builds? Nov 18 21:51:39 sort of defeats the whole purpose of a preferences system Nov 18 21:52:24 http://code.google.com/android/reference/android/content/SharedPreferences.html Nov 18 21:54:07 I'm doing this to get a pref: Nov 18 21:54:10 SharedPreferences prefs = getSharedPreferences(PREFS_NAME, 0); Nov 18 21:54:10 String token = prefs.getString("token", null); Nov 18 21:54:23 and this to set one: Nov 18 21:54:24 SharedPreferences.Editor editor = getSharedPreferences(PREFS_NAME, 0).edit(); Nov 18 21:54:24 editor.putString("token", data); Nov 18 21:54:24 editor.commit(); Nov 18 21:54:45 works fine as long as I don't rebuild :( Nov 18 21:55:46 No data is written back to the rom upon shutdown. Nov 18 21:56:33 ok, I thought it saved it to a file :/ Nov 18 21:56:54 I guess I have to use a sqlite then Nov 18 21:57:18 As far as I know, this is the case. Nov 18 21:58:17 but the first parameter in getSharedPreferences is pointing to a file... Nov 18 21:58:56 hi there Nov 18 21:59:05 That file will never be written back to the rom, but I belive you can use abd to create it. Nov 18 21:59:05 where 2 read about the contest? Nov 18 21:59:06 hey Nov 18 21:59:08 pls Nov 18 21:59:47 ok Nescio, thanks Nov 18 21:59:49 http://code.google.com/android/adc.html Nov 18 22:00:22 why the file isn't created ? Nov 18 22:00:40 the apps are all "sandboxed" Nov 18 22:00:49 why wouldnt it create the file inside the same dir that the app ? Nov 18 22:01:13 it doesn't put it there, I've checked Nov 18 22:01:15 It's not android... it's the emulator Nov 18 22:01:39 are you sure it is not a bug ? Nov 18 22:02:14 maybe it could be threating the file like it was in memory only, sqlite supports this Nov 18 22:02:21 then no file would get written Nov 18 22:02:58 if it's expected behaviour it sucks, I will have to write so much code for sqlite now just to save a few settings Nov 18 22:03:19 nah, not really Nov 18 22:03:23 sqlite is pretty easy to use Nov 18 22:03:24 I read something about it yesterday, I am trying to find the link. Nov 18 22:03:47 yeah it's easy, but not as easy as sharedPreferences Nov 18 22:07:48 you're easy Nov 18 22:08:03 hi! please can you explain meone thing : I generated a project with ./activityCreator.py --out HelloAndroid com.google.android.hello.HelloAndroid, then I do ant, I have this error: javac: invalid target release: 1.5 Nov 18 22:08:45 if you say so d03boy Nov 18 22:09:12 I use the sun jdk 1.5.0 Nov 18 22:09:53 android: are you sure the 1.5 JDK is on your PATH? maybe you're hitting the 1.4 javac by mistake? Nov 18 22:10:12 I work on linux Nov 18 22:10:41 I don't have to had jdk on PATH no? Nov 18 22:10:51 android: what distro do you have? Nov 18 22:10:56 ubuntu Nov 18 22:12:30 what do you get if you issue `javac-version`? Nov 18 22:12:35 android: what's the output to: javac -version Nov 18 22:12:39 javac -version Nov 18 22:12:43 ha :) Nov 18 22:13:27 sorry Nov 18 22:13:54 and then, try to issue `sudo update-alternatives --config java` as well Nov 18 22:15:26 Sélection Alternative Nov 18 22:15:26 ----------------------------------------------- Nov 18 22:15:26 1 /usr/lib/jvm/java-1.5.0-sun/jre/bin/java Nov 18 22:15:26 2 /usr/lib/jvm/java-6-sun/jre/bin/java Nov 18 22:15:26 *+ 3 /usr/lib/j2se/1.4/bin/java Nov 18 22:15:33 bingo Nov 18 22:15:57 you have to change your current JDK Nov 18 22:16:01 wait a moment.. Nov 18 22:17:03 thant's great Nov 18 22:17:22 I choose 1.5, and it works Nov 18 22:17:50 ok, fine ;-) Nov 18 22:17:54 perhaps I have to choose 1.6? Nov 18 22:18:07 1.5 or 1.6 Nov 18 22:18:11 I think that's not mandatory Nov 18 22:19:01 thank you very much, android very nice! Nov 18 22:20:26 yep it is :) Nov 18 22:25:09 I keep trying to test my code, but I keep getting distracted by SOAPhone... Nov 18 22:34:21 SOAPhone? Nov 18 22:35:37 Jesus keeps calling my emulator, it's very distracting Nov 18 22:39:00 That stupid Snake game... it's addicting lol Nov 18 22:39:18 :) Nov 18 22:40:32 Can you use the XMPP protocol to talk with your Gtalk friends? -- I've only been able to get the API demo to send a message to myself Nov 18 22:40:47 However, my profile shows up as DND Nov 18 22:45:18 you can set your status with presence Nov 18 22:45:32 xmppService.Presence Nov 18 22:46:03 setStatus method Nov 18 22:47:27 thanks, have you tested sending a message? Nov 18 22:47:53 noo Nov 18 22:48:47 I don't have any friends :) Nov 18 22:48:52 haha Nov 18 22:50:40 lool Nov 18 23:08:52 is this channel logged? Nov 18 23:09:29 yes the evil overlords log everything Nov 18 23:09:46 nice, where can I read it? Nov 18 23:09:50 rofl Nov 18 23:10:00 you probably need to apply for logs at nsa.gov Nov 18 23:10:09 :p Nov 18 23:10:19 na i don't know Nov 18 23:10:35 come on. You exaggerate Nov 18 23:11:07 bbl lunch Nov 18 23:12:54 who knows which is the android sdk license? is this one of the well known gpl, apache2, bds? Nov 18 23:13:13 apache Nov 18 23:13:15 im watching in here, http://code.google.com/android/terms.html, but it seem so be a custom license Nov 18 23:13:16 Isn't it Apache? Nov 18 23:13:17 ah, ok Nov 18 23:13:47 thank you all Nov 18 23:14:39 no logs at codemakers & codebreakers Nov 18 23:32:12 mmm, soup. Nov 18 23:32:29 jasta: what music player do you use that has ipod support? i forget its name Nov 18 23:32:48 Amarok (KDE), but I think Rhythmbox (GNOME) does too. Nov 18 23:32:50 thinking about getting an ipod for my mom for her bday but i'll need to get a program setup so she can put music on it Nov 18 23:32:54 ok cool Nov 18 23:33:08 btw, we're in #android :) Nov 18 23:33:48 fuck Nov 18 23:33:52 (sorry everyone) Nov 18 23:34:03 no worries, it's not as if you're interrupting anything else Nov 18 23:34:17 haha :) Nov 18 23:34:52 I'm currently waiting for exiftool to do some magic Nov 18 23:37:26 * Stephmw taps his foot Nov 18 23:37:31 too many damn photos :) Nov 18 23:44:01 haha Nov 18 23:48:01 In the api demos there is a ListView that simply lists an array of strings using an ArrayAdapter... Is it possible to display a list that has, say, a button and a string on each line? (I don't quite understand how the adapters work!) Nov 18 23:48:18 mrspeaker: Look at List4.java. Nov 18 23:48:38 In that case, you'd be creating your own SpeechView however you'd like (laid out horizontally with a button and textview) Nov 18 23:49:08 But there seem to be limitations on your ability to use XML-based layouts with that approach. See my android-developers post for a discussion on the problem. Nov 18 23:50:28 Ah cool! Thanks for that. Nov 18 23:53:45 keep in mind though, a button may not be an ideal user interface here since the user is in the mind-set of navigating a list implicitly Nov 18 23:53:52 they don't want to think about navigating inside of each list item as well. Nov 18 23:53:59 for actions to perform on the list, you should use the menus. Nov 18 23:55:02 That said though, it can be appropriate to put other views inside each row view. For example, i'm working on a project right now that that will place a animated progress icon in the right-hand column of a listview for certain items when there is network activity. Nov 18 23:56:00 Yeah - i was actually thinking more about an image and a list item Nov 18 23:56:07 ahh, good. Nov 18 23:57:06 you will almost certainly want to use RelativeLayout, and you should look at: Nov 18 23:57:07 http://groups.google.com/group/android-developers/browse_thread/thread/440531b1556be363/7ca01797c47f8b5f? Nov 19 00:16:22 Ahh, that's excellent - thanks for that jasta! Nov 19 00:52:40 hai Nov 19 01:04:22 The LunarLander sample simply calls invalidate() at then end of the onDraw method, where as the Snake demo sets up a handler which updates and then invalidate(). The update method then calls the handler with sendMessageDelayed. Nov 19 01:04:24 Why would you use the Snake method over the Lunar Lander method? And, are there any better ways to do this for a simple 2d game? Nov 19 01:06:29 I haven't looked at the Snake source, but I reckon it's because the snake game only requires to redraw at regular, defined intervals, while the lander is continuously moving at a fast pace and requires constant redrawing (while the lander is moving) Nov 19 01:11:44 has anyone here worked with ContentProviderDatabaseHelper? I think the versioning thing is all magic and doesn't really exist. Nov 19 01:17:21 or maybe i have to implement it somehow? NotesList doesn't, though :\ Nov 19 01:17:54 hm. Nov 19 01:18:09 haven't messed with it yet, databases give me hives Nov 19 01:18:17 oh, i see. it's just all screwed up and hides SQLException. Nov 19 01:18:32 one of my db.execSQL calls failed in onCreate, and it just silently failed. Nov 19 01:18:46 I hate when exceptions get hidden Nov 19 01:19:08 i dont Nov 19 01:19:19 I do when they cause programs to die Nov 19 01:19:21 heh Nov 19 01:19:26 i guess Nov 19 01:19:47 probably overhead prevention Nov 19 01:20:03 yeah, or to not confuse the poor user when summat goes wrong Nov 19 01:21:01 users? what about us poor developers? ;) Nov 19 01:21:17 heh Nov 19 01:21:25 yeah, that's where the silent failing... fails Nov 19 01:22:06 i guess there is an assumption that developers should be able to figure it out Nov 19 01:22:21 * Dralspire giggles Nov 19 01:22:21 i mean who would write incorrect sql? Nov 19 01:22:40 ha. I do like the nice UI when an application blows up though Nov 19 01:22:45 You know, let's be honest, if you didn't have a riddle in there somewhere, most would lose interest :P Nov 19 01:23:13 orrc: is that the one where it displays a half readable exception? Nov 19 01:23:25 The notepad tutorial (using the DBHelper class) silently fails too - I spent a while on that one! Nov 19 01:23:48 bugs? what bugs? Nov 19 01:23:55 ;) Nov 19 01:27:24 There is no bad code, only bad users. Nov 19 01:27:40 <_< Nov 19 01:27:43 >.< Nov 19 01:29:26 ooh, the Amazon Kindle is real Nov 19 01:29:32 http://www.engadget.com/2007/11/18/amazon-kindle-gets-official/ Nov 19 01:30:46 nice Nov 19 01:32:16 billmeltsner: don't you suppose it's much more powerful rhetoric the other way around? :) Nov 19 01:32:52 yeah, but the way I termed it makes me feel better when people say my code breaks things Nov 19 01:35:11 what should you do with checked exceptions that are thrown in onCreate*(? Nov 19 01:35:33 handle them.? Nov 19 01:36:11 well, for example, createDatabase throws fire not found exception, which i can't really do anything wth Nov 19 01:36:20 rethrow it as a runtime exception? Nov 19 01:36:42 you can either throw it, or handle it Nov 19 01:36:44 erm, _flie_ not found :) Nov 19 01:37:03 third time lucky :) Nov 19 01:38:04 sigh Nov 19 01:38:56 wouldnt you jus tkeep throwing it to the top of hte chain where your UI can handle it? Nov 19 01:40:45 can someone explain to me, in high level detail, what it would take to have a mapview show a point that moves in real time based on the gps coordinates from the location manager? Nov 19 01:41:31 use the location manager to get gps location and send it to mapview/ Nov 19 01:41:32 ? Nov 19 01:41:46 right... but, the whole update process is what i'm looking for Nov 19 01:42:11 steve_k_: I guess if it's in onCreate, there's not much you can do aside from show the user a warning message (if appropriate)? Nov 19 01:42:20 d03boy: well, in my case, if createDatabase() fails, my app can not run. Does android have an elegant way to handle this? like rethrow to some kind of android specific exception? Nov 19 01:42:37 ah, can't help ya there I suppose Nov 19 01:43:20 steve_k_: the docs say you should call finish() from onCreate(). that way, the Activity will shutdown gracefully. though I guess you'd want to show a warning dialog before calling finish() Nov 19 01:43:43 orrc: ah ok :) how does one show a warning? Nov 19 01:44:37 I'd use a dialog Nov 19 01:44:54 steve_k: offhand, I couldn't tell you the best way to create a dialog. you'd need to check the API/tutorials Nov 19 01:45:07 cool, i'll have a look Nov 19 01:45:20 android.app.NotificationManager Nov 19 01:45:33 have not gotten to dialogs yet :) Nov 19 01:46:18 dialog is just a sort of window Nov 19 01:47:37 yep Nov 19 01:47:48 you can even just create another view using the dialog theme, if I remember correctly Nov 19 01:59:03 Does anyone else miss a task manager? Nov 19 02:02:11 Nescio: eclipse has one Nov 19 02:02:31 it controls the emulator? Nov 19 02:02:31 i assume there is also a tool which lets you view processes Nov 19 02:02:53 task manager being able to view active processes? Nov 19 02:02:58 I guess I am too used to my WM6, but I like being able to switch between tasks... Nov 19 02:33:18 Anyone know the linux distro that comes with yffs/yffs2 support? Nov 19 02:43:34 eton: it's Android, I think **** ENDING LOGGING AT Mon Nov 19 02:59:56 2007