**** BEGIN LOGGING AT Tue Nov 13 02:59:56 2007 Nov 13 02:59:58 but the MOST of it Nov 13 03:00:11 and perhaps replaced some GPL user space stuff with their own Nov 13 03:00:23 dfas, yes, maemo, the n800 OS Nov 13 03:00:32 ....and platform Nov 13 03:00:58 maemo is to nokia what android is to google Nov 13 03:02:38 it's not entirely clear that you will be able to get out of the java sandbox Nov 13 03:02:57 huh? Nov 13 03:03:08 that will be possible just if the source code is released Nov 13 03:03:11 well they've created a pretty nice api it seems.. so that shouldn tbe much of a problem Nov 13 03:03:51 yeah I think so Nov 13 03:04:04 i think thats sort of the point.. the OS handles everything for you Nov 13 03:04:21 has anybody gotten started and come up with anything yet? Nov 13 03:04:23 yeah like windows ;) Nov 13 03:04:41 bengl, i'll be starting within a few days probably Nov 13 03:04:46 what are you guys working on? Nov 13 03:04:49 I'm just realizing that android was released xD Nov 13 03:05:08 ya, i heard about it just yesterday Nov 13 03:05:21 i think to just get my feet wet a bit, i'll whip up a little telnet client Nov 13 03:05:47 i havent even installed the sdk or plugins Nov 13 03:05:51 does it come with simulator and everythign? Nov 13 03:05:56 then i'll start making a decision about that potential $25000 Nov 13 03:06:03 yeah it comes with a sweet lookin emulator Nov 13 03:06:06 I'll stick with a irc client Nov 13 03:06:09 i played around with it Nov 13 03:06:16 javamaniac, im doing an irc client too ;P Nov 13 03:06:27 right off the bat the web browser is pretty good Nov 13 03:06:34 heh, so, I maybe begin o think in another thing Nov 13 03:06:37 :) Nov 13 03:06:50 and there's an included googlemaps app, so don't bother with that unless you mash it with something else Nov 13 03:07:13 Writchie: it was clear from the l-a-k posting of the MSM7K kernel patches that the GPU userspace driver, for instance, is proprietary and will not have sourc code released Nov 13 03:07:41 anyone know what phones this will run on? Nov 13 03:07:48 HTC and something else Nov 13 03:09:31 the UI is all nice and pretty, obviously trying to compete directly with the iphone UI Nov 13 03:09:34 rwhitby: it looks like it will be a smorgasborg of binary drivers and proprietary glue - although I hope not Nov 13 03:10:18 Writchie: it's clear that there will be proprietary drivers - each handset manufacturer just has to supply a binary that supports the android appi Nov 13 03:10:20 api Nov 13 03:10:53 what i haven't seen is anything in the API relating to a GPS, which kinda sucks, but i suppose that will come later Nov 13 03:10:54 and since it can run as userspace on the kernel, but outside of the vm sandbox, then the user can't get to it Nov 13 03:11:09 (and they aren't obligated to release source) Nov 13 03:11:11 that runs the VM - which may or not be IP - I can't tell at this moment Nov 13 03:12:10 we are aiming for "no binary drivers in the kernel" Nov 13 03:12:35 but individual OEMs *could* do something like that. we strongly encourage them not to do so. Nov 13 03:13:27 swetland: hope you don't take our critiques too personally, lots of skeptics in here (some with arrows in their backs) Nov 13 03:13:40 telexicon: come back! Nov 13 03:13:55 telexicon: we miss you! Nov 13 03:14:26 I've been through this sort of thing before. Could be much worse. Nov 13 03:14:35 ... Nov 13 03:14:40 well its only been one day ;) Nov 13 03:14:43 telexicon: we... we love you! Nov 13 03:14:56 will somebody kick t00na :-/ Nov 13 03:15:06 t00na, stop following me Nov 13 03:15:13 then come back! Nov 13 03:15:13 swetland: any plans to have GPS stuff in the API? or am i just not finding it there? Nov 13 03:15:28 i love my gsm operator - i love my handset maker - i love M$ - right. Nov 13 03:15:36 telexicon, please come back, they love u Nov 13 03:15:37 I *thought* there was an API for that, but maybe it didn't make the cut for the first SDK drop Nov 13 03:15:46 I work at the kernel level, not the toolkit level Nov 13 03:15:47 javamaniac, meh Nov 13 03:15:57 we love you, telexicon Nov 13 03:16:11 yeah, that's for sure.... Nov 13 03:16:14 for bugs or missing features or whatnot, posting on the android-developers group is probably the best thing Nov 13 03:16:37 the developer advocates monitor that, they file bugs against the engineering team in response to issues raised externally, etc Nov 13 03:17:01 that's good to know Nov 13 03:17:09 yeah thx for that info Nov 13 03:17:19 but a Bug tracking system would be a good idea too Nov 13 03:17:29 mention that! Nov 13 03:17:41 telexicon: we made brownies that are shaped like your head Nov 13 03:17:53 t00na, meh Nov 13 03:18:03 couldn't you have made the other kind of brownie? Nov 13 03:18:03 Who's op in this channel? Nov 13 03:18:13 We made both kinds. Nov 13 03:18:16 swetland: I notice reference to ARM9EJ-S - is J variant required? Nov 13 03:18:18 Both out of sadness. Nov 13 03:18:21 and emptiness. Nov 13 03:18:25 :-/ Nov 13 03:18:27 Right after you left. Nov 13 03:18:30 t00na, stop.. seriously Nov 13 03:18:33 okay Nov 13 03:18:50 se fue la totona Nov 13 03:23:53 swetland: would it be fair to say that tivoization is optional, discouraged, but not precluded? Nov 13 03:26:58 I really hate the term "tivoization" Nov 13 03:27:42 what package should I make my project in? I dont have an org or company... com.?.whatever Nov 13 03:28:01 swetland: ack Nov 13 03:28:10 d03boy: make one up Nov 13 03:28:11 our general stance is we don't want to *force* anyone to do anything Nov 13 03:28:41 we recognize that OEMs may want to include some proprietary bits. we encourage them to do this in userspace if they *must* do it Nov 13 03:31:11 swetland: looks like there are lost of non-open source user-space bits already e.g. "toolbox" or is the plan to release these? Nov 13 03:31:25 lost = lots Nov 13 03:31:28 toolbox will be apache2/bsd on ship Nov 13 03:31:41 cool Nov 13 03:31:48 as will pretty much everything in the SDK Nov 13 03:32:08 VM spec is biggest black hole at the moment Nov 13 03:32:47 the license language MOST is a bit scary to some since it means NOT ALL Nov 13 03:33:14 ah, found GPS related stuff in the API, though not sure how i'll be able to test it at all with the emulator Nov 13 03:33:35 yeah, unfortunately I can't say definitively "ALL" because there could be a bit here or there that might be proprietary (largely depending on an OEM's choice on a particular device) Nov 13 03:34:25 and until we actually release the sources for the vast majority of the system, people are going to be skeptical. I am not in a position to make definitive statements -- I cannot speak on behalf of Google here Nov 13 03:34:27 e.g. the GPU Nov 13 03:35:00 rwhitby: yeah, good example of something that would likely involve a closed library. though that would depend on the particular GPU/SOC vendor, etc, etc Nov 13 03:35:37 swetland: yes - but the non-existence-proof of an open source mobile GPU driver (or even doco for such) means that it will be an uphill battle. Nov 13 03:36:48 swetland: IMHO the most important part is the VM - if that were proprietary or encumbered by IP that could be a big problem for some. Nov 13 03:37:18 swetland: that part seems to be under google's control - not dependent on hardware OEM Nov 13 03:37:45 Writchie: and is also the most likely part for Google to keep proprietary, as it's the competitive edge against other mobile OS's. Nov 13 03:37:52 it just looks like a "choke point" to us natural born skeptics/cinics Nov 13 03:37:58 the current plan for the VM is "Apache2", like just about everything else. Nov 13 03:38:16 swetland: that's good new Nov 13 03:38:17 s Nov 13 03:38:29 we hope it won't be a long time to see that current plan become reality. Nov 13 03:38:29 there will be a lot more (and more definitive) information on this over time Nov 13 03:39:38 it's difficult to buy the embedded argument for the java byte code - especially when you emulate a 926EJ-S Nov 13 03:39:55 we do not make any use of the Jazelle extension Nov 13 03:39:59 and have no plan to do so Nov 13 03:40:22 926EJ-S is what Qemu provided as an ARM9 platform Nov 13 03:40:36 gotcha Nov 13 03:40:59 so the arch is built for simple ARM9? Nov 13 03:41:05 nice - "cover view" for browser history :-) Nov 13 03:41:15 yup. Basically we target ARMv5 Nov 13 03:41:34 * rwhitby wonders how fast it would be on an NSLU2 ... Nov 13 03:41:41 swetland: you're with google?` Nov 13 03:41:41 and goldfish i presume is some hardware? Nov 13 03:41:46 as the baseline. not planning on supporting non-mmu cores, ARM7s, etc Nov 13 03:41:58 goldfish is the virtual platform we implement in the emulator Nov 13 03:42:24 easier to just do simple virtual peripherals than to spend a lot of effort emulating some specific piece of hardware Nov 13 03:42:35 Hello. Is programming for Android possible only in Java? Nov 13 03:42:50 dfas: swetland is a google kernel developer - he pushed some msm7k kernel patches to linux-arm-kernel just the other day. Nov 13 03:43:00 swetland: is BT bluez if you can say? Nov 13 03:43:20 swetland: do you star in any of the videos? Nov 13 03:43:45 http://code.google.com/android/reference/org/bluez/package-summary.html Nov 13 03:44:04 tx Nov 13 03:44:11 rwhitby: there's a couple second clip of me making some random remarks in one of the videos they released with the OHA announcement. Nov 13 03:44:59 swetland: what source control system does google use? Nov 13 03:45:00 swetland: the "Introducing Android" video at http://www.youtube.com/watch?v=6rYozIZOgDk ? Nov 13 03:45:06 YouTube - Introducing Android Nov 13 03:45:09 yah Nov 13 03:45:23 p Nov 13 03:45:52 Hello room. Nov 13 03:46:37 swetland: ah, "System Tech Lead" :-) Nov 13 03:47:06 (for others, 1:25 in that video) Nov 13 03:48:08 anybody has any idea about having android development in any other lang then java.lang? Nov 13 03:48:26 night Writchie|zzzZZzz Nov 13 03:49:00 It seems they have spent quite a lot of work writing it in java... Nov 13 03:49:45 I'm rather... I don't know Java! Nov 13 03:49:48 I'm not a fan of the language, but it seems to be the language everyone likes to use. Nov 13 03:49:58 How could you not know java... Nov 13 03:50:08 It's got all the basics... Nov 13 03:50:22 java was a god-send in 94 Nov 13 03:50:22 They teach it to 8th graders... Nov 13 03:50:26 I think you can learn. Nov 13 03:50:34 Yes, it's time for something new... Nov 13 03:50:54 google obviously likes java since gmail was written in it Nov 13 03:50:59 Maybe thats what "android" tries to do. Take the work out of cell phone development. Nov 13 03:51:21 Ya... I know and love Ruby Nov 13 03:51:28 Never touched it. Nov 13 03:51:36 I like the state saving stuff - reminds me of PalmOS Nov 13 03:51:51 * rwhitby is watching Androidology Part 2 Nov 13 03:52:15 don-o: yes because Java *is* quite productive Nov 13 03:52:30 hmm Nov 13 03:52:35 i wish they would add python though Nov 13 03:52:36 swetland: is the late-binding of intents done on every request (i.e. each time you click on a new mail message) or is there some caching which is managed by the package manager? Nov 13 03:52:38 that would be fun Nov 13 03:52:50 google likes python anyways.. why not? Nov 13 03:52:51 How much time do I need to learn Java? Nov 13 03:53:07 Um, depends on what else you have programmed. Nov 13 03:53:18 apollo7889: C & Ruby.. lol Nov 13 03:54:06 kazim59: ruby has all there is no know about java and then some. just add static types. Nov 13 03:54:16 s/no know/to know/ Nov 13 03:54:28 don-o: great! Nov 13 03:54:45 * don-o hearts ruby Nov 13 03:55:30 maybe somebody could get jython going on android Nov 13 03:56:09 Um, so what can you actually do on this new platform? I mean, are we all going to be stuck to our cell phones rather than our computer screens Nov 13 03:56:20 Flashy cellphone, downfall of man. Nov 13 03:56:36 i dont know Nov 13 03:57:46 The youtube video's worth watching? Nov 13 03:57:52 yes Nov 13 03:58:01 4 or 5 of them Nov 13 03:59:01 cool - RPC via XMPP, device to device via xmpp syndication Nov 13 03:59:27 Ok. Nov 13 03:59:37 So, you can talk to another device. Nov 13 03:59:44 Bluetooth? Nov 13 04:00:17 it needs an xmpp server (i.e. google talk server) in the middle Nov 13 04:00:17 Is there a market for phone to phone? Nov 13 04:00:51 can you get access to sockets? Nov 13 04:00:59 like could you make a web server for your phone Nov 13 04:01:04 Nice. Nov 13 04:01:07 Sounds like fun. Nov 13 04:01:12 telexicon: you can read the APIs as well as I can :-) Nov 13 04:01:18 fine :p Nov 13 04:02:12 remember that phones are usually behind NAT on most provider networks, so you need a third party server that both phones talk to - e.g. xmpp (Google Talk Server) Nov 13 04:02:26 Ah... Nov 13 04:02:32 oh Nov 13 04:02:37 So Google handles the middle man? Nov 13 04:02:44 With this platform. Nov 13 04:03:00 at the moment it's xmpp and only gmail accounts. Nov 13 04:03:19 Are we going to be seeing a picking a choosing of "features" like we see in the current cellphone market? Nov 13 04:03:32 they could do any xmpp syndicated server if they wanted to I expect, but I also expect that google will keep it as gmail.com accounts only to drive more adoption of gmail.com accounts Nov 13 04:03:38 isnt that cool? Jabber is an interesting choice for message passing. Nov 13 04:04:00 don-o, well at least its an open protocol Nov 13 04:04:09 rwhitby: it better let me connect to any xmpp server by the time its released. Nov 13 04:04:23 so, who is ready to make a zimbra sync feature? Nov 13 04:04:31 telexicon: yup. and they've worked on publish/subscribe, too. Nov 13 04:04:42 don-o: I expect you will be able to change the xmpp api java code and enable that yourself. Nov 13 04:05:47 (assuming the source for the xmpp service is open) Nov 13 04:24:49 so why should i care about android when it doesnt seem much different than the other java based platforms Nov 13 04:38:00 doofy`, its open? Nov 13 04:38:25 doofy`, its made by google (thats a big one) Nov 13 04:39:07 app dev is all java though... Nov 13 04:39:29 that seems pretty lacking Nov 13 04:40:43 doofy`, well there is frameworks for everything Nov 13 04:40:55 doofy`, but its open, you can change stuff if you want Nov 13 04:41:11 doofy`, my hope is that they will come to their senses and allow people to use python as well Nov 13 04:44:25 telexicon: and ruby too :( Nov 13 04:44:58 well Nov 13 04:45:14 google likes python Nov 13 04:45:39 and ruby is .. well ill keep that to myself Nov 13 04:45:57 and scheme Nov 13 04:46:03 I'm using ERC Version 5.2 with GNU Emacs 22.1.50.1 (i386-apple-darwin8.10.1, Mac Carbon) of 2007-11-05. Nov 13 04:46:20 elbastardo, nice.. Nov 13 04:46:30 does it run the android sdk? Nov 13 04:46:35 scheme is nice Nov 13 04:47:51 well Nov 13 04:47:59 you could built it all on top of the jvm Nov 13 04:48:07 stuff like jython or whichever Nov 13 04:50:35 like sisc Nov 13 04:54:22 oh ok Nov 13 04:55:49 http://sisc-scheme.org/sisc-online.php android gots to have something like this for extensibility Nov 13 04:59:59 python, c++, etc would be nice Nov 13 05:00:42 yes python would be nice Nov 13 05:00:47 i dont think they'd go for C++ or C Nov 13 05:00:53 and i dont think it would make any sense either Nov 13 05:01:00 whys that? Nov 13 05:01:06 because the phones might have different processors Nov 13 05:01:13 true. Nov 13 05:01:19 could turn in to quite the hassle Nov 13 05:01:47 the problem is theyre pushing that 3d acceleration, but high level languages (i know i know java is "fast") dont cut it usually Nov 13 05:02:00 well Nov 13 05:02:10 they arent pushing quake 4 3d acceleration Nov 13 05:02:21 they had doom :) Nov 13 05:02:26 they had quake 1 Nov 13 05:02:34 so let's say i have a 3rd party jar file i need to use, where do I add in the src tree? how does Dalvik VM's classloader work? Nov 13 05:02:46 too i mean Nov 13 05:02:59 i think the 3d acceleration is used to smooth the 2d graphics Nov 13 05:03:16 like how OS X does it, it uses 3d hardware to make the 2d graphics (which are just flat 3d) run smoother Nov 13 05:03:17 the platform is really cool, i do admit Nov 13 05:03:39 so far ive found the java API to be pretty nice Nov 13 05:03:39 whats eta on a more complete sdk? Nov 13 05:03:59 i wonder when some real hardware comes out Nov 13 05:04:07 im an old hiptop developer so i do like the API quite a bit Nov 13 05:04:23 plus theres the security issue Nov 13 05:04:33 i dont think they'd want people writing a bunch of native stuff Nov 13 05:05:03 doofy`, have you tried out the emulator? Nov 13 05:05:10 sounds like theyre avoiding open by doing that :P Nov 13 05:05:11 yes i ahve Nov 13 05:05:16 telexicon: seems that each app is a process in linux with it's own user, so native stuff could still be kept safe Nov 13 05:06:13 rwhitby, well, i think they might be trying to protect developers from themselves Nov 13 05:06:22 linux can handle security on its own... by trying to keep app development at a high level in the VM its just avoiding being fully open Nov 13 05:06:43 and still.. having someone remotely take over an app, they could still do some damage Nov 13 05:06:57 like get into your email or launch spam attacks from your phone Nov 13 05:07:12 but wouldnt that be the users problem? Nov 13 05:07:28 i thought it was trying to have the same paradigm as all free/libre software Nov 13 05:09:18 well Nov 13 05:09:22 see thats the problem Nov 13 05:09:39 we arent google's target audience Nov 13 05:10:22 they dont want end users to have to deal with the security themselves because well.. Nov 13 05:10:27 people are dumb Nov 13 05:11:25 it is true... but i think at some point you have to allow the users to control everything and not try to protect them. Theres ways to do it... look at grandmas using ubuntu :) Nov 13 05:12:05 then again i look for a better way for them to have a portable mobile OS and i cant seem to come up with one. Nov 13 05:12:27 the only thing you can do is use portable languages.... ruby, python, java... Nov 13 05:12:45 i really hope they add python Nov 13 05:13:37 it would be nice, thats for sure Nov 13 05:14:04 are they planning on opening the OS more than they currently have? if so it would be possible to brew up python for it Nov 13 05:14:43 id like it best though if it was google supported Nov 13 05:15:03 which i wouldnt be surprised Nov 13 05:15:06 google likes python Nov 13 05:15:16 very much so Nov 13 05:15:24 look at the SDK Nov 13 05:15:36 it has python scripts in it Nov 13 05:16:31 it will be interesting to see how things develop thats for sure Nov 13 05:16:53 a device with a multi touch interface would be cool Nov 13 05:17:15 and the other thing is Nov 13 05:17:26 yea it would be nice if android was completely open source Nov 13 05:17:34 but i think i should take what i can get for now Nov 13 05:17:41 its better than having completely proprietary everything Nov 13 05:17:51 at least people will have more freedom for hardware Nov 13 05:19:02 ah we are making some more definitive statements on the open source stuff Nov 13 05:19:05 for people asking earlier: Nov 13 05:19:07 http://groups.google.com/group/android-developers/browse_frm/thread/e07c6296c2f8f925/ce848a736913e04b?lnk=gst&q=morrildl#ce848a736913e04b Nov 13 05:20:07 wow Nov 13 05:20:11 that is great! Nov 13 05:20:19 yeah there's been a bit of confusion about that Nov 13 05:20:37 will the multimedia framework have integrated support for ogg vorbis/theora and Nov 13 05:20:57 we're not doing full system source drops while the sdk is in flux, but eventually all the goodies will be available Nov 13 05:21:16 is anyone talking about having python available to use? Nov 13 05:21:22 besides me :) Nov 13 05:21:39 1.0 is focused on java for the apps development environment Nov 13 05:21:55 doing other language bindings is certainly something that could be done though Nov 13 05:22:00 i was talking about scheme before Nov 13 05:22:10 anyone know who Dan Morril works for? Nov 13 05:22:15 Google Nov 13 05:22:31 ogunnaike: tell us about scheme please Nov 13 05:23:07 yeahs, something like sisc in android would be very nice. Nov 13 05:23:17 scheme is Nov 13 05:23:19 scheme is not as popular as python Nov 13 05:23:37 its a lisp derivative i believe Nov 13 05:23:40 or a dialect of Nov 13 05:23:51 yes i know about scheme just Nov 13 05:24:06 i wasnt never able to get my head around functional languages properly :) Nov 13 05:24:13 ever* Nov 13 05:24:48 theres nothing to get your head around really. you just need to get rid of vi Nov 13 05:25:09 no no Nov 13 05:25:13 did someone say java and fast in the same sentence lol Nov 13 05:25:15 vim is my editor forever Nov 13 05:25:18 swetland: so let's say i have a 3rd party jar file i need to use, where do I add in the src tree? how does Dalvik VM's classloader work? Nov 13 05:25:20 i mean use emacs for editing scheme code Nov 13 05:25:25 linux_galore, on a dedicated java processor yea Nov 13 05:25:33 linux_galore, java is surprisingly quick now Nov 13 05:25:46 has been since 1.5 Nov 13 05:25:48 doofy`: java apps still run slow for me Nov 13 05:25:56 java 6 starts a lot faster now too Nov 13 05:25:56 eno: I'm a kernel engineer -- frameworks stuff is a bit outside of my realm. I know that *can* be done, but don't know exactly how to set it all up offhand Nov 13 05:26:25 doofy`: then again Im an asm person so C runs slow Nov 13 05:26:35 alright, thx swetland Nov 13 05:26:39 the android-developers google group is probably the best place for questions like this. the developer advocates monitor it and provide help there Nov 13 05:27:02 room needs a question bot Nov 13 05:27:07 So in regards to native application development. Google could set up a compiling backend that can take the source and compile for the various architectures... look at Ubuntu's launchpad. Google has plenty of processing power to do it too. Nov 13 05:27:21 channel* Nov 13 05:27:25 linux_galore, you a kernel hacker or what? Nov 13 05:27:40 lol Nov 13 05:28:16 doofy`: no, I work for a company thats makes a rather large amount of small gadgets Nov 13 05:28:31 oh alright Nov 13 05:28:53 ogunnaike: is this "lisp" still in use , i thought it is some 1960s' tool Nov 13 05:29:16 elbastardo: not so much. its gone underground Nov 13 05:29:21 android is so 21st century Nov 13 05:29:25 I know a few people who love lisp, most of them are also emacs nuts strangely enough Nov 13 05:29:42 pure coincidence, I'm sure Nov 13 05:29:56 heh Nov 13 05:30:12 * swetland hides his .elisp directory Nov 13 05:30:40 you guys talk about emacs , i only have it installed so i can chat on freenode Nov 13 05:30:42 I'm using ERC Version 5.2 with GNU Emacs 22.1.50.1 (i386-apple-darwin8.10.1, Mac Carbon) of 2007-11-05. Nov 13 05:31:23 I pretty much only use it as an editor. I don't run shells, irc, news, mail, etc in it like some people I know. Nov 13 05:31:32 * linux_galore likes erlag so cant really pick on lisper's Nov 13 05:31:53 swetland: gnus is lots of fun Nov 13 05:32:20 erlang* Nov 13 05:33:08 i havent update emacs on this machine for a while Nov 13 05:33:19 a coworker of mine at ncsa used to operate *entirely* in xemacs. he never understood why we used these fancy, new-fangled shells with command history and completion and stuff, because "emacs takes care of all that stuff for you" Nov 13 05:33:21 git is great Nov 13 05:33:41 GNU Emacs 21.4.2 Nov 13 05:33:48 Is there an existing issue tracker for submitting fetaure requests & bugs? Nov 13 05:33:51 linux_galore: thats old :) Nov 13 05:34:15 well this machine has been running now for two years with 3 reboots for kernel updates Nov 13 05:34:24 because modularity is a good engineering principle Nov 13 05:35:18 wouldnt it be nice if you didnt have to compile apps on android. yeahs.. modularity.. scheme can be modular Nov 13 05:35:38 interpreted too Nov 13 05:35:41 thats always nice Nov 13 05:35:42 thats where the python comes in Nov 13 05:36:10 yeah, Python is cool for that Nov 13 05:37:32 i wonder how jython devel is going Nov 13 05:37:42 i thought python was the tool of choice for iPhone apps Nov 13 05:38:14 oh wow.. python 2.2.1 now. nice Nov 13 05:38:23 nah, jython is no good Nov 13 05:38:31 i mean as a last resort fine.. but Nov 13 05:38:39 it'd be really nice to get CPython Nov 13 05:38:50 oh.. Nov 13 05:38:50 elbastardo, what iPhone apps? Nov 13 05:39:33 telexicon: not sure , but they brag about it on developer.apple.com Nov 13 05:39:54 elbastardo, well thats nice for people who work at apple.. but what about everybody else... Nov 13 05:40:03 so true Nov 13 05:40:07 lol @ iPhone apps, isnt that an oxymoron Nov 13 05:40:35 you keep jailbreaking it , they keep brikin it Nov 13 05:40:42 the fun never ends Nov 13 05:40:46 i gotta let google know i want this scheme functionality Nov 13 05:40:47 id much rather have this Nov 13 05:41:03 an open framework for developing apps Nov 13 05:41:09 is there an addy where i can send feature requests? Nov 13 05:41:12 ogunnaike: you need to write a cool app , then u might get a chunk outa 10 mill Nov 13 05:41:30 yeah, Apple hasnt even released an sdk yet, I thing Apple seriously stuffed up there Nov 13 05:41:31 bugs/features/questions -> http://groups.google.com/group/android-developers Nov 13 05:41:35 elbastardo: well, i'm planning on writing scheme apps Nov 13 05:41:36 think* Nov 13 05:41:43 swetland: thanks Nov 13 05:41:44 this is monitored by the developer advocates group Nov 13 05:42:04 http://benno.id.au/blog/2007/11/13/android-under-the-hood Nov 13 05:43:08 rwhitby: thanx for the link , it looks like aussies are ahead of the game Nov 13 05:43:09 rwhitby: You write that? Nov 13 05:43:29 so is it busybox? Nov 13 05:44:15 puckett: no, someone else Nov 13 05:44:20 toolbox Nov 13 05:44:30 it's like busybox but smaller and apache2 licensed ^^ Nov 13 05:45:02 also: http://benno.id.au/blog/2007/11/13/android-native-apps Nov 13 05:45:12 yay people picking the system apart Nov 13 05:45:16 * swetland gets out the popcorn Nov 13 05:45:34 its what people do Nov 13 05:45:48 swetland: yeah, must be good fun for you to see how quickly people can find stuff out. Nov 13 05:46:04 it's fun to watch. I hope people have fun playing with it Nov 13 05:46:24 swetland: I run the nslu2-linux project - this is like having a new toy :-) Nov 13 05:46:35 yay slugs! Nov 13 05:46:46 swetland: you know of it? Nov 13 05:47:00 yeah. haven't used one myself but have seen stuff about 'em. they sound like cute little devices Nov 13 05:47:08 any slugs in Google? Nov 13 05:47:19 wouldn't be surprised. it's a big place Nov 13 05:47:45 what about the more powerful buffalo linkstations? Nov 13 05:48:45 ahaha, we obviously did not scrub everything: Nov 13 05:48:51 strings doesn't provide much more information, but it seems someone was frustrated enough during development to see the need for the string Stupid C library hack !!. Nov 13 05:49:01 swetland: is there any doco available about the API that is used by the debugger connection to the dalvik processes? Nov 13 05:49:21 it's JDWP (iirc) Nov 13 05:49:31 totally standard Nov 13 05:49:50 i use jdwp for blackberry develoment Nov 13 05:50:38 different debuggers use the protocol differently, so some IDEs may have issues with the system, but I know several have been tested Nov 13 05:50:47 swetland: is it the case that each application is running as it's own linux user, in a separate process, where each process is an instance of the dalvik VM ? Nov 13 05:51:16 android doesnt run everything as root like the iPhone right? ^^ Nov 13 05:51:28 rwhitby: yup Nov 13 05:51:34 telexicon: no, each app is a unique userid Nov 13 05:51:44 rwhitby, excellent Nov 13 05:51:59 telexicon: if all goes well there will only be 3 root processes by the time we're done, including init Nov 13 05:52:00 swetland: what does the coordination of all those VMs - is it just the linux scheduler or is there another layer there? Nov 13 05:52:10 swetland, thats great Nov 13 05:52:21 swetland, are there plans to use like MAC or is that too much overhead Nov 13 05:52:28 I was totally floored to find out the iphone guys ran everything as root Nov 13 05:52:58 swetland: heh - now that you're out of the lock-down, you can blog about all the iphone mistakes :-) Nov 13 05:53:13 rwhitby: they're just plain 'ol processes but the ApplicationManager coordinates stuff. should be info about that in the docs I believe Nov 13 05:53:26 rwhitby: dumping on other products is kinda tacky Nov 13 05:53:35 and iphone does a lot of things very well Nov 13 05:54:23 swetland: there's dumping, and then there is robust technical comparisons ... Nov 13 05:54:41 I've got a number of friends who work on iphone. they're all awesome engineers doing great work. wish we could have hired some of them here ^^ Nov 13 05:54:46 can android be used in CDMA networks ? or with CDMA phones Nov 13 05:55:09 depends on the kernel and the ril Nov 13 05:55:09 elbastardo, wouldnt that be up to the hardware manufacturer? Nov 13 05:55:21 system needs a 2.6.23 kernel to provide hw support Nov 13 05:55:27 swetland: ril? Nov 13 05:55:40 radio interface library? Nov 13 05:55:49 and there is a "radio interface layer" daemon that provides the interface to the underlying cellular networking stuff (which varies depending on chipset and oem) Nov 13 05:56:23 ah, yes - that would be a daemon rather than a kernel module for licensing reasons Nov 13 05:56:44 What's the flag for promiscuous mode? :) Nov 13 05:57:22 swetland, what dev role do you play in android? Nov 13 05:57:30 puckett: i believe it's +heysexy Nov 13 05:57:31 rwhitby: yup that's one of the bits that is likely to be replaced by a proprietary module Nov 13 05:57:40 I'm the systems tech lead / kernel lead for the project. Nov 13 05:57:41 nod Nov 13 05:58:14 I totally should *not* be spening my time chattering on irc, but it's fun watching some of the early reaction. can't promise I'll be here this much in the future. lots to do Nov 13 05:58:42 swetland: for my money, you guys have made some very pragmatic decisions about how to architect things to encompass licensing and security as first-class engineering constraints. Nov 13 05:58:49 swetland: how physically spread out are the teams at G? Nov 13 05:58:52 ... very good pragmatic ... Nov 13 05:59:16 rwhitby: we try -- it's a tough balancing act building something that's as open as possible and also meets oem and carrier needs Nov 13 05:59:26 indeed Nov 13 05:59:58 we won't know for sure how well it goes until people start shipping devices, but I have high hopes Nov 13 06:00:10 there will of course be gpl zealots who will cry foul of any tiny bit of proprietary code, but android looks to me like it's hit the right balance. Nov 13 06:00:50 talking oems into making every single thing on a device open source is a pretty insanely hard sell Nov 13 06:01:12 hah, i can imagine that one now :D Nov 13 06:01:23 gotta give them some room to differentiate or plug in their secret sauce that they see as their value add Nov 13 06:01:45 we're trying to do it in a way where they have some clear places to do that without interfering with the platform Nov 13 06:01:57 and without going down the "binary kernel drivers" route or other undesirable things like that Nov 13 06:02:13 are there plans of porting the sdk to the bsd's in the future? Nov 13 06:02:36 no plans at present. once the whole thing's open source it'd be pretty easy to port though Nov 13 06:02:49 we've kinda got our hands full supporting linux/osx/win32 Nov 13 06:03:12 post to the developers group though and ask about stuff like this Nov 13 06:03:22 getting it on the radar for the dev support people is always a good thing Nov 13 06:03:23 i will Nov 13 06:03:34 there is much talk about open source, letting people believe that everything will be open source Nov 13 06:05:29 just wondering, can one access the microphone under the android libs ? Nov 13 06:05:53 DalvikVM version 0.2.0 Nov 13 06:05:53 Copyright (C) 2007 Google, Inc. Nov 13 06:05:56 Blah blah blah LICENSE blah blah. Nov 13 06:06:04 :-) Nov 13 06:06:10 what is the word "Dalvik" mean? Nov 13 06:06:16 so what kind of app distribution system will there be? Nov 13 06:06:35 will there be a place for developers to post their apps on like a 'store'? Nov 13 06:06:39 d03boy: Dalvik is the name that was given to the virtual machine Nov 13 06:07:20 d03boy: it's a city in Iceland :-) Nov 13 06:08:04 i see Nov 13 06:08:11 d03boy: more like a village, and pretty north Nov 13 06:08:30 must be some metaphor Nov 13 06:08:32 I honestly have no idea what's up with our VM lead's fascination with the place Nov 13 06:08:35 Yes, any insights into signing requirements, etc? Nov 13 06:09:26 apparently Dalvik has high tec industry Nov 13 06:09:39 Too early to talk app distribution models and stuff. If things go as planned, I think people will like what they see. Nov 13 06:09:43 Distribution is the most infuriating part of j2me. For all its other faults, at least that is clear-cut in Brew. Nov 13 06:10:12 ah, Media recorder class, thanks Nov 13 06:10:41 eno: are you working on an optware port for android? Nov 13 06:10:52 telexicon: we can't say anything yet about app distribution, but let's just say that we've been thinking hard about the challenges that currently exist Nov 13 06:11:33 rwhitby: as soon as they have the dalvikvm source open ... Nov 13 06:12:03 there's no chat app in the initial SDK - I expected to at least see a google talk app using the xmpp service ... Nov 13 06:12:21 Zoolooc: Dal = valley and vik = bay in swedish, and probably the same in icelandic Nov 13 06:12:52 the emulator is running arm little endian, will big endian work? how about non-ARM CPUs? Nov 13 06:13:21 no current support for non-arm or be-arm cpus, but it certainly could be done Nov 13 06:13:41 if you look at the mobile market, little-endian arm is pretty unbelievably dominant, so we felt that a good starting point Nov 13 06:13:44 eno: DalvikSlug? Nov 13 06:13:50 swetland: which people would like what they see? those buying a phone like iphone, wanting the UI to look fancy and cool, and expecting that everything works and not bother with anything, like technical details, or also the geek / dev type really always wanting to hack (you know what I mean, in a good sense) almost every device they buy? Nov 13 06:14:07 zoolooc: hopefully all of them Nov 13 06:14:21 swetland: x86 should be quite high on the list shouldn't it, just thinking about Intels embedded x86 plans.. Nov 13 06:14:35 so no barriers for the latter, nice then Nov 13 06:14:37 those groups have somewhat different needs, but I believe they could all be met if we do things right Nov 13 06:15:21 this is really great Nov 13 06:15:24 seems they're only made mutually exclusive by the companies who put out the products, and Google rarely does that :D Nov 13 06:15:48 only 5 years till its out of beta Nov 13 06:15:48 this is kind of cool that we're here in irc chatting with a google dev Nov 13 06:16:05 :) Nov 13 06:16:27 no rules that I can't waste time on irc too. just gotta be careful not to say something that freaks out the PR folks or my management ^^ Nov 13 06:16:47 d03boy: heh. come to ann arbor. can't throw a rock without hitting one. (not that you're not special swetland :] ) Nov 13 06:17:14 so, apologies about questions that go unanswered. I'll occasionally drop some things on the floor rather than entering territory that is hazardous. Nov 13 06:17:24 s/that is/that are/ Nov 13 06:17:32 Understandable :) Nov 13 06:17:42 hmmm Nov 13 06:18:08 it all boils down to the same old story, doesn't it Nov 13 06:19:42 swetland: yeah, play it safe - we want to keep you around :-) Nov 13 06:20:10 swetland: how much emphasis has been placed on offline operation as opposed to always-connected operation? Nov 13 06:20:32 seems that google gears must fit in somewhere ... Nov 13 06:23:44 I like the screen capture facility in the Eclipse DDMS perspective. Nov 13 06:24:14 the dev tools guys have been doing some really great stuff with the integrated ddms goodies Nov 13 06:24:31 one fun fact: all the stuff that works with the emulator is *identical* with real hardware over usb Nov 13 06:24:36 every try to develop for blackberry? it took me 2 weeks to set up the environment Nov 13 06:24:50 and it still hardly works Nov 13 06:24:52 (with eclipse) Nov 13 06:25:17 ahok a channel ;) Nov 13 06:25:27 howdy synap Nov 13 06:25:30 heya ;) Nov 13 06:25:42 d03boy: I'm currently writing an Eclipse plugin for Blackberry. JDE is, um, not good and it's cumbersome with Eclipse... Nov 13 06:25:52 thank you! Nov 13 06:26:02 puckett, can I get some more info on this so I can keep up with it by chance? Nov 13 06:26:28 anyone know what the Binder threads do? Nov 13 06:26:43 Maybe I'll get some inspiration from what the Android folks have done (ie screen capture, etc) Nov 13 06:27:39 Lots of people are asking about Binder. Should post that to the group if no one's done it yet Nov 13 06:28:38 jasonchen: would it be possible to write some JNI code which talks to gnueabi-gcc C/C++ code which you upload via adb push? Nov 13 06:28:54 d03boy Send an email to rapuckett@gmail.com and I'll let you know when it's available Nov 13 06:29:41 gotcha Nov 13 06:31:21 ah, you can create an External Tool in Eclipse for adb, and get access to adb shell via an eclipse console window ... Nov 13 06:31:41 rwhitby: i'm not sure that it's possible today, but enabling app devs to build apps that call out to their own native code is something we're thinking about Nov 13 06:31:44 oh cute Nov 13 06:32:05 the guy doing the eclipse plugin just keeps adding handy little features Nov 13 06:32:10 almost makes me wish I used an IDE Nov 13 06:32:31 swetland: oh, that's a standard eclipse thing - but it would be nice to package it as part of the Android plugin Nov 13 06:32:47 aha Nov 13 06:33:02 (i.e. so it knows where to find adb and so forth automatically) Nov 13 06:33:47 do - toolbox 'ls' doesn't like -lR Nov 13 06:33:51 s/do/doh/ Nov 13 06:35:11 the toolbox commands are *very* minimal Nov 13 06:36:23 time to write a perl script which downloads the complete rootfs via adb shell ls and adb pull Nov 13 06:36:40 or is the rootfs available online somewhere already? Nov 13 06:36:59 * rwhitby looks for the eclipse perl plugin ... Nov 13 06:38:05 it's all in tools/lib/images/system.img , isn't it? Nov 13 06:39:58 eno: yes, but you want to compare the runtime image against that to see any changes after boot ... Nov 13 06:40:34 ok, I'm sold on this Eclipse thing now :-) Nov 13 06:40:37 i c Nov 13 06:41:14 eclipse is fantastical Nov 13 06:46:24 jeddy3: Morning ;) Nov 13 06:46:31 eno: I think we should cross-compile some basic utils so we can see if we can get a network connection from the adb shell, and then use ipkg to install optware packages as you suggested Nov 13 06:48:54 CM ;) Nov 13 06:50:43 eno: would our http://ipkg.nslu2-linux.org/feeds/optware/cs05q3armel/cross/unstable/ feed work out of the box? Nov 13 06:51:49 i'm objdump'ing toolbox Nov 13 06:51:49 eno: perhaps we can be the first to put busybox on there Nov 13 06:52:06 off to work, cu guys Nov 13 06:53:13 Any idea if there will be support for using external GPS pucks, Bluetooth dongles, etc with the emulator? Nov 13 06:54:03 i think all phones are required to have gps in them now dont they? Nov 13 06:55:19 Yeah, for e911. I'm thinking for development purposes until actual phones start becoming available - would be nice to code against LBS and Bluetooth... Nov 13 06:55:37 true Nov 13 06:55:41 puckett: take a look at android.location Nov 13 06:56:16 im off to bed so I can fail a geology final in the morning. nice talking Nov 13 06:56:34 puckett: we provide a way to develop against mock LocationProviders Nov 13 06:56:46 ciao! Nov 13 06:56:55 the linux android emulator runs flawless on freebsd under linux emulation btw Nov 13 06:56:59 flawless Nov 13 06:57:09 Thanks jasonchen Nov 13 06:58:33 puckett: you're welcome. there's a overview on LBS in Android at http://code.google.com/android/toolbox/apis/lbs.html Nov 13 07:10:48 Been a fun day. Night all! Nov 13 08:29:35 re Nov 13 09:00:48 ehlo Nov 13 09:01:09 can I expect a python sdk for android ? :) Nov 13 09:01:20 'morning Nov 13 09:01:35 ledil, if you start hacking on it, then yes;-) Nov 13 09:01:42 heh Nov 13 09:02:09 for that I need native C on the device ;) Nov 13 09:02:20 so with a java sdk only there is no chance ... Nov 13 09:03:01 i agree Nov 13 09:03:08 nah, i think google should provide it Nov 13 09:03:14 i wouldnt want an unsupported hacked up one Nov 13 09:03:21 google loves python anyways.. why not? Nov 13 09:03:56 I hope so ... because there is no need to port something, everything is available ;) Nov 13 09:04:58 jython Nov 13 09:05:12 nah Nov 13 09:06:28 jypthon is crazy :) Nov 13 09:11:18 jython just isnt the same Nov 13 09:15:32 ledil: If you want python, get an OpenMoko phone instead ;) Nov 13 09:17:00 well, it's python isn't it? Nov 13 09:17:24 OpenMoko? Nov 13 09:17:43 CM, I want python on android ... and not openmoko Nov 13 09:18:02 ledil: Then I hope google will let you put it on there :) Nov 13 09:18:06 good morning! Nov 13 09:18:22 lets hope ... Nov 13 09:18:34 * ledil hopes that google starts realsing a pysdk Nov 13 09:18:55 eno has just created a staticly linked hello.exe from C which works on android Nov 13 09:19:27 how ? I havent see any C sdk only java sdk ... Nov 13 09:20:22 using a standard eabi armel cross-compilation toolchain, and adb push and adb shell hello Nov 13 09:20:23 rwhitby, by brute forcing it? :) Nov 13 09:20:37 .exe? Nov 13 09:20:42 android doesnt use ELF? :( Nov 13 09:21:00 yes, it was just hello, not hello.exe Nov 13 09:21:11 telexicon, it should use ELF Nov 13 09:21:11 s/.exe// Nov 13 09:21:17 oh Nov 13 09:21:22 it's normal armel elf binary Nov 13 09:21:30 yes Nov 13 09:21:35 see what you can do when you start hacking instead of just bitching?:-) Nov 13 09:22:04 toolchain from codesourcery Nov 13 09:24:04 davidw, but unsupported just isnt as good Nov 13 09:24:57 if you wait for supported things, you're always behind everyone else Nov 13 09:26:11 benno also did the same thing a number of hours ago: http://benno.id.au/blog/2007/11/13/android-native-apps Nov 13 09:27:58 cool Nov 13 09:28:55 bonus points for a dynamic executable Nov 13 09:31:38 bonus points indeed Nov 13 09:32:22 I'm wondering if I'm missing some kernel modules - I still can't mount those qemu sys images :( Nov 13 09:39:41 swetland, it's late over there... Since you guys have your own vm, can it still take advantage of the java acceleration in hardware somehow? Nov 13 09:39:54 jazelle is not all that useful Nov 13 09:41:09 swetland: I disagree Nov 13 09:41:15 information on the finer details of this will accompany more vm info in the future, but that's the quick answer Nov 13 09:41:51 is pointless if the vm is jitted, or if what the SDK produces as a package isn't real java bytecode however Nov 13 09:42:33 swetland: dont' you ever sleep? (that's actually a good thing ;) ) Nov 13 09:42:59 I do sleep. been a bit random about it this week. launch is always a bit crazy Nov 13 09:51:42 swetland: for dynamic exe we need to work out your funky libc Nov 13 10:17:52 hi there :) Nov 13 10:18:40 I just looked at the Android samples Nov 13 10:19:19 and I think Android is just the platform I want to have on my mobile phone :) Nov 13 10:19:34 you do? Nov 13 10:19:48 telexicon: yes ;) Nov 13 10:19:55 why the question? Nov 13 10:20:02 so what kinds of apps are people going to make Nov 13 10:20:23 I'm here looking for people like me to just start developing some Nov 13 10:20:29 e.g. I miss a music player Nov 13 10:20:43 anybody that is interested in starting a music player project for Android? Nov 13 10:20:50 i want a youtube video search / player ;o) Nov 13 10:21:00 id like zimbra sync Nov 13 10:21:06 or an userfriendlich contactlist Nov 13 10:21:19 :) Nov 13 10:21:48 what about an media center? Nov 13 10:21:55 web server Nov 13 10:21:55 like win vista media center Nov 13 10:21:59 id like a web server on my phone Nov 13 10:22:01 web server ;) Nov 13 10:22:05 with included video / audio player Nov 13 10:22:11 and youtube video search Nov 13 10:22:13 telexicon: a web server in Java is not hard Nov 13 10:22:23 i dunno if we have sockets Nov 13 10:22:31 humm Nov 13 10:22:37 maybe at least ssh client Nov 13 10:22:44 :) Nov 13 10:22:50 hey Nov 13 10:22:51 ohh or i could emulate an X server Nov 13 10:22:56 that would be fun Nov 13 10:22:59 an ssh client would be great, too Nov 13 10:23:02 then i can get remote X on my phone Nov 13 10:23:02 yep Nov 13 10:23:38 I would be interested in writing a music player (or ssh client, because I'm using Linux) Nov 13 10:23:48 telexicon: All that already exists and works on OpenMoko Nov 13 10:24:00 But I hope it will work on Android too soon :) Nov 13 10:24:03 CM, great.. so i can just take all their hard work Nov 13 10:24:11 ^^ Nov 13 10:24:14 Hehe Nov 13 10:24:26 so if anybody wants to start something like that, please let me know :) Nov 13 10:24:55 marcreichelt: If you start working on something cool, people will join if you let them ;) Nov 13 10:24:58 who is interested in writing a music player here? Nov 13 10:25:20 * marcreichelt is dreaming of an amarok for Android Nov 13 10:25:48 id like a rhythmbox :p Nov 13 10:25:49 yeah, if you want it, do it Nov 13 10:26:12 i want a synthesizer :P Nov 13 10:27:11 well.. lets get started Nov 13 10:27:36 hm, i installed the eclipse plugin Nov 13 10:27:45 are there any bugs? Nov 13 10:27:55 of course! Nov 13 10:28:00 k Nov 13 10:28:01 ... nothing is bugfree :D Nov 13 10:28:05 this mailing list isn't so hot:-/ Nov 13 10:28:11 davidw: agreed Nov 13 10:28:16 davidw: we need a -devel list Nov 13 10:28:20 this channel is definitely better Nov 13 10:28:21 whats wrong with the mailing list? Nov 13 10:28:32 i like having IRC Nov 13 10:28:48 for me it works better to be able to interact with people in real time Nov 13 10:28:52 davidw: the android list is pretty much as bad as the harmony list was Nov 13 10:29:18 too much junk. Hopefully it will die down in a few days after the pesterers go find someone else to bother;-) Nov 13 10:30:24 "I *wanna* *wanna* have POINTERS!" "*Booooo*! Where's my ASM?????!?!!!!!111111" Nov 13 10:30:31 that's pretty much the mailing list atm Nov 13 10:30:41 *ahem* Nov 13 10:32:34 oh the humanity Nov 13 10:33:04 i think that would be a bad idea Nov 13 10:37:07 btw Nov 13 10:37:12 where is the mailing list? Nov 13 10:37:32 http://groups.google.com/group/android-developers? Nov 13 10:39:28 just wondering.. how big of an effort would it be to port android to, lets say, N770 or N800 :) Nov 13 10:40:07 does actually adroid supports only java apps? Nov 13 10:40:45 no iwkse Nov 13 10:40:54 http://groups.google.com/group/android-developers/t/3b859cce04c4e1c2 Nov 13 10:40:56 marcreichelt: tell me that i can write C stuff?:) Nov 13 10:41:09 read ;) Nov 13 10:41:17 * iwkse reading.. Nov 13 10:41:18 yes, you can Nov 13 10:41:25 marcreichelt: sweet:) Nov 13 10:41:45 I wouldn't like to write native applications on Android Nov 13 10:42:02 IMHO it's better if most applications are written in Java Nov 13 10:42:20 <[AD]Turbo> hi there Nov 13 10:42:25 marcreichelt: sure..i'm just wondering if claws mail could run on adroid. it does on n800 Nov 13 10:42:33 :) Nov 13 10:45:28 does Android support Visual Forth ++ yet? Nov 13 10:45:48 sorry Nov 13 10:45:57 i dont think anybody should be writing apps in C for android Nov 13 10:45:58 get over it Nov 13 10:46:15 the developer 'cloud' has already proven they cant handle it Nov 13 10:46:23 amen Nov 13 10:46:24 of course this would make it easier to run Apache or lighttpd on it Nov 13 10:46:30 :) Nov 13 10:46:36 java is cool but C is better Nov 13 10:46:41 sorry telexicon Nov 13 10:46:42 thats nice Nov 13 10:46:46 c is faster Nov 13 10:46:49 yes Nov 13 10:46:50 yes Nov 13 10:46:56 imo java is a poor language and i realize C is faster Nov 13 10:47:08 java is good cause it's easy to produce Nov 13 10:47:17 it's great how you can write apps Nov 13 10:47:23 that's imho a good feature that miss in c Nov 13 10:47:23 however, for things where i matters, C is used in the linux kernel where all access to it is stringently controlled Nov 13 10:47:29 IMHO Java is pretty cool, I just would like it a bit faster Nov 13 10:47:38 agreed Nov 13 10:47:41 marcreichelt: where have you used java in the past? Nov 13 10:47:50 but its too risky to be letter random people make C apps to put on mobile phones Nov 13 10:47:53 university Nov 13 10:47:56 letting* Nov 13 10:48:01 :) Nov 13 10:48:03 marcreichelt: so not on mobile devices then? Nov 13 10:48:08 not yet Nov 13 10:48:09 why? Nov 13 10:48:13 telexicon: anyway i wasn't speaking about coding C but porting an app Nov 13 10:48:19 because java on phones is fast Nov 13 10:48:24 ok Nov 13 10:48:26 kewl Nov 13 10:48:46 rewriting claws mail in java isn't bearable:) Nov 13 10:49:00 my current mobile phone is about 4 years old ;) Nov 13 10:49:04 iwkse: that's a fair point, rewriting apps will blow Nov 13 10:49:06 no more buffer overflows Nov 13 10:49:14 iwkse: and not just for you... there's no j2me support either Nov 13 10:49:28 iwkse: I think that lack is a big error Nov 13 10:49:29 I would like to buy an openmoko this year Nov 13 10:49:36 but know I don't know if I should Nov 13 10:49:45 marcreichelt: depends what you want from your phone Nov 13 10:49:51 marcreichelt: if you want to make calls... wait Nov 13 10:50:03 ? Nov 13 10:50:25 I have already seen an OpenMoko Phase -1 device in action Nov 13 10:50:27 ;) Nov 13 10:50:42 the current OM stuff is really for low level devs - it's really not stable Nov 13 10:50:50 :) Nov 13 10:50:59 I know Nov 13 10:51:34 but I saw how nice a linux console is on it ;) Nov 13 10:51:44 270dpi Nov 13 10:51:55 think of a mobile phone virus Nov 13 10:52:02 that's why they started off with java Nov 13 10:52:06 marcreichelt: 283 ;) Nov 13 10:52:10 oh Nov 13 10:52:11 yeah Nov 13 10:52:13 sorry ;) Nov 13 10:52:19 Hehe Nov 13 10:53:02 If you want to have something truly open and hackable, even hardware wise, and code in c or python, get a Neo1973 and run OpenMoko Nov 13 10:53:27 I'm curious what sort of other uses people will find for this in the embedded space Nov 13 10:53:30 But I'm sure that Android with that nice SDK and clever API will be easier to develop for Nov 13 10:53:40 I mean, it's originally for phones, but that part should be easy to chop out Nov 13 10:54:10 CM: I want my mobile phone to work correctly Nov 13 10:54:44 davidw, but python is safe Nov 13 10:54:56 davidw: agreed Nov 13 10:55:00 and Android will be better here than OpenMoko Nov 13 10:55:11 but eventually Android will run on OpenMoko Nov 13 10:55:16 I honestly believe that BOTH OpenMoko and Android have a place Nov 13 10:55:24 different target markets and all that Nov 13 10:55:26 * CM agrees with Stephmw Nov 13 10:56:07 yeah? how different? I don't think it's a market with that much space for two different, flexible open source efforts Nov 13 10:56:33 true. mobile is only a 3 billion handset market or whatnot these days Nov 13 10:56:41 gets awfully crowded out there I bet Nov 13 10:57:00 davidw: operators and manufacturers are a picky lot Nov 13 10:57:35 davidw: android currently seems easier to close up than OM Nov 13 10:57:56 davidw: no matter how distasteful that may be Nov 13 10:58:15 * Stephmw has two hats... mobile dev and open source dev Nov 13 10:59:00 swetland, I think the economics are akin to those of operating systems, because it is one. That makes it... well, not a winner take all market, but there's pressure in that direction. Nov 13 11:00:12 the economics are less like the desktop OS market actually Nov 13 11:00:18 currently what do we have... some random linux efforts, symbian, MS's thing, openmoko, and some others like blackberry. Nov 13 11:00:27 the user has zero choice in the mobile markets Nov 13 11:00:29 in any case, it'd be a lot easier for openmoko to host the android runtime or for the android surfaceflinger to host X/gtk/whatnot surfaces than to bolt either of 'em into some other system. Nov 13 11:00:40 * Stephmw nods Nov 13 11:01:08 swetland: there's always the WeirdX java X implementation :D Nov 13 11:01:11 * Stephmw cackles insanely Nov 13 11:01:50 I think the fundamental thing is software and experience becoming important to users (iphone has helped a lot there). I think open can become important to users as well. Nov 13 11:01:56 * CM wonders if dual booting OpenMoko and Android with the same kernel would be possible Nov 13 11:02:19 kexec? Nov 13 11:02:27 can openmoko run on 2.6.23? (I assume yes) Nov 13 11:02:28 CM: i think so Nov 13 11:02:38 swetland: yes Nov 13 11:03:01 no problem at all then. the android platform expects a couple drivers that it needs but they shouldn't bother OM Nov 13 11:03:38 swetland: What about the boot loader, is that some secret thing? Nov 13 11:03:41 running 'em both simultaneously would require a bit more work, but rigging something up to fire up one or the other at boot sounds simple enough (provided you have enough flash for both systems) Nov 13 11:03:50 boot loader depends on the platform. we're agnostic Nov 13 11:04:00 if it can start a linux kernel, we're happy Nov 13 11:04:01 Nice indeed, thanks Nov 13 11:04:24 swetland: hey, is there any documentation on what Binder is? Is it related to OpenBinder? Nov 13 11:05:54 not sure if we have general docs on the binder. it's an ipc mechanism and is related to openbinder (currently using the openbinder driver, but a new userspace implementation) Nov 13 11:05:56 swetland: (btw, I was just perusing the kernel driver last night, you know that there's standard atomic_* operations in newer kernels,right? ;) Nov 13 11:06:16 which kernel driver? the binder? Nov 13 11:06:19 swetland: yep Nov 13 11:06:23 yeah it's being replaced Nov 13 11:06:27 cool :) Nov 13 11:06:34 the original binder driver has a very long and colorful past Nov 13 11:06:45 a clean and modern implementation is in the works Nov 13 11:06:48 so what does binder gain over, say, d-bus? Nov 13 11:07:04 I'm not the best person to answer binder questions Nov 13 11:07:38 some of the things it does including single copy (the driver write writes directly into shared memory available to the target process), managing object lifecycle across processes, etc Nov 13 11:08:07 it's technically an "implementation detail" of the higher level ipc in the platform Nov 13 11:08:08 interesting Nov 13 11:08:29 so the sdk docs don't really talk about it much because it just makes things go under the hood Nov 13 11:09:06 yeah, I'm a lower level userspace kinda guy, so there doesnt seem much info for the bits I'm interested in.. Nov 13 11:09:13 :( Nov 13 11:09:21 there will be, in time Nov 13 11:09:31 we're starting up top with app developer stuff Nov 13 11:09:52 over time and as more releases are done, docs will expand into the lower levels and implementation details Nov 13 11:09:52 swetland: are you going to be opening up your scm? Nov 13 11:10:11 still figuring out how to manage scm when we open source stuff Nov 13 11:10:19 lots of issues as far as how to make it all go Nov 13 11:10:57 swetland: I reccommend using git and having strict internal/external split Nov 13 11:11:22 still trying to see how git will handle a project of this size Nov 13 11:11:33 the submodule support is starting to move ahead and that may help Nov 13 11:11:47 swetland: yeah, submodules are teh way to go Nov 13 11:12:09 I've been very happy with git for the kernel work we're doing Nov 13 11:12:10 swetland: seperate git repos for each component, then arrange them in an overall tree using submodules Nov 13 11:12:15 it's come a loooong way in the last 2ish years Nov 13 11:12:25 then you've got nice release tagging ability :) Nov 13 11:12:29 git is so fun Nov 13 11:12:29 swetland: hell yeah Nov 13 11:12:41 swetland: what topics should we bother you with btw? :) Nov 13 11:13:14 swetland: there's still a few bits that need a bit of usability love (remote handling is still pretty messy) Nov 13 11:13:22 for anything support related you should bug the regular developer advocates (here or on the list) Nov 13 11:13:26 but its a lovely tool Nov 13 11:13:50 swetland: so who'se your main Binder guy? Nov 13 11:15:05 we're trying to keep the advocates as the front end for questions as we are really busy at this point Nov 13 11:16:16 wow you guys must be really busy Nov 13 11:16:37 swetland: fair enough - I'll write up my various questions for the mailing list Nov 13 11:16:46 whos idea was it to have 'tech talks'.. thank them because those are awesome Nov 13 11:17:05 I've just installed the sdk and eclipse plugin, and when trying to create a new project in eclipse, I get a little red X in the dialog banner, and "next" and "finish" are greyed out. I cant seem to create a new project. Nov 13 11:18:00 is there something I'm doing wrong? Nov 13 11:18:12 Tomasu, did you filled out all fields? Nov 13 11:18:20 the text error is currently missing i think Nov 13 11:18:34 yes. Nov 13 11:18:39 Tomasu: I had the same problem Nov 13 11:18:48 CM, what fixed it? Nov 13 11:19:01 is your package name in form com.something.woot Nov 13 11:19:08 hmm Nov 13 11:19:09 no Nov 13 11:19:12 no whitespaces Nov 13 11:19:21 wom-: That Was probably my mistake Nov 13 11:19:21 and package style is needed for this Nov 13 11:19:35 Tomasu, enter somethink like org.mypackage.test Nov 13 11:19:38 ahh, yeah, the com.xxx.blah fixed it Nov 13 11:19:41 thanks :) Nov 13 11:19:48 good :) Nov 13 11:20:12 wom-: Thanks too :) Nov 13 11:20:15 hehe Nov 13 11:20:15 :) Nov 13 11:20:26 .oO(Tomasu owns xxx.com?) Nov 13 11:20:28 ;) Nov 13 11:20:38 probably notice, I'm a n00b java dev. I haven't done any java in ages, and I haven't touched eclipse for anything more complex than cdt... Nov 13 11:20:46 marcreichelt: yup, .net and .org, I'm going with .org ;D Nov 13 11:20:52 hehe Nov 13 11:20:53 lol Nov 13 11:21:06 well .com too, but thisisnt commercial Nov 13 11:21:07 ;D Nov 13 11:21:32 oh wait, not xxx, but tomasu ::) Nov 13 11:21:37 heh Nov 13 11:21:46 xxx was an example :P Nov 13 11:22:19 * Tomasu adds #android to autojoin... Nov 13 11:22:51 *gg* Nov 13 11:22:57 now to get back into java... Nov 13 11:23:05 Tomasu: I'm impressed with your html skillz on tomasu.com ;) Nov 13 11:23:32 lol Nov 13 11:23:46 I havent put anything up there yet. Nov 13 11:23:56 my old site is at strangesoft.net if that helps :P Nov 13 11:23:59 humm Nov 13 11:24:01 mine is http://213.239.194.27/ Nov 13 11:24:02 ;) Nov 13 11:24:44 heh Nov 13 11:24:45 awww Nov 13 11:24:52 and here I had some hope :( Nov 13 11:25:01 ? ;) Nov 13 11:25:05 j/k Nov 13 11:25:11 none? :"( Nov 13 11:25:25 hmm, does the android plugin let you access the android docs via eclipse? Nov 13 11:26:33 eh, this is what dual displays are for. dev on one, docs on the other. Nov 13 11:27:07 so Nov 13 11:27:28 Tomasu: two problems there... 1) Eclipse reads javadocs from java sources, 2) Google didn't provide proper javadocs... no idea why Nov 13 11:27:38 yeah.. Nov 13 11:27:48 so I just opened up the docs from the sdk Nov 13 11:28:03 eclipse at least provides the type hirearchy Nov 13 11:28:34 yeah, that can be introspected from the class files Nov 13 11:28:45 as can the various signatures Nov 13 11:29:06 it would be good if the javadocs are accessible via Eclipse, yes Nov 13 11:29:23 I think this will come in next days when the source code is released Nov 13 11:29:33 if it is released (?) Nov 13 11:29:42 humm - will be released Nov 13 11:30:55 yeah, it's still kinda vague about which bits will be released or not Nov 13 11:31:04 when it escapes, leaving a bloody trail of QA people in its wake Nov 13 11:31:14 the license agreement also needs some attention, as it stands it's really a bad license Nov 13 11:32:08 if there are significant bits that aren't open source, that will leave a bad taste in my mouth... for now I don't want to get paranoid though Nov 13 11:32:12 odd, the docs say eclipse 3.3 is required yet I installed to 3.2.2 and it seems to work... Nov 13 11:32:29 the docs I saw yesterday said 3.2.2 or 3.3 Nov 13 11:32:58 oh, this is just for one of the examples, maybe this page wasnt updated... Nov 13 11:32:59 so Nov 13 11:33:34 * marcreichelt is away for a while Nov 13 11:34:42 the pop ups when "importing" stuff is removing stuff I type... Nov 13 11:35:00 oh, its hiding it... Nov 13 11:44:54 guh: TextView cannot be resolved to a type Nov 13 11:46:27 I'm importing android.widget.*, that should handle TextView shouldnt it? Nov 13 11:48:58 Tomasu, you use eclipse? Nov 13 11:49:03 right Nov 13 11:49:05 Tomasu: if you've created an Android-type project, it should resolve Nov 13 11:49:12 that just hit strg+shift+o Nov 13 11:49:22 this organizes your imports Nov 13 11:49:34 odly enough, after I just "buid all" the error stopped comming up ::) Nov 13 11:49:41 k Nov 13 11:49:46 that is typical ;) Nov 13 11:49:46 and now it runs in the emulator. go figure. Nov 13 11:49:52 is it just me, or is eclipse annoying? Nov 13 11:50:09 those things are normal Nov 13 11:50:18 shouldnt be though ;D Nov 13 11:50:19 after a time it's just great Nov 13 11:50:21 ;) Nov 13 11:50:30 Eclipse I mean Nov 13 11:50:33 I hear that... Nov 13 11:50:41 and if you know the tricks Nov 13 11:50:43 ;) Nov 13 11:50:56 now that I have a 4core machine with 2GB ram, eclipse doesnt even feel slow anymore ;D Nov 13 11:51:05 I couldnt stand it on my old 2Ghz athlon Nov 13 11:51:21 I have a 1,7 GHz Centrino Nov 13 11:51:21 jeez...sad, isn't it Nov 13 11:51:27 and it does run very well Nov 13 11:51:41 marcreichelt: I'm very picky about how much lag there is in a gui Nov 13 11:51:50 of course java 6/1.6 REALLY helped Nov 13 11:51:55 I can understand that Nov 13 11:51:57 :) Nov 13 11:51:58 back in 1.4/1.5 things were worse. Nov 13 11:52:01 lots worse. Nov 13 11:52:12 Java >= 5 is much cooler Nov 13 11:52:25 especially things like generics Nov 13 11:52:28 6 is darned fast. Nov 13 11:52:36 it could be faster ;) Nov 13 11:52:42 but yes - it is better Nov 13 11:52:45 and it only took them 10+ years ;D Nov 13 11:53:01 Java is the programming language of the future Nov 13 11:53:07 well, it _was_ ;) Nov 13 11:53:12 and that since 10 years ;) Nov 13 11:53:15 now its the language of "the cell phone" ;D Nov 13 11:55:05 now for some fun. mess with the XML, and Database stuff. Nov 13 11:55:19 your first task for today is to... break it! Nov 13 11:55:21 :D Nov 13 11:55:39 oooooh yeaaaahhhhh Nov 13 11:55:57 I think thats what the contest is for. Nov 13 11:56:08 get as many people beta testing the sdk as possible Nov 13 11:56:29 * marcreichelt wonders if a music player could take part in the contest Nov 13 11:56:39 why not? Nov 13 11:56:47 I don't remember seeing any restrictions Nov 13 11:57:08 I think the restrictions so far are "Must be written using the Android SDK" Nov 13 11:57:46 oh, conserning a music player, what kind of jni stuff are you aloud to use in android? anyone know? Nov 13 11:58:01 cause a pure java audio decoder might be a little cpu heavy Nov 13 11:58:22 if you *want* a music player, *write* a music player for pete's sakes Nov 13 11:59:14 and enter it for kicks ;D Nov 13 11:59:40 Tomasu: Java is faster than most people know Nov 13 11:59:51 the problem with Java is the folowing: Nov 13 11:59:59 people don't care about runtime anymore Nov 13 12:00:05 java can be decent, its all in how you use it, but I'm pretty sure mp3/ogg decoding might be a little too hard on a cell's battery. Nov 13 12:00:10 if you write Java code like C code it's really fast Nov 13 12:00:30 the closer to the hardware, the less power its going to draw if done right Nov 13 12:00:37 yes, right Nov 13 12:00:58 but again, Java is faster than many people suppose it to be Nov 13 12:01:13 but you must code it correctly Nov 13 12:01:18 people are still stuck in the old days I agree Nov 13 12:01:27 e.g. if you do something like String s = "Test"; Nov 13 12:01:54 and now you do a loop, adding "\nTest" to the String Nov 13 12:02:02 (e.g. 10000 times) Nov 13 12:02:11 than it does take a _long_ time Nov 13 12:02:16 and heavy CPU usage Nov 13 12:02:19 well thats a silly example ;) Nov 13 12:02:28 but if you use StringBuffer, it's much faster Nov 13 12:02:29 yes Nov 13 12:02:32 but it is :) Nov 13 12:03:01 from what I remember String is imutable isn't it? once its set, its set... Nov 13 12:03:10 also if you write something like bar.foo().foo1().foo2().foo3() you don't care about runtime anymore Nov 13 12:03:16 hehehe Nov 13 12:03:31 marcreichelt: that's a bit broad Nov 13 12:03:42 marcreichelt: some uses of fluent interfaces is justsified Nov 13 12:03:51 ? Nov 13 12:04:06 chained . operators can work pretty well if the API is well written Nov 13 12:04:12 this is odd, my new project is missing the R class file Nov 13 12:04:30 yes Stephmw :) Nov 13 12:04:48 but I mean the developer doesn't care about the runtime of each of these methods Nov 13 12:04:53 he doesn't see it Nov 13 12:05:15 * Stephmw shrugs Nov 13 12:05:22 profilers see everything :D Nov 13 12:05:25 oh weird, now its there Nov 13 12:05:34 Tomasu: isn't it automatically generated? Nov 13 12:05:36 I think _that's_ why GUI code in normal Java applications is so odd slow Nov 13 12:05:54 Stephmw: it is it seems, but I would have assumed it'd have been generated initially, not on build. Nov 13 12:06:02 so Nov 13 12:06:03 now Nov 13 12:06:08 the lecture here is over Nov 13 12:06:12 lol Nov 13 12:06:19 I'm back after lunch Nov 13 12:06:20 ;) Nov 13 12:06:25 lunch? Nov 13 12:06:28 its 5 am :o Nov 13 12:06:31 ;) Nov 13 12:06:34 uhm Nov 13 12:06:35 yes Nov 13 12:06:40 in Germany it's 1 pm Nov 13 12:06:41 ~ugt Nov 13 12:06:58 ;) Nov 13 12:07:03 see you all Nov 13 12:11:40 thats kind of like in python Nov 13 12:11:46 in python strings are immutable Nov 13 12:12:02 so you use a list.. loop over it and then rebuild it with ''.join(thelist) Nov 13 12:13:27 thats just annoying imo Nov 13 12:13:45 well strings are immutable for a reason Nov 13 12:13:51 performance reasons Nov 13 12:14:07 so use a StringBuffer if you need to do a lot of stuff with the string Nov 13 12:14:13 except it makes the thing you do with strings the most, SLOW Nov 13 12:14:26 what? Nov 13 12:14:30 why not make it String and StaticString ;D Nov 13 12:14:33 or ConstString Nov 13 12:14:35 print them? Nov 13 12:14:46 apply regex on them Nov 13 12:14:58 read, parse, create, write Nov 13 12:15:03 append, split Nov 13 12:15:11 generally just mangle the heck out of them Nov 13 12:15:55 the only thing more expensive is append Nov 13 12:16:43 split is cheaper because you can just give references to the different points in the string.. they cant be changed so it cant hurt Nov 13 12:17:36 <[g2]> Tomasu: could you define SLOW on a 200MHz ARM for string operations ? I'm curious how you quantify SLOW. thx Nov 13 12:17:51 [g2]: slower than fast. Nov 13 12:17:58 ;) Nov 13 12:18:08 slower than needed, honestly. Nov 13 12:18:12 string manipulating is pretty slow Nov 13 12:18:28 too bad about java's marriage to XML Nov 13 12:18:31 will android run on a HP 49g+ ? Nov 13 12:18:33 <[g2]> telexicon: yeah due the the nature of the computations Nov 13 12:19:16 go figure, I happen to be working with xml in my little app here. Nov 13 12:19:17 heh Nov 13 12:19:24 <[g2]> one could write c/c++ binding for python and get much better performace no ? Nov 13 12:19:26 xml is slow Nov 13 12:19:28 not complex stuff though. just parsing. Nov 13 12:19:32 xml is hella slow Nov 13 12:19:42 [g2], what do you mean? Nov 13 12:20:09 telexicon: thats all python user's excuse for python's slowness, "you can write it in C to make it faster!" Nov 13 12:20:12 no python is pretty fast Nov 13 12:20:32 for its class of language Nov 13 12:20:33 its very fast Nov 13 12:20:38 perl is lots faster. Nov 13 12:20:43 perl is not lots faster Nov 13 12:20:44 lots. Nov 13 12:20:46 what does python have to offer in terms of gui's? Nov 13 12:20:59 ogunnaike: Qt, GTK and maybe others Nov 13 12:21:02 ogunnaike, PyGTK, PyQT, WxPython Nov 13 12:21:11 i think thers pycocoa and Nov 13 12:21:18 yea Nov 13 12:21:30 Tomasu, thats not a slow operation though Nov 13 12:21:34 telexicon: try portage against apt some time, one is in python, the other is in perl, one is VERY slow, even after all of the C bindings, and the other is fast. Nov 13 12:21:43 oh nice.. so you gots to ports those libs to android too yeah? Nov 13 12:21:50 Tomasu, first of all... .join() is in C Nov 13 12:22:02 ogunnaike: youd use the android gui for android Nov 13 12:22:04 Tomasu, gee.. portage is slow because it compiles everything Nov 13 12:22:15 telexicon: no, I mean just the package database handling Nov 13 12:22:18 Tomasu, and even if thats not what you are talking about (because that would be silly) Nov 13 12:22:20 oh nice.. the python android gui? Nov 13 12:22:25 Tomasu, then it is probably due to a poor design Nov 13 12:22:32 ogunnaike: android is all hava Nov 13 12:22:34 *java Nov 13 12:22:42 yeah, no shit Nov 13 12:22:55 then why would you have python questions? Nov 13 12:22:57 Tomasu, and apt-get is written in C Nov 13 12:23:05 telexicon: a lot of perl as well. Nov 13 12:23:10 i dont actually. i gots scheme questions Nov 13 12:23:14 Hmm.. They don't have any kind of bug reporting system or am I blind? Nov 13 12:23:18 Tomasu, /usr/bin/apt-get is an elf binary Nov 13 12:23:23 <[g2]> telexicon: I was trying to understand Tomasu's take on performance, imho he seems more like venting than having dug into the issues Nov 13 12:23:26 telexicon: yet it calls all sorts of perl code ;) Nov 13 12:23:39 ok, fine, I just dont like python ;D Nov 13 12:23:45 lets leave it at that :P Nov 13 12:23:47 thats too bad Nov 13 12:23:56 not really. Nov 13 12:23:57 this would be really nice if it made it to android http://sisc-scheme.org/ Nov 13 12:24:02 cant stand the syntax. Nov 13 12:24:02 its a very well designed language Nov 13 12:24:12 and the slowness that comes with its hash type. Nov 13 12:24:13 aww thats too bad Nov 13 12:24:22 * iwkse do not like python too Nov 13 12:24:30 i know if/else, for loops and classes are tricky Nov 13 12:24:56 well theres the response to that Nov 13 12:25:11 tricky? as a C++ programmer, hardly. :P Nov 13 12:25:14 Tomasu, you miss having brackets? Nov 13 12:25:26 telexicon: I hate that white space is treated specially. Nov 13 12:25:32 ah right Nov 13 12:25:34 ill make you a deal Nov 13 12:25:37 its not special, should never be special Nov 13 12:25:37 you can type it like this then Nov 13 12:25:52 python seems to be lacking parentheses Nov 13 12:25:58 try having that pyhon code of yours munged, and the spaces changed. Nov 13 12:26:04 see if it still runs the same ;) Nov 13 12:26:43 if somehow, the white space is messed up, its almost impossible to change it back without having been the one writing it. Nov 13 12:27:07 Tomasu, you can type your stuff like this if it will make you feel beteter Nov 13 12:27:08 http://android.pastebin.com/d24c780a6 Nov 13 12:27:22 and make it look uglier? Nov 13 12:27:27 thanks, but no thanks :) Nov 13 12:27:32 well you get your parenthesis back Nov 13 12:27:38 why would the spaces change? Nov 13 12:27:43 no, you jsut get a bunch of stupid comments. Nov 13 12:27:50 you wouldnt, but something might. Nov 13 12:27:54 stuff happens. Nov 13 12:27:58 code gets messed up. Nov 13 12:28:00 thats what backups are for Nov 13 12:28:01 eeeww.. yeah thats butt ugly Nov 13 12:28:04 and/or source control Nov 13 12:28:14 again, "stuff" happens. Nov 13 12:28:24 then you have bigger problems Nov 13 12:28:34 ive used python for a while.. that has _never_ been an issue Nov 13 12:28:44 yet :) Nov 13 12:28:53 and the map is pretty fast Nov 13 12:28:58 I've seen some C code that lost its formatting, and it was still compilable. Nov 13 12:29:02 what about jython? have you used that? Nov 13 12:29:03 they optimize it a lot because its used for everything Nov 13 12:29:15 no because jython doesnt have the same semantics Nov 13 12:29:24 they tried.. but its not quite right Nov 13 12:29:27 huh? Nov 13 12:29:40 because its used for everything, is why its slow, its even used for the array type ::) Nov 13 12:29:56 have dedicated type for its specific use. Nov 13 12:30:05 then you can optimize the crap out of them. Nov 13 12:30:15 which array type? Nov 13 12:30:27 its not used for the list Nov 13 12:30:54 whatd you mean by that semantics comment? Nov 13 12:30:58 anyways they needed some data structure for handling key, value pairs Nov 13 12:30:59 this channel should be called #pythonXjavaXperlXc++. Cant you people try to stay on topic? Nov 13 12:31:11 you mean java as opposed to c base? Nov 13 12:31:11 drWyrM, well nobody is talking about anything else Nov 13 12:31:26 ogunnaike, the semantics of jython are different than python Nov 13 12:31:29 drWyrM: once someone says something about android, we'll talk about it. Nov 13 12:31:35 ogunnaike, memory management gets handled differently Nov 13 12:31:42 ogunnaike, you have to specify types sometimes.. thats a big one Nov 13 12:32:01 theres no multiple inheritence Nov 13 12:32:02 but I hate these stupid language wars. Nov 13 12:32:11 noone ever wins, and it just gets me all riled up. Nov 13 12:32:11 i think android definitely needs a scripting language like scheme (see sisc-scheme.org) Nov 13 12:32:14 so pointless. Nov 13 12:32:37 ogunnaike, scheme would be interesting but not enough target audience Nov 13 12:32:57 well i have to also trust people who are smarter than me Nov 13 12:32:59 so what is everyone working on for android? Nov 13 12:33:13 hello people Nov 13 12:33:19 it appears google loves python so i have to trust that those smart people know what they are doing :) Nov 13 12:33:50 its just easier for n00bs ;) Nov 13 12:33:54 you dont think google devs use scheme? Nov 13 12:34:01 i didnt say they didnt Nov 13 12:34:03 I think it's possible to make python bindings around the java api Nov 13 12:34:06 google keeps switching languages. Nov 13 12:34:09 It must be easy Nov 13 12:34:21 pretty much whatever is in fad. Nov 13 12:34:24 i'm guessing google gots a love affair w/ scheme also Nov 13 12:34:24 mixing native code and java bytecode? Nov 13 12:34:33 or around the lower level api , using swig Nov 13 12:34:45 ogunnaike, right.. because google hired the person who created scheme Nov 13 12:34:47 javamaniac: yeah jython Nov 13 12:34:52 i'd be happy w/ jython Nov 13 12:34:58 javamaniac, its been done.. but the semantics are different Nov 13 12:35:00 quite different Nov 13 12:35:25 well, that's the price we must pay to use python... Nov 13 12:35:27 you have to change a bunch of stuff to port from CPython to Jython Nov 13 12:35:36 or they could just package a python interpreter Nov 13 12:36:02 and port the gui libs as well or use the java gui? Nov 13 12:36:19 make bindings for the framework Nov 13 12:36:42 I mean, if we have access to the lowel level api(the surface manager, sqlite, etc) we can use swig(http://www.swig.org/) to make those bindings Nov 13 12:36:55 but it's not possible atm :( Nov 13 12:37:20 id rather it was supported by google.. or you wont find it on real phones and it will only be a toy Nov 13 12:38:54 bbl Nov 13 12:40:07 so anyone know if the hp 49G+ would run android? Nov 13 12:40:15 trolls!? :( Nov 13 12:40:22 its got a arm processor Nov 13 12:40:24 ogunnaike, im not sure Nov 13 12:40:34 try putting it on there and see what happens Nov 13 12:41:08 good idea Nov 13 12:41:21 i just gotta find my usb cable for it Nov 13 12:42:05 i should be able to just put the sdk on the stack and press enter right? Nov 13 12:44:11 Tomasu, hmm, i didnt mean to make you uncomfortable Nov 13 12:44:18 i forget other people dont like arguing Nov 13 12:44:29 telexicon: heh, well I love arguing, it just doesn't like me ;D Nov 13 12:45:21 anyone know if there has been any work done on a console app for android? Nov 13 12:45:25 oh great.. its flat Nov 13 12:45:40 a what? serious? Nov 13 12:46:07 you mean like command line stuff? Nov 13 12:46:12 yep Nov 13 12:46:45 it would be incredibly useful Nov 13 12:47:28 do you mean like a xterm type app? Nov 13 12:47:49 so you can logon to your desktop or something? cos that would be cool Nov 13 12:49:21 brb i gotta find some batteries for my calculator Nov 13 12:49:24 ooh, ssh for it would be cool. Nov 13 12:50:40 sure, xterm, whatever, just any console emulator, for, you know, writing console apps, like ssh, etc. Nov 13 12:51:11 i guess that means no one's started on that yet so i should get crackin Nov 13 12:51:41 There is a basic console already Nov 13 12:51:51 yeah? inside the emulator? Nov 13 12:51:55 hi, just quick question... is this Dalvik virtual machine available for download ? Nov 13 12:51:57 http://benno.id.au/blog/2007/11/13/android-under-the-hood Nov 13 12:54:17 but i can't get that inside the emulator, right? Nov 13 12:54:27 ok got the answer yesturday at 9:00 pm Nov 13 12:54:55 'cause that's what i want Nov 13 12:55:14 bengl: Hmm.. Guess not. Make one and you'll be my hero too ;) Nov 13 12:57:42 yep, that and ssh Nov 13 12:58:59 alright, i guess that's my project for the week Nov 13 12:59:32 * bengl is now officially bent on making a console working within android Nov 13 13:00:27 hopefully i can somehow give the shell you get from "emulator -console" Nov 13 13:01:40 which is located at /system/bin/sh Nov 13 13:01:55 i know android devs are testing android already , are they using GSM phones ? or a diff ... Nov 13 13:02:09 i mean to make sure it works in the real world Nov 13 13:02:11 i've got too much crap to do today, i'll work on it tonight Nov 13 13:02:40 elbastardo: for sure gsm, since that's what the api indicates Nov 13 13:02:44 bengl: are you taking feature requests? Nov 13 13:02:49 bengl: cool , thank you Nov 13 13:03:19 i hope i am not trolling , but is iPhone peeing in their pants :) Nov 13 13:03:32 ogunnaike: sure, send to bengl at canadaka dot net Nov 13 13:04:28 i just want screen like features thats all Nov 13 13:04:35 thats probably too much to ask Nov 13 13:05:02 elbastardo, well... maybe, but they're also selling like hotcakes Nov 13 13:05:34 what do you mean? Nov 13 13:05:40 davidw: true , but i like the diff between "Exclusive" and open source and available for all I hope Nov 13 13:05:46 mmm.. hotcakes... Nov 13 13:06:07 elbastardo, me too, but apple has always seemed to be able to carve out their own niche Nov 13 13:06:40 davidw: till now they never had a rea competition , microsoft was doing hteir own thing and no open source Nov 13 13:06:48 eh? Nov 13 13:06:57 you need to look further back in history Nov 13 13:06:58 you know the software called screen? Nov 13 13:07:04 i know for sure we wont see any adds bashing android on the teli Nov 13 13:07:50 no i don't (now googling..) Nov 13 13:08:11 let me quote the pkg-descr ``screen is a full-screen window manager that multiplexes a physical terminal between processes (typically interactive shells)'' Nov 13 13:08:41 http://www.gnu.org/software/screen/ Nov 13 13:09:01 screen is indeed cool Nov 13 13:09:15 << big fan of screen Nov 13 13:09:17 lets you put apps into the background Nov 13 13:09:23 and have them still there Nov 13 13:09:30 detach/reattach Nov 13 13:09:34 yeah Nov 13 13:09:41 but Im a bigger fan of guis, so I dont use screen that often... Nov 13 13:09:49 last time I used screen was when I was still using gentoo. Nov 13 13:09:57 kinda had to run emerge's in screen Nov 13 13:10:02 be interested to see how you can logon to a desktop w/ a gui Nov 13 13:10:04 incase ssh died Nov 13 13:10:13 ogunnaike: NX Nov 13 13:10:20 well my priority i think is just to get SOMETHING going, which i don't think will take much effort anyway Nov 13 13:10:28 let me google that Nov 13 13:11:22 interesting.. Nov 13 13:11:38 yeah bengl good luck w/ that Nov 13 13:11:48 let us know when you get something working Nov 13 13:12:03 whats he doing? Nov 13 13:12:08 yeah, i'm sure somebody will have it before me though, so i encourage everyone else to go at it too Nov 13 13:12:13 he's making a terminal app Nov 13 13:15:01 Tomasu: irssi + screen is a great irc combination Nov 13 13:15:19 << concurs Nov 13 13:15:30 I dont like irssi ;) Nov 13 13:15:36 not a fan of console irc clients Nov 13 13:15:42 I like my konversation Nov 13 13:15:46 And not python either, man you're negative.. ;) Nov 13 13:15:53 Yikes, and kde on top :P Nov 13 13:15:59 lol Nov 13 13:18:09 I finally got around to writing a perl script to do the equivalent of "ls -lR" on the Android emulator. Nov 13 13:18:13 Results are in http://pastebin.ca/771988 Nov 13 13:19:16 The script is at http://pastebin.ca/771989 Nov 13 13:19:42 i wonder if a clippy application is worthy of submission for the adc Nov 13 13:21:43 that code is glorious! you gotta love perl Nov 13 13:22:06 * CM will have nightmares Nov 13 13:22:22 nice regexps :) Nov 13 13:22:39 * rwhitby is not afraid to show horrible code Nov 13 13:23:11 can you imagine what this would look like in python Nov 13 13:23:15 I did get to learn how to use the Eclipse Perl plugin as a useful side-effect. Nov 13 13:23:37 rwhitby: Hehe.. It's not horrible, but as cutmasta said, scary regexps. You've earned a http://imgs.xkcd.com/comics/regular_expressions.png Nov 13 13:23:55 I'd be happy for someone to post a python equivalent so I can finally learn to do something with python too ... Nov 13 13:24:14 rwhitby, ok ill do it Nov 13 13:24:19 but you'll have to help me understand this Nov 13 13:24:19 lol Nov 13 13:24:34 CM: nice Nov 13 13:24:43 rwhitby: Im not sure all of that is needed :o Nov 13 13:24:46 CM, hehe Nov 13 13:24:59 Tomasu: I'm quite sure it isn't, but it's almost midnight here ... Nov 13 13:25:10 if(-f $path) { print file: $path; } Nov 13 13:25:34 Tomasu: $path does not exist on the host running the script Nov 13 13:25:34 opendir, readdir, closedir as well Nov 13 13:25:49 ooh Nov 13 13:25:51 I see Nov 13 13:25:54 adb shell Nov 13 13:25:54 remember, this is parsing the output of "adb shell ls" Nov 13 13:25:55 hrm Nov 13 13:26:03 sory.. Nov 13 13:26:11 yeah, ok, that could be fun Nov 13 13:26:23 but I think the regexs might be able to be simplified.. Nov 13 13:26:45 I'm sure they can, they were built up by trial and error until there were no more unmatched lines. Nov 13 13:26:46 nice hack though Nov 13 13:26:49 anyone know how to clear out the cache on the emulator? Nov 13 13:26:50 lol Nov 13 13:27:23 Tomasu, regexp can always be optimized :) Nov 13 13:27:27 haha, xkcd xD Nov 13 13:27:39 I'll be keeping all this stuff in a blog entry at http://www.rwhitby.net/blog/android/android-internals.html Nov 13 13:27:42 to be unreadable and no more understandable Nov 13 13:28:24 rwhitby thanks Nov 13 13:29:52 I had to short circuit /sys cause my script couldn't handle the recursion that you find in there ... Nov 13 13:30:31 The chomp is probably not needed either. Nov 13 13:31:01 teeheehee Nov 13 13:31:01 I should stop looking at it, I'll want to clean it up, and therein lies madness, since it's a once-off hack. Nov 13 13:31:11 ill just make a trick Nov 13 13:31:39 I am happy that I was able to run it from inside Eclipse on windows. Nov 13 13:32:02 is there a PDF doc of the entire sdk docs up somewhere? Nov 13 13:32:25 meus: not that I've found. I used httrack to offline the whole site. Nov 13 13:32:54 ok, thanks Nov 13 13:32:56 I know it's impolite to do so, but it's google - I figure they have the bandwidth available :-) Nov 13 13:33:30 hehe :) Nov 13 13:33:36 think so too, on release date i got always 700k Nov 13 13:33:45 hi all Nov 13 13:34:01 hi J_P Nov 13 13:34:13 I have a very important question. Nov 13 13:34:52 rwhitby: you played with the api at all or just been playing around with the console, etc.? Nov 13 13:35:22 bengl: I compile hello android and lunar lander, and played with the debug and instrumentation in Eclipse. Nov 13 13:35:28 I'm python, C, C++, gtk/qt/, ruby, perl, lua developer. How I can development for android ? Nov 13 13:35:44 J_P, learn Java Nov 13 13:35:55 I'm not a Java programmer (yet). I am a 20yr experienced C/C++/Perl/... programmer. Nov 13 13:35:57 J_P, or wait until something comes out Nov 13 13:36:06 or, even better, help other things come out Nov 13 13:36:18 bah, that pretty much makes you a java programmer almost by default Nov 13 13:36:29 davidw: learn java. This is not a good answer. Becouse, thing: ONLY java is posible. This is a very very very bad Nov 13 13:36:42 J_P: I just ran this perl script against the Android platform: http://pastebin.ca/771989 ;-) Nov 13 13:36:42 oh no, the sky is falling Nov 13 13:37:05 J_P, well, I'm porting Hecl to Android, if you want to help out, that would be great Nov 13 13:37:11 bengl: yeah, in my mind java programming is just knowing where to find things in the API Nov 13 13:37:13 then you'll have something that's not Java Nov 13 13:37:22 that's pretty much it Nov 13 13:37:28 java is easy peasy Nov 13 13:38:13 davidw: what is Hecl ? Nov 13 13:38:22 www.hecl.org Nov 13 13:38:26 lunch time...be back later Nov 13 13:38:30 ok.. will see Nov 13 13:38:57 i think a terminal should be easy enough, if you can get to the filesystem from the VM Nov 13 13:39:11 I expect that the choice of Java was not made simply on technical language execution efficiency grounds. There are many non-technical constraints that go into making a successful new phone platform in the market, not least of which is security. Nov 13 13:39:34 and all of the existing java phone developers Nov 13 13:39:57 Also, google is using a lot of java internally Nov 13 13:40:08 Tomasu: yeah, but I think all the phone developers would use a new language that Google told them to use whatever it was. Nov 13 13:40:34 Tomasu: it should be noted that most java phone developers use J2ME, which android is not (afaik) Nov 13 13:40:37 davidw: Python is much more high level than hecl Nov 13 13:41:07 davidw: groovy! Nov 13 13:41:24 (umm, as in the language) Nov 13 13:41:27 It's the market acceptance of unsigned uncertified third party apps which is the driving force here. Google needs to not only make the platform secure, but also be *seen* (and understood by executives, not technical people) to have a secure platform. In executive minds, that equates to Java sandboxes, cause they've been trained to think that way by Sun. Nov 13 13:41:39 J_P, eh? Nov 13 13:41:56 davidw: yes Nov 13 13:42:52 rwhitby: good points Nov 13 13:43:09 rwhitby: tbh, it is easier securing when you can sandbox.. Nov 13 13:43:18 You say "You can write apps in C" to a handset manufacturer executive, and they will immediately think of the liability suits when some evil hacker uses C to crack their shiny new phone and wreak havoc. Say "Java" to them, and they will no longer worry about it, irrespective of the technical points. Nov 13 13:43:27 rwhitby: esp if you're allowing users to install arbitary code Nov 13 13:43:47 rwhitby: thats not really trye Nov 13 13:43:49 *true Nov 13 13:44:05 rwhitby: its more that*right now* symbian causes a huge support headache Nov 13 13:44:07 robtaylor: technically it's not true, but from an executive viewpoint it is true. Nov 13 13:44:22 something to consider: will all phones with Android actually allow user hacking? it may not be the case Nov 13 13:44:27 oh, yeah, there is the symbian signing thing too driving it. Nov 13 13:44:39 bengl: you can bet it will not be the case. Nov 13 13:44:47 Limiting to *only* 1 language for developmento is not a google slogan Nov 13 13:44:58 great, where do i place my bet? Nov 13 13:45:06 this appears a marketing.. bussiness Nov 13 13:45:12 Google will have the ability to call C++ from JNI I expect. They just haven't released it yet. Nov 13 13:45:19 also, i wonder how much extra i'd have to pay for some jackassed "developer" edition phone Nov 13 13:45:20 J_P: hey, pypy has a jvm backend now, you know Nov 13 13:45:43 pypy could really come into its own on a java based platform like this Nov 13 13:46:03 robtaylor: i'm not sure is this is stable.. Nov 13 13:46:28 anyone thought of implementing Rhino? Nov 13 13:46:33 J_P: yeah, it'll need some developer cycles to get it production-stable Nov 13 13:46:50 J_P: but hey, thats where FLOSS helps ;) Nov 13 13:47:30 robtaylor: sorry, FLOSS ? Nov 13 13:47:41 FreeLibreOpenSourceSoftware ? Nov 13 13:47:49 lol Nov 13 13:47:49 something like that Nov 13 13:47:49 robtaylor: give me a url for pypy on java system/mobiles.. Nov 13 13:47:52 FOSS Nov 13 13:48:02 ahh ok FOSS Nov 13 13:48:05 :-) Nov 13 13:48:12 FLOSS is used as well Nov 13 13:48:15 J_P: Free and Libre Nov 13 13:48:20 theres a difference Nov 13 13:48:29 humm Nov 13 13:48:36 ok Nov 13 13:48:37 Free means more than one thing Nov 13 13:48:43 J_P: http://www.mail-archive.com/pypy-dev@codespeak.net/msg02902.html Nov 13 13:48:54 thee is no diffeence between Free and Libre Nov 13 13:48:55 jasonchen: would it be possible to write some JNI code which talks to gnueabi-gcc C/C++ code which you upload via adb push? Nov 13 13:49:01 rwhitby: i'm not sure that it's possible today, but enabling app devs to build apps that call out to their own native code is something we're thinking about Nov 13 13:49:29 That's where a Google person said that C++ with JNI is being thought about. Nov 13 13:49:43 J_P: still experimental as of October though Nov 13 13:50:03 so, how is python "higher level" than Hecl? Nov 13 13:50:06 ok done Nov 13 13:50:11 and no regex :) Nov 13 13:50:19 telexicon: pastebin it please Nov 13 13:50:28 er one sec Nov 13 13:50:34 :) Nov 13 13:50:46 not tested yet? Nov 13 13:50:51 no Nov 13 13:50:52 * Stephmw hands the dead-horse-flogging whip to davidw and ScaredyCat Nov 13 13:51:01 but it mostly works Nov 13 13:51:11 That's where a Google person said that C++ with JNI is being thought about. <-- woot Nov 13 13:51:19 options are nice. Nov 13 13:51:54 I expect they could arrange that JNI stuff so that it didn't break the security. They would not be C/C++ apps, so the executives stay happy. Nov 13 13:52:03 right Nov 13 13:52:13 Stephmw, ? Nov 13 13:52:26 eh ? Nov 13 13:52:41 * ScaredyCat pokes Stephmw with a stick Nov 13 13:52:48 davidw: write one example in hecl and same in python and see diference Nov 13 13:53:02 telexicon: if it's not tested, then it's not done :-) Nov 13 13:53:13 or are you a java programmer ;-) Nov 13 13:53:14 rwhitby, how very wise :) Nov 13 13:53:40 J_P, let's borrow one from Tcl: set sk [socket www.google.com 80] - that seems pretty hight level to me. Nov 13 13:54:13 davidw, ScaredyCat: language discussions and Free/Libra discussion.... Nov 13 13:55:04 or here's a j2me app in Hecl: set form [lcdui.form -title "Hello World"] ; $form append "hello world"; $form setcurrent Nov 13 13:55:24 robtaylor: and jython ? Nov 13 13:55:25 it's only non native English speakers that seem to have problems with it Stephmw... Nov 13 13:55:31 * ScaredyCat shuts up Nov 13 13:55:41 davidw: reminds me of tcl Nov 13 13:55:42 ScaredyCat: :) Nov 13 13:55:50 * rwhitby just turned 40. ugh. Nov 13 13:55:54 Tomasu, yes, it's similar Nov 13 13:55:56 davidw: to you. But try show same example for 20 person and see the result. Nov 13 13:56:09 davidw: the [... -foo] stuff is too similar ;) Nov 13 13:56:16 J_P, well let's see a python example with 40 oranges Nov 13 13:57:57 Tomasu, it works really well, actually, because for some areas, a (blah, blah blah blah blah) syntax, is much more prone to *requiring* all those parameters be passed, whereas in the Tcl style, you only set the ones you need. This is in keeping with the principal of making easy things easy, but not precluding difficult things Nov 13 13:58:18 ja Nov 13 13:58:29 I used to love tcl... Nov 13 13:58:31 here it is in python: http://android.pastebin.com/m6d20062d Nov 13 13:58:46 rwhitby: well done! Nov 13 13:58:55 rwhitby: I'm only 10 years behind :D Nov 13 13:59:23 heres the output it makes: http://android.pastebin.com/d735e795e Nov 13 13:59:52 can't somebody make a variant of python without the 'whitespace matters' part? :) Nov 13 14:00:05 nbd, ruby is a little bit more pleasing for some people Nov 13 14:00:09 telexicon: nice, thx. Nov 13 14:00:09 davidw: uhh ? Nov 13 14:00:16 nbd: naaa, pythong uses whitespace for scope remember Nov 13 14:00:19 *python Nov 13 14:00:30 Stephmw: and that's what i dislike about it Nov 13 14:00:31 nbd, everybody indents anyways.. whats the problem? Nov 13 14:00:41 whitespace really isn't ever a problem in Python Nov 13 14:00:42 isn't pythong that language with a minimal back-end ? Nov 13 14:00:44 telexicon: think editors that mix spaces with tabs :P Nov 13 14:00:50 rwhitby +1 Nov 13 14:01:00 nbd, then dont do it Nov 13 14:01:06 nbd, and yet it never really seems to happen in practice Nov 13 14:01:16 i've seen people do it by accident Nov 13 14:01:17 the only place where, IMO, that's a problem for python is templates Nov 13 14:01:22 and then spending ours debugging their app Nov 13 14:01:32 s/ours/hours/ Nov 13 14:02:19 ive seen hours where people realize that their if(something) DO_MACRO; didnt quite work how they expected either Nov 13 14:02:29 night all Nov 13 14:02:33 well, ok you get what i mean Nov 13 14:02:47 times when people spend hours then realize Nov 13 14:03:28 therefore, I wish somebody would make a C without macros Nov 13 14:03:41 Tomasu, the problems with Tcl are not technical, but the fact that the developers lost the plot in about 2000 in terms of a lot of things Nov 13 14:03:49 heh, that would make it unusable Nov 13 14:04:16 *especially* marketing the language Nov 13 14:04:19 davidw: oh, I don't dislike tcl because of tcl, just because of one app I was using it for.. ever used eggdrop? they managed to horribly break tcl... Nov 13 14:04:32 nbd, well look at the productivity gains in python... compare it to the same thing in perl Nov 13 14:04:43 nbd, i spent a lot of time trying to figure out what that perl script was doing Nov 13 14:04:44 ::) Nov 13 14:04:57 there are other ways to do the same thing in perl. Nov 13 14:04:58 telexicon: i'm much more productive in perl than in python Nov 13 14:05:04 he could have used the array approch you did Nov 13 14:05:06 Tomasu, well... what do you expect from script kiddie ware;-) Nov 13 14:05:12 davidw: no kidding. Nov 13 14:05:17 nbd, thats not what i meant Nov 13 14:05:40 anyway, my point was only that Hecl isn't somehow "lower level" than Python... that's the crack talking Nov 13 14:05:52 heh Nov 13 14:05:53 telexicon: awww - you've not lived in pain until you've seen Java with preprocessing Nov 13 14:06:01 telexicon: well, comparing perl to python doesn't make a point about python any better Nov 13 14:06:11 that its more readable? Nov 13 14:06:19 even if they didnt use regex Nov 13 14:06:35 its still more readable.. none of the my @_# Nov 13 14:06:52 you can write readable perl, just as you can write readable python Nov 13 14:07:05 but don't claim that you can't write unreadable python Nov 13 14:07:14 you have to go out of your way to do it Nov 13 14:07:24 you have to try to write unreadable python Nov 13 14:07:25 I'm sure you could. Let's just say that on average, Python is a bit cleaner than Perl Nov 13 14:07:31 iirc the whitespace indentation of python doesn't care if the indentation goes forwards or backwards Nov 13 14:07:42 that can create some nice spaghetti code Nov 13 14:07:42 also because of the different communities Nov 13 14:08:02 the problem is not in the language itself Nov 13 14:08:04 hmm, the docs mention TabHost is the parent for tabs, yet eclipse says its depreciated Nov 13 14:08:05 telexicon: Neat script :) Nov 13 14:08:13 CM, why thank you :) Nov 13 14:08:14 the problem is lots of low skill programmers doing stuff Nov 13 14:08:15 :) Nov 13 14:08:34 but python has a lower barrier to entry Nov 13 14:08:35 nbd: it attracts people that cant program. Nov 13 14:08:43 people that _Shouldnt_ program Nov 13 14:08:48 hahaha Nov 13 14:08:53 so there most be more people using it who arent as experienced Nov 13 14:08:54 Tomasu: No, they get stuck in VBA ;) Nov 13 14:08:59 Tomasu: php is best at taht Nov 13 14:09:01 not anymore... Nov 13 14:09:09 python is the new thing... Nov 13 14:09:09 Tomasu: you're right - we should think of job security Nov 13 14:09:11 must Nov 13 14:09:16 Tomasu: back to ASM for the rest of us Nov 13 14:09:18 Stephmw: uh, no. Nov 13 14:09:18 i mean look at all the php apps out there, 95% crippled beyond anything Nov 13 14:09:36 nbd, but thats not just because of the sloppy programmers Nov 13 14:09:38 if you like python and are GOOD at it, use it. I honestly dont care. Nov 13 14:09:47 telexicon: yes, php actively encourages bad code Nov 13 14:09:51 php's design encourages bad programming style Nov 13 14:10:10 I charge people more for working in php... Nov 13 14:10:15 ehheeh Nov 13 14:10:18 5000 functions in global scope, yeehaw Nov 13 14:10:45 python encourages a somewhat better programming style and perl lets you choose your own programming style rather freely Nov 13 14:11:06 python lets you choose Nov 13 14:11:08 exactly. Nov 13 14:11:20 telexicon: no it doesmt, it forces the whole white space thing on you Nov 13 14:11:36 oh right Nov 13 14:11:52 the non-indenting paradigm must be really catching on Nov 13 14:11:58 ::) Nov 13 14:12:08 yes, thats exactly what I meant ::) Nov 13 14:12:19 indentations that are not closed by syntactic tokens look ugly :P Nov 13 14:12:28 but anyhow, anyone actually playing with the android api atm? Nov 13 14:12:35 * rwhitby prefers that his late night code is not used for language war comparisons ... Nov 13 14:12:50 nbd: for me, theres not enough contrast with just white space. Nov 13 14:12:51 rwhitby: oh come on, it's fun. at least if you don't take things too seriously Nov 13 14:12:53 Tomasu, yeah, porting Hecl to it Nov 13 14:12:54 rwhitby, :) ill refrain from doing that in the future Nov 13 14:13:02 davidw: used the TabHost class yet? ;) Nov 13 14:13:07 no Nov 13 14:13:19 nbd: indeed it is fun, but hardly representative :-) Nov 13 14:13:21 it seems to be depreciated, but the online docs dont mention that, or the replacement Nov 13 14:13:28 rwhitby: it doesn't have to be Nov 13 14:13:39 its already a subjective argument Nov 13 14:13:40 it's pretty funny that something that is a beta release has deprecated stuff Nov 13 14:13:59 no kidding Nov 13 14:14:17 but yes, android is cool, the emulator is fun, and the openwrt banner looks nice in the emulator Nov 13 14:14:20 ;) Nov 13 14:14:52 nbd: so when will you have the android rootfs running on an openwrt kernel? Nov 13 14:15:03 rwhitby: when there's a buildable source :P Nov 13 14:15:12 When did Android start ? Nov 13 14:15:21 yesterday? Nov 13 14:15:27 wtf .. really ? Nov 13 14:15:39 :) Nov 13 14:15:43 i was expecting more people to come to this channel Nov 13 14:15:47 oh well Nov 13 14:15:55 nbd: who needs source - you have the binaries and you know they are eabi armel - you wanted an excuse to move openwrt to eabi didn't you? Nov 13 14:16:05 Now I'm pretty excited :-D Nov 13 14:16:09 i was hoping for something like #ubuntu at release time Nov 13 14:16:16 unusable? Nov 13 14:16:18 rwhitby: I got poky "running" in it: http://www.rpsys.net/wp/?p=13 :) Nov 13 14:16:23 davidw, pretty much Nov 13 14:16:29 rwhitby: i don't just want to throw in the rootfs as-is Nov 13 14:16:30 Why wouldn't google just co-ordinate with OpenMoko instead of starting a new embedded platform ! Nov 13 14:16:45 rwhitby: i want to make it a component on top of openwrt Nov 13 14:16:51 CVirus: because it's a rather different approach Nov 13 14:16:56 CVirus, there are a few possible reasons Nov 13 14:17:28 nbd: if you did it as-is, you would have the first android hardware in the wild ... Nov 13 14:17:30 telexicon, state some please Nov 13 14:17:44 rwhitby: which hardware? Nov 13 14:17:53 QUERY telexicon for REASONS behind ANDROID DECISION Nov 13 14:18:08 nbd: don't you have something that runs openwrt and has a screen and keyboard? Nov 13 14:18:20 doesn't need to have a phone Nov 13 14:18:27 SELECT * from telexicon.reasons_behind_android_selection WHERE whoknows = 1; Nov 13 14:18:31 CVirus, google wanted to be in control; openmoko's design wasnt popular with cellphone hardware companies; openmoko's design didnt fit into google's strategy Nov 13 14:18:49 RP: nice Nov 13 14:19:00 rwhitby: no armel Nov 13 14:19:32 nbd: usb->vga on a slug? Nov 13 14:19:50 i don't have a slug, and i don't have a usb->vga Nov 13 14:20:27 rwhitby: A zaurus c7x0 locked into qvga mode might work... ;-) Nov 13 14:20:50 RP: now you're thinking. Nov 13 14:20:58 SELECT * FROM telexicon.knowledge_base INNER JOIN telexicon.logic_matrix ON telexicon.knowledge_base.android_selection_id = telexicon.logic_matrix_id; Nov 13 14:21:20 aw darn i messed it up.. oh well Nov 13 14:21:27 Can't I write Python based applications for Android ? Nov 13 14:21:28 RP: I have one of those, but I'm not going to spend my 40th birthday hacking android onto a zaurus ... Nov 13 14:21:36 CVirus, no, not yet :) Nov 13 14:22:10 CVirus, the opinions and statements expressed here do not necessarily represent the views of Google Inc. Nov 13 14:22:28 rwhitby: I can understand that. hb btw! :) Nov 13 14:22:33 telexicon, I totally understand Nov 13 14:22:41 now I'm confused whether to buy the Neo1973 or not Nov 13 14:23:02 CVirus, python is not available but im hoping it might become available... google hasn't said anything at this point Nov 13 14:23:52 Has anyone managed to build the emulator sources and run the provided images? I've tried building it on several machines and it oopes on them all :( Nov 13 14:27:58 RP: any ideas why mount -o loop (with or without offset) wouldn't mount the provided images? Nov 13 14:28:08 heya. Nov 13 14:28:20 Stephmw: Which format are you trying to mount them with? Nov 13 14:28:40 RP: I've tried vfat, ext2 and cramfs Nov 13 14:28:53 Stephmw: They're yaffs2 ;-) Nov 13 14:29:03 RP: pfft, no bloody wonder :) Nov 13 14:29:11 * Stephmw hopes that module is compiled Nov 13 14:29:14 Stephmw: Painful as most systems don't have that... Nov 13 14:29:19 yaffs2 isn't mainline Nov 13 14:29:33 * RP wishes it was jffs2... Nov 13 14:29:52 but then the emulated mtd drivers are a bit of a hack too... Nov 13 14:30:14 * RP suspects goldfish isn't real hardware Nov 13 14:30:22 * Stephmw gives ubuntu the finger Nov 13 14:30:42 dammit, now I'm gonna have to hunt for the config for my kernel Nov 13 14:30:53 Stephmw: and probably patch it Nov 13 14:31:00 RP: argh, that bad? Nov 13 14:31:12 Stephmw: Like I said, yaffs2 isn't in mainline Nov 13 14:32:10 RP: google have said that goldfish is an artificial architecture Nov 13 14:32:26 rwhitby: fair enough :) Nov 13 14:32:31 so, whats involved in making a terminal emulator? Nov 13 14:33:01 anyone working on a gps/jabber/pim app? Nov 13 14:34:06 telexicon, looking at the canvas, maybe? Nov 13 14:34:24 davidw, well im considering making some kind of xterm Nov 13 14:34:30 it would be useful Nov 13 14:34:34 telexicon, in java, right? Nov 13 14:34:38 yea Nov 13 14:35:18 riot, nice host ;) Nov 13 14:35:59 morning Nov 13 14:36:06 maybe this channel will end up with a lot of people Nov 13 14:36:19 hey hrw Nov 13 14:36:35 RP: ok... not something I'm going to mess with over a remote connection :) Nov 13 14:36:36 telexicon: question is how many of them will be target devs/usrs Nov 13 14:37:53 telexicon, http://code.google.com/android/reference/android/graphics/Canvas.html Nov 13 14:38:20 cutmasta: why? Nov 13 14:38:41 davidw, well ok.. but i dont know whats involved in emulating a terminal Nov 13 14:39:02 telexicon: terminal in java? Nov 13 14:39:04 davidw, or would i just make a custom simple terminal that doesnt do like xterm or anything Nov 13 14:39:13 telexicon, start simple, then go from there Nov 13 14:39:14 davidw, no i guess id need to, to display stuff from ssh Nov 13 14:39:19 maybe look up things that exist already Nov 13 14:39:28 there's probably stuff out there Nov 13 14:39:29 davidw, did that :) i found some LGPL code in java Nov 13 14:39:37 emulating VT100 Nov 13 14:40:18 riot, cause of the krombacher-pils in the host Nov 13 14:42:47 cutmasta: ya, though i prefer reissdorf kölsch or kilkenny. Nov 13 14:43:17 i like berlinerkransen Nov 13 14:43:18 so, no one working on a full fledged gps/jabber/pim software? I wanna play Scotland Yard with my phone and some mates. Nov 13 14:43:29 riot, cannot drink any reissdorfer any more since sunday in cologne :) Nov 13 14:43:38 Whats the preferred language to develop android apps? Nov 13 14:43:44 riot, java Nov 13 14:43:49 cutmasta: aah. So you had some real hangover. Nov 13 14:43:51 its the only language atm Nov 13 14:43:55 oh noes. I _HATE_ java. Nov 13 14:44:00 riot, definetly Nov 13 14:44:07 java is simply awesome Nov 13 14:44:10 dont we all Nov 13 14:44:12 Java: Write once, run nowhere. Or: Write once, hack anywhere. Nov 13 14:44:27 java IS stupid. Python rocks FAR more. Nov 13 14:44:32 maybe Nov 13 14:44:39 but java runs on more platforms Nov 13 14:44:40 yes Nov 13 14:44:41 Why does google (i mean, GvR works there) use java.../!"§)!$ Nov 13 14:44:50 im hoping python will get supported Nov 13 14:44:54 cause google likes python Nov 13 14:44:59 that would be great... Nov 13 14:45:01 aualin: oh, you can piggyback python apps on a jvm using jython... Nov 13 14:45:10 riot: i know Nov 13 14:45:10 riot, sort of Nov 13 14:45:20 python still runs on a lot of platforms on its own Nov 13 14:45:24 hmm. Sun must've paid someone nice money.... Nov 13 14:45:27 riot: but i dont think it's useful on phones Nov 13 14:45:30 telexicon: exactly. Nov 13 14:45:34 or, you know, eager hackers could write *code* and make other things work Nov 13 14:45:51 Hecl runs on the thing Nov 13 14:45:56 aualin: why not? I developed some openmoko apps in pure python. Its so much more fun to use python.. Nov 13 14:45:57 riot: and you know, its open source, add python support yourself Nov 13 14:46:00 riot, no.. google picked it because java is already popular in the mobile space Nov 13 14:46:13 aualin, you dont want to do that Nov 13 14:46:13 telexicon: hm. still sucks. ;) Nov 13 14:46:32 telexicon: no - they picked java to block any access to system and hardware Nov 13 14:46:35 riot: i didnt say i python is bad, i love python. but i still gotta protect my beloved java :) Nov 13 14:46:39 hrw, that too Nov 13 14:46:49 which is probably why java is popular in the mobile space to being with Nov 13 14:47:03 ok, i think, i should first of all investigate the SDK.. yet i really don't wanna taint my nice debian with java... Nov 13 14:47:13 telexicon: so it will be like old motorola linux phones. it run linux but for user/developer it is just another phone with j2me Nov 13 14:47:17 riot, right because GPL software taints your nice debian Nov 13 14:47:22 hrw: oh, that sounds EVIL. No good. Nov 13 14:47:41 riot: you havent got java? :O Nov 13 14:47:48 no. Nov 13 14:48:02 hrw, except its not j2me Nov 13 14:48:04 i'm trying to avoid it. Nov 13 14:48:07 hrw, its its open source all the way Nov 13 14:48:11 and* Nov 13 14:48:12 riot, some guy got native executables running on it Nov 13 14:48:12 telexicon: but still java Nov 13 14:48:26 telexicon: I will wait until SDK will be really opensource Nov 13 14:48:28 so someone go try and get python running the same way Nov 13 14:48:30 hrw, the whole stack is open source Nov 13 14:48:36 telexicon, will be Nov 13 14:48:36 hrw, i mean it will be Nov 13 14:48:49 telexicon: in 2011? Nov 13 14:48:56 hrw, you dont trust google? Nov 13 14:49:02 erm. LOL? Nov 13 14:49:04 when did they announce this? Nov 13 14:49:08 like a week ago? Nov 13 14:49:14 everybody said.. yea yea wait till they deliver Nov 13 14:49:22 done.. its delivered Nov 13 14:49:25 http://www.cnet.com/8301-13739_1-9811569-46.html << why should i trust google? ;) Nov 13 14:49:42 i trust google with all non-personal stuff Nov 13 14:49:45 Something totally different: What about hardware? I need a new phone. Nov 13 14:50:05 hey by any chance does anybody know the phone the white phone he was using in the video Nov 13 14:50:09 telexicon: yeah, and my ip is quite private stuff - although my crazy government thinks differently.. Nov 13 14:50:21 freezey: i'd rather have the black one. Nov 13 14:50:30 ditop Nov 13 14:50:31 dito Nov 13 14:50:32 riot: wasnt the black one the iphone? Nov 13 14:50:34 id rather have it on a moto razr Nov 13 14:50:43 riot: could also be verizons new bootleg iphone Nov 13 14:50:45 freezey: w00t?! They must've bricked it... :D Nov 13 14:51:03 telexicon: At some point am I going to be able to compile the whole stack from source? Nov 13 14:51:10 I'd prefer a neo1973 with umts... Nov 13 14:51:11 RP, yes Nov 13 14:51:14 RP, that's what they say Nov 13 14:51:21 RP, kernel and bits will be GPL Nov 13 14:51:23 riot: do u know of the white one that was a pretty nice phone Nov 13 14:51:24 the rest will be apache Nov 13 14:51:28 telexicon: Any idea of when? Nov 13 14:51:40 RP, probably when it comes out of beta :) Nov 13 14:51:44 in 5 years ^^ Nov 13 14:51:59 telexicon: right. This is what I fear :( Nov 13 14:52:06 freezey: looked a bit like an e61 from nokia :) Nov 13 14:52:06 nah Nov 13 14:52:16 google is on a tight schedule Nov 13 14:52:18 riot: yeah that phone isnt to bad looking but compared to the black one and the white one the neo got nothing Nov 13 14:52:19 i s'pose its a htc. Nov 13 14:52:23 they need to get this all together before apple's SDK is ready Nov 13 14:52:48 right now google has a head start.. but Nov 13 14:53:02 they've got mobile developers ready with the $10million in prizes thing Nov 13 14:53:08 freezey: http://bp0.blogger.com/_ZaGO7GjCqAI/RzifTEH2RiI/AAAAAAAAGRI/8xn8Q2pVQMc/s640/android-phone.jpg << you mean this one? Nov 13 14:53:32 telexicon: have you seen openmoko? Nov 13 14:53:53 riot: exactly Nov 13 14:53:59 anyone know offhand how to dump stuff to the console? Nov 13 14:54:02 riot: which phone is that? Nov 13 14:54:17 freezey: i dunno. Looks heavily like some htc prototype. Nov 13 14:55:31 riot: i just wanna find a phone that i can load this on Nov 13 14:56:43 that's no phone, it's the sdk Nov 13 14:56:59 it is just the emulator Nov 13 14:57:12 it looks like the phone from the video Nov 13 14:57:16 by steve h. Nov 13 14:57:22 riot, yea Nov 13 14:58:12 lol :) Nov 13 14:58:48 althought, there's a video where they show a PDA running it Nov 13 15:04:14 Does anyone know what type of hardware android is targeted at? Low end and high end? Nov 13 15:04:24 I'm curious from a performance perspectie Nov 13 15:04:30 perspective Nov 13 15:04:44 well google is wanting you to be very performance conscious Nov 13 15:05:00 theres a whole section in the docs on making sure your apps run as fast as possible Nov 13 15:06:21 telexicon: if htc will install it on omap850 it will be slow. on htc with samsung244x it will be faster Nov 13 15:08:27 i am just lookin for a phone to get to put it on Nov 13 15:08:34 i like that white one that he used in the video lol Nov 13 15:10:19 t-mobile dash is pretty nice Nov 13 15:13:55 freezey: you mean HTC Excalibur? Nov 13 15:14:13 its omap850 - one of slower ones Nov 13 15:20:23 Is google planning on flash support for the webkit browser with android? Nov 13 15:21:44 you'd hope so - even though a lot of existing mobiles only support flash apps, rather than embedded flash Nov 13 15:21:45 http://www.unwiredview.com/2007/11/06/htc-omni-surfaces-at-google-as-htc-dreamwith-android-os/ Nov 13 15:21:51 riot: http://www.unwiredview.com/2007/11/06/htc-omni-surfaces-at-google-as-htc-dreamwith-android-os/ Nov 13 15:21:57 riot: thats the black one Nov 13 15:22:18 I keep thinking that the android phone pictured in the emulator looks eerily like the Palm Centro. Nov 13 15:23:11 it's quite similar to some of the later Zaurii Nov 13 15:26:23 meow. Nov 13 15:26:39 mmm zaurii Nov 13 15:28:27 the dam phone is probably just a prototype were talkin about google here... they prolly got the most exclusive stuff to test on Nov 13 15:28:54 companies are probably payin them to test their products Nov 13 15:33:35 Hi, I noticed the Eclipse plug-in has the android projects preconfigured to use a Java 5 compiler. Are the JVM that's running on top of the Android kernel expected to be Java 5 compliant then I guess? Nov 13 15:34:48 it's not a jvm, apparently Nov 13 15:34:58 but the syntax you can use is java5, yes Nov 13 15:35:12 Not a JVM...? Nov 13 15:35:18 Is this like the GWT where it translates my Java code? lol Nov 13 15:40:49 what chipset is andriod made to run off of Nov 13 15:41:20 rcjsuen, it runs their own VM Nov 13 15:41:25 freezey, arm Nov 13 15:41:41 Hm, interesting. Nov 13 15:41:47 k thanks Nov 13 15:46:10 morning Nov 13 15:48:18 must be hand-built. Probably carved out of wood, that prototype *lol* Nov 13 15:49:31 hello, just discovered the android project. is there a way i could provide an additional native library to the platform ? Nov 13 15:50:31 guardian: Yes, it sounded like that from the devs Nov 13 15:50:43 but probably not yet Nov 13 15:50:49 Exactly Nov 13 15:50:51 :) Nov 13 15:51:49 ok Nov 13 15:51:53 too bad :) Nov 13 15:53:00 Is all memory managed like actual Java? Do I need to explicitly dispose any resources like I would in SWT? Nov 13 15:54:02 in cases where you know a resource will no longer be used, you might want to manually dispose them Nov 13 15:54:19 to free up memory yes? Nov 13 15:55:00 So I guess this is kind of like the usual calling of close() on InputStreams and OutputStreams. Nov 13 15:55:46 im not saying you have to Nov 13 15:55:52 just you might want to since resources are limited Nov 13 15:56:24 Right. Nov 13 15:56:35 Well, I mean, I do call close() and dispose() on my SWT stuff obviously. Nov 13 15:56:41 Was trying to get a feel of which classes are the ones I should be aware of Nov 13 15:56:45 I suppose was the question Nov 13 16:15:56 when I put my stuff in SVN what files should I put in? Nov 13 16:16:48 hrm Nov 13 16:16:48 hi folks Nov 13 16:17:12 hi Nov 13 16:17:40 all of the source files Nov 13 16:17:47 i am all excited about the sdk. really fun to work with. (on day 1 ;) ) Nov 13 16:17:58 and any makefiles no object files though Nov 13 16:17:58 ScaredyCat, does that include the xml and stuff? Nov 13 16:18:04 ok Nov 13 16:18:39 basically everything someone needs (except dependancies) to build your app Nov 13 16:19:03 ok Nov 13 16:19:12 anyone know how to change the name of the main Asset? Nov 13 16:19:23 i named mine waaaaaaaaaaah because I wasnt sure wht ti was, haha Nov 13 16:24:01 main asset? you mean main activity? Nov 13 16:24:35 bye Nov 13 16:28:20 heh: http://intertwingly.net/blog/2007/11/13/Gate Nov 13 16:29:41 hrm... Nov 13 16:29:58 this NotificationManager thing isn't quite right: http://code.google.com/android/kb/commontasks.html#alerts Nov 13 16:32:49 davidw: what's wrong w/ the NotificationManager? Nov 13 16:33:09 do android devs join here ? Nov 13 16:33:15 i mean the ones from google Nov 13 16:33:21 guardian: yes, i'm from google Nov 13 16:33:33 nice Nov 13 16:33:44 jasonchen, http://code.google.com/android/reference/android/app/NotificationManager.html I can't find the getDefault method here Nov 13 16:34:10 guardian: we hang out in here and provide help in an unofficial manner Nov 13 16:34:11 and it's not compiling either for that matter Nov 13 16:34:26 but you'll probably see me and morrildl around a lot Nov 13 16:34:44 ok Nov 13 16:36:37 davidw: hmmm, lemme take a look Nov 13 16:37:02 jasonchen, one of the examples has this: NotificationManager nm = (NotificationManager) Nov 13 16:37:02 getSystemService(NOTIFICATION_SERVICE); Nov 13 16:39:05 jasonchen, yeah, that example is broken - AlarmController.java has functioning code Nov 13 16:40:36 david: ah, looks like we didn't catch that in the docs Nov 13 16:42:47 I'd rather have $10 per bug than a shot at oodles of money in some contest;-) Nov 13 16:43:10 thanks for confirming, though Nov 13 16:44:32 davidw: i'm filing a flagging that for our docs clean-up Nov 13 16:45:38 jasonchen, it's very cool of you guys to hang out here Nov 13 16:45:41 jasonchen, hi, what's your role on the project? Nov 13 16:46:00 d03boy: like morrildl, i'm a developer advocate Nov 13 16:46:05 Advocate? Nov 13 16:46:06 ok Nov 13 16:46:10 it's way better talking to a real person with a buglet like that than dealing with that mailing list which is a zoo at the moment Nov 13 16:46:12 As in evangelist? Nov 13 16:46:12 davidw: well, we know where the action is :-) Nov 13 16:46:49 rcjsuen: yes, but we prefer the term advocate as evangelist can have...problematic connotations Nov 13 16:46:57 Certainly. Nov 13 16:47:10 My friend had that term on his CV and I told him to remove it. Nov 13 16:47:43 So we are supposed to just report ADT bugs on the forum per the message on the issue tracker? Nov 13 16:47:54 davidw: we think so too about talking interactively. the mailing list is certainly very active at the moment, but we're excited by all the enthusiasm Nov 13 16:48:05 rcjsuen: yes, please Nov 13 16:48:40 rcjsuen: please include info like the operating system, version of Eclipse, and any other info that you can provide to help us track down and recreate the issue Nov 13 16:48:48 jasonchen: Of course. Nov 13 16:48:53 I just wish we didn't have to use the mailing list. Nov 13 16:49:37 is there a way to emulate an incoming call? Nov 13 16:49:56 jonbaer, yeah, I think you can do that using adb Nov 13 16:51:15 jonbaer: yes, check out: http://code.google.com/android/reference/emulator.html Nov 13 16:51:57 jonbaer: basically, you telnet to the emulator and issue a "call Nov 13 16:51:59 " command Nov 13 16:52:43 rcjsuen: we're looking at improving how you can report bugs Nov 13 16:52:52 jasonchen: Okay, that's reassuring. Nov 13 16:53:13 rcjsuen: but for now, the mailing list is the best way to make sure we catch it Nov 13 16:53:20 k Nov 13 16:53:33 It's nothing big. Just click an enabled button. It does nothing, see NPE in the logs. Nov 13 16:53:46 I presume it's enabled because it should be disabled (given the current state of Eclipse/ADT). Nov 13 16:53:51 rcjsuen: put something like "Bug Report:" at the beginning of the subject for your post and our team will catch it more easily Nov 13 16:54:26 rcjsuen: that might be the case; screenshots would be really helpful if you can recreate the scenario Nov 13 16:54:52 jonbaer: did that work for you? Nov 13 16:56:14 it seems the call should be (from docs), adb gsm call 12125551212 Nov 13 16:56:14 the ADT doesn't work with eclipse 3.4M3 right? Nov 13 16:56:23 hi Nov 13 16:56:49 soulreaper: Well, I blogged about that, and another person on 3.4M2 failed too. Nov 13 16:57:02 rcjsuen: good. well bad actually ;) Nov 13 16:57:08 where did you blog? Nov 13 16:57:09 is it possible to install android to a phone in current stage of development? Nov 13 16:57:14 soulreaper: You can find it on planet. Nov 13 16:57:22 soulreaper: ADT isn't quite working on 3.4 yet Nov 13 16:57:24 for example, to a 9300i :) Nov 13 16:57:36 soulreaper: I believe Google is using internal APIs, which is why it fails. Nov 13 16:57:41 jonbaer: yes, you can use the adb command as well Nov 13 16:57:42 ah i see it @ rcjsuen Nov 13 16:58:03 rcjsuen: yeah. judging from the .log it does Nov 13 16:58:20 and i just saw that the planet is swarming with android news *G* Nov 13 17:00:13 PDani, if you are a badass hardware hacker, maybe Nov 13 17:00:47 re Nov 13 17:00:57 davidw: :) Nov 13 17:01:37 how would u do it via adb, i started emulator -console, telnet to 5554 and issue gsm command, what does the syntax look like for adb? Nov 13 17:03:41 jonbaer: sorry, i was mistaken Nov 13 17:03:58 jonbaer: thought you could also do it via adb shell, but that's not the case w/ this command Nov 13 17:04:04 ok, so I'm excited :) is there a VNC server for android yet? Nov 13 17:04:24 this guy hans is right on... the web pages eat cpu! Nov 13 17:05:29 davidw: Odd indeed. Both my CPUs are reporting 100% with conky. Nov 13 17:06:04 can you run apps from sdcard? Nov 13 17:07:14 jonbaer: so, technically, no. but there's a way to work around this the last time i tried Nov 13 17:07:46 jonbaer: if you have an emulator running, delete the /data/apps directory and then put a symlink in its place to the sdcard Nov 13 17:08:11 im just wondering since i cant seem to run apps from blackberry pearl via card so im interested in options for loading up sdcard w/ apps + if it ran same way as zaurus (w/ symlinks) Nov 13 17:14:00 is the development of the ADT actually opensource? Nov 13 17:14:10 im trying to run an android project in eclipse. i get "Emulator quit with an error!". is there a log somewhere? Nov 13 17:14:46 don-o: propably as with every other Eclipse run intance in your workspaces .log file Nov 13 17:15:21 i have no idea how to name my package since i'm not part of an organization :( Nov 13 17:15:32 make it up? Nov 13 17:15:38 com.yourname Nov 13 17:16:12 it'd probably be better to use a non-existant top-level domain. Nov 13 17:16:30 what console command can run an .apk from the command line? Nov 13 17:16:36 i'll use my website i guess Nov 13 17:16:53 that shouldn't be a new phenomena to you ;) Nov 13 17:17:18 jasonchen, does reflection actually work? Nov 13 17:18:36 davidw: yes it does Nov 13 17:18:44 hrm Nov 13 17:18:54 soulreaper: i dont seem to have any log files in the workspace. Nov 13 17:19:12 cool, just me being stupid Nov 13 17:19:36 don-o: workspace/.metadata/.log Nov 13 17:21:07 soulreaper: For licensing, see 1.3 http://code.google.com/android/terms.html Nov 13 17:21:08 soulreaper: ah thx. Nov 13 17:21:15 !MESSAGE Invalid preference page path: Cache Nov 13 17:21:24 soulreaper: The same terms comes up on the Update Manager for ADT, so I'm guessing it applies to ADT too, but of course, only Google knows ;) Nov 13 17:21:55 rcjsuen: so there is no way to participate in the dev of the ADT yet? Nov 13 17:21:55 any idea what the package manager is going to be? Nov 13 17:22:04 soulreaper: You can file bugs. ;) Nov 13 17:22:13 soulreaper: I'm going to file one after my lectures have ended and I went home. Nov 13 17:22:16 that is semi-cool ;) Nov 13 17:22:19 soulreaper: But right now I should be paying attention to the prof ;) Nov 13 17:22:33 what topic is he talking about? Nov 13 17:22:45 This is a western history course. He's talking about the renaissance atm Nov 13 17:23:05 what are you studying? Nov 13 17:23:35 I'm in math, but this is just an elective. Nov 13 17:23:43 ah okay :) Nov 13 17:23:56 i am actually having my final master colloquium tomorrow :) Nov 13 17:24:33 soulreaper: oh, good luck with that Nov 13 17:24:37 thanks Nov 13 17:25:18 is it bad to move the SDK? i moved the directory and now the emulator wont start Nov 13 17:25:31 don-o: shouldn't be a problem Nov 13 17:25:38 Android SDK or Eclipse? Nov 13 17:25:41 but i don't know ;) just adapt the path in the prefs Nov 13 17:25:45 rcjsuen: android Nov 13 17:25:47 If you move the Android SDK, you need to set the preferences to point at the right path. Nov 13 17:25:56 It's one of the steps you need when you installed it, no? Nov 13 17:26:04 is the demo game which is in the sdk not directly loaded in the sample apps of the sdk? i can't find it Nov 13 17:26:08 the prefs path is correct. im talking about running it directly from tools\ Nov 13 17:26:42 an, my mistake Nov 13 17:27:06 hmm. 'it seems too many emulator instances are running on this machine. Aborting'. Nov 13 17:27:28 there are no other instances as far as i can tell. Nov 13 17:27:41 maybe its time for a Windows three-finger-salute (reboot) Nov 13 17:28:20 do u use mksdcard to also create ramdisk.img? Nov 13 17:28:51 what an awesome time for opengl es docs to go down Nov 13 17:30:22 the android vm does jre does not register itself in the eclipse platform right? Nov 13 17:31:18 naaah, the vm lives in the qemu emulated environment Nov 13 17:35:03 hi, can somebody explain to me which are local restrictions for Italy and Quebec? Nov 13 17:35:13 ha, I was reading that earlier Nov 13 17:35:34 iwkse, some lame-ass bureaucracy, no doubt Nov 13 17:35:40 must be.. Nov 13 17:35:46 but i wanted to know more Nov 13 17:37:32 where can I find the java api for android? i dont see it in the sdk/docs Nov 13 17:37:41 it's there Nov 13 17:37:45 d03boy, you could try googling for it Nov 13 17:37:48 hehe Nov 13 17:37:49 lol Nov 13 17:37:57 http://code.google.com/android/reference/index.html Nov 13 17:37:57 d03boy: Isn't it there? Nov 13 17:38:02 check the Packages Index Nov 13 17:38:04 yyyyiha... i have landed the spacecraft *G* Nov 13 17:38:26 oh, no wonder I didnt see it. I was expecting it to be in the regular javadoc format Nov 13 17:38:35 d03boy: sadly, it's not ;((( Nov 13 17:39:26 I do like how it has pictures though :) Nov 13 17:40:14 should loading of a custom icon.png w/ LAUNCHER intent work? i cant get my own icon to show Nov 13 17:41:02 davidw: i found why...i must leave this shit country pff Nov 13 17:41:23 goodbye android Nov 13 17:41:32 hello Nov 13 17:41:37 android Nov 13 17:41:57 any good list of ui widgets their resource names etc Nov 13 17:42:19 are there any examples of the media support in the sdk? mp3, mpeg4, etc? Nov 13 17:42:41 xbit_, i think i saw it in the api docs Nov 13 17:43:31 yeah there are some media examples Nov 13 17:44:30 for some reason the emulator seems to be rnning an old version of my program Nov 13 17:44:31 you mean, here: http://code.google.com/android/reference/index.html Nov 13 17:44:37 ? Nov 13 17:44:45 when I run my source deos it do all of the compilation and building itself? Nov 13 17:45:14 d03boy: not building a final buinary Nov 13 17:45:33 hmm? Nov 13 17:46:01 see the docs... they describe how to create an instalable build Nov 13 17:46:14 soulreaper: do you work for google? Nov 13 17:46:27 don-o: no. i just read the docs ;) Nov 13 17:46:40 im just speaking in terms of testing. when I run from eclipse.. i'll read the docs anyway Nov 13 17:46:48 soulreaper: :-> Nov 13 17:47:09 wom-: here was a nice overview of widgets, http://code.google.com/android/reference/view-gallery.html Nov 13 17:47:49 xbit_: nice link Nov 13 17:48:40 Thanks. Nov 13 17:48:41 They did some nice work with effects. Was half expecting it to look like an old X window manager... Nov 13 17:49:22 yeah, they look nice, so far not quite as nice as the iphone's stuff, but pretty close and definately "good enough" Nov 13 17:49:23 yeah i had the same fears. it is not an iPhone ui but it certainly looks promissing Nov 13 17:49:28 tmccrary: hehe Nov 13 17:49:31 :) Nov 13 17:49:44 *restarting* Nov 13 17:50:19 xbit_: thanks :) Nov 13 17:51:02 just started to tinker with mapview and see how it works Nov 13 17:52:56 gah, i can't get the emulator to run the new code Nov 13 17:56:35 ah that worked :) Nov 13 17:58:00 soulreaper, when you make changes to your code and want to simulate it, you just right-click the java file and run it, right? Nov 13 17:58:18 d03boy: i had to create a run instance via the menu at the top Nov 13 17:58:25 i did that Nov 13 17:59:22 than select the run configuration and run Nov 13 18:01:08 So are you guys all enjoying the new SDK? Nov 13 18:01:28 i certainly am Nov 13 18:01:28 I am, I have most of my graphics engine ported to it Nov 13 18:01:29 not until i hear how to port j2me apps! Nov 13 18:01:37 Hehe ok :-) Nov 13 18:01:39 parti: no point really Nov 13 18:01:48 they keep evading that question Nov 13 18:01:57 'they' ;) Nov 13 18:02:09 yeah, but I am of the opinion that j2me sucks, so I don't care :) to each his own Nov 13 18:02:38 I suppose since I've always avoided j2me where possible, it does hurt me as much because I don't have any apps to support Nov 13 18:02:47 err "doesn't hurt me" Nov 13 18:03:07 yeah but for some apps that dont need rewrites, i would like to know if its gonna be possible to run them someday on android..or maybe i need to start porting now Nov 13 18:03:11 i have used jme a lot but it has always been unpleasent. Nov 13 18:03:16 I think there are licensing issues with j2me Nov 13 18:03:46 parti: running it is unlikely as this would require to install a proper j2me jre on android Nov 13 18:04:40 soulreaper, ye i understand the current android vm is not java, but maybe they come up with another convert tool Nov 13 18:04:43 soulreaper: the MIDPath developer is already working on porting his work Nov 13 18:04:54 soulreaper: the thing plays j2me games fine Nov 13 18:05:07 tmccrary, have you had any awful porting issues so far? Nov 13 18:05:26 or was it pretty simple (which it looks like as far as i have seen the api) Nov 13 18:05:45 Stephmw: ah okay... i guess games are easier since the Sprite classes etc are part of antroid Nov 13 18:06:04 parti: no, it's been pretty stellar so far, but I'm porting from j2se Nov 13 18:06:04 If they're going to support Java it should be phoneME or something. Let's break from j2me already. Nov 13 18:06:25 puckett: there's a body of existing games to use, don't throw them out with the bath water Nov 13 18:06:27 and my app was designed with porting to different types of systems/frameworks easily (opengl, directx, etc) Nov 13 18:06:37 + nokia is not in the alliance Nov 13 18:06:38 soulreaper: it also supports LCDUI stuff Nov 13 18:06:49 yes exactlly Nov 13 18:08:06 Stephmw: Hey, I'm writing j2me right now. I'm just saying, let's get something more than Java 1.3 to work with. :) Nov 13 18:08:07 Stephmw, what does? Nov 13 18:08:50 So guys, I'm working on an Android Wiki ... what would you consider main issues for Android? Nov 13 18:09:12 davidw: MIDPath Nov 13 18:09:39 davidw: http://midpath.thenesis.org Nov 13 18:09:43 Dralspire: you are the one working on the official wiki? Nov 13 18:09:47 Dralspire, none, the site in topic is perfect Nov 13 18:10:05 ok Nov 13 18:11:09 i have no point either... so far the docu is sufficient. we will have to wait when people run into their first problems ;) Nov 13 18:11:18 Stephmw, cool...thanks Nov 13 18:11:22 hehe gotcha Nov 13 18:11:30 it would be perfect if it didn't chew CPU Nov 13 18:12:36 davidw: gotta head out, but feel free to msg me Nov 13 18:14:34 Has anyone thested Anroid on any of the htc devices? WIll it run? Nov 13 18:24:11 http://groups.google.com/group/android-developers/browse_thread/thread/d8276a583b50a61 Nov 13 18:24:16 there's my first problem Nov 13 18:24:32 mostly to do with eclipse/environment though Nov 13 18:26:15 is there a page with the differences to pure j2se/me? Nov 13 18:30:56 What's up, folks? Nov 13 18:31:34 howdy Nov 13 18:31:38 * jasonchen thinks it's about time morrildl checked Nov 13 18:31:40 just trying to solve my environment prblem Nov 13 18:32:44 It's quite depressing when the Hello World program won't start. Nov 13 18:33:32 same problem here Nov 13 18:33:41 Really? Nov 13 18:33:41 it worked the very first time I tried... now it wont work Nov 13 18:33:42 Worked fine for me on Linux x86, it took maybe a few seconds though. Nov 13 18:33:47 I had no problems, what platforms are you on? Nov 13 18:33:53 The emulator fires up, but nothing starts Nov 13 18:34:00 vista with the latest java Nov 13 18:34:03 I even followed the guide Nov 13 18:34:11 mafu: I would sure hope so. ;) Nov 13 18:34:15 Hehe Nov 13 18:34:26 ouch vista Nov 13 18:34:28 :( Nov 13 18:34:29 Maybe it has got something to do with the Eclipse I'm running Nov 13 18:34:34 3.2 Nov 13 18:34:37 x86 Ubuntu here, no problems :) Nov 13 18:34:40 mafu: I'm on 3.3.1.1. Nov 13 18:34:43 what happens in eclipse when simple hello world won't start when I run emulator.. it doesn't even stop in any breakpoint so its not loading app at all Nov 13 18:34:54 wom-, same here Nov 13 18:34:55 * davidw uses ubuntu Nov 13 18:34:58 im usuing Europa Nov 13 18:35:00 vista here to too. no problem Nov 13 18:35:07 I'm on Kubuntu 7.10 Nov 13 18:35:15 europa sdk 1.6.0.3 Nov 13 18:35:20 Is there a backport of a newer eclipse somewhere? Nov 13 18:35:27 mafu: backport of a newer Eclipse? Nov 13 18:35:43 mafu: worked for a while and then stopped.. Nov 13 18:35:44 rcjsuen, To ubuntu repos Nov 13 18:35:48 soulreaper, same here Nov 13 18:35:53 wom-, never worked here Nov 13 18:36:00 Must mean bad luck from now on. :D Nov 13 18:36:06 for some reason it is not loadin app now Nov 13 18:36:08 I'm using ubuntu straight from the repos, 3.2 Nov 13 18:36:14 err eclipse Nov 13 18:36:15 sorry Nov 13 18:36:19 mafu: If you use Eclipse from the repositories and have problems, you need to talk to the Ubuntu guys. Nov 13 18:36:28 "Eclipse 3.2, 3.3 (Europa)" they do list 3.2 as supported Nov 13 18:36:29 tmccrary, and it works fine? Nov 13 18:36:42 rcjsuen, weird. Then I have no idea what the problem is. Nov 13 18:36:51 But I like the emulator anyway. :) Nov 13 18:36:57 it doesnt seem like its explicitly an eclipse problem Nov 13 18:37:00 It there a way to call the program from within there? Nov 13 18:37:04 its like its not overwriting the build files Nov 13 18:37:13 brb pizza Nov 13 18:37:38 wom-: try killing the adb process Nov 13 18:37:55 Interesting, I cna't seem to reproduce the problem on 3.3.1.1 that I saw on 3.4M3. Nov 13 18:38:21 wom-: and then running your app again Nov 13 18:38:21 I guess the best way to be sure is with a fresh 3.3.1.1 installation again. Nov 13 18:38:37 Is there a tutorial with the drawing APIs, by the way? Nov 13 18:39:22 It's pretty hard to test anything when I can get no programs to run. :( Nov 13 18:39:52 wom-: http://code.google.com/android/kb/troubleshooting.html describes some troubleshooting steps that help Nov 13 18:40:03 jasonchen: thnks .. killing adb did the trick :) Nov 13 18:40:14 mafu: what version of eclipse are you using? Nov 13 18:40:17 how can I kill adb in vista? it seems not to know what adb is Nov 13 18:43:13 jasonchen, 3.2.2-3ubuntu3 Nov 13 18:43:26 d03boy, do you have the tools in your path? Nov 13 18:43:38 d03boy: try adb kill-server Nov 13 18:44:26 mafu, ah that would be why Nov 13 18:51:32 hmm.. killing adp helped a little, but it still displays an old program Nov 13 18:54:11 jasonchen: Done http://groups.google.com/group/android-developers/browse_thread/thread/fc17b14e91cf53c4 Good luck with it, I would imagine it's an easy fix since it's an NPE, but anyway. ;) Nov 13 18:55:17 d03boy: you might try dropping into adb shell Nov 13 18:55:40 d03boy: and then deleting the .apk in the /data/app/ directory Nov 13 18:56:47 and restarting the emulator Nov 13 19:02:59 do i report API dox bug to android-developers list? Nov 13 19:08:04 i guess this answers my q: http://code.google.com/p/android/issues/detail?id=8 Nov 13 19:13:08 jasonchen, did the version number say anything to you in any way? Nov 13 19:13:15 I'm still stuck with hello world. :Þ Nov 13 19:13:27 me too :( Nov 13 19:13:57 mafu, d03boy: we know adt works on 3.2 and 3.3. Nov 13 19:14:05 can you tell me more about what's going wrong? Nov 13 19:14:33 also, have you tried killing the emulator, doing and adb kill-server and also restarting eclipse? Nov 13 19:14:33 jasonchen, ADT is installed, everything seems to work. I can start the emulator from within Eclipse Nov 13 19:14:37 when I first created the project everything worked fine Nov 13 19:14:40 The program just doesn't start Nov 13 19:14:48 jasonchen, all three I have tried Nov 13 19:15:13 i think this problem started occurring when I refactored the package name Nov 13 19:16:45 jasonchen, I don't really know where to look for the problem, I'm not really into eclipse. Nov 13 19:16:49 mafu: if you go into Applications, does you app show up as installed? Nov 13 19:17:07 mine doesnt Nov 13 19:17:09 mafu: Applications is the far left item in the emulator Nov 13 19:17:42 d03boy: ok, let's try this -- close eclipse, run adb kill-server and stop the emulator Nov 13 19:18:06 done Nov 13 19:18:23 d03boy: did you say you're on Vista? Nov 13 19:18:32 correct Nov 13 19:18:45 d03boy: check to see if there are any adb processes running Nov 13 19:19:35 none Nov 13 19:20:47 ok, start the emulator from the command line Nov 13 19:20:56 know how to do that offhand? Nov 13 19:21:14 just "emulator" i assum Nov 13 19:21:19 yes Nov 13 19:21:30 do you have the tools directory in your path? Nov 13 19:21:39 ya, its launching Nov 13 19:21:41 k done Nov 13 19:21:42 ok Nov 13 19:21:47 now start eclipse Nov 13 19:22:04 jasonchen, sorry, just on the phone. I don't have the application installed. I'll now do the same you're telling d03boy Nov 13 19:22:21 eclipse is up Nov 13 19:22:58 ok, now did you create a new project or import one of the samples for this app that you're trying to install? Nov 13 19:23:07 i created my own Nov 13 19:23:11 ok Nov 13 19:23:19 (and it did work the first time I tried it) Nov 13 19:23:46 is there a .apk file in the bin sub-directory of your project directory? Nov 13 19:24:13 yes there is Nov 13 19:24:52 yes, here too Nov 13 19:25:13 ok, open a new terminal and cd into that directory Nov 13 19:25:15 evening Nov 13 19:25:50 done Nov 13 19:26:04 done Nov 13 19:26:18 issue an adb install Nov 13 19:26:29 guardian: hello Nov 13 19:26:42 is the sourcecode for android.jar available?= Nov 13 19:26:59 * daemon not running. starting it now * | * daemon still not running * | error: no device Nov 13 19:27:00 i downloaded the code from googles website , is this to use for a person that never did anykind of programming ? Nov 13 19:27:14 any doc on how to use it Nov 13 19:27:43 elbastardo, the sdk comes with documentation Nov 13 19:27:52 d03boy: sweet Nov 13 19:27:56 d03boy, if I run adb start-server first, it runs. Else I get that one too Nov 13 19:28:04 d03boy: try it again; sometimes adb doesn't connect the first time Nov 13 19:28:17 ah, now ti works Nov 13 19:30:04 d03boy, adb or the app? Nov 13 19:30:21 adb Nov 13 19:30:27 Darn. :) Nov 13 19:30:31 jasonchen, any next step? Nov 13 19:30:59 mafu: did adb install not work? Nov 13 19:31:19 jasonchen, output: Nov 13 19:31:21 markus@iben:~/workspace/HelloAndroid/bin$ adb install HelloAndroid.apk Nov 13 19:31:21 149 KB/s (12271 bytes in 0.080s) Nov 13 19:31:30 So I suppose so Nov 13 19:31:40 But it's not listed as an App Nov 13 19:31:55 hmmm Nov 13 19:31:57 It's supposed to be next to the Browser, Maps etc., right? Nov 13 19:31:59 same here Nov 13 19:32:00 no Nov 13 19:32:13 you have to key over to the far left to the Application browser Nov 13 19:32:21 and if you select that, you should get a grid of all the apps installed Nov 13 19:32:41 Yeah, the browser is there too, that's what I meant. Sorry. :) Nov 13 19:32:47 Together with API demos Nov 13 19:32:57 But no hello world.. Nov 13 19:33:31 mafu: do you have other emulator processes running? Nov 13 19:33:43 same problem here. no other emus running Nov 13 19:33:44 Just the one Nov 13 19:33:46 also, what does your AndroidManifest.xml file look like? Nov 13 19:34:03 jasonchen, whatever was standard Nov 13 19:34:15 http://pastebin.ca/772362 Nov 13 19:34:18 jasonchen, I just changed the things described in the very basic Hello World guide Nov 13 19:35:21 My file is the same as his, except the name Nov 13 19:35:27 and package Nov 13 19:35:29 d03boy: you're missing a second line in the AndroidManifest.xml file Nov 13 19:35:52 after Nov 13 19:35:58 there should be a second line Nov 13 19:36:41 (hold on, getting it for you) Nov 13 19:36:59 hmm.. wonder what happened to it.. Nov 13 19:37:03 Nov 13 19:37:17 That could potentially explain a lot. Nov 13 19:37:29 that's the line that tells the Package Manager that this app should show up in the Launcher (i.e. Application browser) Nov 13 19:37:48 mafu, does yours have that? Nov 13 19:38:48 d03boy, not until now Nov 13 19:39:26 oh, hmmm Nov 13 19:39:32 hold on, let me go check on something Nov 13 19:39:33 brb Nov 13 19:39:50 it didnt necessarily fix my problem either Nov 13 19:40:11 it launches a program called ircell, but its an old version that I dont even know if still exists Nov 13 19:40:25 maybe I typoed some stuff Nov 13 19:40:37 mafu, can you compare my d03boy, same except name Nov 13 19:41:30 d03boy, http://pastebin.ca/772374 Nov 13 19:43:22 d03boy, did anything change for you? Nov 13 19:43:47 Is there any description of the DalvikVM or its bytecodes? I'd like to know if it's a better target than the JVM for functional languages like Haskell. Nov 13 19:44:06 no Nov 13 19:44:47 It seems that it's register based instead of stack based, but I'd like to know much more than that :-) Nov 13 19:45:24 mafu, d03boy: ding, ding, ding. you guys helped find a bug in ADT Nov 13 19:45:50 Hurra. :) Nov 13 19:46:02 jasonchen, yay! we are special Nov 13 19:46:08 :D Nov 13 19:46:15 * d03boy high-fives mafu Nov 13 19:46:34 * mafu jumps in joy Nov 13 19:46:36 the line that i pointed out was missing should be there when you create a new project Nov 13 19:46:36 ;) Nov 13 19:46:54 jasonchen, it still doesn't work, though. Nov 13 19:47:11 I do get an application icon, but its the wrong application.. right name adn stuff Nov 13 19:47:14 just an old version Nov 13 19:47:21 I don't even get that. Nov 13 19:47:21 mafu: i think we can figure out what's not working in a sec. let me file a bug about the missing info from AndroidManifest.xml and i'll get back to you Nov 13 19:47:39 jasonchen, sure! Nov 13 19:50:35 i've tried following the example for playing media at http://code.google.com/android/toolbox/apis/media.html Nov 13 19:50:58 but MediaPlayer.create returns null, and the docs aren't very helpful concering why Nov 13 19:51:01 :S Nov 13 19:52:25 mafu: two things to try Nov 13 19:52:51 1) go into adb shell and delete the .apk in the /data/apps directory Nov 13 19:52:58 and then do the adb install again Nov 13 19:53:03 ok Nov 13 19:53:58 jasonchen, that did the trick Nov 13 19:54:04 cool Nov 13 19:54:17 d03boy: did that also work for you? Nov 13 19:54:19 Is it not syncing properly, then? Nov 13 19:54:21 how do you use adb to delete? Nov 13 19:54:29 d03boy, adb shell Nov 13 19:54:35 then cd data/app Nov 13 19:54:40 and rm appname.apk Nov 13 19:54:44 ok thanks Nov 13 19:56:02 ah its a linux shell. how nice Nov 13 19:56:05 yes Nov 13 19:57:22 hm... still displaying an old version Nov 13 19:58:08 almost as if eclipse isnt building my app after I've made changes Nov 13 19:58:21 jasonchen, I still find it a bit weird that it will not launch the App directly from Eclipse Nov 13 19:58:46 mine launches from eclipse. but its the wrong version Nov 13 19:58:52 Hm. Nov 13 19:59:04 d03boy: is the change saved in the editor? sometimes i forget to do that Nov 13 19:59:07 there has been a couple times when it didn tlaunch from eclipse Nov 13 19:59:10 don-o, yep Nov 13 19:59:57 even cleaned the project Nov 13 20:00:18 d03boy, I have to delete it from the adb shell every time I want to update it, but at least it works now. Nov 13 20:01:27 morrildl: now that android is using webkit, will there be an effort to get gears working in webkit again? Nov 13 20:01:54 offline web apps seem to be particularly useful on mobile devices Nov 13 20:04:01 i seem to have found the cause of my problem... my build directories can't be deleted when I remove my project which means somethings holding on to them Nov 13 20:04:09 which means they probably cant be updated either Nov 13 20:05:34 too bad i have absolutely no clue what's holding them Nov 13 20:06:30 maybe i have multiple instances running in eclipse.. Nov 13 20:08:49 xbit, i also try to play an mp3 Nov 13 20:08:52 but no success Nov 13 20:08:54 ;) Nov 13 20:09:43 d03boy, I'm trying some things from the troubleshooting page, but that only lead to crashing my eclipse Nov 13 20:10:04 ah, apparently adb was still running and wouldnt let go of those dirs Nov 13 20:10:17 * d03boy creates new project Nov 13 20:11:29 cutmasta: pure wav file works better Nov 13 20:11:44 xbit, mp3 does not work in the emu at all? Nov 13 20:11:44 but only marginally, at least MediaPlayer.create doesn't return a null object Nov 13 20:11:55 no sound though Nov 13 20:12:00 cutmasta: i guess not.. Nov 13 20:12:07 hmm Nov 13 20:12:11 :( Nov 13 20:13:39 ten minutes under windows and eclipse dies 2 times Nov 13 20:13:43 * cutmasta reboots Nov 13 20:14:11 i dont think eclipse has ever died for me.. ive used it for about 4 years Nov 13 20:14:58 oh it dies easily if you don't give it enough memory ;) Nov 13 20:15:14 ah, true.. i guess 2gb is enough Nov 13 20:15:15 and the europe fall release was even broken by default Nov 13 20:18:16 it takes shitlong just to allocate a mediaplayer with a 800KB wav file as well :o Nov 13 20:18:29 making a new project just solved all my problems. woo Nov 13 20:18:44 somethings was effed up with the permissions to the directory or something... which is strange because im on windows Nov 13 20:18:50 :) Nov 13 20:19:10 maybe some locks? Nov 13 20:19:15 wait, I lied... it didnt fix anything Nov 13 20:19:31 i think TextView is cracked out Nov 13 20:19:51 hehe Nov 13 20:19:53 cracked out? Nov 13 20:20:18 well, I dont know.. the emulator says "Hello World, IRCell" Nov 13 20:20:24 IRCell is my activity/project name Nov 13 20:21:22 wow... i am retarded Nov 13 20:21:31 Congrats. ;) Nov 13 20:21:39 by default, when you made an android project it makes this line: setContentView(R.layout.main); Nov 13 20:21:51 i was creating a new Textview without changing that line.. go me Nov 13 20:21:57 :D Nov 13 20:22:03 * d03boy hits himself in teh face Nov 13 20:22:29 * jasonchen returns from lunch and is happy to find that d03boy's problem has been solved :-) Nov 13 20:22:48 thanks for the help. i learned some stuff even though I didn't need to :) Nov 13 20:23:37 it's the best way to learn Nov 13 20:23:39 yw Nov 13 20:29:18 jasonchen, yeah, thanks. Nov 13 20:29:37 mafu: things are working for you too? Nov 13 20:29:56 jasonchen, not entirely. I still have to install the file manually Nov 13 20:30:35 mafu: building from within eclipse doesn't launch them in the emulator? Nov 13 20:31:04 When I start Eclipse, it says something about not being able to use port 8700, and playing around with DDMS (whatever it is :) ) got Eclipse to hang Nov 13 20:31:06 jasonchen, no Nov 13 20:31:09 mafu: if so, can you check your project config to ensure that the Android Launch is selected in your Run config Nov 13 20:31:20 jasonchen, it is. Nov 13 20:31:30 It launches the emulator and all Nov 13 20:31:32 Just not the app Nov 13 20:32:56 hmm Nov 13 20:33:08 xbit, now trying under linux playing sounds :) Nov 13 20:33:09 what happens if you run the app again once the emulator is up and running? Nov 13 20:33:39 Let me just check, I just restarted eclipse Nov 13 20:33:48 so I need to put the /res/ and /assets/ folder in SVN? Nov 13 20:34:37 d03boy: if you're using SVN to manage your source, then likely yes Nov 13 20:34:38 d03boy, res are for your ressources, so I suppose so Nov 13 20:34:55 * d03boy is new to working with sdks :) Nov 13 20:35:31 and svn.. and everything in general Nov 13 20:36:03 Hehe.. Same here. All but svn. Nov 13 20:37:15 cutmasta: any luck? :) Nov 13 20:37:30 just wait a sec Nov 13 20:38:19 jasonchen, no, it still doesn't launch it Nov 13 20:38:47 Maybe I should try launching eclipse from the console and see if there's any output I can use? Nov 13 20:41:53 xbit, i currently try Playing Media via URL Nov 13 20:42:14 instead of using a resource from the .apk Nov 13 20:44:26 ok, does that work better? Nov 13 20:44:36 i doubt that matters.. Nov 13 20:44:59 i dont get any exception Nov 13 20:45:09 but dont hear anything Nov 13 20:45:26 i will check my logs if the emu rellly downloads the mp3 from the server Nov 13 20:48:25 jasonchen, any other ideas, or should I give up? :) I don't get what could be wrong. Nov 13 20:50:01 mafu: did you add the line to your manifest xml file? Nov 13 20:50:08 jasonchen, yes Nov 13 20:50:23 jasonchen, maybe that file isn't installed automatically? Nov 13 20:50:49 no, that should get packaged up in the .apk Nov 13 20:51:21 xbit, there is not lpog file entry that the mediaplayer downloads the mp3 Nov 13 20:51:33 i think mediaplayer is completly broken Nov 13 20:52:10 jasonchen, then I have no idea. Nov 13 20:52:37 mafu: hmm, i'm out of ideas at the moment Nov 13 20:52:53 jasonchen, well, thank you very much anyway. :) Nov 13 20:52:57 yes, it's pretty broken i think Nov 13 20:53:11 xbit: what are you trying to do w/ the MediaPlayer? Nov 13 20:53:26 just playing anything Nov 13 20:53:48 the emulator by default starts w/ audio output disabled Nov 13 20:54:08 oh Nov 13 20:54:10 so if you were expecting to hear anything, you should pass -useaudio from the command line Nov 13 20:54:28 now, if you're getting some sort of exception, that might be a different matter Nov 13 20:54:45 using this: MediaPlayer mp = MediaPlayer.create(context, R.raw.sound_file_1); Nov 13 20:54:45 mp.prepare(); Nov 13 20:54:45 mp.start(); Nov 13 20:54:57 it mp is always null Nov 13 20:55:02 mediaplayer.create returns null when i pass an mp3 as resource, wav works fine Nov 13 20:55:55 jasonchen, i tried playing via url Nov 13 20:55:58 but no error Nov 13 20:56:17 and mediaplayer did not made a request on the uri Nov 13 20:57:09 * cutmasta tries now a wav Nov 13 20:57:35 cutmasta: try this: Nov 13 20:57:41 MediaPlayer player=new MediaPlayer(); Nov 13 20:57:42 player.setDataSource(url); // you also need to catch IO exceptions here Nov 13 20:57:44 player.prepare(); Nov 13 20:57:45 player.start(); Nov 13 20:58:19 -useaudio worked :) Nov 13 20:58:22 i have sound Nov 13 20:58:30 xbit, with mp3 or wav Nov 13 20:58:36 it's skipping like hell though :p Nov 13 20:58:39 wav Nov 13 20:58:42 morrildl, and url just a simple uri string , right Nov 13 20:59:05 as i said, mp3 returns mediaplayer=null so no point in trying to get sound there.. Nov 13 20:59:33 cutmasta: should be, yes Nov 13 21:01:32 morrildl, sorry for the question but, does https:///file.mp3 can work? i mean is ssl support active in the emu Nov 13 21:01:48 cutmasta: It should be, I think Nov 13 21:01:58 * cutmasta compiles Nov 13 21:03:04 i mean..if it doesn't play mp3 from resources, why would it over http, particulary https? Nov 13 21:03:05 morrildl: now that it is known that android uses a webkit based browser, will there be any effort to get gears working in webkit ... again? Nov 13 21:04:21 doesnt work Nov 13 21:04:26 media player isnt null Nov 13 21:04:30 but does not do anything Nov 13 21:05:14 no, if you did new MediaPlayer() it's not null of course Nov 13 21:06:16 i try wav Nov 13 21:07:01 cutmasta: Are you using -useaudio ? Nov 13 21:07:17 yes, i passed it via eclipse preferences Nov 13 21:07:33 Try a WAV URI Nov 13 21:08:30 ok Nov 13 21:09:39 how easy will be for android to be used with Verizon (CDMA) or T-Mobile(GSNM) i mean for switching Nov 13 21:10:10 or ghone will have their own network Nov 13 21:10:24 like a competition for existing wireless phone comp Nov 13 21:12:59 Like when Google buys Sprint? Nov 13 21:13:00 morrildl, also does not work, but i hear sound if i click the louder buttons on the emu Nov 13 21:13:28 puckett: heh , i wish they did , cause i m using them :) Nov 13 21:13:34 cutmasta: hmm, can you send me your code? I'll try it in an emulator here Nov 13 21:13:39 sure Nov 13 21:14:41 cant wait for iphone users to install Android on their box :) Nov 13 21:15:19 and ditch the war that apple is carryin with firmware updates and bricking phones Nov 13 21:16:48 elbastardo: technically apple isn't bricking phones ... botched unlock code was bricking phones Nov 13 21:17:58 got it Nov 13 21:18:15 Essington: they did get hit with lawsuit Nov 13 21:18:19 or more then one Nov 13 21:19:02 in a country where anyone can sue anyone else for any reason .... sure Nov 13 21:20:03 morrildl, did you get it? Nov 13 21:20:39 cutmasta: yeah Nov 13 21:20:49 are you behind a proxy? Nov 13 21:21:08 no,why? Nov 13 21:21:41 i can play the sound file with mplayer without any problems Nov 13 21:21:52 mplayer Nov 13 21:26:53 morrildl, no i see the GET from the PVPLAYER 18.07.00.02 Nov 13 21:26:59 morrildl, now i see the GET from the PVPLAYER 18.07.00.02 Nov 13 21:27:19 so now the problem must be on the sound setup here locally Nov 13 21:27:41 morrildl, thx anyway for testing Nov 13 21:28:34 cutmasta: well, this should be working Nov 13 21:28:58 morrildl, did you tried in debug mode? Nov 13 21:29:04 or in normal mode Nov 13 21:29:04 not yet Nov 13 21:29:06 normal Nov 13 21:29:19 * cutmasta in debug Nov 13 21:29:21 ;( Nov 13 21:29:39 cutmasta: hmm, something is highly fishy here :) Nov 13 21:34:02 morrildl, last chance, i restart eclipse :) Nov 13 21:34:18 and kill all emu processes Nov 13 21:34:30 cutmasta: doh Nov 13 21:34:39 cutmasta: looks like the MediaPlayer might Nov 13 21:34:40 you know Nov 13 21:34:44 not actually be in the SDK image Nov 13 21:34:58 cutmasta: hold on, I'm chasing it down :) Nov 13 21:36:01 morrildl, im using android_sdk_linux_m3-rc20a Nov 13 21:41:15 is there a way to include a text file in the application bundle? Nov 13 21:42:30 davidw: what do you want to do with it? Nov 13 21:42:41 read it Nov 13 21:42:42 davidw: you can put it in strings.xml if you want to access it from code Nov 13 21:43:00 or you can put it in as a raw resource and access the bits if you want the whole file Nov 13 21:43:10 ok, just like a regular resource in java Nov 13 21:43:22 cool Nov 13 21:46:16 ah Nov 13 21:46:16 and so it begins Nov 13 21:46:57 oh shit, meteors. Nov 13 21:52:00 cutmasta: hmm Nov 13 21:52:07 cutmasta: okay it looks like net URIs just aren't working Nov 13 21:52:24 cutmasta: I will file a bug on this and get to the bottom of it -- do you mind if I forward your code internally? Nov 13 21:53:28 morrildl, just do what will help you setting the bug to "fixed" :) Nov 13 21:53:28 cutmasta: in the meantime, use the new MediaPlayer() + setDataSource(String) version, but only refer to files on the device Nov 13 21:53:48 cutmasta: for instance, setDataSource("/data/alert.wav"); Nov 13 21:54:11 ./data/ is the res dir from the .apk Nov 13 21:54:12 ? Nov 13 21:54:23 cutmasta: you can use "adb push " to put files -- e.g. "adb put alert.wav /data/alert.wav" Nov 13 21:54:28 er, sorry, adb push Nov 13 21:54:30 not adb put Nov 13 21:54:32 ah Nov 13 21:54:32 ok Nov 13 21:54:34 thank Nov 13 21:54:40 no, /data is just a writable partition basically Nov 13 21:54:49 see if that works Nov 13 21:54:50 ok, seems clear to me Nov 13 21:54:54 i will try Nov 13 21:55:25 quick question: is the emulator supposed to be slow or is my system just to slow to run it (Pentium 4 2.4 Ghz, 512MB RAM) Nov 13 21:56:31 Has anyone managed to rebuild the emulator binary successfully on Linux from source? Nov 13 21:57:39 Lede: Considering eclipse is pretty hefty on it's own, you may want to upgrade your ram. A CPU upgrade probably wouldn't hurt either Nov 13 22:06:54 Hello. Is there a UI Designer tool available yet? Nov 13 22:07:58 are there plans to release androids source ? i mean, it says in the "future".. but how long is this "future" ? Nov 13 22:09:01 on april fools day, ha! Nov 13 22:09:32 gpolo: here's a piece of string Nov 13 22:10:48 morrildl, btw. your solution with loading data from the local filesystem works Nov 13 22:10:56 cutmasta: okay, good Nov 13 22:11:03 I've filed a bug Nov 13 22:11:11 ok, Nov 13 22:11:20 It will probably get fixed in the next SDK drop Nov 13 22:12:28 just take your time Nov 13 22:15:49 trevarthan: not to my knowledge Nov 13 22:16:07 ah darn. Nov 13 22:16:12 cutmasta: I have no intention of taking my time, it's a bug and bugs want fixin' :) Nov 13 22:16:55 Anyone hiring for Android development yet? Sounds fun. Nov 13 22:16:55 hehe Nov 13 22:17:42 morrildl, btw. mp3 works great with local file Nov 13 22:17:45 :) Nov 13 22:17:45 hiring? =P Nov 13 22:21:43 bye all and thx for your support, cu Nov 13 22:21:57 cutmasta: see ya! Nov 13 22:35:44 morrildl, so - how do you include a text file, say foo.txt in classes.dex and / or subsequently the application Nov 13 22:44:48 davidw: in the res folder Nov 13 22:44:55 mmmm Nov 13 22:47:17 [exec] invalid resource directory name: android/res/scripts Nov 13 22:47:32 it doesn't like that... it thinks it's junk to feed to the xml->java thing Nov 13 22:47:36 i dont think resources is actually a directory Nov 13 22:49:07 it's not Nov 13 22:50:52 hmhm, how can you add a program to "Applications" (the directory which also includes the "API Demos" directory) Nov 13 22:51:30 doing `adb install' seems to only add a entry to "package browser" under "Dev tools" Nov 13 22:58:18 davidw Nov 13 22:58:20 oops Nov 13 22:58:31 davidw: put your text file in res/raw/whatever.txt Nov 13 22:58:37 aha! Nov 13 22:58:38 Then do this: Nov 13 22:58:42 TextView tv = new TextView(this); Nov 13 22:58:43 InputStream is = getResources().openRawResource(R.raw.foo); Nov 13 22:58:53 well, skip the textview part :) Nov 13 22:58:56 copied 1 line too many Nov 13 22:58:59 muchas gracias! Nov 13 22:59:16 np Nov 13 22:59:23 er Nov 13 22:59:31 also that'll be R.raw.whatever in the example I gave Nov 13 22:59:40 a file in res/raw/foo.txt -> R.raw.foo Nov 13 22:59:47 res/raw/whatever.txt -> R.raw.whatever Nov 13 22:59:48 etc Nov 13 23:01:14 can they have different endings? like .py or .hcl or .rb or whatever? Nov 13 23:07:34 davidw: good question, I haven't tried that :) Nov 13 23:07:50 I'll let you know how it goes Nov 13 23:07:51 * morrildl wonders if davidw is trying to load .py files as text so he can pass them to e.g. Jython Nov 13 23:08:12 Hecl, but yeah, that's the idea Nov 13 23:08:13 * morrildl wishes he'd thought of that Nov 13 23:08:19 looks like you cant : Resource entry a is already defined Nov 13 23:08:33 that's how Hecl works on j2me Nov 13 23:09:15 I wrote a second tool that replaces the script.hcl file on the fly, so to speak, so you don't even have to redo the jar, really Nov 13 23:14:53 seems to work even with the .hcl extension Nov 13 23:16:30 so anyone have a idea how to launch a program from withing the emulator? Nov 13 23:16:40 go to Applications Nov 13 23:16:54 my program isnt there Nov 13 23:17:55 morning Nov 13 23:19:37 Lede: you're likely being bitten by a bug in ADT Nov 13 23:20:00 check your AndroidManifest.xml Nov 13 23:21:36 is line 8 in the file blank? Nov 13 23:21:53 jasonchen: i already edited it Nov 13 23:21:57 i added Nov 13 23:22:38 hmm, ok Nov 13 23:22:56 did you reinstall your app? Nov 13 23:23:18 yes with `adb install' Nov 13 23:23:52 hmmm Nov 13 23:24:10 you might try dropping into adb shell and deleting the app first Nov 13 23:24:43 and then restarting the emulator to see if that doesn't help Nov 13 23:26:19 just a quick question... are the xml files for Views translated runtime or compile time? Nov 13 23:27:15 pandora--: compile time Nov 13 23:27:38 parsed at compile time and interpreted at run-time Nov 13 23:28:28 anyone managed to land with lunar lander on hard? :d Nov 13 23:29:33 gotcha Nov 13 23:29:33 hi kong Nov 13 23:29:40 wassup Nov 13 23:34:42 ok... it loads and executes an 'exit' command that calls 'finish()'...good enough for now. Nov 13 23:40:14 jasonchen: it works now Nov 13 23:40:19 jasonchen: i have no idea why Nov 13 23:40:45 Lede: odd. what steps did you take? Nov 13 23:41:10 jasonchen: i got bored and started to edit icon.png and then tried it again haha! Nov 13 23:41:49 recompile, reinstall, restart emu that is Nov 13 23:42:27 got it Nov 14 00:09:12 woohoo! I can look up resources from Hecl... sleep time for sure now Nov 14 00:11:00 * Lede ->sleep(); Nov 14 00:11:33 good plan...snzzz Nov 14 00:18:11 anyone thought of using javafx on android? Nov 14 00:18:29 might be nice to do some of the graphics work in FX Nov 14 00:20:03 though, that's also a compile-time translation to UI... maybe that wouldn't mix so well Nov 14 00:21:28 pandora--: I think you have your 25k project. Nov 14 00:21:39 Port javaFX to android. Nov 14 00:22:03 hehehe i dont think so Nov 14 00:22:16 i already have a nice uber-flexible UI framework Nov 14 00:22:19 Have you tried to port any of your j2me apps yet? Nov 14 00:22:22 and I don't do it compile time Nov 14 00:22:39 my UI is driven from XML in runtime, which means the app can be updated on the fly with new UIs Nov 14 00:22:40 :-D Nov 14 00:23:03 Doesn't Android have xml driven ui? Nov 14 00:23:08 compile time though Nov 14 00:23:10 afaik Nov 14 00:23:14 :-( Nov 14 00:23:17 I'd love to port Zannel to android Nov 14 00:23:23 I will Nov 14 00:23:28 gotta get this rev. done though Nov 14 00:23:35 then... hell why not? Nov 14 00:23:41 Is that the synclast you're always talking about? The xml UI framework? Nov 14 00:24:03 I built a dynamic XML->UI framework on top of synclast Nov 14 00:24:08 as the underlying toolkit Nov 14 00:24:35 its all part of my Mobile Application framework thats going opensource next year, Claybox Nov 14 00:24:53 Yeah. I work in BB and I wanted to build a XML->UI framework for my app, but no one was interested in supporting my little project. Nov 14 00:24:58 well, not "my", but Zannel's Nov 14 00:25:06 I don't own it, I just wrote it :-P Nov 14 00:25:09 BB is poopy Nov 14 00:25:17 BB? Nov 14 00:25:23 poopy pays the bills :-) Nov 14 00:25:28 BB == Blackberry Nov 14 00:25:30 oh oh Nov 14 00:25:31 heheh Nov 14 00:25:44 zannel is != poopy, and does pay the bills Nov 14 00:25:45 w00000t Nov 14 00:25:56 Once you've done JavaScript for money, you realize you'll do anything for money. Nov 14 00:26:01 LOL Nov 14 00:26:03 BB isn't so bad by comparison. Nov 14 00:27:19 I'll watch for the Claybox announcement. Nov 14 00:27:32 Do you guys have a vaporware page yet? Nov 14 00:27:33 I can't wait to get it out to the world :) Nov 14 00:27:51 well, our web and wap products launched months ago Nov 14 00:27:54 those are live Nov 14 00:28:13 our mobile application (without giving any details of what it is away) is very close to launching Nov 14 00:28:30 we dont have an official announcment of it on our site though Nov 14 00:28:37 Claybox isn't affiliated with HOMBRE, is it? Nov 14 00:28:38 http://www.gethombre.com/ Nov 14 00:28:41 but, lots of carriers are waiting for it Nov 14 00:28:50 no, not in any way Nov 14 00:28:59 Claybox is purely Zannel property Nov 14 00:29:03 You guys are doing it wrong. You put up a web site with screen shots, then you start work on the framework. Nov 14 00:29:06 LOL Nov 14 00:29:11 my bad. Nov 14 00:29:21 this is why i'm an engineer and not in marketing ;) Nov 14 00:29:27 HOMBRE has the business model down. Lots of screen shots. Nov 14 00:29:44 I would love to show screenshots Nov 14 00:30:05 app is code complete. finishing QA... shh. Nov 14 00:30:20 Very cool. Nov 14 00:30:26 but as i said, Zannel WAP and Zannel Web are live and exploding Nov 14 00:30:32 its kinda crazy Nov 14 00:30:46 Yeah. I looked at the zannel web wap stuff earlier. Nov 14 00:31:19 the blue version or the yellow version? Nov 14 00:31:38 Wow. I even created an account. Nov 14 00:31:57 Looking at my browser, the log is blue Nov 14 00:32:03 gotcha Nov 14 00:32:05 "Zannel (beta)" Nov 14 00:32:10 yellow version is way back :) Nov 14 00:33:00 Did you work on the web or wap stuff? Nov 14 00:33:00 oh yeah.. you did join Nov 14 00:33:26 I volunteered on some web stuff for a short while to help out, but my sole purpose at zannel is j2me Nov 14 00:34:12 Do you have an army of j2me developers with you? Nov 14 00:34:21 I work alone on my project. Nov 14 00:34:41 thats probably hush hush :) Nov 14 00:34:50 but i'm the lead Nov 14 00:34:54 if that means anything Nov 14 00:35:12 What I mean to say, is that there are [NDA] developers on my team. Nov 14 00:35:30 I don't think legal for my company spends a lot of time in IRC. Nov 14 00:36:11 haha Nov 14 00:36:31 OK. I'm going home. Good night. Nov 14 00:36:38 catch ya later Nov 14 00:37:15 pandora--: the lead gets to spend a bit of quality time on irc :D Nov 14 00:37:40 we're a very IRC friendly company Nov 14 00:38:16 there's a handful of engineers and even founders that are always in IRC Nov 14 00:38:34 thats cool. can i work there? Nov 14 00:38:52 plus while i've been chatting here, i closed out a major bug fix. so it's all good. haha Nov 14 00:38:58 d03boy: in CA? Nov 14 00:39:21 i dont know. where do you work Nov 14 00:39:42 i want to work where everyone's on irc Nov 14 00:39:59 well, Zannel is based in san francisco Nov 14 00:40:14 though I (and some other engineers) live in los angeles Nov 14 00:40:38 ive been to LA once.. worst traffic on a friday night Nov 14 00:40:52 worst traffic on a * night Nov 14 00:41:06 anyone know of a good armel cross compiler integration into eclipse? I want to set up the toolchain on windows to cross-compile native C/C++ apps to run on the emulator. I can do it in the shell, but looking for eclipse integration (part of my learning eclipse task). Nov 14 00:41:09 thats why i usually work from home lol Nov 14 00:41:18 * pandora-- is coding on his couch right now Nov 14 00:41:32 traffic blows in LA Nov 14 00:41:44 d03boy: at my company we use IRC internally Nov 14 00:41:59 (as well as externally) Nov 14 00:42:00 rwhitby: don't know about arm, but I saw some docs on using CDT with the gcc-avr stuff, so I would assume it's probably similar Nov 14 00:42:45 * tlockney is coding in his recliner right now Nov 14 00:42:57 tlockney: ah, good point. I'll look into the embedded board support, but most of them I've seen previously require you to install special versions of CDT, rather than integrating nicely into an existing eclipse CDT installation. Nov 14 00:42:59 tlockney: niiiice Nov 14 00:43:17 i like my couch/office/wii-music setup Nov 14 00:43:30 * pandora-- listening to Tool on the Wii Nov 14 00:43:32 CDT will just use your own makefile if you tell it to Nov 14 00:44:01 pandora--: agreed. I'm in Portland, so traffic wouldn't be as bad, but working from home still beats driving/busing/biking to the office Nov 14 00:44:31 if I could bike/bus/public-transport to the office I would Nov 14 00:44:42 i usually go into the office 1-2 days a week Nov 14 00:45:01 I'm in like the one part of portland that *doesn't* have good public transport Nov 14 00:45:13 haha, well, thats ALL of los angeles Nov 14 00:45:14 but my office is in Austin, anyway, so... ;) Nov 14 00:45:22 haha Nov 14 00:45:31 "office", I should say Nov 14 00:48:30 is anyone else finding the android google group to have a very high degree of noise? Nov 14 00:51:58 guess it's just me then Nov 14 00:52:20 heh Nov 14 00:53:44 it wouldn't be so frustrating, but it doesn't look like the google devs are really participating much yet Nov 14 00:53:54 that or they're just overwhelmed (strong possibility) Nov 14 00:55:07 they're all busy selling their stock and buying small planets Nov 14 00:55:09 ;) Nov 14 00:56:09 I thought most of the people with great option packages had left already =) Nov 14 00:56:20 hopefully they're busy implementing a scripting language for android (such as scheme) Nov 14 00:56:56 so how far behind am I on the $10mil if I've only got a hello world program so far? Nov 14 00:57:03 d03boy: not too far Nov 14 00:57:15 don-o: good to see you here! ;~) Nov 14 00:57:22 tlockney: you too :) Nov 14 00:57:39 wonder how many other pdx folks are around Nov 14 00:57:54 might have to start a pdxandroid group Nov 14 00:57:55 i cant resist the mobile space. even if it is quasi-opensource :) Nov 14 00:58:22 tlockney: good idea. or maybe mix it in with dorkbot? Nov 14 00:58:41 pdx? Nov 14 00:58:44 don-o: same here man. Nov 14 00:58:48 pdx=portland Nov 14 00:58:58 is that the airport code? Nov 14 00:59:06 don-o: i'm excited just in a cool platform in mobilespace like this Nov 14 00:59:21 don-o: you're an active mobile-coder of sorts? Nov 14 00:59:44 d03boy: yep Nov 14 00:59:52 it's used for everything now, though Nov 14 01:00:20 pdx.rb (portland ruby brigade), pdx.py (python UG), dorkbotPDX (local dorkbot group), etc. Nov 14 01:00:41 mlk.rb :P Nov 14 01:01:16 tlockney: heh, it's mostly just because we don't have enough time to respond :) Nov 14 01:01:36 tlockney: I'm still like the #3 poster on there -- there's just so many threads I'm lost in the noise :) Nov 14 01:01:44 morrildl: you one of the google devs? (or perhaps better not give that info away in here, eh? ;~) Nov 14 01:02:06 morrildl: I figured as much, really Nov 14 01:02:08 ofcourse he is Nov 14 01:02:36 at least you seem to agree about the noise Nov 14 01:02:47 ;~) Nov 14 01:03:50 gotta run, mtg :) Nov 14 01:03:54 don-o: us dorkbot types are too busy having fun with arduinos to focus on anything else, heh Nov 14 01:05:26 wow, sure hope the android devs aren't on pacific time... 5pm mtgs suck Nov 14 01:06:04 unless there is food Nov 14 01:07:32 Can it run on Nokia 770s? Or e62? Nov 14 01:09:09 tlockney: I'm finding a low S/N ratio on the android-developers list - they need an android-discussion list first, and then bring in the developers list later. Nov 14 01:09:15 or a hp 49G+? Nov 14 01:09:42 rwhitby, i really dont see many updates. i must bemissing all the fun? Nov 14 01:09:56 pandora--: more of a mobile-dev wanna be. ive been in the openmoko camp for the last year. Nov 14 01:10:05 d03boy: you only need to subscribe to the developers blog for the updates Nov 14 01:12:06 well, even on the development side, there's far too many of the "why doesn't my hello android app work" type questions Nov 14 01:12:31 maybe they just need to keep adding to the FAQ and agressively point folks there Nov 14 01:13:06 point folks where? im assuming the google group? Nov 14 01:13:16 point folks to the FAQ Nov 14 01:13:24 oh, misread Nov 14 01:13:38 as the same (well, very similar) questions keep coming back up Nov 14 01:16:46 well, time to call it a day... back to hack later, I hope =) Nov 14 01:18:22 go Android Nov 14 01:19:37 go kong! Nov 14 01:19:44 hey kong, did you get it set up? Nov 14 02:14:03 anyone know how soon we can get our hands on a real android phone? Nov 14 02:14:10 2008 Nov 14 02:14:25 the latter half Nov 14 02:14:35 yeah? that long, eh? Nov 14 02:14:52 Yeah, 2008 is what I read, too Nov 14 02:15:24 I was a bit surprised that Nokia wasn't in the Open Handset Alliance Nov 14 02:15:29 hmm... well, that makes sense, I suppose Nov 14 02:15:37 this is a complex initiative Nov 14 02:16:07 but now that we have the sdk, I'm really anxious to see the apps on a real device Nov 14 02:16:35 of course Nov 14 02:17:37 I kinda wish they didn't do this core/optional APIs ... I can see it now, "whoops, your device doesn't support this one optional API ... sux to be you, but you are out of luck" Nov 14 02:18:09 GPS, accelerometer, etc. Nov 14 02:18:10 ? Nov 14 02:19:01 yeah, location / media / 3d graphics Nov 14 02:19:06 maybe they wnat to make people support it Nov 14 02:20:00 I would guess it's just too impractical to demand everyone implement all of that stuff Nov 14 02:20:45 why? Nov 14 02:21:28 well, there is still a demand for less-smart smartphones ;) Nov 14 02:21:50 and Google wants to have Android on as many devices as possible, right? Nov 14 02:21:59 tlockney: http://www.freertos.org/portLM3Sxxxx_Eclipse.html looks like some good instructions for using Sourcery G++ Lite with standard Eclipse Europa. Nov 14 02:21:59 if anything, this should help drive the price down Nov 14 02:22:07 yeah, but the people that buy those are your parents that call you in the middle of the night in hope of map assistance Nov 14 02:22:17 hehe Nov 14 02:24:42 lmao and just to say it, any "smart" app for my parents need to consist of just on button :D Nov 14 02:24:55 *one button Nov 14 02:41:33 but for every button you add you have 2^(n+1) options.. it can get crazy1231 Nov 14 02:42:16 While not directly realted to android, I am hoping someone can help me out....Is there a well known SMS/Text Message service out there that provides a solid API for sending out messages via my application? Nov 14 02:43:02 if an Internet server is sending the txt message, that would save the sender the SMS fee, right? Nov 14 02:50:21 is this the room for making kill-bots as part of the robot domination program Nov 14 02:50:31 :-P Nov 14 02:50:54 s/room/channel Nov 14 02:54:04 hehe Nov 14 02:58:57 rwhitby: thanks for the link! **** ENDING LOGGING AT Wed Nov 14 02:59:57 2007