**** BEGIN LOGGING AT Wed Nov 14 02:59:57 2007 Nov 14 03:01:19 BigCanOfTuna: check out clickatell, I've heard decent things about them Nov 14 03:03:58 hi! Nov 14 03:04:16 I'm trying to emulate android over gutsy with amd64. I have a exception Nov 14 03:04:18 anybody can help me? Nov 14 03:05:11 details Nov 14 03:05:24 d03boy, a paste of the output? Nov 14 03:05:32 pastebin.ca Nov 14 03:07:00 d03boy, http://pastebin.com/d67ec1247 Nov 14 03:08:54 xota: you just need to run the emulator binary under the tools dir Nov 14 03:09:03 tlockney, go see Nov 14 03:09:04 ie., ./tools/emulator Nov 14 03:09:24 oh yes! Nov 14 03:09:30 thx tlockney!!! ;) Nov 14 03:09:32 right, I saw your paste, but you're trying to run the android.jar, that's not what you need Nov 14 03:09:55 xota: np Nov 14 03:10:17 I've received a "beca" (economic help to development while I'm studying) Nov 14 03:10:51 i do that too Nov 14 03:11:25 and need to do a map of a building with route calc's Nov 14 03:11:38 do u think that is a good idea use android sdk? Nov 14 03:12:02 Well, what else would you use? Nov 14 03:12:03 is it something that needs to be run on a mobile phone anytime soon? Nov 14 03:12:27 is it a concept or real? Nov 14 03:12:29 or would it just be a proof-of-concept type thing? Nov 14 03:12:37 d03boy: jinx! Nov 14 03:12:54 is real Nov 14 03:13:00 and only on a mobile platform Nov 14 03:13:28 (at the moment, perhaps on the future a web aplication or in a university information point) Nov 14 03:13:44 UIP uses web application too Nov 14 03:13:58 it should be possible, I would think Nov 14 03:14:02 I need to calc's rutes and Nov 14 03:14:20 see interest point Nov 14 03:14:51 perhaps, If i go in the university and need to do some administrative task Nov 14 03:14:57 I need to go to secretary Nov 14 03:15:02 of course, you won't be able to run it on a real mobile for probably close to a year or so Nov 14 03:15:05 (for example) Nov 14 03:15:22 at least ~8 months, anyway Nov 14 03:15:35 so, If I don't know that this task don't be done on secretary Nov 14 03:15:37 no problem Nov 14 03:15:49 because I find a rute to go from my actual point Nov 14 03:15:59 to the point where I can do my task Nov 14 03:16:01 do u understand? Nov 14 03:16:07 sure..... Nov 14 03:16:09 my english isn't too good Nov 14 03:16:10 waypoints Nov 14 03:16:18 well, as for the algorithms and such, that's a different issue... Nov 14 03:17:02 tlockney, no problem for the time, If I can emulate it at the moment, and implement it on next year (2008/2009) Nov 14 03:17:39 xota: that's good. it'll give you time to perfect it, right? ;~) Nov 14 03:17:53 so, the google contest is over a emulator? Nov 14 03:18:07 for teh time being Nov 14 03:18:08 xota: at least the first phase is Nov 14 03:18:16 there are 2 phases to the contest Nov 14 03:18:39 first phase is 50 $25000 awards, but the second phase should take place after phones start coming out Nov 14 03:18:56 ok, any way, I go to try the emulator, and see how can do widgets to it Nov 14 03:19:25 it's a beatifull system ;D Nov 14 03:19:27 fuck iphone Nov 14 03:19:40 xota: I would spend a good bit of time with the docs they've provided. there's a lot of good stuff in there and the tutorials are helpful Nov 14 03:20:33 I'm curious if anyone has gotten an arm toolchain up yet and tried creating native apps? anyone in here, I mean... Nov 14 03:20:39 yes, I see it Nov 14 03:20:51 I think that It can be a good SDK Nov 14 03:21:18 I'm definitely excited about it... it's already keeping me from getting my actual work done ;) Nov 14 03:22:20 tlockney, perhaps u need to finished ur actual work, and then waste ur time on google SDK ;D Nov 14 03:22:34 do you guys have xp with j2me? Nov 14 03:22:51 xota: then I would miss out on all the fun! Nov 14 03:23:22 xota: the "actual" work is never done... :( Nov 14 03:24:29 tlockney, u need to use gnome planner ;D Nov 14 03:25:18 and try to find a balance over ur tasks ;) Nov 14 03:25:26 It's time to waste on anything Nov 14 03:25:31 xota: the problem is my boss needs to use a better planner... and then get realistic about assignments ;~) Nov 14 03:25:38 only be a question of a good planification lol Nov 14 03:26:10 well... I'm on Spain, now It's 4:25am so, I need go to sleep Nov 14 03:26:15 nice to meet u Nov 14 03:26:25 and thanks for all Nov 14 03:26:32 heh. g'night, xota! Nov 14 04:30:05 knock knock? Nov 14 04:30:47 hm? Nov 14 04:33:26 is there a list of API parts that are mandatory and those that aren't? Nov 14 04:37:21 bengl: no direct list I've seen, but you can dig it out from here: http://code.google.com/android/toolbox/optional-apis.html Nov 14 04:37:37 thx Nov 14 04:37:38 at least, I would assume anything not referenced there is mandatory Nov 14 04:38:17 what i'm wondering about is Runtime.exec() Nov 14 04:38:47 ah, good question Nov 14 04:39:35 i'd like to whip up a console (by calling up /system/bin/sh), but if i can't called exec() on your run-of-the-mill impmlementation, then i don't see any point bothering Nov 14 04:39:36 doesn't look like it's in the optional list, so I'd assume it's there Nov 14 04:40:28 http://code.google.com/android/reference/java/lang/Runtime.html Nov 14 04:40:32 are you specifically wanting a java based console? Nov 14 04:40:36 yeah, was about to send you that Nov 14 04:40:41 "This class, with the exception of the exec() APIs, must be implemented by the VM vendor." Nov 14 04:40:53 heh, just read the same Nov 14 04:40:55 that's not very friendly to me Nov 14 04:41:33 huh, might be worth checking that Harmony class referenced Nov 14 04:42:43 which doesn't show up here http://code.google.com/android/reference/packages.html Nov 14 04:42:53 yeah, strange... Nov 14 04:43:13 I haven't explored the classes provide much yet Nov 14 04:43:32 might be worth asking on the mailing list... and cross your fingers that someone answers ;~) Nov 14 04:44:04 yeah, um, that mailing list looks like a 5th grade classroom Nov 14 04:44:14 no comment Nov 14 04:44:39 (I was making a similar point earlier today) Nov 14 04:44:48 (guess that's a comment, eh?) Nov 14 04:44:57 yeah Nov 14 04:45:01 (yes) Nov 14 04:46:22 i think i'm gonna take a look at how hard it would be to port Rhino Nov 14 04:46:22 i almost wanna post something like this http://forums.oracle.com/forums/thread.jspa?threadID=499980&start=0&tstart=0 Nov 14 04:47:49 rhino would be wonderful to have Nov 14 04:49:18 yeah, all of a sudden we'd have a useable scripting language Nov 14 04:49:46 of course i've seen people talking here about jython, etc. Nov 14 04:53:01 jython would probably work well, too, but rhino would be my preferred choice Nov 14 04:58:14 i wonder if anyone has done jython or rhino on android already? Nov 14 05:28:04 anyone use code profilers with eclipse? any free suggestions? Nov 14 05:52:55 * jasonchen is wondering what other developers are doing w/ the SDK Nov 14 05:54:19 jasonchen, hacking around? Nov 14 05:54:38 mypapid: right on; doing anything interesting? Nov 14 05:55:01 err, mypapit :-) Nov 14 05:56:48 jasonchen, just back from lunch, i'm figuring out to work more stuff with android Nov 14 05:57:26 jasonchen, i hope htc would release a runtime for its previous product.. i'm a htc user Nov 14 05:59:47 mypapit: cool. i'm glad to hear that you're getting familiar with the SDK Nov 14 06:01:12 hope the actual product appearance doesnt look as lame as some j2me implementations Nov 14 06:02:45 mypapit: what do you mean, exactly? Nov 14 06:04:33 jasonchen, different implementation trying too hard to look like exactly the same application, making the application looks lame compared to native app Nov 14 06:04:55 my java's far out of practice, string concatenation is +, right? Nov 14 06:05:07 bengl, yes Nov 14 06:05:10 bengl: yes Nov 14 06:05:23 thx Nov 14 06:06:07 jasonchen: I'm trying to get eclipse to use the CodeSourcery EABI win32 compilers to produce native C executables that will run on the Android platform. Nov 14 06:06:28 rwhitby: you're industrious :-) Nov 14 06:06:54 well, I need to work out how to do that for another platform anyway, so I might was well use Android as a test case :-) Nov 14 06:07:10 wouldnt gcj work better? Nov 14 06:07:20 jasonchen: you've seen the busybox compilation that Ben did? Nov 14 06:07:58 rwhitby: feel free to play around and see if you can get it running, but there's no official support in the framework accessing your own native libraries, yet Nov 14 06:08:15 rwhitby: yes, i think i caught that thread Nov 14 06:08:57 jasonchen: I'm keeping a blog entry up to date with the native efforts at http://www.rwhitby.net/blog/category/android Nov 14 06:09:18 jasonchen: and yes, we all understand that native is not supported. Nov 14 06:10:06 jasonchen: Is my assumption that any native code would need to be via Java JNI, so it didn't break out of the security, backstack, and memory management framework a correct assumption? Nov 14 06:10:22 rwhitby: yep, that's correct Nov 14 06:10:41 can I quote you on that ;- Nov 14 06:10:52 ) Nov 14 06:11:10 (just kidding, we all know anything said on IRC is off the record) Nov 14 06:11:37 hehe Nov 14 06:11:52 rwhitby: let me just say that it would be reasonable to assume that the Quake demo wasn't done by porting it all to Java Nov 14 06:12:02 :-) Nov 14 06:12:32 jasonchen: was the security aspects (and being able to explain them to executives) a significant factor in choosing java, or where there other technical aspects which overshadowed the obvious security benefits? Nov 14 06:13:41 hello, what kinds of program language android support? Nov 14 06:13:47 c, c++ or java Nov 14 06:13:59 peteryang, java Nov 14 06:14:22 primarily Nov 14 06:14:28 rwhitby: seeing as you're working a bit with the android console, have you tried Runtime.exec()? Nov 14 06:14:32 i use java do server side stuff. and also some j2me for mobile. But does java really works on mobile? Nov 14 06:15:55 rwhitby: well, there are reasons for having android apps written using the Java language that go beyond the security. for example, Dalvik let's you as an app developer not have to worry about what kind of chip is running on the phone Nov 14 06:16:27 jasonchen: sure, there's the portability aspect. Nov 14 06:16:58 jasonchen: were there any "Java is too slow, it must be done in C/C++" advocates inside the Android group, or was everyone already a convert? Nov 14 06:17:08 peteryang, yes it does Nov 14 06:17:13 (for applications, that is, not for the core libraries) Nov 14 06:17:34 any google engineers around in this chat room? Nov 14 06:17:46 there were Nov 14 06:18:11 we've got jasonchen up in hizzle Nov 14 06:18:37 who is from google android team? Nov 14 06:18:38 :-) Nov 14 06:19:11 rwhitby: there's people w/ lots of different language biases on the team, but i think we all recognize that there's a tremendous number of mobile developers who are familiar with the Java language Nov 14 06:19:57 rhwhitby: so technical reasons aside, we all recognized that that community would be a tremendous target developer market Nov 14 06:19:57 languge is not a matter. business success is more important. Nov 14 06:20:09 agreed :) Nov 14 06:20:26 peteryang: as d03boy mention, i'm a developer advocate from google Nov 14 06:20:54 jasonchen , are you from android team of google? nice to meet you. i am new Nov 14 06:20:58 jasonchen: are you guys kicking yourselfs that you didn't start two lists - one for general discussion and one for bonafide developers, or are you happy to have it all in one list and just use google to search it ;-) Nov 14 06:21:20 rwhitby: you're just full of questions tonight. :-) Nov 14 06:21:25 it's a real firehose of low S/N ratio at the moment :-) Nov 14 06:21:34 we'll call it... an interview :) Nov 14 06:21:42 rwhitby: we were just talking about that this afternoon and look for us to do a few things to increase the S/N in the coming days Nov 14 06:22:08 peteryang: welcome, peter Nov 14 06:22:12 jasonchen: I understand that if you don't answer any, then it's something you can't answer. While you keep answering, I'll keep asking :-) Nov 14 06:22:48 rwhitby: good. i hope we can maintain that understanding w/ everyone here. Nov 14 06:22:58 Since I run a big open source project myself (nslu2-linux.org), I'm interested in not only the technical aspects of Android, but also the open source project dynamics, and how Google is handling those. Nov 14 06:23:41 e.g. the "let's keep it civil" posting from dsm(sp?) earlier today was a good move. Nov 14 06:24:26 thanks. we're trying to keep things free flowing and not be too over-bearing Nov 14 06:24:49 please dont allow the use of C/C++ Nov 14 06:25:19 rwhitby: so i'm glad that went over well Nov 14 06:25:58 can complex app run on android? Nov 14 06:26:04 jasonchen: in my eyes it was the right tone and timing. Nov 14 06:26:12 peteryang: what's your definition of complex :-) Nov 14 06:26:28 * jasonchen thinks that peteryang hasn't seen our demo videos Nov 14 06:26:30 in other words, does android support multiple thread, concurrent running multiple apps .. Nov 14 06:26:44 yes, i am searching demo Nov 14 06:26:45 peteryang, its got the linux! Nov 14 06:26:46 any link? Nov 14 06:26:55 peteryang: http://code.google.com/android/ Nov 14 06:27:04 peteryang: you can start digging in there Nov 14 06:27:08 peteryang: debug a sample application on the emulator using the eclipse integration, and you will see lots of processes and threads :-) Nov 14 06:27:32 which one is the most complex demo? Nov 14 06:27:40 and the video demo with the burning applications (2 of 3 I think) is a good explanation. Nov 14 06:28:07 * rwhitby loved the way that those reclaimed processes just burned away on that video. Nov 14 06:28:17 i cannot find the vedio demo Nov 14 06:28:18 peteryang: also, this page provides an overview of the Android platform - http://code.google.com/android/what-is-android.html Nov 14 06:28:22 pls post eh lnk Nov 14 06:28:37 http://youtube.com/android Nov 14 06:30:43 http://www.youtube.com/watch?v=ITfRuRkf2TM is the application burning one Nov 14 06:30:48 YouTube - Androidology - Part 2 of 3 - Application Lifecycle Nov 14 06:31:44 jasonchen: I find it rather interesting that the sdk actually gives you the tools to load native apps, not exactly trying to prevent them ;~) Nov 14 06:32:47 rwhitby: I tried building an example using Ben's approach and it wouldn't run. haven't figured out why, yet Nov 14 06:33:09 rwhitby: I'll be curious if you have better luck Nov 14 06:34:14 how would i show a stack trace on the emulator screen? Nov 14 06:35:01 tlockney: if you do a "file busybox", you'll notice Ben's binary is statically linked Nov 14 06:35:22 eno: have you run the busybox you built? Nov 14 06:35:34 android is using their own libc Nov 14 06:35:36 eno: I've got his busybox build working Nov 14 06:35:50 I'll check it out Nov 14 06:35:58 bengl: you can get the full exception via adb logcat Nov 14 06:36:13 i've built statically linked busybox this morning and it runs fine Nov 14 06:37:03 I just tried building a simple hello world app like he described here (http://benno.id.au/blog/2007/11/13/android-native-apps) and it wouldn't run Nov 14 06:37:08 tlockney: you'll need to use "-static" during link Nov 14 06:37:21 yeah, I'm going to give that a shot now Nov 14 06:37:28 shoudl have been obvious Nov 14 06:38:21 the easiest way to build busybox, is to use nslu2-linux optware cs07q3armel-target Nov 14 06:38:56 jasonchen: interesting, thx Nov 14 06:39:02 eno: woohoo! success! Nov 14 06:39:51 eno: that would have driven me crazy... I'm out of practice and then some with C... time to reread K&R, I guess ;~) Nov 14 06:39:54 i cannot find any API related to phone native functions. like phone call, sms, contact/addressbook etc... Nov 14 06:40:19 eno: do we have an optware target that static links by default now? Nov 14 06:40:34 peteryang: http://code.google.com/android/reference/packages.html Nov 14 06:41:04 eno: anything stopping us doing an android feed for optware? Nov 14 06:41:27 thanks.. Nov 14 06:41:33 now to dig up the native graphics apis... ha Nov 14 06:41:43 peteryang: in particular, http://code.google.com/android/reference/android/telephony/package-summary.html and http://code.google.com/android/reference/android/telephony/gsm/package-summary.html Nov 14 06:41:44 static link won't get us very far, it can build hello, it can build busybox Nov 14 06:42:06 but most package depends on dynamic link Nov 14 06:42:30 eno: yeah, that hello binary was 568k. ouch! Nov 14 06:43:16 eno: can we load up our own libc instead of dynamic linking against the stock lib? Nov 14 06:43:32 all these api are compulsary? Sun Microsystem make lots of j2me api optiional, it makes lots of compatibility issues Nov 14 06:44:20 rwhitby: that should be possible, but i'm not sure how useful it is without interacting with dalvikvm Nov 14 06:44:40 eno: sshd? Nov 14 06:45:20 then lighttpd running as root, serving up the onboard files ... Nov 14 06:45:51 what is the version of the jvm? Nov 14 06:46:09 how can i launch apps from the console? (./emulator -console) Nov 14 06:46:41 yeah, sshd is nice Nov 14 06:46:43 peteryang: since it's a custom jvm (dalvik), does the version really matter? Nov 14 06:47:03 version is not matter. just get some idea about the capability of the jvm Nov 14 06:47:14 eno: we should be able to do a static dropbearmulti. Nov 14 06:47:39 any document on dalvik JNI API? Nov 14 06:48:49 jasonchen: is the dalvik JNI API standard or custom? Nov 14 06:49:36 rwhitby: sorry, i can't comment on that Nov 14 06:49:50 jasonchen: np, understood. Nov 14 06:50:44 jasonchen: any chance of JNI details this year, or should be plug on with the native compiling? Nov 14 06:50:44 I have a few basic View and Layout questions if someone has a moment. Specifically, how do I set RelativeLayout attributes without defining them in XML? Nov 14 06:50:53 s/be/we/ Nov 14 06:51:07 I saw the constants, but I could not see how to apply them to the interface anywhere. Nov 14 06:52:31 Has anyone worked with this before? Nov 14 06:53:25 Or, alternatively, it would satisfy my requirements to simply see List4.java (the API demo sample) done using XML views. I am trying to switch that to using a more advanced RelativeLayout, and am running into trouble working with the programmatic method on that class. Nov 14 06:54:04 List4.java has a comment that it could have been done with XML, but so far the only thing I have seen is the setContentView() method, which cannot be applied in this context. Nov 14 06:54:17 I must be missing something simple, I hope someone can help :\ Nov 14 06:54:27 rwhitby: i can't really say much more about native code and 3rd party apps other than that the team knows you all are _very_ interested in it Nov 14 06:54:38 ok, thx Nov 14 06:57:23 Hmm, has no one looked at this yet? :) Nov 14 06:58:15 the most advantage of android(compare to j2me) is that you can access sim identity. the challenge is that how to avoid the problem encounted by j2me(compatibility issue) Nov 14 06:58:31 jasta: worked w/ Android? i have. Nov 14 06:58:40 jasta: but then again, i've had a headstart :-) Nov 14 06:58:51 jasonchen: Do you know anything about the problem I mentioned above? Nov 14 06:59:20 I'm trying to develop a hello world (silly little File Manager to explore the filesystem in the GUI), but the RelativeLayout I want is giving me grief. Nov 14 06:59:58 jasta: are you getting an exception or is it just not laying out the way you want? Nov 14 07:00:17 jasonchen: Well, I can't even figure a way to express what I want, so nothing runtime at all yet. Nov 14 07:00:41 * jasonchen is looking back at the List4.java example to see what jasta's referring to Nov 14 07:00:44 Specifically, the RelativeLayout class does not seem to offer a programmatic alternative to the full range of features exposed by the XML layout constructs. Nov 14 07:01:04 That is, the XML attributes have no programmatic counterparts that I can see how to use. Nov 14 07:03:17 An alternative strategy to what I would is to simply use the XML resource method, but I can't see how to do that either being that my situation is more complex than simply calling setContentView from an Activity. List4.java mentions that this should be possible, but of course doesn't show me how :) Nov 14 07:03:37 line 374 mentions this, btw. Nov 14 07:04:48 jasta: have you taken a look at http://code.google.com/android/reference/android/widget/RelativeLayout.LayoutParams.html ? Nov 14 07:05:33 Yes, scoured all around that area as well. I do not see how to apply the XML attributes without using the XML resource approach. Nov 14 07:06:18 the constructor with AttributeSet attrs doesn't seem like the right place to go. Nov 14 07:07:05 But, again, I am fine using the XML resource approach, but I also do not know how to apply that approach in this case either. I've hit a dead-end for sure. Nov 14 07:07:24 hmmm, i think i need to see some code to get context on what you're trying to do Nov 14 07:07:57 jasonchen: It's simple really, I might be communicating this poorly. Go to, line 374 or so. Nov 14 07:08:07 There is a comment that says "They could also have been specified in an XML file". Nov 14 07:08:31 ...but how? :) Nov 14 07:08:55 moin Nov 14 07:09:51 I can imagine how I can express the view I am after with the XML resource, but I cannot imagine how to apply it in this case (a specialized view used by a custom adapter class). Nov 14 07:12:06 Imagine a list that each element would have two left-aligned labels and one right-hanging one. I am trying to implement that layout. My thought was to use something similar to List4.java, but to modify SpeechView (in this example) to extend RelativeLayout, instead of LinearLayout. Nov 14 07:12:23 But RelativeLayout's special attributes seem to be offered only by the XML approach. Nov 14 07:12:33 And the XML approach doesn't seem applicable in this case, despite what List4.java suggests. Nov 14 07:13:53 Am I making sense at all? :) Nov 14 07:15:33 yes, you're making sense Nov 14 07:15:47 and i could swear that we have an example that speaks to this Nov 14 07:16:34 I searched very hard before coming here. I at least could not find it... Nov 14 07:17:45 Now, if there was a way to access a View object at run-time using the XML resource, I think I could solve this quickly. Nov 14 07:18:16 I would extend a basic layout and then just request the RelativeLayout all rolled up how I want it as a View to add using addView(). Then I'd access the individual text items and setText() as I need. Nov 14 07:19:28 is anyone summarizing the irc log? I'm interested in running SDK binaries on a real cpu. has anyone done that? Nov 14 07:20:03 a list of kernel module requirements would be nice to have Nov 14 07:21:13 jasta: so, the constants that you see defined in the LayoutParams inner class (i.e. what you could use via XML) are also constants defined in RelativeLayout Nov 14 07:21:50 Yes, I saw the constants I was looking for. I just could not see a sufficient interface to apply them meaningfully. Nov 14 07:22:01 At least nothing that seemed to be an analogy to the XML resource. Nov 14 07:30:16 jasonchen: Is this a legitimate problem with the SDK or documentation you think? Nov 14 07:30:44 * jasonchen thinks is this is simply a problem of jasonchen's head not working this late in the day Nov 14 07:31:06 it's something obvious that i'm just overlooking at the moment Nov 14 07:31:38 That's how I am feeling too, but only because I am confident that such an omission could not be possible in the SDK... Nov 14 07:39:23 jasonchen: still nothing? Nov 14 07:39:53 I wish there was a way to return a View from an XML resource. That would happily allow me to ignore this problem. Nov 14 07:42:26 jasta: you mean programmatically reference a View that you've defined in XML? Nov 14 07:42:38 Yes. Nov 14 07:43:18 Then I could just define the RelativeLayout in XML, and use addView to add the one I retrieved. That way I could just set the XML attributes in the XML resource. Nov 14 07:44:34 right, so i think i'm grokking what you're trying to do Nov 14 07:44:39 and here's how you'd do that Nov 14 07:45:14 But still, if Google claims that the XML resource is an optional way to do things, it should actually be optional :) Nov 14 07:45:43 define the RelativeLayout that you want via XML in the res/layout folder (e.g. my_layout.xml) Nov 14 07:46:24 then in your Activity, you want to make a call to setContentView() and pass R.layout.my_layout -- for example. Nov 14 07:47:13 jasta: yes, the doc need to be fleshed out on how to do programmatic construction of UI's Nov 14 07:47:33 jasta: but you can see what method we _prefer_ to use in our own practice/construction Nov 14 07:48:03 jasonchen: I don't believe that will work. Remember, my Activity uses a custom ListAdapter, and that custom ListAdapter uses in turn another custom view that provides the row layout I want. Nov 14 07:48:47 jasonchen: setContentView, therefore, is not sufficiently generalized. I would need a way to actually return the View (without actually applying it anywhere yet). Nov 14 07:49:23 that was my earlier point about List4.java claiming the XML approach was possible. I don't believe it is possible. Nov 14 07:49:39 Or at least the documentation is not helping me figure out how :) Nov 14 07:50:03 jasta: let me look into this tomorrow morning when i get into the office Nov 14 07:50:15 Sure, I didn't mean to hound you :) Nov 14 07:50:48 Should I just come back tomorrow? Or should we move this to an e-mail or Google Groups thread? Nov 14 07:52:37 we'll follow up via email Nov 14 08:16:08 good morning Nov 14 08:22:13 <[AD]Turbo> hi there Nov 14 08:22:28 good morning Nov 14 09:43:04 morning Nov 14 09:48:46 hello people Nov 14 09:48:49 good morning Nov 14 09:49:20 are there any guys from the Android project here? I mean, if I see a bogus in the documentation, should I spit it out loud here? Nov 14 09:57:31 hi Nov 14 10:04:08 rustre: there are some people here but i don't know if they are around Nov 14 10:04:48 soulreaper: shall I spit it out there then? Nov 14 10:05:09 it's no big deal, just a "tip note" in the doc which isn't displayed in the correct "section" Nov 14 10:05:15 rustre: don't know. i guess the best place to do so is the mailinglist Nov 14 10:07:01 soulreaper: yeah, sure, I guess i'll drop a mail then ;) Nov 14 10:07:08 :) Nov 14 10:09:32 there is a mailinglist? Nov 14 10:09:52 or did you mean the newsgroup? Nov 14 10:09:59 Lede: well, the newsgroup i believe Nov 14 10:10:12 ok Nov 14 10:10:27 yeah Nov 14 10:15:39 Why don't they have a proper bugzilla? Nov 14 10:16:09 Where you can add bugs to the documentation or emulator or libs and so on Nov 14 10:18:10 fill in a feature request, oh wait! Nov 14 10:18:18 paradox :p Nov 14 10:21:08 there was a video I watched a little while ago where some dude was giving a simple app creation turorial, I can't seem to find it anymore.. Nov 14 10:22:20 on youtube? Nov 14 10:22:37 right Nov 14 10:23:00 http://www.youtube.com/watch?v=I6ObTqIiYfE Nov 14 10:23:06 YouTube - A first hand look at building an Android application Nov 14 10:23:12 thanks :) Nov 14 10:23:50 i was about to paste Nov 14 10:24:20 the strange thing is that it doesnt show up on this page http://youtube.com/user/androiddevelopers Nov 14 10:24:58 user page of that video that is Nov 14 10:49:48 the xml editor for layout files always shows me errors Nov 14 10:50:06 but there is no error :) Nov 14 10:50:40 cutmasta: same here, but I wouldn't worry too much about that, must be a bug in eclipse Nov 14 10:50:48 eclipse is a pain .) Nov 14 10:50:54 rustre, yes Nov 14 10:51:07 because i know xml and how to close tags and so on Nov 14 10:51:13 :) Nov 14 10:51:53 rustre, i currently try to build an app like http://code.google.com/android/devel/ui/xml.html Nov 14 10:52:00 simplest xml :) Nov 14 10:53:08 but eclipse xml editor does not like it Nov 14 10:55:18 Error: Integer types not allowed (at 'padding' with value '10'). Nov 14 11:33:21 does anyone know what "SGL", the 2D engine for android, is? Nov 14 11:35:39 probably a misspelling of SDL :) Nov 14 11:43:42 this one? Nov 14 11:43:45 -> http://www.leweyg.com/download/SIRD/SGL.html Nov 14 11:45:04 or this one? -> http://sgl.sourceforge.net/ Nov 14 11:58:53 I don't think it's a type of SDL because we have libsgl.so in the SDK env. Nov 14 12:03:59 unfortunately, the lib is stripped but it seems to be writen in C++ Nov 14 13:37:52 hello Nov 14 13:53:52 i got my app in the application menu Nov 14 13:54:04 does somebody know how to register it on the home screen? Nov 14 13:54:10 which must be added to manifest xml Nov 14 13:54:12 ? Nov 14 13:54:22 what must be added to manifest xml= Nov 14 13:54:31 custmasta: i'm just about reply to a thread on the mailing list about this Nov 14 13:54:44 jasonchen, ok, i`ll read it there Nov 14 13:54:45 thx Nov 14 13:54:55 but it's a known issue w/ ADT Nov 14 13:55:07 if you take a look, there's a blank line Nov 14 13:55:41 in the AndroidManifest.xml file Nov 14 13:56:03 ? Nov 14 13:56:09 you'll need to replace the blank line w/ Nov 14 13:56:17 Nov 14 13:56:20 i added it Nov 14 13:56:30 but i only see the app under the Applications folder Nov 14 13:56:41 same here Nov 14 13:56:50 i want to see it next to the browser icon on the home screen Nov 14 13:56:52 :) Nov 14 13:57:01 oh, you're talking about the app launching menu on the home screen Nov 14 13:57:19 jasonchen, yes, sorry that i did not made this clear Nov 14 13:57:28 no worries Nov 14 13:57:46 hold on, let me dig up where that setting is controlled Nov 14 13:58:05 ? Nov 14 13:59:07 ok, that did not the trick :) Nov 14 13:59:26 sheez...snowing again Nov 14 14:01:53 lol Nov 14 14:02:11 with .MAIN you can override the default home :) Nov 14 14:02:13 nice Nov 14 14:02:38 cutmasta: we weren't kidding when we said even the home screen is just another app :-) Nov 14 14:03:03 janole1, now i have " home" and "myapp" instead of the default home after booting Nov 14 14:03:08 jasonchen, , now i have " home" and "myapp" instead of the default home after booting Nov 14 14:05:33 cutmasta: hmmm, i don't think you can add your app to the home screen right now Nov 14 14:06:09 jasonchen, ok, good to know, so i dont have to waste time on it Nov 14 14:09:38 jasonchen, will future version of the dalvik vm support hot code replacement? Nov 14 14:10:30 cutmasta: i don't know, actually. let me ask the VM team about that later today. Nov 14 14:10:41 ok thx Nov 14 14:12:47 jasonchen: there is this weird bug where icon's seem to mix up between different programs i made Nov 14 14:13:03 sometimes it shares the icon Nov 14 14:13:34 Lede: hmmm, that doesn't sound right Nov 14 14:13:56 like someone said earlier today, why is there no bugzilla? Nov 14 14:15:57 Lede: we're working on a solution for bug reports :-) Nov 14 14:16:28 Lede: but in the meantime, can you send an email to the list describing exactly how to replicate the problem? Nov 14 14:16:49 sure Nov 14 14:16:55 Lede: if you start the Subject: line with "Bug Report:" we'll pick it up quickly Nov 14 14:16:58 Lede, i know from own experiences how it take to make something opensource incl. all that stuff like bugzilla Nov 14 14:19:10 especially when you're a big company filled with really smart people - then you have to create your own system because the existing ones suck too much;-) Nov 14 14:19:22 heh Nov 14 14:19:26 :) Nov 14 14:19:38 lol, lot of ppl on thus channel Nov 14 14:19:52 hi all Nov 14 14:20:03 The GPhone OS doesn't have OpenGL, does it? Nov 14 14:20:25 is 'lol' like the new greeting or something? lol everyone. lol davidw Nov 14 14:21:22 ;> Nov 14 14:23:59 lol @ lol Nov 14 14:24:20 meteors: according to the video there is opengl ES 2.0 support Nov 14 14:24:44 Morning all in the CDT time zone! Nov 14 14:24:53 wow, interesting Nov 14 14:24:54 thanks Nov 14 14:25:00 it does software rendering when there is no hardware for it on a given device Nov 14 14:25:14 cool Nov 14 14:25:51 Question: Would Android be able to be ported to the OpenMoko Neo1973? Nov 14 14:28:11 anyone know how to do logging, offhand? Nov 14 14:28:26 ConsoleHandler isn't doing anything Nov 14 14:30:14 this traceview thing looks cool, bt that's not what I want either Nov 14 14:37:16 android.util.Log is what I was looking for Nov 14 14:56:51 dammit... they ocassionally put salsa music in english on this shoutcast thing... that's bogus Nov 14 15:04:18 can i install android onto my pocket pc which has installed windows mobile at the moment? Nov 14 15:06:35 Kenny_, if you are a badass hacker, maybe Nov 14 15:07:17 so, android only comes with new smartphones? Nov 14 15:07:45 it doesn't ship anywhere, yet Nov 14 15:08:36 android comes with an emulator your can download. period. Nov 14 15:08:39 guys, anyone ran through the tutorials? and especially, the NotepadV2 ? Nov 14 15:09:12 * davidw bicycled through the tutorials Nov 14 15:18:00 is there a flash playr to the android browser ? Nov 14 15:26:16 sethibr: no Nov 14 15:26:29 rustre: i've been through them once or twice Nov 14 15:27:42 aha... it doesn't like being called from another thread, dammit Nov 14 15:28:17 davidw: let me guess...are you attempting to update your view from a child thread? Nov 14 15:28:40 yeah Nov 14 15:29:10 davidw: we've documented an idiom to handle this Nov 14 15:29:12 jasonchen: ok, was wondering if i was the only one having small glitches, ikle bugs and stuff ;) Nov 14 15:29:43 davidw: basic idea is that you create a Handler in the main/UI thread for your child thread to post back to Nov 14 15:29:50 * jasonchen is digging up the link in the doc Nov 14 15:30:05 hrm hrm hrm... Nov 14 15:30:17 jasonchen: how cool is it to work for google/open handset alliance ? Nov 14 15:30:26 :) Nov 14 15:30:29 are you hiring? :D Nov 14 15:30:35 he's not going to tell you if it sucks;-) Nov 14 15:30:57 don't imagine it does though... you could find other jobs in that area in no time flat Nov 14 15:30:58 davidw: i love coming to work everyday; it's awesome Nov 14 15:31:20 davidw: in the "mobile" area? really? Nov 14 15:31:27 rustre, no, in the "bay" area Nov 14 15:31:31 i'm looking for a new job, and would love working in this area Nov 14 15:31:39 "bay" area? sorry, i don't understand :s Nov 14 15:31:49 the san francisco bay area in the united states Nov 14 15:31:58 where google is located Nov 14 15:31:59 oh ok, sorry :/ Nov 14 15:32:43 rustre: we've actually got offices all over the world, but davidw is right. google started in mountain view, california Nov 14 15:33:14 davidw: http://code.google.com/android/kb/commontasks.html#threading covers threading and updating UI Nov 14 15:33:24 cool, thanks! Nov 14 15:34:15 yw Nov 14 15:34:38 jasonchen: any hiring in your branch? for the android project or related? Nov 14 15:35:03 rustre: it's been a while since i ran through the tutorial, so i can't remember if i've hit any snags Nov 14 15:35:35 rustre, see google jobs online Nov 14 15:36:08 rustre: check out http://google.com/jobs if you're interested in applying Nov 14 15:36:20 thanks jasonchen/cutmasta Nov 14 15:36:34 * jasonchen would like to keep the discussion in here focused on Android Nov 14 15:37:01 rustre: what sort of problems were you running in to w/ the tutorial? Nov 14 15:37:41 jasonchen: nothing really bad actually, and I can't seem to be able to reproduce Nov 14 15:37:49 when running the "NotepadV2" tuto Nov 14 15:38:20 hmm, ok Nov 14 15:38:22 at the end, when running the app, I couldn't "highlight" the items, i could either click (with the mouse, on the emulator) an item (which would open the notes editor) Nov 14 15:38:35 either use the menu (so add or delete) Nov 14 15:38:51 and if delete was pressed, it would just delete one item (not sure if it was a random one, or the first one) Nov 14 15:39:04 i've opened tutorialv1 on eclipse and I got the "Syntax error, parameterized types are only available if source level is 5.0" what does that mean ? Nov 14 15:39:15 I restarted the app, and the items where correctly "highlighted", so I could switch between them, to "select" one, and delete it Nov 14 15:39:52 rustre: odd. you can't recreate it? Nov 14 15:39:57 jasonchen: can't seem to reproduce the issue though... also there's a small glitch in the the tuto for the notepadV2 Nov 14 15:40:02 no, just can't, don't know why :( Nov 14 15:40:11 rustre: what's the glitch? Nov 14 15:40:24 sethibr: what JDK is installed on your machine? Nov 14 15:40:38 well, on the right, you sometimes have a "side note" (displayed on a yellow background) Nov 14 15:40:52 the first one being "starting other activities" Nov 14 15:41:10 jasonchen: I think the last one, I've downloaded it right now Nov 14 15:41:20 however, I believe this side note should be one section below, as it doesn't seem related to what's discussed in the "step 4" section, but rather in the "step5' Nov 14 15:41:23 solved, sorry Nov 14 15:43:07 sethibr: that particular error usually results when you have eclipse set up to compile your project using JDK 1.4 (or older) Nov 14 15:43:36 ok, thanks Nov 14 15:43:40 sethibr: right clicking and using the "fix project properties" tool in the Android Tools menu should fix it Nov 14 15:43:46 jasonchen, do you know if the xmpp api works with current sdk , so that i can start connect to an own jabber server ? Nov 14 15:43:48 sethibr: but sounds like you resolve the issue Nov 14 15:43:59 :D Nov 14 15:44:22 rustre: taking a look now.... Nov 14 15:44:41 jasonchen: not a big deal ;) just thought I'd tell Nov 14 15:45:11 jasonchen: Just a curious question, your issue tracker points to the android-developers group. Is that really the most efficient way to track bugs or patches or requests? Nov 14 15:46:24 rustre: good catch; i'm filing that as a bug for us to fix Nov 14 15:46:34 jasonchen: great ;) Nov 14 15:46:45 might find some more, soon, as i'm still going through the doc :D Nov 14 15:46:53 anyway, i think that's enough for me, for today ;) Nov 14 15:46:56 see ya Nov 14 15:47:09 rustre: bye Nov 14 15:53:56 cutmasta: i believe the answer is no. but you can federate w/ our XMPP servers to get the same effect Nov 14 15:54:51 CM: it's likely not. :-) we're sorting out how to manage bug reports and hope to have a better solution in place soon Nov 14 15:55:06 CM: did you have something specific to report? Nov 14 15:55:16 Ok, just wondering. Poor you guys, you must be overwhelmed Nov 14 15:55:44 jasonchen: Nothing major that's not already in the group :) Nov 14 15:56:12 CM: we're very pleased w/ the interest that people have shown Nov 14 15:56:18 jasonchen, im currently trying to connect but dont get a clue how with the api docs Nov 14 15:56:29 Had some trouble creating a new Android project in eclipse first because I didn't set a proper com.examle.name thing Nov 14 15:56:51 Just got a red cross, no next button and so on, but some guy here helped me along :) Nov 14 15:57:41 cutmasta: have you taken a look at the XmppDataMessageReceiver.java and XmppDataMessageSender.java files in the API Demos project? Nov 14 15:58:11 CM: hmm, are you using Eclipse 3.2 on Windows? Nov 14 15:58:28 yawn. Morning jasonchen. Nov 14 15:58:36 jasta: welcome back Nov 14 15:58:59 jasonchen, thx, thats what i was searching for Nov 14 15:59:01 :) Nov 14 15:59:06 jasonchen: 3.2.1 on 64-bit linux Nov 14 15:59:30 cutmasta: yw Nov 14 15:59:48 CM: ah, ok. you're all sorted out now? Nov 14 16:00:08 Yes, was just that there was no error message Nov 14 16:00:30 So I didn't spot the simple mistake. No worries, excelent work on the tools :) Nov 14 16:00:49 CM: the ADT team will be happy to hear the the compliment Nov 14 16:00:59 * CM is used to OpenEmbedded from using OpenMoko ;) Nov 14 16:01:18 CM: and I believe they know about the lack of an error message in the New Project wizard Nov 14 16:01:28 I thought so too :) Nov 14 16:01:38 CM: i have fond memories of OpenEmbedded never working for me Nov 14 16:02:05 bengl: It's a constant struggle, and a slow one too. But it's improved lately Nov 14 16:04:24 good to hear Nov 14 16:04:34 quick poll: who here would like to see additional mailing lists set up to try to categorize some of the traffic on android-developers? Nov 14 16:05:11 i like one big bag o' email topics Nov 14 16:05:14 personally Nov 14 16:05:18 * bengl puts hand up Nov 14 16:05:33 * jasonchen has heard some grumbling about low S/N on android-developers and wants to get a sense of what the community thinks Nov 14 16:05:50 S/N? Nov 14 16:05:51 the problem is that people would not self-sort onto the "interesting discussions" and "lame questions that have been repeated 10 times" categories Nov 14 16:06:02 jorgenpt: signal to noise ratio Nov 14 16:06:11 Ah. Nov 14 16:06:24 well i think there's too many people going on about "what phone can i install this on to test it right now!??" Nov 14 16:06:29 I subscribed via rss for one day. I didn't find it worth my time to stay subscribed. Nov 14 16:06:33 that's just me, though Nov 14 16:06:44 I'm not doing this fulltime, so my bandwith is limited. Nov 14 16:07:41 bye all Nov 14 16:07:46 I think thinks will calm down a bit after a while, and hopefully people learn to search and read before posting someting Nov 14 16:07:52 bengl, and "why java" and the poor Italians who, once again screwed by their government, want to know why they're grouped with syria, iran, etc.. and flash questoins Nov 14 16:08:15 davidw: sounds like we've got some topics to add to an FAQ for the forum Nov 14 16:08:23 please do! Nov 14 16:08:41 "python is better" "i want 'native code'" etc etc Nov 14 16:08:42 CM: we're hoping so too re: mailing list calming down Nov 14 16:08:48 that javascript cpu sucking thing would be wonderful to fix too... I have about 10 browser windows open and they start to add up Nov 14 16:09:09 * jasonchen will be right back Nov 14 16:10:38 he's off to the bat cave Nov 14 16:11:08 And boy wonder cutmasta followed on his tail.. ;) Nov 14 16:11:29 not robin >_>? Nov 14 16:11:47 Lede: Robin has an alias in here ;) Nov 14 16:11:55 alright, so i have Runtime.exec throwing an exception every time, now matter what i do, so i'm guesisng it's broken? perhaps for security? Nov 14 16:12:21 what exception? Nov 14 16:12:57 hmm, don't remember, i was working on it last night, i'll try it again now Nov 14 16:18:40 davidw: javascript thing? Nov 14 16:19:41 jasonchen, see 'battery eating website' on the mailing list - there's some javascript function that runs a lot Nov 14 16:20:05 dan responded to it though, so perhaps it's already wending its way through the system Nov 14 16:22:27 does anyone here do consulting or know what the hell a "partner" means? Nov 14 16:22:47 davidw: ah, yes. i just saw tht thread Nov 14 16:23:01 d03boy, in what context? Nov 14 16:23:47 davidw: this is the sort of thing i'm trying http://www.pastebin.ca/773525 Nov 14 16:24:25 bengl, what's the error message? Nov 14 16:24:28 does anyone here do consulting or know what the hell a "partner" generally means? Nov 14 16:24:57 d03boy: what's so confusing about that relationship to you? Nov 14 16:25:11 well i don't know where printStackTrace is printing to.. Nov 14 16:25:30 it generally would refer to another entity with which you might work. like a partner. Nov 14 16:26:15 in the context of software development, that just means two firms that cooperate, possibly on specific products to be launched on a platform. Nov 14 16:26:31 it's all pretty obvious just from the English definition of the word :) Nov 14 16:26:35 what about the context of law offices? Nov 14 16:27:00 the context i'm reading about is a law firm Nov 14 16:27:45 i dont understand why a law firm would have partners Nov 14 16:28:00 in that context a "partner" is a lawyer that works there ... Nov 14 16:28:11 law firm partners are just like co-owners, or even co-workers. Nov 14 16:28:25 though a partner tends to "share in the profits" rather than just receive a paycheck Nov 14 16:28:26 it's just a fellow lawyer. Nov 14 16:28:28 ok. that wasn't obvious to me. thanks Nov 14 16:29:22 bengl, you need to use Log.v("blah", yourmsg) Nov 14 16:29:41 Log is android.util.Log Nov 14 16:29:50 I wrote my own little stack trace printing thing: Nov 14 16:30:28 http://www.pastebin.ca/773529 Nov 14 16:30:29 ah, so it will end up in adb logcat? Nov 14 16:30:39 yeah Nov 14 16:31:03 ah, i was doing the same thing, but making it how up on the screen in a TextView, doh Nov 14 16:31:05 I wish stderr worked, it would make things easier, but c'est la vie Nov 14 16:33:41 alright, awesome, well here's my stacktrace http://www.pastebin.ca/773533 Nov 14 16:34:47 you should probably include the error message too Nov 14 16:34:54 but I don't really have the answers:-) Nov 14 16:35:23 thx anyway Nov 14 16:35:38 at least now i know where i can get a stacktrace Nov 14 16:40:27 don't you think it would have been better if stuff like "CPU Usage" and "Show running processes" where displayed in a seperate window Nov 14 16:43:45 or atleast not ontop of the display Nov 14 16:45:42 davidw: hey Nov 14 16:47:22 Lede: what? Nov 14 16:47:47 gdiebel: what? Nov 14 16:48:15 davidw: I was see better about hecl, that is very good! Nov 14 16:48:41 J_P, thanks:-) Nov 14 16:48:47 Lede: doing that would cause those bars to require more resources, making them less accurate Nov 14 16:48:49 what does this mean : "don't you think it would have been better if stuff like "CPU Usage" and "Show running processes" where displayed in a seperate window or atleast not ontop of the display" Nov 14 16:49:20 Lede: have you tried using DDMS to profile your app? Nov 14 16:49:23 J_P, I have it finding buttons now, and setting the activity's view Nov 14 16:49:28 gdiebel: it means what it means, what part is it that you don't understand? Nov 14 16:49:39 jasonchen: DDMS? Nov 14 16:50:10 dalvik debug monitor service Nov 14 16:50:15 http://code.google.com/android/reference/ddms.html Nov 14 16:50:22 it's a tool included w/ the SDK Nov 14 16:51:09 jasonchen: ah, i didn't know Nov 14 16:51:55 Lede: My apologies. I took your comment out of context Nov 14 16:52:10 ._o Nov 14 16:52:11 davidw: Great work ! I thinking to use it instead pure java for android... Nov 14 16:52:24 I could certainly use help with it Nov 14 16:53:05 good Nov 14 16:53:09 although right now the tricky part is the design work... then comes the grunt work of adding options for all the APIs Nov 14 16:56:53 yay, coding for a couple days (mostly figting with the api), and I'm starting to get something working... implement a couple ListActivities and I think I can show off my little app :D Nov 14 16:57:09 well, darn, I keep forgetting about the service I need to setup ::) Nov 14 16:57:22 Tomasu: what type of app is it? Nov 14 16:57:32 and spill the beans? Nov 14 16:57:34 ;) Nov 14 16:57:56 hmm, beans.. java.. pun _not_ intended. Nov 14 16:58:37 so many things you have to worry about with the api though, intents, providers, handlers, activities... Nov 14 17:24:47 when i try to load the Android plugin for eclipse, i get this error message: Plugin com.google.android.adt was unable to load class com.google.android.adt. *when i try to use the android plugin Nov 14 17:25:48 =\- Nov 14 17:26:14 pardon me, dog got to the keyboard Nov 14 17:26:23 olle_: what version of eclipse? Nov 14 17:26:44 3.2.2 Nov 14 17:26:54 cute dog Nov 14 17:26:58 :) Nov 14 17:27:01 so it should work Nov 14 17:27:18 jasonchen: I'm heading off to work... should I expect a response about my RelativeLayout issue today? Nov 14 17:27:51 olle_: hm, ok, i assume you followed the install guide correctly? Nov 14 17:28:02 sure ;) Nov 14 17:29:37 i didn't get that error, so i can't really help much more then that :/ Nov 14 17:29:42 jasta: i'll send you an email today Nov 14 17:30:23 jasonchen: is Runtime.exec disabled? or is it my bad? Nov 14 17:31:37 (i'm trying to run "ps" and spit the results out) Nov 14 17:33:48 bengl: if it isn't in the package index, then it's not available in the framework Nov 14 17:34:49 nah, it's in the package index, i must be doing something wrong Nov 14 17:35:13 any chance of a netbeans plugin for android Nov 14 17:35:47 how you guys are doing with android ? Nov 14 17:39:01 olle_: that sounds like you haven't configured ADT with the location of where you installed the SDK Nov 14 17:40:19 2 Nov 14 17:48:35 jasonchen: Cool, I'm excited to finish my reference app tonight after work :) Nov 14 17:48:45 I'm writing a File Manager of sorts. Nov 14 17:48:55 Just to play and learn... Nov 14 18:03:10 hi Nov 14 18:04:37 i tried to set up ADT with the SDK location, but that's when the error occured Nov 14 18:04:56 i simply cannot use the _plugin_, not the sdk Nov 14 18:05:13 maybe my Java runtime is bad? Nov 14 18:19:42 how can i write in to the eclipse Console? Nov 14 18:19:57 System.out.println(string); doesn't work Nov 14 18:20:51 i don't think you can Nov 14 18:22:49 hm, whats the best way to view debug information? Nov 14 18:23:05 i don't want popup messages Nov 14 18:23:09 when i try to load the Android plugin for eclipse, i get this error message: Plugin com.google.android.adt was unable to load class com.google.android.adt. *when i try to use the android plugin Nov 14 18:24:55 olle_, restart eclipse? Nov 14 18:24:57 what version of the jdk are you using in eclipse? I'd make sure it's at least 1.5 / Java5 / wtf ever they call it Nov 14 18:25:21 ive tried that Nov 14 18:25:38 SunboX: use the debugger Nov 14 18:25:41 Smooveb: ill check that Nov 14 18:32:23 java version "1.4.2" Nov 14 18:32:23 gij (GNU libgcj) version 4.1.2 (Ubuntu 4.1.2-0ubuntu5) Nov 14 18:32:26 ouch Nov 14 18:35:53 * Stephmw looks around for a googler :) Nov 14 18:36:38 * Lede points at jasonchen Nov 14 18:36:51 who is not here now.. Nov 14 18:37:54 aye, I guess they're all in a meeting? Nov 14 18:38:17 no idea Nov 14 18:42:47 I'm sure someone will be back soon. Nov 14 18:44:10 hm, how do i use the debugger? i can Nov 14 18:44:22 i can't find docs Nov 14 18:48:51 real men debug using print statements;-) Nov 14 18:49:53 hehe, real men don't click Nov 14 18:50:00 real men write bytecode by hand. Nov 14 18:50:09 they use CLI on smatphones, too Nov 14 18:50:34 I don't need a keyboard, Ihave eight dip switches on the front of my computer, and I read binary from my one LED. Nov 14 18:50:53 shapr: Real Men wave magnets over their hdd to produce binaries Nov 14 18:50:56 haha Nov 14 18:51:07 LOL Nov 14 18:51:07 lol! Nov 14 18:51:44 :P Nov 14 18:51:45 oh my, this discussion occurs in like every irc channel Nov 14 18:51:58 i will write software Nov 14 18:52:02 no bytecode Nov 14 18:52:13 bytecode isnt software? Nov 14 18:52:17 Lede: why do you think I was so well practiced? Nov 14 18:52:30 Stephmw: you train! Nov 14 18:52:37 ufff Nov 14 18:53:06 write software in bytecode takes longer than writing it in java ;o) Nov 14 18:53:19 Lede: in every other irc channel... of course Nov 14 18:53:46 hey, is there brainfuck bindings planned? Nov 14 18:54:04 brainfuck? you freaks... Nov 14 18:54:11 Zoolooc: how is that usefull? Nov 14 18:54:16 write bytecode! :P Nov 14 18:54:32 don't know if there is a java or a native linux brainfuck compiler Nov 14 18:54:48 whitespace... Nov 14 18:55:36 Lede: well, does it have to? Nov 14 18:55:39 java.lang.VMProcess.exec Nov 14 18:55:55 whoopsee, wrong bit of the clipboard Nov 14 18:56:06 http://directory.fsf.org/project/jbfc/ Nov 14 18:56:08 there we go Nov 14 18:56:39 I'll throw myself away :D Nov 14 18:57:42 it's very easy to write a script that converts brainfuck to i386 assembler Nov 14 18:58:04 what about arm9? Nov 14 18:58:11 should be equally easy Nov 14 18:58:18 if you care about performance :D Nov 14 18:59:59 guess I should start messing with jbfc on my HTC TyTN II, that's why its implemented in java, in the end ;) Nov 14 19:00:56 or it's the other way around, whatever, this is way OT Nov 14 19:01:55 is there any accelerometer api in android? my search didn't turn up any results. Nov 14 19:02:10 don't think so Nov 14 19:02:45 oh. so bad :( Nov 14 19:03:38 is there some accelerometer api in some place? I would like to play with one :) Nov 14 19:03:51 Symbian, I guess Nov 14 19:31:19 evening Nov 14 19:31:35 bluerive1: sensor api has some support Nov 14 19:38:34 thanks, rangen! Nov 14 19:42:44 In case this hasn't been announced here, Android kernel Git repository found. For Qualcomm MSM7K series, the chpsit the HTC kaiser runs. http://www.helloandroid.com/node/22 Nov 14 19:51:19 alUrdun: but you can get the kernel here http://code.google.com/p/android/downloads/list Nov 14 19:51:39 the linux kernel that is Nov 14 19:54:16 alUrdun: did you actually try booting that kernel with haret on kaiser? Nov 14 19:55:25 ask swetland, it's not yet kaiser ready, it's actually for the MSM7200A chipset right now, Kaiser is MSM7200 (w/o 'A') Nov 14 19:56:12 yeah, there are some farirly significant differences between the 7200 and the 7200A Nov 14 19:57:29 Zoolooc: No. Nov 14 19:57:42 is there somebody with the necessary knowledge and access to the right information ever going to fix that? Nov 14 19:57:56 fix what? Nov 14 19:58:19 that this MSM kernel found in git supports also msm7200 Nov 14 19:58:59 it's git, clone it and fix it yourself? Nov 14 19:59:56 I asked about someboidy with knowledge and acces to information Nov 14 20:00:21 Sorry Zoolooc, I'm not sure I understand exactly what it is you're hoping will get done.. Nov 14 20:02:13 the irq/gpio stuff which is different from 7200A and prevents the kernel to even boot on 7200 (something like that, I'm not a kernel programmer, it's beyond my knowledge right now) Nov 14 20:03:47 someone somewhere will probably fix it at some point. who and when and where, I dunno. Nov 14 20:10:42 Are there any other phones currently on the market that this kernel will boot on? Nov 14 20:13:18 "and will they do my homework for me?" Nov 14 20:14:36 SmooveB: point taken. Nov 14 20:15:37 someone otuside this oha /google team has to reverse-engineer, hack & stuff Nov 14 20:17:25 Zoolooc: why reverse-engineer? isn't it all opensource? Nov 14 20:17:33 really, it's more a question of having some MSM 7200 hardware. Nov 14 20:17:42 and specs. Nov 14 20:17:54 yes, that's what I meant Nov 14 20:20:55 Are the kernel available from code.google.com and the MSM7200A kernel the same? Nov 14 20:21:51 I have the kaiser, but no specs, and I would dive into this (could also get support from skilled folks) if I'd have acces to the required information Nov 14 20:48:31 this may be a stupid question -- but how does one build the sample programs that come with the SDK? (without Eclipse) Nov 14 20:49:23 Ogedei: I think you'd need to actually write a build.xml for them and use ant. It should work just fine, take a look at the reference skeleton that you can create with other android tools. Nov 14 20:51:07 Ogedei: take a look at: http://code.google.com/android/intro/installing.html#otherides Nov 14 20:51:55 Ogedei: basically, you use the activityCreator.py script to generate the build.xml ant file Nov 14 20:51:55 jasta: ah, got it, I had to generate the build.xml with activityCreator.py Nov 14 20:52:03 heh, right, thanks Nov 14 20:55:24 is the emulator supposed to be rather cpu-heavy, or am I doing something wrong when it is horribly unresponsive on an 800 MHz machine? Nov 14 20:56:10 So, where is the source to the android.* java packages btw? Is that portion of the SDK closed source? Nov 14 20:59:12 jasta: this is an early look at the Android SDK. we're working towards open-sourcing the entire platform. Nov 14 20:59:38 jasonchen: do you have some approximation on how long this will take ? Nov 14 20:59:46 Oh, that's what I had assumed actually. Nov 14 21:00:05 re Nov 14 21:01:18 gpolo: unfortunately, no. as you've seen, there's 30+ members of the Alliance and many of them have contributed software to the platform. so there's some complexity in open sourcing it. Nov 14 21:01:41 i see Nov 14 21:02:13 I was specifically curious what setContentView() does ;) Nov 14 21:02:15 but didnt they contribute knowning that it would be open-sourced ? Nov 14 21:07:08 for some reason, android isn't letting me assign ANYTHING to a "android:layout_marginLeft" property in my layout xml.. Nov 14 21:07:24 Ogedei: if you're using a 800 Mhz machine, you're using a horrible slow machine :p Nov 14 21:07:30 I give it an int, it says integer types arent alowed (which is what it used in the docs), and a string gives an error as well. Nov 14 21:08:14 anyone have a hint to what I might be doing wrong? Nov 14 21:09:30 Ogedei: the emulator is also slow on 2.4 Ghz pentium :/ Nov 14 21:09:56 ok, seems the example is wrong, a plain int wont work, you need to use a "4dip" type arg. Nov 14 21:11:26 jasonchen: hm, will it be possible to compile and run android platform on PC's aswell? Nov 14 21:15:30 nevermind Nov 14 21:20:29 hi guys Nov 14 21:20:51 im having problem in launching android applications from eclipse 3.3 Nov 14 21:21:27 whn i press the launch button, what i can see is just the emulator starting the os, ignoring my application Nov 14 21:21:29 just this.. Nov 14 21:21:32 any ideas? Nov 14 21:22:40 jasonchen: the goldfish platform is completely open sourced now, right? I guess kernel patches and stuff for real hardware is up to the hardware vendor and outside of Google's hands ... Nov 14 21:22:55 (goldfish is the virtual hardware that the emulator emulates) Nov 14 21:23:00 sometimes, i managed to launch the app correctly, by cleaning and reuilding the apk package Nov 14 21:23:06 *rebuilding Nov 14 21:23:48 i noticed you have to make a change to the application for it to load up Nov 14 21:23:48 lupin[4]: when the emulator started hit run again Nov 14 21:24:12 Lede: tnx :) Nov 14 21:24:57 Marv|LG: I tried to change, and sometimes it worked Nov 14 21:25:05 not always :-/ Nov 14 21:25:20 thanks for that hint, anyway :) Nov 14 21:26:33 you on os x? Nov 14 21:26:56 just linux Nov 14 21:26:59 gentoo Nov 14 21:27:56 hey all -- anyone see anything in the docs that describe the various values of the "id" attributes i the layout XML? Nov 14 21:28:45 steve_k: set those yourself, you need them to call them from your code Nov 14 21:29:04 but keep the @+id/ prefix Nov 14 21:30:00 when using a ListActiviy with my own layout, i had to use "@android:id/list" on the list i wanted to bind to -- what does the @android:id bit mean? Nov 14 21:36:05 Lede: it works ;) Nov 14 21:38:38 steve_k: looks like a selector, I believe it's used to generate R.java Nov 14 21:50:24 i am kinda curious on how i would see the results of a stacktrace Nov 14 21:55:51 Marv|LG: you can kill -3 one of the processes Nov 14 21:55:59 (or at leas that is what I read) Nov 14 22:13:27 Marv|LG, try this: Nov 14 22:13:51 http://www.pastebin.ca/773529 Nov 14 22:14:32 thanks, I will try that shortly Nov 14 22:49:36 bye all Nov 14 23:43:53 jasonchen: I've been digging deeper and I see widgets that seem to accomplish something that I've after, but I can't see how they are doing it (because I don't have the source *grin*). Nov 14 23:48:12 There must be some type of magic hidden interface that translates a resourceID into a View :) Nov 14 23:52:03 * morphir needs help starting firing up the ide Nov 14 23:52:16 starting/firing .p Nov 14 23:53:21 java -jar android.jar should work, ai? Nov 14 23:53:51 i think eclipse is the IDE :) Nov 14 23:54:00 Eclipse is the IDE Google is using for most of their work. Nov 14 23:54:07 They wrote an Exclipse plugin specifically for Android Nov 14 23:54:24 android.jar is the actual run-time for the Android platform. Nov 14 23:54:38 well, I get Invalid or corrupt jarfile android.jar Nov 14 23:57:15 ok, so I need eclipse as well? Nov 14 23:58:17 not as well. android.jar is not part of the development environment. Nov 14 23:58:51 how do I fire up this beast? Nov 14 23:59:19 you can run the "emulator" executable in the tools dir Nov 14 23:59:39 but if you want to develop, check out http://code.google.com/android/intro/index.html Nov 14 23:59:47 I am Nov 15 00:00:12 what the document says I do, but no luck Nov 15 00:01:59 morphir: Read first, type second. You're getting ahead of yourself I think. Nov 15 00:02:54 right, I fired up ./emulator now :-) Nov 15 00:04:20 sweet! wohaa! Nov 15 00:04:46 the browser is online right away Nov 15 00:09:02 a little transparent system process list is in the upper right corner. how do i turn that off? Nov 15 00:09:09 what was the name of that phone again? ii... p.. mmm, I-forgot-phone Nov 15 00:10:30 can you have other phone skins? Nov 15 00:13:13 hi, I am new to this room, I just want to ask if it is possible to install android on any phone at the moment? if yes what handsets does it support? Nov 15 00:13:15 * davidw -> sleep(). Nov 15 00:13:46 boulbul, read the web site: no. Nov 15 00:13:59 davidw: thanks Nov 15 00:14:20 morphir: Yes, kind of. The theming engine is open, and does contain 2 reference themes. Nov 15 00:14:37 Also, the emulator has different "skins" for different types of devices, but I suspect this is not what you meant. Nov 15 00:14:57 there is ThemeDark and ThemeWhite. Go through all the ApiDemos, you will find it. Nov 15 00:15:28 ok, so there is no way to change skin trough the gui? Nov 15 00:16:13 morphir: No, however the platform is missing an enormous amount of functionality that an end user would expect. Perhaps you are not prepared for this release. Check back later :) Nov 15 00:16:29 hehe Nov 15 00:16:54 I was just asking you know Nov 15 00:17:28 the end user experience as it is currently packaged by the platform is much more of a demo than a usable phone interface. Nov 15 00:17:38 it's a demo of all the underpinnings. Nov 15 00:17:52 I'm a developer Nov 15 00:19:06 jasta, so the vendors will make skins for their mobiles as time goes? Nov 15 00:19:56 I cannot predict what people will do who are not me, and I am not a vendor. Nov 15 00:20:10 makes sense Nov 15 00:21:13 Actually though, the specific plan for the Android platform has not been revealed to us by the Google demigods. How the various partners fit into the big picture seems intuitive enough, but the details are all missing. Nov 15 00:22:24 imagine all to cool apps that will pop up bc of this platform Nov 15 00:24:45 the system resource problem seems solved in a most elegant way Nov 15 00:44:38 cool apps that we can run on our emulators ;) Nov 15 00:48:49 Marv|LG: haha :) Nov 15 01:13:43 yup, I start playing doom on the emulator instead Nov 15 01:15:45 anyways, emu-laters! Nov 15 01:15:53 hehe laters :D Nov 15 01:23:50 Any one know how to test connecting to other phones with the SDK Nov 15 01:26:13 I am learning JAVA just to program the phone. Although I know other languages Nov 15 01:39:21 More Android internals stuff noted at http://www.rwhitby.net/blog/category/android Nov 15 01:43:25 thanks rwhitby Nov 15 01:51:54 rwhitby: tx - good stuff Nov 15 01:56:28 Hmm. Nov 15 02:00:17 rwhitby: great stuff... need to add a couple of those to my own list (mostly just links to Ben's stuff so far) Nov 15 02:00:51 tlockney: I'm thinking of setting up a wiki Nov 15 02:01:54 * jasta sighs. Nov 15 02:02:09 I think jasonchen gave up on me :) Nov 15 02:02:43 rwhitby: that would be a great idea Nov 15 02:03:55 jasta: I don't doubt the google guys are VERY busy right now... I would just be patient and ask again in a couple days Nov 15 02:04:00 tlockney: did you get my /msg ? Nov 15 02:04:35 Just kinda killed all my motivation to work on this platform with such a glaring omission :( Nov 15 02:04:40 rwhitby: yeah, hadn't noticed it... sorry, multitasking ;~) Nov 15 02:05:37 in the middle of a large work project I've been procrastinating on Nov 15 02:06:09 trying to pay enough attention here to keep from missing the good stuff ;~) Nov 15 02:06:34 hello, is there any big advantage of android compared to J2ME? at least J2ME currently works on lots of handsets already Nov 15 02:06:35 jasta: that's too bad... but keep in mind it's all very early and they warned people that much would change Nov 15 02:07:20 Hmm, I suppose I could just hardcode the layout I'm looking for to only run on the 1 emulator screen I actually use. Nov 15 02:07:50 peteryang: sorry, haven't really worked with j2me Nov 15 02:08:10 j2me is just like android jvm Nov 15 02:08:14 but I get the impression android has closer integration with the hardware Nov 15 02:08:16 so much difference Nov 15 02:09:18 i don't think android has closer ntegration with the hardware. Example, Nokia has their own JVM/j2me which follows Sun's JSR standards.. Nov 15 02:09:38 like I said, just my impression Nov 15 02:09:43 it has tighter integration with the platform itself, not the hardware. Nov 15 02:10:03 right, sorry, platform would have been a better way to put it Nov 15 02:10:15 which is ultimately more useful, since the platform by extension must also have access to device paradigms. Nov 15 02:12:10 peteryang: google has also implied (if not outright said) that there will be the possibility of native code on the android platform -- a few have already made steps in that direction without google's help Nov 15 02:12:17 i really cannot see what is the big difference between android and j2me. The only advantage is that android allow the developers to get the phone/SIM identity. Nov 15 02:12:58 from what i understand from my brother is that j2me is a standard but each phone has their own little "hacks"(my brother writes j2me apps for a living) Nov 15 02:13:09 the challenging faced by mobile developers is not API but the devices which are not compatible with the API Nov 15 02:13:32 peteryang: The devil is in the details. Google has created a good implementation of Java for mobile phones, where previously all other implementations have been terrible. Nov 15 02:13:52 It is not the thing being implemented which was at fault all along, it is the pattern of the implementations themselves. Google correctly identified and solved that problem. Nov 15 02:14:06 google just push the difference to lower layer Nov 15 02:14:40 hope so Nov 15 02:15:06 peteryang: Untrue, but it is also worth mentioning that Google then did the necessary leg work to actually produce a workable set of abstractions specifically for mobile devices. Though they are not done yet :) Nov 15 02:16:11 over years of j2me, i think google guys definitely understand what they should do Nov 15 02:16:49 android company spawned in 2005 Nov 15 02:20:47 " google has also implied (if not outright said) that there will be the possibility of native code on the android platform"........This is very bad. If java is primary language, the best way is just keep using java and do not allow others. One language is enough Nov 15 02:21:44 I wonder if a Google engineer would be willing to give me the source to RelativeLayout.java ;) Nov 15 02:22:50 peteryang: sorry, not going to get in an argument with you about that, but I respectfully disagree Nov 15 02:23:29 it maybe due to my lacking info on android. thanks anyway Nov 15 02:23:31 peteryang: Don't forget that the phone itself is already relying heavily on existing works in C. Nov 15 02:24:12 i hope it doesnt turn into a linux.. that branches in 9000000 directions Nov 15 02:24:30 i always think a bit more control will have better result Nov 15 02:24:42 more productive and unnecessary argument Nov 15 02:25:02 peteryang: Control is the opposite of what this platform needs. Nov 15 02:25:12 Control is why cell phones are so terrible right now. Nov 15 02:25:29 i dotn think thats how he meant it Nov 15 02:25:36 control the API, so that it is not "TOO flexiable" for developer Nov 15 02:25:39 i think he's more or less saying he wants one angle of attack rather than 90 Nov 15 02:26:02 1 good oen instead of 9 decent ones Nov 15 02:26:03 Well anyway, I would prefer to write code right now :) Nov 15 02:26:20 Someone come get me when/if jasonchen arrives :) Nov 15 02:26:21 in open source, too flexible is not a good thing. it always kill yourself Nov 15 02:27:23 good think linux was not too flexible, or else it wouldn't have been suitable for the underlying OS for Android ;-) Nov 15 02:28:28 (I respectfully disagree with you too - that's why I've just registered the android-linux.org domain) Nov 15 02:29:48 software stack is not a big thing currently. Even j2me, its APIs are actually powerful. The problem is that no matter what is your specs, the hardware manufacturer not necessary test the api fully. Nov 15 02:30:00 It possiblly due to the short lifecycle of mobile devices Nov 15 02:34:16 peteryang: it's important to notice that google is creating an entire platform, unlike other vendors -- j2me is not a platform, it's just a software stack Nov 15 02:35:04 i am so frustrated that the core APIs here are closed source. this is driving me insane trying to actually write an application. Nov 15 02:35:08 yes, it is a bit better with more control Nov 15 02:35:25 everywhere i look they're referencing some magic i don't have access to. Nov 15 02:35:53 jasta, what things you are trying to do? Nov 15 02:35:56 jasta, huh? Nov 15 02:36:37 peteryang: use a RelativeLayout with a ListViewAdapter, for one. Nov 15 02:37:18 you do some coding on it now? i did not try yet Nov 15 02:37:27 Of course. Nov 15 02:37:36 You're all just sitting around talking about a platform you don't even know :) Nov 15 02:38:15 haha, touche, jasta... oth, I have been playing with it. just not in the direction you are going ;~) Nov 15 02:38:17 jasta, you are such a comedian :D Nov 15 02:39:37 If you take a good hard look at it, you'll realize there are holes everywhere, and the source isn't available to fill in the details. Nov 15 02:39:58 because i do not care one specific api, i want to find out the big picture first by some analysis Nov 15 02:40:14 jasta: I suspect they just wanted to get something out to get people thinking about it and seeing what they could do... Nov 15 02:40:48 it is a "preview". it's not exactly "done" yet. ^^ Nov 15 02:40:48 especially, how can they minimize the hardware problems Nov 15 02:41:28 Hello everyone Nov 15 02:41:35 hi hi Nov 15 02:41:42 tlockney: Me too, and I'm happy to give them a couple of months to release the full SDK. Nov 15 02:41:53 there will be more releases -- plenty of opportunity to provide feedback and the developer advocates are reading the android-developers group, filing bugs, and bothering the engineering team about issues Nov 15 02:41:55 Although, I heard inside rumors that what we have now was rushed out the door as a result of leaks :) Nov 15 02:41:58 I can totally understand the frustration though Nov 15 02:42:10 jasta: I don't doubt taht Nov 15 02:42:16 * swetland laughs Nov 15 02:42:18 so many rumors Nov 15 02:42:33 but why a contest so soon then? Nov 15 02:42:36 But regardless, I'll happily try to write some sample applications for the community to glance at. Nov 15 02:42:44 parti, publicity? Nov 15 02:42:51 Google's only decent sample app is NotePad, the rest of them barely touch on any of the fundamental concepts. Nov 15 02:43:05 perhaps to provide some incentive to spend a bunch of time working on a platform before devices have shipped on it ^^ Nov 15 02:43:17 they have xmpp api Nov 15 02:43:34 you can do a jabber instant messaging to connect to google talk Nov 15 02:43:55 peteryang: Sure could. ...or could you? :) Nov 15 02:44:15 it is easy for me to do that. but i want to see the value :-) Nov 15 02:44:16 Anyway, I really would like to get back to dev. See you folks later. **** ENDING LOGGING AT Thu Nov 15 02:59:57 2007