**** BEGIN LOGGING AT Fri Nov 16 02:59:58 2007 Nov 16 03:01:04 is it true that xmpp can only connect to google's only server? Nov 16 03:01:41 jabber ? Nov 16 03:01:42 no Nov 16 03:01:45 yes Nov 16 03:01:55 there is no place to change the xmpp settings Nov 16 03:02:01 well, then it is limitation Nov 16 03:02:11 it is a* Nov 16 03:02:32 uhmm Nov 16 03:02:33 what is xmpp anyway Nov 16 03:02:44 the add account automatically places @gmail.com Nov 16 03:02:48 xmpp is jabber protocol. which is google's IM based on Nov 16 03:02:51 you can change it, but well.. Nov 16 03:02:57 no, it does not work Nov 16 03:03:24 you mean it doesnt work for other servers Nov 16 03:03:25 right ? Nov 16 03:03:45 yes Nov 16 03:03:59 i try to connect to openfire, it is quite standard server Nov 16 03:04:01 it fail Nov 16 03:04:09 google will buy it then Nov 16 03:05:18 * Dralspire giggles Nov 16 03:05:24 is there anything I can do after I connect ? Nov 16 03:05:27 inside the emulator Nov 16 03:07:44 there could be a "IM" or something like that when adding contacts Nov 16 03:08:30 i will try xmpp again later by monitroing the tcp traffic Nov 16 03:11:53 somewhere it says the beta sdk will only talk to gtalk servers Nov 16 03:19:34 lol at all the android wiki startups Nov 16 03:20:10 it'll be interesting to see how many are just rehashes of existing google documentation Nov 16 03:20:28 most of them probably just want to stick ads on it Nov 16 03:20:38 they all spam the android list Nov 16 03:45:33 so you cannot talk to any service but google services so far? Nov 16 03:45:48 ? Nov 16 03:45:54 you have an xml parser Nov 16 03:45:57 and internet Nov 16 03:46:01 what more do you need? Nov 16 03:47:36 reading up about people unable to connect outbound Nov 16 03:47:52 well you can use the browser Nov 16 03:48:04 so they probably just doing it wrong :o) Nov 16 03:48:15 http://code.google.com/android/reference/org/apache/commons/httpclient/package-summary.html Nov 16 03:48:30 xmpp problem comes from authentication method used . I thought it is the case Nov 16 03:48:39 ah nice Nov 16 03:48:41 need to confirm Nov 16 03:48:44 duey: android uses sax for parsing xml, right ? Nov 16 03:48:48 playing with a little concept app Nov 16 03:48:57 where is wiki link? Nov 16 03:48:59 yeah but it also has java.xml Nov 16 03:49:17 http://code.google.com/android/reference/javax/xml/parsers/package-summary.html Nov 16 03:49:23 ho Nov 16 03:49:24 lol Nov 16 03:49:27 which is asax parser Nov 16 03:49:39 SAX parsers use less memory Nov 16 03:49:50 i have used sax Nov 16 03:49:59 and i see no advantage over elementtree Nov 16 03:50:20 besides sax being uglier and slowier (if anyone can call that advantage) Nov 16 03:50:22 trying loading a 100mb not using sax :) Nov 16 03:50:33 have you used elementtree ? Nov 16 03:50:36 no Nov 16 03:50:41 right Nov 16 03:50:52 is it a stream parser? Nov 16 03:50:57 this problem with loading huge files would come with dom parser Nov 16 03:51:15 yeah Nov 16 03:51:32 elementtree is python? Nov 16 03:51:46 there is cElementTree Nov 16 03:51:56 oh ok Nov 16 03:52:03 probably sax because java has it in it already Nov 16 03:52:20 yes Nov 16 03:52:26 don't need to create java bindings etc Nov 16 03:53:29 looks like it might have dom as well Nov 16 04:02:57 has anyone heard when google is planning to release the platform source? Nov 16 04:03:15 i'm hoping very soon. i don't know that i have any interest in seriously developing on this platform until then... Nov 16 04:03:31 why Nov 16 04:04:15 exploring the SDK has been a painful experience so far, and most of that is the lack of source to accompany their frankly lankluster documentation. Nov 16 04:04:33 hmm Nov 16 04:04:39 haven't had any problems yet :) Nov 16 04:04:41 when you dig any bit past the superficial it all kind of falls apart with little bugs, omissions, etc. that could easily be corrected with the SDK source. Nov 16 04:04:49 docs seem adequate Nov 16 04:04:58 duey: what have you developed so far? Nov 16 04:05:03 secret Nov 16 04:05:06 :o) Nov 16 04:05:15 how appropriate. Nov 16 04:05:52 i was developing a simple reference app to learn the SDK. a file manager of sorts with crude media integration. Nov 16 04:07:02 but what really interests me is ultimately tackling a general-purpose e-mail app with clever threading, tagging, and search support. Nov 16 04:07:53 solving silly little layout problems is a real headache with the documentation that currently exists. Nov 16 04:07:58 you can write the majority of the frameworks without the need of the android docs Nov 16 04:08:01 and not being able to see how to implement my own custom layouts is very frustrating. Nov 16 04:08:08 i would write the frameworks first Nov 16 04:08:26 there seems to be quite a few issues Nov 16 04:08:34 i guess this is like a pre-beta anyway Nov 16 04:08:50 ->home Nov 16 04:09:03 duey: write the framework first? is that what you did on your "secret" app? Nov 16 04:09:04 hehe Nov 16 04:09:09 yes Nov 16 04:09:09 haha Nov 16 04:09:23 well I have explored the docs and understand the bits i need Nov 16 04:09:36 I suspect if I explore into gui elements Nov 16 04:09:41 I will start to see problems Nov 16 04:09:45 that's not a terrible idea, though. but it would be a lot tougher to implement everything totally abstracted from the specific of android. Nov 16 04:10:06 specifics* Nov 16 04:10:36 duey: have you figured out how to trigger events like incoming calls and things btw? Nov 16 04:10:36 sure but you can do all the IMAP/POP sort of stuff Nov 16 04:10:45 i see the underpinnings of it around, but i can't quite tell how. Nov 16 04:11:11 duey: the protocol specifics are really lame and uninteresting, and have already been solved by someone else. Nov 16 04:12:22 you just going to use an external lib? Nov 16 04:12:26 better check it works Nov 16 04:12:44 i suspect people using external libs are going to have performance problems Nov 16 04:12:45 not necessarily, but possibly. Nov 16 04:14:23 duey: i'd prefer to design the interaction of all of these systems first, then worry about implementation details. it is easiest to design first, code second, optimize third :) Nov 16 04:14:30 the other way around is always a disaster. Nov 16 04:15:16 i guess for me the hard part is the lib Nov 16 04:15:26 interface is easy Nov 16 04:16:09 The most difficult component of a proper mobile e-mail app is GroupWare integration and protocols. Nov 16 04:16:13 not POP and IMAP. Nov 16 04:16:44 bbl Nov 16 04:39:44 ok, this is going to be an odd question... Nov 16 04:40:01 But I have a typedef struct object that is used to read our data files in C. Is there any way to use that same data object in a java program? Nov 16 04:40:46 godzirra: you mean you've created a C structure which maps to file storage? Nov 16 04:40:54 I think so. Nov 16 04:41:02 then you need to join #C and let them explain how silly you are. Nov 16 04:41:23 I'm not a C guy, and its not my code. Its just the code with the datafile that I have to use. ;p Nov 16 04:41:42 jasta: its actually a pdb file, but we have a typedef struct that details what part of it is where. Nov 16 04:41:55 then you need to understand much more than the C developers who wrote it did. if you don't know C, then this will not be possible. Nov 16 04:43:20 Bleh... thats not helpful. I know enough C to be dangerous. I just need to figure out how to read a pdb file in java. :( Nov 16 04:43:33 You are in the wrong channel, I think. Nov 16 04:47:00 So you keep saying. ; ) Can you point me in the right direction then? Nov 16 04:47:24 #java, probably. Nov 16 04:47:29 #android is not for folks who are learning Java. Nov 16 04:49:28 Heh. So helpful and polite. Nov 16 04:55:13 its quite common on IRC Nov 16 04:55:43 i dont even know why people bother with books and training classes Nov 16 04:56:55 jasta, which is why scraping was invented Nov 16 05:03:00 chowmeined: *Shrugs* Its not like I was asking for someone to write code for me. I was asking for someone to point me in the right direction. Nov 16 05:03:23 oh, im sorry Nov 16 05:03:27 i was being serious Nov 16 05:05:18 I just assumed you were being sarcastic and telling me that Jasta was right and I shuold go away. Nov 16 05:05:59 oh Nov 16 05:06:14 no that was just a delayed response to him talking about groupware integration Nov 16 05:06:24 Ahh, sorry. :) Nov 16 07:19:11 hello people Nov 16 07:19:45 is there a way to "access" the mailing list (the group) through nntp ? Nov 16 07:19:54 in some way? Nov 16 07:20:32 i'd love to have my newsgroup reader (thunderbird in my case :D) handle this separately than my "normal" email, as the group is rather active, and it spams my inbox :D Nov 16 07:32:26 heh i have a gmail account for newsgroups Nov 16 07:49:12 rustre: the newsgroups split now Nov 16 07:52:59 duey: the newsgroup split? Nov 16 07:53:04 ya Nov 16 07:53:13 http://groups.google.com/group/android-developers/browse_thread/thread/82617c2b1d88cec6#00c059bdda54a029 Nov 16 07:54:24 oh yeah I saw that this morning, sorry didn't understand your point at first ;) Nov 16 07:55:15 anyway, has nothing to do with nntp, unfortunately Nov 16 07:55:34 * Zoolooc hates reading newsgroups via web, aren't forums enough...? Nov 16 08:06:14 duey: great Nov 16 08:14:58 hello, what is " setContentView(R.layout.main);" Nov 16 08:14:59 ? Nov 16 08:15:17 R??? cannot find symbol Nov 16 08:15:17 littleball: what do you mean by "what is" ? Nov 16 08:15:20 what's the question? Nov 16 08:15:29 or, R is the class generated by default in your project Nov 16 08:15:38 or it should be (at least if you're using eclipse I guess) Nov 16 08:15:39 R.java Nov 16 08:15:39 who generated R? Nov 16 08:15:49 the SDK i'd say (or the eclispe plugin, not sure) Nov 16 08:15:53 no, i am not using eclipse plugin Nov 16 08:15:56 it's generated from the resources Nov 16 08:16:11 I am using createActiv.... and use netbeans Nov 16 08:16:51 i'm not sure then Nov 16 08:17:18 did you follow the indications given in the doc regarding creating projects and compiling them without the eclipse plugin? Nov 16 08:17:25 yes Nov 16 08:17:34 not compile Nov 16 08:18:05 i just juse do simple activeCreator --out c:\helloworld com.test.Helloworld Nov 16 08:18:06 i'm afraid I can't help you on this one Nov 16 08:18:13 maybe someone here will be able to help you though Nov 16 08:19:34 there is no such file R.java created Nov 16 08:20:04 R.java is automatically created Nov 16 08:20:18 if you are not using eclipse you will need to follow the docs on how to create it Nov 16 08:20:42 no such R.java. But there is one layout/main.xml file in the resource fold Nov 16 08:20:52 .... Nov 16 08:20:59 did you read what i said? Nov 16 08:21:24 let me try again Nov 16 08:21:59 duey: i said exactly the same a few lines above :D Nov 16 08:25:17 <[AD]Turbo> hi all Nov 16 08:25:27 hi Nov 16 08:26:42 i followed exactly what the doc said. No R.java created Nov 16 08:26:53 did you run activityCreator? Nov 16 08:28:00 yes Nov 16 08:28:24 activityCreator --out myfolder fullpathclass Nov 16 08:28:59 even in the doc, it does not said that there is R.java file Nov 16 08:29:34 copy from doc: "src/your/package/name/ActivityName.java The Activity class you specified on input." Nov 16 08:30:28 anyway, there is layout/main.xml file is created under res folder. I guess i can use another API to create R. Nov 16 08:30:31 from this xml file Nov 16 08:33:42 yes. my guess is right Nov 16 08:42:05 it works great Nov 16 08:42:31 under netbeans, i just run the project, which will run ant and generate the R.java file automatically Nov 16 08:48:05 I'm not much of a software developer. Done a lot of php though. I read that "All applications are equal" in Android. Can I see the source code of e.g. the browser? Or the change wallpaper applet? Nov 16 08:48:24 or are they part of the code that hasn't been open sourced yet? Nov 16 08:49:39 yeah that stuff isn't out yet Nov 16 08:50:24 it works on emulator correctly. great Nov 16 08:51:11 comment: the sdk works with netbeans greatly. I don't like eclipse. ant is the native language of netbeans Nov 16 08:51:51 yeah i wish eclipse did ant Nov 16 08:52:03 well it does Nov 16 08:52:06 well, it does :D Nov 16 08:52:11 but not by default Nov 16 08:53:04 but the android shell is very limited. Nov 16 08:53:12 no less command etc Nov 16 08:53:17 lol Nov 16 08:53:24 cat?> Nov 16 08:53:26 huhuhu Nov 16 08:53:30 i did not try cat Nov 16 08:54:16 cat does work Nov 16 08:56:29 no vi and cannot edit files Nov 16 08:58:53 from engineer point of view, android is very cool Nov 16 09:05:35 sorry for my poor english, what does "thawed" means? Nov 16 09:08:29 rustre, "unfreezed" Nov 16 09:08:55 thanks :D Nov 16 09:34:03 hi all Nov 16 09:35:01 hello Nov 16 09:35:27 I'm trying to figure out how to mount the emulator image disks Nov 16 09:35:42 they seem to be in yaffs2 Nov 16 09:36:17 mmmm has anyone done the tutorial NotepadAv3 ? Nov 16 09:37:09 it seems the Notepad is still pretty buggy after that, and there's a few issues left Nov 16 09:37:20 or maybe it's just me :D Nov 16 09:49:27 morning Nov 16 09:50:49 gm Nov 16 09:53:13 http://code.google.com/android/reference/android/app/Activity.html <= is this diagram (the lifecycle flow diagram) accurate? It doesn't seem so when experimenting through the debugger Nov 16 09:53:36 it seems when I hit the back button, the activity goes straight to "onPause" without going throug "onFreeze" Nov 16 09:53:59 however, if I hit the "home" button, then there's the onFreeze, and then the onPause Nov 16 09:56:10 rustre: i reviewed some api docs yesterday, quite a lot of defects Nov 16 09:56:25 that diagram has lots of problems Nov 16 09:56:49 oh ok, it's not me then :D Nov 16 09:56:59 however, lemme check your speficic situation Nov 16 09:57:56 rustre: actually, i think that is documented correctly, that state diagram is not just complete Nov 16 09:58:10 this is strange then Nov 16 09:58:12 see onResume() doc in table In general the movement through an activity's lifecycle looks like this: Nov 16 09:58:27 there is a jump from onResume() to onPause() though (according to the docs) Nov 16 09:58:29 "Followed by either onFreeze() if another activity is being resumed in front of it, or onPause() if this activity is being finished." Nov 16 09:59:09 yeah Nov 16 10:00:27 so I understand why the notepadV3 in the tuto is buggy ;) Nov 16 10:00:34 so, important think to keep in mind, that state diagram doesnt a) document all states properly (it is missing paused state for example) b) it doesnt complete document all state transitions and condititions Nov 16 10:01:13 but anyway, these i'm sure are going to be fixed, i'm gonna post more review comments soon Nov 16 10:01:46 great :D Nov 16 10:01:57 do you want any feedback regarding the bug in the notepadV3 ? Nov 16 10:02:06 maybe you know them all already ;) Nov 16 10:02:16 rustre: hum, no you misunderstood, i'm not in google =) Nov 16 10:02:21 just happy user hehee Nov 16 10:02:24 oh sorry ;) Nov 16 10:03:11 rustre: i suggest posting stuff to developers group, that is correct way currently to file defect reports Nov 16 10:03:28 understood ;) Nov 16 10:03:45 has anybody successfully mounted the disk images ? I'm trying with this but it fails : sudo mount -t yaffs2 -o loop system.img /media/disk/ Nov 16 10:09:30 how come the 'NoteEdit' activity is automatically restarted instead of the NotePad activity when the NoteEdit was freeze, and then I navigated back to start the Notepad again? Nov 16 10:10:05 i would have thought that the notepad would be started again, and that it would be its responsability to start the NoteEdit activity again if needed Nov 16 10:23:23 bilboed: Don't know about that, but this guy extracted the system and data files: http://benno.id.au/blog/2007/11/14/android-filesystems Nov 16 10:23:30 yeah, I already saw that Nov 16 10:23:37 but I want to be able to mount it to modify it Nov 16 10:23:38 Ok :) Nov 16 10:25:19 damn, I don't get why this bug is happening, nor what is happening on the NotepadV3 tutorial Nov 16 10:25:25 anybody went through it? Nov 16 10:26:19 i stopped at notepadv2 and started trying stuff out on my own Nov 16 10:26:20 :/ Nov 16 10:26:51 well, i was supposed to do that, and thought "oh well, it should be quickly done, and it'll help me understand more of the android sdk" Nov 16 10:27:06 well... actually it just helped me understand that I don't get this lifecycle stuff... Nov 16 10:48:32 Lede, you probably didn't do legos according to the instructions either! Nov 16 10:49:23 davidw: sometimes! Nov 16 10:50:03 I had a friend as a kid, whose parents wouldn't let him do legos *except* according to the instructions. I think he became a psycopath or something Nov 16 10:52:12 haha, oh wow Nov 16 10:53:26 lol Nov 16 10:54:08 :) Nov 16 11:17:06 so has anyone done anything to take apart the .apk? Nov 16 11:17:40 isn't it just a compressed file? Nov 16 11:18:01 a zip archive Nov 16 11:18:22 according to the file(1) command Nov 16 11:18:46 "test.apk: Zip archive data, at least v2.0 to extract" Nov 16 11:19:09 The extension for an Android package file, which typically contains all of the files related to a single Android application. The file itself is a compressed collection of an AndroidManifest.xml file, application code (.dex files), resource files, and other files. A project is compiled into a single .apk file. Nov 16 11:19:57 ah yep, just a .zip Nov 16 12:01:03 hm some XML attributes are poorly documented Nov 16 12:02:23 i.e. what value should they take, numerical, string a boolean (numeric?)? Nov 16 12:13:30 well you can guess them anyway Nov 16 12:25:47 so android applications are java Nov 16 12:26:02 does android work in windows mobile machine? Nov 16 12:26:11 . Nov 16 12:26:17 surely a part Nov 16 12:28:50 GNAM, nope Nov 16 12:29:32 GNAM, or else it depends what you define as android. If it's only the java classes or everything (including system libraries, kernel,...) Nov 16 13:36:46 yop Nov 16 13:37:24 yeop Nov 16 13:38:15 I really wonder when google is gonna release the media library part Nov 16 13:40:37 isn't it already ? Nov 16 13:40:42 bilboed: ?? Nov 16 13:40:47 bilboed: where ? Nov 16 13:41:03 I can see a libmedia.so on the filesystem Nov 16 13:41:14 bilboed ? Nov 16 13:41:23 bilboed: with the src ? Nov 16 13:41:32 key2, of course not :) Nov 16 13:42:04 bilboed :) where is the file ? where did u find it ? :) Nov 16 13:42:12 key2, in the system.img Nov 16 13:42:24 which contains the system libraries Nov 16 13:42:29 in wchich archive ? Nov 16 13:42:34 in the sdk Nov 16 13:43:14 bilboed: the linux version ? Nov 16 13:43:20 anyone :) Nov 16 13:43:32 bilboed: can I mount -o the .img ? Nov 16 13:43:38 I'm trying to Nov 16 13:43:50 bilboed: do you know what kind of fs it is ? Nov 16 13:44:04 otherwise somebody made copies of the contents here : http://benno.id.au/blog/2007/11/14/android-filesystems Nov 16 13:44:16 the fs is yaffs2 (yet another flash file system v2) Nov 16 13:44:23 which is a PITA to handle Nov 16 13:44:37 people, I must ask : http://code.google.com/android/reference/android/app/Activity.html#ActivityLifecycle (and the table below) states that onCreate is ALWAYS followed by onResume... however when stepping in my subActivity, it doesn't... it goes straight from onCreate to the "normal" state Nov 16 13:44:41 got the kernel module, but it seems like I can't mount it wihtout a valid device Nov 16 13:44:43 have any of you tested that? Nov 16 13:45:42 * bilboed starting to get really irritated at this yaffs2 Nov 16 13:47:37 has anyone experimented/played with the activity lifecycle? Nov 16 13:49:21 bilboed: are they supposed to open the media library sources ? Nov 16 13:49:43 key2, I guess so, else it beats the purpose of calling it an 'open' platform Nov 16 13:51:35 bilboed: but they haven't given a date yeat ? Nov 16 13:51:36 yet Nov 16 13:58:47 i think it will take some time Nov 16 13:59:01 likely july next year Nov 16 13:59:20 so untill next july, the media library won't be opened ? Nov 16 13:59:51 it is not like other parts of api have been open sourced Nov 16 14:00:32 they released source for the linux kernel ;p that has always been open source. the webkit, that is from apple. the emulator (at least something eh) Nov 16 14:00:37 well... you can grab the android.jar, unzip it, and run jad over all .class files to get (something close to the) original source code for that Nov 16 14:00:45 there was another thing Nov 16 14:00:51 that i cant remember now Nov 16 14:01:05 bilboed: that is not releasing the code Nov 16 14:01:09 gpolo: am not talkin about the java part Nov 16 14:01:25 am really talking about the library part, especially the openCORE from pv (libpv.so) Nov 16 14:01:32 which has all the license issue Nov 16 14:02:07 that is a library actually Nov 16 14:02:15 that is used by the java part Nov 16 14:02:41 i don't think we are getting the sources before mid next year Nov 16 14:02:52 mmh thats what I wanted to make sure of Nov 16 14:03:44 just dont expect soon enough Nov 16 14:03:56 k Nov 16 14:04:20 would be funny to have an openhardware, based on ARM cpu, to make the thing work Nov 16 14:04:49 let's say a 100 USD board with everything on it, like ARM, screen, 3G module... Nov 16 14:05:54 key2, is it easy to do what you said? Nov 16 14:06:43 if have guide, i would like to try it out myself first Nov 16 14:21:31 ss Nov 16 14:28:42 littleball: it's pretty easy yeah Nov 16 14:29:47 littleball: just have to find an ARM cpu with MMU, to run linux 2.6 on it, then you use one of those simcom GSM/EDGE/WCDMA module, one PSP screen, and an fpga to connect all together Nov 16 14:30:27 littleball: few more comp for the ac97 codec and PHY and ps2... i mean it's not complicated... and could make the board for about 100-150 i think Nov 16 14:30:56 littleball: keep in mind that it won't be a phone, just a dev board Nov 16 14:32:04 key2, any doc? Nov 16 14:32:13 yes. just for fun Nov 16 14:34:45 littleball: if you don't wanna bother, just find a PC104 ARM based board Nov 16 14:36:27 i was looking for tiny linux box before. Nov 16 14:36:41 but not sure whether android can work on them or not Nov 16 14:36:46 littleball: yeah but the binaries are compiled for arm Nov 16 14:36:57 littleball: so if you don't get the right cpu, you can't do anything with it Nov 16 14:37:03 not only arm. but other devices Nov 16 14:37:24 the system.img contains file compiled for ARM Nov 16 14:37:34 file libpv.so Nov 16 14:37:35 libpv.so: ELF 32-bit LSB shared object, ARM, version 1 (SYSV), stripped Nov 16 14:37:54 only support CPU is not enough Nov 16 14:38:13 how about other things like GSM module,,, Nov 16 14:38:34 if we had the src, I would have tried to compile them on a blackfin Nov 16 14:38:57 littleball: thats the easy part Nov 16 14:39:23 if it work , then easy. if it does not work, then difficult to find out the reason Nov 16 14:41:53 you can try first, if possible, post your result on your blog :-) Nov 16 14:42:11 http://www.funrock.ecomm.hk/front/bin/ptdetail.phtml?Part=SIM5210&Category=3123 Nov 16 14:42:30 littleball: you have module that integreate already GSM + WCDMA... Nov 16 14:42:37 littleball: so I don't worry about that Nov 16 14:42:37 i am going to do a simple program for android for sending international sms. Nov 16 14:42:47 littleball: java ? Nov 16 14:42:52 yes. Nov 16 14:43:11 it is simple and be the starting point Nov 16 14:43:13 how can you test it Nov 16 14:43:22 yes. can test Nov 16 14:43:31 littleball: since the emulator doesnt have gsm capabilities... Nov 16 14:43:46 now, it connect out to gateway through network Nov 16 14:43:56 littleball: which gateway ? Nov 16 14:44:08 littleball: if you wanna place a phone call with the emulator, what happens ? Nov 16 14:44:22 unless voip :- Nov 16 14:44:23 ) Nov 16 14:44:26 for sms, it is easy Nov 16 14:44:41 littleball: oh so you make it connect to your OWN gateway ? Nov 16 14:44:54 ya Nov 16 14:44:56 or one you paid Nov 16 14:44:57 mmh Nov 16 14:44:57 ok Nov 16 14:44:59 well Nov 16 14:45:14 littleball: then the other problem is that people are gonna abuse by changing their callerid Nov 16 14:45:17 to send sms Nov 16 14:45:23 no, Nov 16 14:45:25 and the gw is gonna have troubles ;) Nov 16 14:45:34 * Lede wonders when there will be some sort of update/news on the official blog Nov 16 14:45:36 you can get the phoe number from the phone Nov 16 14:45:52 no, my gateway does not have trouble Nov 16 14:46:02 allow you to set your own sender Nov 16 14:46:25 they cannot change the callerid Nov 16 14:46:33 the caller id is gotten from sim card Nov 16 14:46:41 mmh Nov 16 14:46:49 i thought the callerid wasnt in the sim card Nov 16 14:46:57 only the IMSI is in the sim Nov 16 14:47:04 it's the operator that attributes you the cID Nov 16 14:47:22 you can get the phone number property Nov 16 14:47:23 let me check Nov 16 14:48:12 yesterday, i checked, you can get the phone number Nov 16 14:48:40 k Nov 16 14:49:33 is it possible to develop application in C ? or is it only java ? Nov 16 14:49:36 String PROPERTY_LINE1_NUMBER The phone number of the device. "gsm.sim.line1.number" Nov 16 14:49:47 String PROPERTY_IMEI International Mobile Equipment Identity (IMEI) number Availability: property is available any time radio is on "gsm.imei" Nov 16 14:50:08 of course, i am not sure whether android does support what it promised or not :-) Nov 16 14:51:22 canot. at least officially Nov 16 14:51:28 maybe you can hack Nov 16 14:51:54 ll Nov 16 14:51:56 but java on android is ok. because it is highly optimized Nov 16 14:52:05 you can run multiple jvm concurrently Nov 16 14:52:25 so jvm cannot be heavy Nov 16 14:53:26 mmh i don't love java.. Nov 16 14:54:03 i usually program in C++ but i have no trouble picking up java Nov 16 14:54:20 i use both Nov 16 14:54:33 normally, in windows client program, using C++ is good Nov 16 14:54:39 but for server , java is much better Nov 16 14:55:34 i use netbeans for everyting. C++ . java, and android .... Nov 16 14:55:46 everything can be developed on netbeans Nov 16 14:56:00 littleball: why do you talk telegram style? Nov 16 14:56:13 telegram? Nov 16 14:56:52 you send one sentence and then continue it on the following line Nov 16 14:57:10 like Nov 16 14:57:11 this Nov 16 14:57:28 oh, thnking is faster than typing .. Nov 16 15:21:41 does anyone know if android will support java web start or something similar? Nov 16 15:23:33 hopefully not ;) Nov 16 15:24:51 whos porting javaboy first then? Nov 16 15:38:04 anyone well aware of how lifecycle actually goes? Nov 16 15:38:20 because I found inconsistencies between the specs (doc) and what really happen Nov 16 15:38:41 for example, an activity doesn't go in the "onResume" state after the "onCreate" Nov 16 15:40:14 where did you read thtt it would happen? Nov 16 15:40:26 i'd assume it would only go into onResume if it was paused or shut off Nov 16 15:40:27 http://code.google.com/android/reference/android/app/Activity.html#ActivityLifecycle Nov 16 15:40:49 it says : Always followed by onResume() (in the "onCreate" row in the table) Nov 16 15:42:23 whats your app doing differently? Nov 16 15:42:41 it goes in the "onCreate" state, and then the activity displays Nov 16 15:43:19 and it doesn't go in the "onResume()" state until it is effectively resumed (another activity shows, and either browse back to it, either close the new activity) Nov 16 15:43:27 yes, onCreate makes the activity VISIBLE to the user Nov 16 15:44:45 dunno Nov 16 15:46:43 well, if onCreate makes it visible, it's against what's described in the doc, isn't it? :D Nov 16 15:47:56 not necessarily Nov 16 15:48:14 it seems onStart is what realizes it Nov 16 15:48:15 it says that onCreate makes it visible but onResume is when the fun should start happening Nov 16 15:48:18 (displays to the user) Nov 16 15:49:06 yes, it is onStart Nov 16 15:49:10 onCreate is an initializer Nov 16 15:49:22 it says : Always followed by onResume() Nov 16 15:49:29 in the "onStart" row Nov 16 15:49:49 yes Nov 16 15:49:58 after it realizes Nov 16 15:50:00 it "resumes" Nov 16 15:50:05 what i'm saying, is that you don't go in the "onResume" unless you really resume the activity Nov 16 15:50:11 uhm Nov 16 15:50:29 i didn't test it Nov 16 15:50:43 it should (according to the doc) be called ALL THE TIME (i'm talking about onResume) Nov 16 15:50:58 what I'm saying is that I tested it, and it doesn't go in onResume on the first start Nov 16 15:51:09 it's going in the onResume only after a onPause or onFreeze Nov 16 15:51:19 not if you are "fresh starting" it Nov 16 15:51:33 it's not a big deal, just the doc isn't accurate on this point at least Nov 16 15:52:23 anyway, i'm off, have fun with android :D Nov 16 15:58:22 hi Nov 16 15:58:29 hi hi Nov 16 15:58:52 morning Nov 16 16:07:02 hi Nov 16 16:07:43 which phones can run android till now? Nov 16 16:07:57 Last I heard, nothing has been established yet Nov 16 16:08:52 anybody here have tried it on a phone? Nov 16 16:09:03 it is an entire os Nov 16 16:09:30 get it on the openmoko Nov 16 16:09:31 :D Nov 16 16:09:36 you could get, for example, the dalvik vm Nov 16 16:09:42 and libraries it relies on Nov 16 16:09:48 and try to put in some phone Nov 16 16:11:31 what i wonder is how google is planning to compete with other cell phone operating systems Nov 16 16:11:47 I think via applications Nov 16 16:12:37 google has more money Nov 16 16:12:40 that solves it Nov 16 16:25:29 gpolo: solves what? Nov 16 16:26:15 microsoft also has a load of money.. Nov 16 16:27:12 Personally, I think that the openness of Android will play in its favor Nov 16 16:29:15 Dralspire: hm what do you mean with play in its favor Nov 16 16:29:20 i just hope that it will be open soon Nov 16 16:29:21 :P Nov 16 16:29:59 Lede, I was responding to "MS also has a load of money" Nov 16 16:31:41 did google actually explain what there plans are Nov 16 16:32:45 Lede, it will be "open".... that's the best part Nov 16 16:32:55 in the future Nov 16 16:32:55 i wont need anymore help Nov 16 16:33:29 The way I understand it, Google keeps the "tools" free and monetizes the actual information flow Nov 16 16:33:35 we... i'll brb go to eat Nov 16 16:34:35 "information flow" ? Nov 16 16:36:36 They are writing about it a bit on code.google.com/android, basically indicating where they perceive their income to be in projects like Android Nov 16 16:48:18 Dralspire: even though i'm writting software for it i remain skeptic Nov 16 16:48:43 Well, it's a new platform :-) Hope your software is the roxage :D Nov 16 16:49:20 lol I should really get back to playing with the SDK, but this wiki thing actually takes some time hehe Nov 16 16:49:58 (android wiki that is) :D Nov 16 16:50:08 link? Nov 16 16:50:18 androidwiki.com Nov 16 17:03:08 back Nov 16 17:04:18 Dralspire why are you making another android wiki? Nov 16 17:04:25 for those who speak spanish.... come to help on android-es Nov 16 17:05:07 erus, mostly because I had it (originally registered for robotics :D) Nov 16 17:05:38 linrunix i'm there Nov 16 17:06:22 o lol Nov 16 17:06:40 get some ads on there :) make some cach Nov 16 17:06:47 cash* Nov 16 17:06:50 Haha cash I have :P Nov 16 17:07:18 YAAWF (yet another android wiki/forum) Nov 16 17:07:30 * Dralspire giggles Nov 16 17:07:57 lol Nov 16 17:07:57 the 'idea tracker' at helloandroid.com is kind of cool Nov 16 17:10:49 oh nice one Nov 16 17:30:27 in reference to the earlier comments about what google is going to do with android Nov 16 17:30:28 http://online.wsj.com/article_print/SB119517445580795065.html Nov 16 17:30:42 they are going to start their own mobile phone company Nov 16 17:31:04 or something with the 700MHz spectrum Nov 16 17:33:28 honestly, this has got me more excited than the iphone Nov 16 17:37:53 iphone got me sexited for 5 mins Nov 16 17:38:03 then i realised the only good thing was dual touch screen Nov 16 17:42:16 behmann: nice find Nov 16 17:42:18 thanks :) Nov 16 17:44:08 godzirra: ever get that stuff workng? Nov 16 17:44:10 working Nov 16 17:56:15 Lede: credit goes to /. Nov 16 18:09:59 evening Nov 16 18:11:57 dual touch screen? Nov 16 18:13:36 oh 'dual touch' = multitouch Nov 16 18:13:45 i was thinking nintendo DS :) Nov 16 18:17:31 u mean the iphone isnt a nintendo DS? Nov 16 18:32:07 if the backside of the iphone were also a screen, that might make it a DS Nov 16 18:40:54 steve_k: I got the list working, yes. :) Now I just have to figure out how to actually read the pdb files I'm trying to read. :) I'm not sure even how to get started on that to be honest. We currently use a typedef struct in C to read the headers, but I don't have a clue how to get that to java. Nov 16 18:41:11 don-o: that would actually just make it -more- of a fingerprint magnet. :) Nov 16 18:41:21 godzirra: what was the problem? Nov 16 18:42:06 steve_k: I've no clue. Nov 16 18:42:26 steve_k: I downloaded don-o's package, confirmed that mine was -exactly- the same (at least from what we could both see) and his worked and mine didn't. Nov 16 18:42:34 heh Nov 16 18:43:27 Was very odd. Nov 16 18:52:46 Any Google folks roaming around? I have some specific questions about a specific demo in the ApiDemos collection. Nov 16 18:55:30 Or actually anyone else could potentially know. Nov 16 18:56:10 view/List4.java claims that the LinearLayout described for the row views could potentially be satisfied by an XML resource file, but this does not seem to be true. Nov 16 18:57:19 The only interface used throughout the entire sample collection is from an Activity method called setContentView, which does not exist for View objects (or Layouts). Nov 16 18:57:31 It seems that the comment is wrong? Nov 16 19:10:33 godzirra what you making? :) Nov 16 19:18:07 erus`: Trying to see how difficult it would be to write a book reader for android. Nov 16 19:23:04 godzirra: that sounds like a wonderfull idea :) Nov 16 19:23:18 I want to write a file manager and ssh client ;) Nov 16 19:23:23 just for kicks. Nov 16 19:23:34 ssh client with key support would be very very very welcome :) Nov 16 19:23:45 i have an ssh client on my Windows Mobile phone and i love it. Nov 16 19:24:03 I have putty on my e60 and it works, but not very well Nov 16 19:24:06 i wrote a couple of curses-based wrappers around common functions i would perform on our linux servers Nov 16 19:24:16 and when i ssh in from my phone i just run the curses-based wrappers and get a little menu :) Nov 16 19:24:22 nice Nov 16 19:24:31 my first propper app gonna be an IRC client or porting an emulator Nov 16 19:24:52 my first proper app i'm hoping to be groupware logic, with e-mail support. Nov 16 19:25:17 i know that google is planning to write their own e-mail app, but i have other plans :) Nov 16 19:25:42 meus: Hopefully I can get it working ;) Nov 16 19:25:43 better groupware on mobile platforms is really essential, and google will just probably integrate with all their online services in a very narrowminded way. Nov 16 19:27:16 id like to see android use zeroconf for peer discovery. i didnt see anything about that in the slides Nov 16 19:27:20 i think mobile devices should just become VNC clients to our computers :) Nov 16 19:27:59 the great thing about developing a group-ware app is that all it needs is Internet, which is very easy to developer in the emulator only :) Nov 16 19:36:35 Is there any way to get access to the microphone using the SDK? Nov 16 19:37:06 hey zith_ :) Nov 16 19:37:17 <- rubicant from dievo Nov 16 19:37:22 no way Nov 16 19:37:23 :) Nov 16 19:37:25 :D Nov 16 19:37:34 where have you been? :D Nov 16 19:37:49 dwelling on freenode :) Nov 16 19:38:08 i've missed you! Nov 16 19:38:29 have the face detection functions in the sdk been implemented yet? Nov 16 19:41:26 Lede: packy says hi Nov 16 19:43:35 zith_: where? Nov 16 19:43:44 Lede: i talked to him on the phone Nov 16 19:43:50 ah oke Nov 16 19:44:43 we hang out on irc.intruded.net #intruded and such though Nov 16 20:11:32 How do you stylize the application name (title) programmatically? Nov 16 20:11:48 dont write it and draw one Nov 16 20:11:57 What do you mean? Nov 16 20:12:00 you can chose to not show the standard one Nov 16 20:12:23 Really, how? Nov 16 20:13:11 it is a window style Nov 16 20:13:17 take a look at the api Nov 16 20:13:21 windowNoTitle Nov 16 20:19:59 interesting, and you can instead draw your own? Nov 16 21:55:36 one question: why italy are escluded? Nov 16 21:56:49 tommax1083: the italians are too intelligent. its not fair to the rest of us. Nov 16 21:56:56 i think italty has funky laws on competitions Nov 16 21:57:01 haha Nov 16 21:57:11 * don-o has no idea Nov 16 21:57:54 i liked the one post where someone said 'im in italy but im not a citizen, can i play?' Nov 16 21:58:13 wonder if i have 1k emails in my inbox Nov 16 21:58:25 Inbox (656) Nov 16 21:58:28 geting there Nov 16 21:58:37 cant read the emails fast enough :S Nov 16 21:58:57 posing as a 15yo on craigslist? Nov 16 21:58:59 (gmail)1 - 50 of 6895 Nov 16 21:59:06 ;) Nov 16 21:59:11 duey: post your email address here and we'll make sure you break 1k Nov 16 21:59:15 lol Nov 16 21:59:17 hahah Nov 16 21:59:18 tommax1083: it is explained in the newsgroup, basically the italien goverment wants a slice of the pie if you win anything in a competition Nov 16 21:59:50 just wait to call it income to the winners. Nov 16 21:59:54 thats what the other countries do. Nov 16 21:59:58 seems kind of greedy :) Nov 16 22:00:02 just do it and say you donate any funds receieved to charity Nov 16 22:00:24 just move to switserland.. Nov 16 22:00:36 twizzlerland Nov 16 22:00:48 android has flooded out my other newsgroups :( Nov 16 22:01:51 i'm italian, but im not happy for this...i dont wanna are italian :D Nov 16 22:02:23 hehe nobody's perfect :-) Nov 16 22:02:35 hmm Nov 16 22:02:42 eheh good thing! Nov 16 22:02:44 does the emu camera work with macbooks? Nov 16 22:03:30 duey: supposedly because i saw a post titled 'emulator does not close macbook camera properly' or something like that Nov 16 22:03:36 yeah Nov 16 22:03:38 me too Nov 16 22:03:44 just wondering if it does Nov 16 22:03:48 ill have to upgrade my ibook Nov 16 22:05:01 oh it might not Nov 16 22:09:50 the emulator will nto currently work with any camera Nov 16 22:10:49 ahk Nov 16 22:27:12 ll Nov 16 23:21:21 Hmm. Nov 16 23:30:06 How do you create your own Intent URIs? Nov 16 23:31:07 IntentReceiver doesn't seem like the right wayy. Nov 16 23:31:09 way* Nov 16 23:31:37 Say I wanted to add and handle mailto://? Nov 16 23:37:41 jasta: http://code.google.com/android/reference/android/content/IntentFilter.html Nov 16 23:50:06 duey: Thanks, I remember seeing this once before :) Nov 17 02:26:37 hello all. Nov 17 02:32:04 hi Nov 17 02:46:07 im tring to run the notpad example and it seems that the emulator comes up but the notpad app keeps crashing Nov 17 02:47:18 im choosing the NoteEditor activity. Nov 17 02:47:56 what error? Nov 17 02:48:18 sorry, let me get it.. Nov 17 02:51:33 the emulator screen says application Error: Note Pad .... Unable to start activity ComponentInfo{...} java.lang.NullPointerException Nov 17 02:51:54 gives me the option to force quit Nov 17 02:54:24 have u finished tutorial? Nov 17 02:54:43 the building tutorial? Nov 17 02:55:54 I have just watched a few youtube vids and then followed the creating an android project. Nov 17 02:56:10 i might of not read up on something else. Nov 17 02:57:28 http://code.google.com/android/intro/tutorial-ex1.html Nov 17 02:59:05 i've noticed that when i'm using it, the adr server isn't killed when i press the close button on the window **** ENDING LOGGING AT Sat Nov 17 02:59:57 2007