**** BEGIN LOGGING AT Thu Dec 06 03:00:00 2007 Dec 06 03:08:13 jasta: did you ever figure out the column mapping thing? Dec 06 03:13:18 no, never really tested it. Dec 06 03:13:42 ultimately, i decided that using database columns was a waste of space for storing a path that can be guessed. Dec 06 03:14:08 now i just have ContentProvider#query return an ArrayListCursor for _data queries. Dec 06 03:17:41 ah Dec 06 03:59:25 I'm a newb here. How exactly do you run a service in the background? I've written the service and the main Activity, and have the code to start up the service to the best of my knowledge. But what do I put in the AndroidManifest.xml file for the service to be allowed to run? Dec 06 04:00:34 Anyone? Dec 06 04:01:10 theanalogkid: you need a line. there are numerous examples. Dec 06 04:01:24 one way to start your service from an activity, though, is to use bindService(). Dec 06 04:05:02 Hmmm Dec 06 04:14:10 Luniv: i picked up a lot of really bad conventions from Android ApiDemos :\ Dec 06 04:14:19 my next app will definitely try to get away from that :) Dec 06 04:22:05 like what? Dec 06 04:22:26 stupid things like menu item id conventions (INSERT_ID, DELETE_ID, etc) Dec 06 04:22:43 the superfluous silly usage of switch Dec 06 04:23:14 mmm Dec 06 04:23:25 you mean like the switch they use in their providers? Dec 06 04:23:43 yeah. Dec 06 04:24:01 yeah, that's always bugged me Dec 06 04:24:24 I tried to make it a bit cleaner using enums, but I don't know how well I like the end result Dec 06 04:24:31 also, i don't want to call my bundle's icicles anymore. no more of that. Dec 06 04:24:52 lo Dec 06 04:24:57 I thought that was cute :p Dec 06 04:25:26 switches with ints are much more efficient than using enums Dec 06 04:25:29 (unfortunately) Dec 06 04:26:00 and in some cases they do really stupid things with switch when an if statement would better group the code. Dec 06 04:26:38 Luniv: i'm about to commit a nice feature that lets you move between channels using the array keys :) Dec 06 04:26:48 array keys? Dec 06 04:26:52 arrow, i mean Dec 06 04:27:06 ah lol Dec 06 04:27:29 jasta: do your lists remember what item is selected? Dec 06 04:27:38 mine seem to forget when I go between activities Dec 06 04:27:50 romainguy: hey, uhm, in the activity menus, the selection should wrap when you go beyond the last or before the first entry. Dec 06 04:28:16 Luniv: Nope, they sure don't. I bet you'd need to implement that using a bundle somehow. Dec 06 04:28:28 but i don't have any idea how Dec 06 04:28:37 well, the stupid thing is Dec 06 04:28:45 the list *is* saving to a bundle Dec 06 04:28:57 I walked through it with a debugger, and it's in there Dec 06 04:29:44 but I notice when you switch activities, the list count gets reset to zero (the backing cursor got closed) Dec 06 04:29:53 I think it has something to do with that Dec 06 04:30:39 *sigh* Dec 06 04:30:54 hmm. Dec 06 04:31:17 what on your app gets called with finish()? onFreeze and onStop, or just onStop? Dec 06 04:32:13 I don't remember, it was a while ago, but I think it was onStop Dec 06 04:34:21 Luniv: re the row position, are you assuming that this is a bug or something we have implemented incorrectly? Dec 06 04:35:36 just onStop is called Dec 06 04:35:44 I'm thinking it's a bug Dec 06 04:36:22 Since I think the ListActivity is trying to handle that itself Dec 06 04:48:47 is this a channel for developers for google's android platform? Dec 06 04:49:00 yes Dec 06 04:49:07 sweet. Dec 06 04:50:29 what is everyone working on? Dec 06 04:50:39 Android :) Dec 06 04:51:21 well, yes Dec 06 04:51:30 so are people being secretive and unhelpful because of the prize money? Dec 06 04:51:33 I mean, I'm an Android engineer Dec 06 04:51:47 Oh, indeed. =P Dec 06 04:51:50 Kuja: No, everyone being secretive and unhelpful is not doing anything. Dec 06 04:52:05 jasta: double-indeed. Dec 06 04:52:19 http://code.google.com/p/android-rss/ -- i am working on that. Dec 06 04:52:22 romainguy: slick with the dalvik jvm Dec 06 04:52:44 jasta: I'm working on http://code.google.com/p/androidchat/ Dec 06 04:53:57 not nearly as far along as you; I'm still struggling to grasp how to do certain things the 'android' way Dec 06 04:54:42 I'm used to using IntelliJ, eclipse is a step backwards for me :( Dec 06 04:55:10 yes, eclipse is certainly a pos Dec 06 04:55:40 its not *terrible* Dec 06 04:55:51 could be worse. Dec 06 04:55:52 certainly not Dec 06 04:56:06 but it's got it's problems Dec 06 04:56:07 Kuja: There's an IntelliJ plugin on code.google.com Dec 06 04:56:19 like shit not refreshing when you update from a repo Dec 06 04:56:20 romainguy: eh? :x Dec 06 04:56:21 etc.. etc.. Dec 06 04:56:31 I think I saw that - something about it wasn't complete Dec 06 04:56:36 maybe there were no released files or something? Dec 06 04:56:40 they made an eclipse plugin, an intellij plugin Dec 06 04:56:45 but they didn't make a netbeans plugin Dec 06 04:56:51 Kuja: I haven't tried it Dec 06 04:56:57 go figure Dec 06 04:56:59 jerkface03: The IntelliJ plugin was created by the community Dec 06 04:57:07 ahhh Dec 06 04:57:08 fair enough Dec 06 04:57:54 so, when I click debug on eclipse now, it doesn't compile and copy up my app, just starts the emulator. any idea how to fix that? Dec 06 04:59:38 not a huge deal, but annoying. Dec 06 05:02:36 is anyone familiar with the proper way to send messages around? I'm messing with handlers/messages now Dec 06 05:03:14 isn't that what intents are for? Dec 06 05:04:07 I'm trying to handle data from a service that may be asynchronous Dec 06 05:04:17 from the docs it looks like messages/handlers are what I want Dec 06 05:06:18 I can't seem to find a good example though Dec 06 05:09:46 http://rafb.net/p/sLWuJH37.html Dec 06 05:09:53 kuja: me and jasta tried to figure out how to do that, but we didn't have much luck Dec 06 05:10:06 handleMessage isn't getting called, even though by all accounts I think it should? Dec 06 05:10:30 Luniv: did you have *any* luck? I don't want to have to reinvent the (message passing) wheel Dec 06 05:10:40 no Dec 06 05:10:51 * Kraln looks at romainguy Dec 06 05:11:11 though one way that could work would be to spawn a backgroun thread, then have it make a call to the service Dec 06 05:11:18 woooooooooooohooooo! Dec 06 05:11:21 my stuff is working Dec 06 05:11:24 let's call it a day Dec 06 05:11:35 enjoy your evening (or whatever time of the day it is for you) guys Dec 06 05:11:46 then have the thread call your handler when the sevice returns from whatever it's doing Dec 06 05:12:46 Well, I'm trying to use them for two different things Dec 06 05:13:10 I have my service posting messages to the application, and then another message to 'update' the various bits of the ui if needed Dec 06 05:13:17 none of it is working. Dec 06 05:14:23 I could create a static class pretty easily to duplicate the functionality I'm looking for, but I'd really rather not, especially since the docs show that there should be equivalent functionality Dec 06 05:14:36 services are seperate from activities. You can't pass handlers between them unfortunately, at least that's my understanding Dec 06 05:14:44 ... Dec 06 05:14:49 I thought that was the entire point of handlers Dec 06 05:15:01 you'd think *shrug* Dec 06 05:15:52 but the only way you communicate with a service is by it's binder interface, which is blocking (again AFAIK) Dec 06 05:16:10 and it's app -> service only Dec 06 05:17:16 that defeats the entire purpose... Dec 06 05:17:19 :| Dec 06 05:18:22 for somethings yeah Dec 06 05:18:54 okay, I can work around that Dec 06 05:19:02 lets see if the 'other' message passing I tried works Dec 06 05:21:01 nope, this one isn't working either. Dec 06 05:21:05 fine. Dec 06 06:07:44 jasta: I added the dpad moving between feeds :D Dec 06 06:09:25 *screams at java* Dec 06 06:12:50 lol Dec 06 06:15:44 http://i7.tinypic.com/73czvko.png Dec 06 06:15:53 at least it is sort of half working :-D Dec 06 06:19:03 nifty Dec 06 06:19:12 what's with the icon though? Dec 06 06:19:26 just letting me know the IRC service is running Dec 06 06:19:45 ah Dec 06 06:20:07 you're making an IRC client I take it? Dec 06 06:20:13 not exactly. Dec 06 06:20:19 an irc client would be pedestrian Dec 06 06:20:34 I'm making a client which is irc-like Dec 06 06:20:48 but supports location information Dec 06 06:21:06 instead of a list of channels, it'll show you a map with channels (with people) geographically located near you Dec 06 06:22:04 it'll be cool if I can pull it off =) Dec 06 06:23:00 irc client is just the first step =) Dec 06 06:23:08 cool Dec 06 06:23:11 Luniv: really, i didn't know that :) Dec 06 06:23:12 sounds interesting :) Dec 06 06:23:22 oh, you mean you did just now? Dec 06 06:23:26 yeah Dec 06 06:23:29 oh :) Dec 06 06:23:33 but do you have icons? :P Dec 06 06:23:44 no, lol Dec 06 06:23:47 that's next Dec 06 06:23:59 let me know if you come up with a better algorithm for getting the cion btw :) Dec 06 06:24:24 my heuristics suck. but, i plan to allow the user to edit a channel after creation and change the icon url if they wish. Dec 06 06:24:43 well, I'm current planning on just getting the feed icon if the feed specifies one, the favicon otherwise Dec 06 06:24:55 how do you create your custom scrolly list of info? Dec 06 06:25:02 I need to do something similar for the channel list Dec 06 06:25:44 Luniv: the feed's never specify one, do they? they specify a topic image, but it's not suitable for icon. Dec 06 06:25:54 s/for/as an/ Dec 06 06:26:05 some feeds do Dec 06 06:26:15 pretty sure the feed at codinghorror does Dec 06 06:26:16 hmm, i havent encountered any i don't think. Dec 06 06:26:34 anyway, the favicon is tricky because it gets feedburner ico files if they are using it. Dec 06 06:26:39 anywya, gf is calling :) Dec 06 06:26:40 gotta run Dec 06 06:26:43 heh later Dec 06 06:27:12 kralan: look into ListAdapter Dec 06 06:27:19 that's how I do mine Dec 06 06:27:51 http://code.google.com/p/android-feed-reader/ has some screenshots of it Dec 06 06:28:39 listadapter eh Dec 06 06:28:51 looks handy Dec 06 06:29:02 it is :) Dec 06 06:29:24 I haven't had to mess with the actual list view yet Dec 06 06:29:35 been able to do everything via adapter Dec 06 06:30:18 cool. Dec 06 06:31:14 so what do you put in the dapter? Dec 06 06:33:59 a source of data, and the view template you want to use for rows is the basic gist Dec 06 06:35:26 if you look at the API demos for the CursorAdapter example, it should give a good idea Dec 06 06:35:35 of how they work Dec 06 06:36:14 * Kraln nods Dec 06 06:47:12 http://i17.tinypic.com/6uq369t.png <- minor update. it's getting there... Dec 06 06:47:46 getting where? Dec 06 06:47:49 to the completed stage? Dec 06 06:49:42 to the moderately functional stage Dec 06 09:25:40 hi * Dec 06 09:38:15 http://google-code-updates.blogspot.com/2007/12/google-developer-podcast-episode-twelve.html Dec 06 09:38:22 anything in there that's not in the docs? Dec 06 09:38:24 hi andreaf Dec 06 09:38:32 * davidw finds podcasts distracting and annoying Dec 06 09:43:10 * rwhitby finds them great for the bus to work. Dec 06 09:43:36 I could sort of see that Dec 06 09:43:57 although I'd rather have a copy of The Economist if the ride weren't too bouncy Dec 06 09:43:57 I too would find them distracting if I was trying to do something else at the same time. Dec 06 09:44:13 Google TechTalks are good for the bus too. Dec 06 09:44:18 but then again, I just open the door to the office and I'm at work, total commute time: about 1 second. Dec 06 09:44:43 heh, with two kids at home, there's no way I'd get anything done :-) Dec 06 10:46:34 hi davidw Dec 06 10:46:40 sorry, was away Dec 06 10:46:43 hi Dec 06 10:47:20 still working on android ? i'm reading the tutorials on google, imho are quite bored :) Dec 06 10:47:43 (or boring in english) Dec 06 10:49:18 I'm porting Hecl to it Dec 06 10:49:36 hecl ? what's hecl ? Dec 06 10:49:41 a tcl/tk ? Dec 06 10:49:43 www.hecl.org Dec 06 10:52:09 interesting, a j2me scripting language Dec 06 10:52:24 yep Dec 06 10:52:37 it works pretty well, even on my old, slow nokia 3100 Dec 06 10:52:49 but there is an interpreter or it build a native .jar bytecode Dec 06 10:52:50 ? Dec 06 10:52:50 on more modern phones it's just fine for writing simple applications Dec 06 10:53:02 it's a pure interpreter Dec 06 10:53:20 written in java. understood Dec 06 10:53:35 do you know that i'm programming in j2me now ? Dec 06 10:53:36 but that means you can do cool things like : eval [hget data [http http://www.dedasys.com/somescript.hcl]] Dec 06 10:54:27 without problems with the permisison, j2me etc. etc. ? Dec 06 10:54:31 I like it - it's less "javay" than web stuff in Java, which I've never really done, nor been interested in... you have to pay attention to speed and resource usage Dec 06 10:55:43 I will try it Dec 06 10:56:00 actually the 80% of my working time is on GUI programming (in j2me) with polish Dec 06 10:56:22 the last 20% is more or less on the "model" part of a program (old plain java) Dec 06 10:57:44 I think the other guy who does a lot of work on Hecl might have some experience using it with j2mepolish - I haven't investigated that myself Dec 06 10:57:45 davidw: but is only an hobby or you are make business with that ? Dec 06 10:58:17 both:-) Dec 06 10:58:31 of course, making money off of programming languages is not easy Dec 06 10:59:20 it's probably not sensible as compared to doing something like making digg clones or dating web sites, in economic terms. But it's fun Dec 06 11:00:11 understood. but the mobile dating is the next step in business (or stealing money but is quite the same) :)) Dec 06 11:01:18 yeah, location based things have a lot of potential Dec 06 11:01:23 high tech stalking! ;-) Dec 06 11:05:15 this german guy, Wolfgang, who has contributed a lot of code, uses Hecl in his company Dec 06 11:05:32 it's under an Apache license, so it's very corporate friendly Dec 06 11:05:44 for mobile applications ? Dec 06 11:06:00 yeah Dec 06 11:06:30 interesting, but consumer or business (b2c || b2b) applications ? Dec 06 11:06:35 you can use it with plain j2se java, but it's probably not as compelling there, with things like Jruby, jython, groovy, jacl, etc... Dec 06 11:07:12 http://www.data2c.com/ Dec 06 11:08:50 understood Dec 06 15:46:30 didn't realize there was such a Be influence in Android, that makes me happy. Dec 06 16:15:24 hi. anyone tried imageview's setimageuri method? i tried to load image from disk with it but no success. displaying drawable resource image works fine Dec 06 16:15:30 any ideas? :) Dec 06 16:22:13 wom-: what did your url look like? Dec 06 16:22:14 hmm.. ok, it was because of malformed uri.. Dec 06 16:22:27 typo.. thanks anyway :) Dec 06 16:22:40 :) Dec 06 16:23:01 now i feel kinda stupid :) Dec 06 16:23:06 well, main think it works.. Dec 06 17:14:28 yawwwn' Dec 06 17:27:12 jasta, do you know why I'm getting your feed icon as the launcher icon for my app now that've tried out your rss reader? Dec 06 17:27:38 I renamed my icon.png to android.png instead but it didn't help Dec 06 17:28:45 really weird stuff, I can't figure it out Dec 06 17:29:26 i had trouble updating an icon once, i think i ended up wiping my emulator and copying a new copy of the icon over directly on the file system Dec 06 17:29:31 bit extreme but it worked lol Dec 06 17:29:50 why should the resources collide when they're in completely separate projects? Dec 06 17:29:57 it doesn't make any sense Dec 06 17:30:25 two different manifests pointing to two different drawables Dec 06 17:30:37 you could try removing one of the apps from the emulator and reinstalling it? Dec 06 17:31:10 yeah I suppose I could try that Dec 06 17:35:46 wooa, jasta's app didn't disapear from the menu when I deleted it and when I click it I get a "unable to find explicit activity class" error Dec 06 17:36:12 something's seriously wrong Dec 06 17:37:46 * Luniv blinks Dec 06 17:40:23 ok restarting the emulator fixed it Dec 06 17:40:29 now I've got my own icon back Dec 06 17:40:45 thanks Luniv Dec 06 17:45:22 where are Log messages displayed. cant see them in LogCat. I have Log.i(blaa) Dec 06 17:45:34 I clicked I on logcat so it should show info logs Dec 06 17:46:00 you using logcat in eclipse? Dec 06 17:46:46 it's notoriously flaky Dec 06 17:47:07 yeah eclipse version Dec 06 17:47:17 ok so it should be there but it isn't :) Dec 06 17:47:39 your best bet is to close eclipse & the emulator, then kill any adb processes you find in the task manager Dec 06 17:48:05 then start eclipse, then start the emulator through eclipse Dec 06 17:48:16 and never, ever stop the emulator, heh Dec 06 17:48:36 or just use adb logcat Dec 06 17:48:37 or you can just open a shell and run adb logcat Dec 06 17:48:56 LogCat in Eclipse doesn't work at all for me any longer Dec 06 17:48:56 adb logcat seems to work fine Dec 06 17:49:27 I can get the eclipse logcat to work when I first start eclipse and an emulator Dec 06 17:49:28 thanks Dec 06 17:49:38 if I close the emulator, then *ppof* it's gone Dec 06 17:52:32 yeah i've had issues a bit like that, i just restart everything Dec 06 17:52:38 bit frustrating Dec 06 18:19:13 this is kinda cool http://euedge.com/blog/2007/12/06/google-android-runs-on-sharp-zaurus-sl-c760 Dec 06 18:27:28 hello Dec 06 18:31:56 hello Dec 06 18:35:47 that is cool wom Dec 06 19:31:15 wom-, cool, now we can point the 'what's it run on' folks somewhere Dec 06 19:42:19 sometimes those "can i run android on my phone" questions make me smile :) Dec 06 21:30:46 oh noes android. "An error has occured in , impossibly large allocation." Dec 06 21:31:13 that's trouble Dec 06 21:31:21 troublesome Dec 06 21:31:29 if this is all android can do in out of memory situation, it does not look really good Dec 06 21:31:57 http://www.flickr.com/photos/ssalmine/2092113802/ Dec 06 21:32:17 picture of error message. allocated a big string, so that i would get out of memory situation. Dec 06 21:33:39 it's funny it says force quit when that's your only option anyway Dec 06 21:34:30 An error has occured in process net.androidchat.client. Only the original thread that created a view hierarchy can touch its views. Dec 06 21:34:32 HUH? Dec 06 21:34:47 I have it touching its own views. Dec 06 21:34:58 Kraln: did you create another thread? Dec 06 21:35:37 Kraln: android UI is designed so that you cannot poke it from another thread. you must use handlers if you wish to do that. Dec 06 21:35:56 the only thing in the other thread reports to a service Dec 06 21:36:01 q. is it possible to compile c++ apps and have it run on android plateform ? Dec 06 21:36:04 and you can't talk from a service to an activity Dec 06 21:36:10 zorglu_: it'll be device specific. Dec 06 21:36:14 so, pointless Dec 06 21:36:30 zorglu_, read the mailing list Dec 06 21:36:30 Kraln: what do you mean by "device specific"? Dec 06 21:36:43 zorglu_: think about it for more than half a second Dec 06 21:36:48 :| Dec 06 21:37:01 rangen: have you successfully used handlers before? Dec 06 21:37:14 ok anybody else already tried ? Dec 06 21:37:34 i have a running c++ apps which work on linux/window and would like to port it on android Dec 06 21:37:56 zorglu_: don't waste your time Dec 06 21:38:09 Kraln: well this is your opinion Dec 06 21:38:13 no, this is fact Dec 06 21:38:18 moauoua ok :) Dec 06 21:38:21 you win Dec 06 21:38:25 you will have to compile your apps for each different kind of android phone Dec 06 21:38:27 there may be thousands Dec 06 21:38:35 anybody ? Dec 06 21:38:35 each compile will be specific for that particular device Dec 06 21:38:43 Kraln: you already stated your opinion Dec 06 21:38:52 this is not my opinion Dec 06 21:39:23 ok so is it possible to compile a c++ apps for android plateform ? Dec 06 21:39:30 Kraln: no i haven't, but i'm sure they work =) Dec 06 21:39:48 rangen: try it sometime. my message/runnable stuff doesn't get called. Dec 06 21:39:59 could u perhaps paste a code Dec 06 21:40:31 sec Dec 06 21:41:19 ok i will retry later Dec 06 21:41:31 i guess sometime people are less agressive than kraln :)) Dec 06 21:42:15 yeah, and do a search on the android-developers group first Dec 06 21:42:57 zorglu_: I'm only aggressive because you ignore my information as 'opinion' because it doesn't agree with your world view Dec 06 21:43:16 Kraln: considere that agressiveness is not a replacement for skill :) Dec 06 21:43:29 in my world at least:) Dec 06 21:43:29 consider that you're an idiot Dec 06 21:43:33 zorglu_, it's doable Dec 06 21:43:35 rangen: http://rafb.net/p/urIP2o19.html Dec 06 21:43:38 but you need to read the mailing list Dec 06 21:43:43 well to be fair, if it runs it runs. doesnt mean he;s planning to distribute his app to everyone Dec 06 21:43:49 you need to be a pretty good hacker Dec 06 21:43:56 davidw: which mailling list areyou talking about ? Dec 06 21:43:59 he said for the android platform - I consider the android platform to be dalvik Dec 06 21:44:04 davidw: im quite experienced Dec 06 21:44:14 zorglu_, if you can't figure that out, you probably won't be able to get it running Dec 06 21:44:17 25 years of code for what it worth :) Dec 06 21:44:31 zorglu_: it's worth dogshit if you can't read documentation and find a mailing list Dec 06 21:44:39 davidw: ok what is the title of this mailing list ? Dec 06 21:44:45 Kraln: stay polite Dec 06 21:45:45 come on what is the title of this mailing list ? Dec 06 21:45:50 zorglu_, google for android Dec 06 21:45:55 dont be impressed by kraln insult Dec 06 21:46:03 anybody can insult anybody on the internet Dec 06 21:46:25 "the internet continues to function because no one has invented a remote strangulation protocol" Dec 06 21:46:38 http://code.google.com/android/groups.html Dec 06 21:46:39 rangen: it's not calling the handlers, at all. someone said you can't send a handler from a service to an activity Dec 06 21:46:43 :) Dec 06 21:46:44 davidw: thanks Dec 06 21:46:59 you could have just googled android group or android discussion Dec 06 21:47:02 it's not rocket science Dec 06 21:47:11 or done anything other than waste all of our time Dec 06 21:47:14 and your own Dec 06 21:47:19 it's sort of like "you must be this tall to ride the android" Dec 06 21:47:49 Kraln: btw loose the attitude. you will get more suceess :) Dec 06 21:47:53 * davidw thinks... what would a Randroid app be like? Dec 06 21:48:03 What would loosening my attitude do? Or do you mean lose? Dec 06 21:48:36 I was polite with you until such a time I determined you were a waste of console allocation Dec 06 21:48:36 if wasting time is a concern people should probably bury the hatchet Dec 06 21:49:17 aw but come on Kraln, just drop it, don't assume everyone speaks perfect english now Dec 06 21:50:05 =P fine Dec 06 21:50:20 I mean think... you could have your very own Randroid in your pocket...what would it do? Dec 06 21:50:51 play with your thing? Dec 06 21:51:06 :) Dec 06 21:51:57 So, here is my logic flow. I have a Service, which has a thread which is used for persistant connectivity. When an event triggers from the connectivity, it tells the service. Dec 06 21:52:23 The service iterates through a list of possible recievers, and sends the message to each. (this is where I want to use a handler, but can't) Dec 06 21:52:41 The receiver (an activity) gets the message, and updates its UI Dec 06 21:52:58 which promptly causes the "touched ui from wrong thread" error. What should I do? Dec 06 21:56:45 or even, what is the proper approach to this problem Dec 06 21:56:59 why can't you use a handler to post back the response from your thread? Dec 06 21:57:26 Kraln: well, in Swing, the proper approach is to dispatch using a new Runnable that gets added to a queue in the right thread Dec 06 21:57:35 Kraln: don't know the proper Android way to do it though Dec 06 21:58:09 ok i read a bit on the subject. of c++ on android Dec 06 21:58:43 android include a base of "native" code where it could easily be running c++ code Dec 06 21:59:15 but the gui api is made in java and then may be accessed only in java <- is this correct ?/ Dec 06 21:59:27 Kraln, if i'm following what your doing right, you might try broadcasting the Intent instead of sending it to a named receiver Dec 06 21:59:41 that would allow any registered receiver to pick it up regardless of what app or thread or whatever its in Dec 06 22:00:40 zorglu_: yep. plus, the 'base' of native code isn't open Dec 06 22:01:01 cybereagle: let me try that Dec 06 22:01:39 http://benno.id.au/blog/2007/11/13/android-native-apps <- here we go :) Dec 06 22:01:48 thanks, cybereagle, Stephmw Dec 06 22:10:35 q. is the included webbrowser able to run flash ? Dec 06 22:12:18 haavi: about that out of memory handling, it is possible prevent the situation by: catch ( OutOfMemoryError e ) Dec 06 22:12:47 I have no idea Dec 06 22:13:18 I wouldn't bother, Android should take care of the memory handling Dec 06 22:13:48 the point here is that it doesn't :> Dec 06 22:14:03 zorglu_: no, not currently Dec 06 22:14:07 then they've got stuff to fix Dec 06 22:14:14 yep Dec 06 22:14:16 Stephmw: ok thanks Dec 06 22:14:34 zorglu_: they also can't confirm, nor deny any discussions with Adobe about this Dec 06 22:15:08 in Symbian there has been lot of effort to get out of memory situations right. Dec 06 22:15:09 Stephmw: well they likely discusses it :) just because flash is used a lot on the web :) Dec 06 22:15:27 Stephmw: only the output is unknown :) Dec 06 22:15:48 zorglu_: yeah, I was quoting their representatives at a recent conference Dec 06 22:16:01 ok :) Dec 06 22:18:03 well im not in good shape for the 10m. my stuff is a real nice apps but uses c++ as backend and flash as frontend :) Dec 06 22:20:51 :) Dec 06 22:21:14 oh dear Dec 06 22:23:03 well it is really nice tho :) Dec 06 22:23:45 but i guess i would have to change the frontend to be on android. something specific to their api in java Dec 06 22:24:46 how is the video playing on the proto devices they got ? Dec 06 22:24:51 smooth ? chunky ? Dec 06 22:26:48 how about you spend fifteen seconds on google's own search and find out Dec 06 22:27:38 Kraln: i got special consideration or you act like that with everybody ? :) Dec 06 22:28:06 Kraln: you had a dog in your childhood called zorglu and you really didnt like it or something ? Dec 06 22:28:10 six of one, half a dozen of the other. Dec 06 22:28:56 well my question stands Dec 06 22:29:13 maybe you should try doing your own research, was my point Dec 06 22:29:45 I'm giving you a hard time because by the fourth line you typed in here I *knew* you were unable to use the most basic of research methods other than "ask the guys on irc" Dec 06 22:30:07 Kraln: :))) Dec 06 22:30:32 Kraln: well you show what you can do. and this is your right to do so Dec 06 22:30:54 I thought "ask the guys on irc" was the most basic of research methods. Dec 06 22:31:00 other people thinks it is good to communicate with other to see what they think :) Dec 06 22:31:11 i am one of those people :) Dec 06 22:31:30 and im not sorry to ask people for their experience Dec 06 22:31:33 sure. that's what the mailing list is for, or like, the entire site full of documentation Dec 06 22:31:55 the sdk with the emulator so you can try it yourself... Dec 06 22:32:01 well you got your opinion Dec 06 22:32:08 and you like to spread it a lot :) Dec 06 22:32:20 you seem to keep confusing things. I am not offering opinions or platitudes, just facts of life Dec 06 22:32:40 the earth is round is not an opinion, zorglu Dec 06 22:32:57 well you must be a smart one :) Dec 06 22:33:05 neither is the fact that android was not designed for c++, the browser doesn't support flash, and that how well it handles video is well documented Dec 06 22:33:20 ok just forget me :) Dec 06 22:33:22 that the mailing list is easily found via google, that it has most of the answers to your questions Dec 06 22:33:30 it is clear you dont wanna help or discuss Dec 06 22:33:33 all of these things require minimal effort and intelligence to find Dec 06 22:33:49 I have no problems helping or discussing things with people that also know how to help themselves. Dec 06 22:34:02 give a man a fish, feed him for a day. teach him to fish, feed him for his life etc. Dec 06 22:34:29 ok anybody have seen the video result on a android device Dec 06 22:35:43 Kraln: see you impress everybody :) Dec 06 22:35:49 zorglu_: I think any questions where you ask about an acutal physical device are automatically invalid. Dec 06 22:36:39 ozarka: well clearlly as they want to be device independant... in theory this is true Dec 06 22:37:14 oh btw is there another channel for discussing android stuff on irc ? Dec 06 22:38:13 Not because it's device independant, but because it's just vaporware. Dec 06 22:38:14 there was some discussion about that. ON THE MAILING LIST Dec 06 22:38:45 in fact. Dec 06 22:39:09 http://www.google.com/search?client=safari&rls=en-us&q=android+developer+irc&ie=UTF-8&oe=UTF-8 Dec 06 22:39:25 ozarka: i have seen youtube video on actual devices... so they must have something running, no ? Dec 06 22:39:26 oh look, I'm using the internets!!1 Dec 06 22:39:35 Kraln: impressive Dec 06 22:39:59 Kraln: i feel you are a nice personn, behind :) Dec 06 22:40:44 zorglu_: but those phones are just prototypes so it really doesn't matter if videos are playing smoothly or chunky on them Dec 06 22:40:46 Unlike some people, I don't have limitless patience with the free help that I offer over IRC. Dec 06 22:41:14 haavi: ok Dec 06 22:41:35 I'm sure that when the Android compatible phones comes out they video playback will work perfectly alright Dec 06 22:41:45 Kraln: increase your patience man. see how i dont loose my temper despite your insult ? this is years of pratice :) Dec 06 22:41:53 haavi: ok Dec 06 22:42:04 It's kind of a minimal standard of entry for the smart phone market. Dec 06 22:42:15 zorglu_: years of helping people over irc have slowly whittled my patience for lazy information leeches Dec 06 22:42:15 yeah Dec 06 22:42:24 Imagine the product announcement next year if it couldn't play any video. Dec 06 22:42:37 hehe true :) Dec 06 22:43:00 you could just ignore him Kraln Dec 06 22:43:04 you have that option Dec 06 22:43:06 "Browse all your favorite WML sites! Look at static images! Listen to short sound clips!" Dec 06 22:44:07 but does it play videos smooothly? :D Dec 06 22:54:37 hmm, what are we talking about? Dec 06 22:55:42 We're comparing video playback on our gPhones. Dec 06 22:56:02 on your gphones? that you don't have? Dec 06 22:56:39 Exactly. Dec 06 22:56:52 i don't get it then. what is there to compare? Dec 06 22:57:26 like is null better than nil :) Dec 06 22:58:30 was that guy trolling or something? Dec 06 22:58:56 jasta: was hard to tell. I think he's just dense. Dec 06 22:59:02 moauoauaou Dec 06 22:59:23 Kraln and me had a little argument :) Dec 06 22:59:35 him insulting and me not being impressed :) Dec 06 23:03:00 http://innerslacker.com/images/argue091204.jpg Dec 06 23:10:03 the point is that nobody win here :) Dec 06 23:10:37 anyway im done. thanks for the info Dec 06 23:12:42 just remember an video which can be of interest tho "How Open Source Projects Survive Poisonous People (And You Can Too)" http://video.google.com/videoplay?docid=-4216011961522818645 Dec 06 23:12:46 have fun :) Dec 06 23:12:57 hee Dec 06 23:13:24 I think I'm gonna write an app that flushes my toilet using an RCX Brick with leJOS Dec 06 23:13:36 should be possible now that it has bluetooth support Dec 06 23:13:51 :-) Dec 06 23:14:20 a remote control for home automation would be a wicked application Dec 06 23:14:27 x13 or whatever its called Dec 06 23:14:30 yeah! Dec 06 23:14:54 in fact, that's something I'd pay for =) Dec 06 23:15:52 I would love to do some robotics programming Dec 06 23:16:00 it's so fun Dec 06 23:17:05 well, home automation doesn't involve robotics per se. Dec 06 23:17:15 flushing my toilet does Dec 06 23:17:19 that's true =) Dec 06 23:17:28 :) Dec 06 23:17:33 they have microcontrollers that have bluetooth, you wouldn't have to waste a rcx on it Dec 06 23:18:05 I think it'd be way more fun to use the location api and X13 to turn the lights on around you as you move around your house Dec 06 23:18:13 haha Dec 06 23:18:18 that'd be so cool Dec 06 23:22:11 or, you could have a service where your phone would report its location Dec 06 23:22:24 so you'd never lose it Dec 06 23:23:13 yeah Dec 06 23:23:21 this project: http://code.google.com/p/locationevent/ seems pretty cool Dec 06 23:23:47 you could do some really cool stuff with the LocationProvider package Dec 06 23:24:50 *class Dec 06 23:26:18 if the gphone had a camera, you could use it as a barcode scanner Dec 06 23:28:19 yeah, cool Dec 06 23:28:42 meter reader, etc Dec 06 23:29:00 and then you could send that data to a collective database Dec 06 23:29:06 and build a social network around it! Dec 06 23:29:37 or make a game of some sort out of it Dec 06 23:29:42 sure. Dec 06 23:30:28 Android sure is awesome Dec 06 23:30:45 but can it play back video smoothly? =P Dec 06 23:31:00 who knows :) Dec 06 23:33:02 was I out of line with him? Dec 06 23:33:56 I don't think so Dec 06 23:34:49 but there's little point in arguing about stupid questions like that Dec 06 23:36:01 I suppose Dec 06 23:38:01 I mean, he didn't even seem to know how to use a search engine :) Dec 07 01:48:17 does anyone know of any company providing Push and Talk Over Cellular (PoC)...and what the rates are? Dec 07 02:51:50 would anyone be interested in me (a newbie) helping me debug an InflateException when my app starts up? I searched the Android Developers group and code.google.com but didn't quite see any matches. Dec 07 02:53:08 the error seems to be Binary XML file line #9: Error inflating class {myclass} but I think my code is pretty close to Lunar Lander Dec 07 02:57:23 where LunarView.java defines the method 'public LunarView(Context context, AttributeSet attrs, Map inflateParams) {..}', Eclipse gives a warning: "Map is a raw type. References to generic type Map should be parameterized." Dec 07 02:57:47 I get the same warning with the LunarView sample code, and my own app which is basically identical. **** ENDING LOGGING AT Fri Dec 07 02:59:57 2007