**** BEGIN LOGGING AT Wed Nov 19 02:59:57 2008 Nov 19 03:13:35 Any idea why I get NullPointerException in onMenuItemSelected(...) { this.setContentView(findViewById(R.layout.foo)) } Nov 19 03:13:57 if I set it to an initialized java object it works fine. Nov 19 03:46:50 oops...static typing FTW Nov 19 14:14:28 got a question regarding the alarm manager... I need to wake up to send keep alive messages on a regular basis. So I was planning on sending a broadcast intent from the alarm manager. I Nov 19 14:14:43 will android create a new instance of the broadcast receiver to receive the intent? Nov 19 14:14:55 or is there some way to create an instance which will receive all such intents? ie: I somehow need to keep state in the broadcast receiver Nov 19 14:15:20 so either the receiver binds to my service, and tells it to send hte keep alive, or I can cache the state in the receiver... Nov 19 15:39:36 Is this going to become an official android channel? Nov 19 15:40:56 If yes, maybe it could be listed on http://source.android.com/discuss Nov 19 15:41:03 gotta go... Nov 19 16:30:44 jbq i kinda like that its off the beaten path.... keeps the clue high Nov 19 16:30:44 (er) Nov 19 16:31:03 SanMehat: hey! Nov 19 16:31:10 hey man Nov 19 16:31:11 SanMehat: How's it going? Nov 19 16:31:18 ok.. tired Nov 19 16:31:20 SanMehat: :( Nov 19 16:31:27 puppy kept me up. he was sick all night Nov 19 16:31:28 he's ok now Nov 19 16:31:33 SanMehat: Awwww. :( Nov 19 16:31:55 SanMehat: Puppies are awesome. Nov 19 16:50:31 +1 for low-key.... definitely wouldn't like the channel to be publicly listed Nov 19 16:53:29 whats up Nov 19 16:53:29 hows everyone Nov 19 16:53:55 hey anyone familiar with webtops? Nov 19 16:54:52 whatnows? Nov 19 16:55:33 huh? Nov 19 17:07:20 any info leaked on what apps are going to be release at the begining of the year Nov 19 17:10:10 gododr: ? Nov 19 17:10:22 ..wrong channel maybe? :) Nov 19 17:11:19 Is is still called a leak if it's on the official roadmap? Nov 19 17:11:33 depends if you leaked the roadmap :) Nov 19 17:11:48 jbq: thanks for the download manager btw Nov 19 17:12:10 ok. here's a sekrit URI, don't repeat it: http://source.android.com/roadmap Nov 19 17:12:19 romainguy__: how so? Nov 19 17:12:35 (btw, you're welcome) Nov 19 17:12:35 I forgot to download my favorite podcast on iTunes this morning Nov 19 17:12:46 so the download manager saved my commute :) Nov 19 17:12:59 ah :) Nov 19 17:14:03 I sleep better now that I've seen that the download manager didn't suffer from catastrophic meltdowns downloading system updates or market apps. Nov 19 17:15:11 very disappointed at the Movie & Showtimes app Nov 19 17:15:46 The "Get directions" for theaters launches the browser Nov 19 17:15:55 and points to the mobile google maps page Nov 19 17:16:00 instead of, you know.... launching the maps app : ( Nov 19 17:19:06 Any word when video record will be available in the api? Nov 19 17:20:28 Probably not before it can be tested on some hardware where video recording works well enough. Nov 19 17:22:31 what do you mean by well enough? :) even the 4 year old phones here on my desk can record video (well.. they look crap but hey.. at least they record something) :) Nov 19 17:24:17 I guess that by "hardware" I meant "whatever has to be made to work underneath android itself", i.e. drivers, firmware, etc... Nov 19 17:24:52 SIM application toolkit (STK): "This feature will enable the SIM to initiate actions for various operator-specific value-added services." Nov 19 17:24:54 Can anyone explain that manager doublespeak away? Nov 19 17:25:18 is this the "Oh, you have GPS on your cell phone plan, you're allowed to access the GPS on your phone now" bullshit that verizon et al pulls? Nov 19 17:27:30 jbq, oh I see.. Nov 19 17:32:02 vol: I believe that some SIMs have on their own enough storage and enough CPU power to contain some small logic about e.g. call routing, and there needs to be enough support in the framework to be able to update that SIM content from regular framework apps. But I might be wrong, as this is from very vague memories of a previous life. Nov 19 17:32:43 jbq: ah, ok. Nov 19 17:34:08 in non-marketese: "this is something that some operators require, and having it in the platform will make it easier to deploy android-based devices on those operators' networks". Nov 19 17:40:46 can android currently deal with IBinder other than the standard Binder object? Nov 19 19:15:20 jbq: or any other google guy, im writing a thesis about voip on android and would like to use a picture from the docs at http://code.google.com/android. which licence does apply to the docs, or am i allowed to use it? Nov 19 19:17:14 I'm not sure about the details. Generally the docs are generated from the source tree, so you could find detailed license information there, but I don't know how well the released source tree matches the published docs. Nov 19 19:22:32 hmm, ok, the picture in question is included, (./out/target/common/docs/framework/images/system-architecture.jpg) so does apache licence apply? damn, i hate those licence issues Nov 19 19:24:40 Looking at my copy of the source tree, it looks like the applicable license file would be the framework's one, i.e. apache2. Nov 19 19:25:27 ah ok. i wasnt sure if apache2 applys to a doc at all. thanks. Nov 19 19:25:39 I'm not a lawyer, so don't take what I said as legal advice. Nov 19 19:27:18 well, its an internal thesis. i hope my supervising tutor wont ask me at all or this answer would be enough for him Nov 19 19:29:30 thanks alot Nov 19 19:29:54 np - I hope that helped. thanks for actually trying to do things the right way. Nov 19 19:34:26 one more question, out of personal interest only. are you guys hanging out for fun here or is it ordered? by google? Nov 19 19:34:57 it's encouraged, not mandatory. and it's fun :) Nov 19 19:35:35 ahhh, ok. nice that google cares about irc at all Nov 19 19:36:33 IRC is a good tool for a community to have interactive discussions, and google really wants to be part of the android community. Nov 19 19:55:15 and hell, it beats working Nov 19 19:55:27 <-- not a google employee, but also IRCs at work Nov 19 19:56:14 yeah, that's true Nov 19 19:56:28 I find irc to be a really great resource too Nov 19 19:56:33 I help others and get helped in turn Nov 19 19:56:39 same Nov 19 20:06:37 i wonder if IRC-ing accounts for some of the 20% Nov 19 20:06:58 http://xkcd.com/303/ Nov 19 20:43:51 hi ... how to get a package installed in /system/app rather than /data/app (obviously acting on android source code)? Nov 19 20:48:01 filosofico: you can just place an apk in /system/app to install it Nov 19 20:48:30 do note that on the G1, users do not have write access to /system/app (or even direct access to /data/app for that matter) Nov 19 20:49:53 jasta: that doesn't work as of 0.9 or so Nov 19 20:50:01 the package installer now does a bunch of meta-info Nov 19 20:50:25 doing that isn't guaranteed to successfully install anything, and rm-ing from that dir is definitely not guaranteed not to leak space Nov 19 20:50:31 oh Nov 19 20:50:49 'adb install' is the right thing to do Nov 19 20:51:00 how well does ImageView.setImageURI() work with remote http:// images? Does it lock the UI thread? Nov 19 20:51:11 zhobbs: i dont believe it is intended for use on external streams. Nov 19 20:51:17 even if it does work, im sure it doesnt work properly Nov 19 20:51:35 it would need a quite a lot of threaded sophistication to do that properly Nov 19 20:52:19 jasta: yeah, was hoping that sophistication was built in Nov 19 20:52:19 gmail themes...nice. Nov 19 20:52:44 zhobbs: wouldnt be too much work to make a widget that can do this Nov 19 20:54:07 jasta morrildl: thanks Nov 19 20:55:44 jasta morrildl: the question is that I don't figure out how assign a signature (to be check against intent's sender) to a system server like AlarmManagerService Nov 19 20:58:09 I guess that you'd do that with signature-constrained permissions. Nov 19 20:59:04 jasta morrildl: or, if this isn't possible, how to bind to a system service in a fully controlled manner (ie that only one trusted application can bind it) Nov 19 20:59:38 filosofico: put everything in the same process and set android:exported="false" on the service Nov 19 20:59:39 or the same package, i mean Nov 19 21:00:23 jbq: the fact is that I don't find in the source a place where I can do set manifest-like permissions for a system server ... Nov 19 21:01:10 I'm not familiar with those details to be able to help you further, sorry :( Nov 19 21:01:23 jbq: no problem, thanks anyway Nov 19 21:08:13 the question is to extend android to interact with a different /dev/something. Managing to be sure that only allowed applications can write to the device I need to make the /dev/something owned by system. And so is needed implements a system service. But this is uneusefull if i cannot check who bind the service. Nov 19 21:11:49 The idea is to 'encapsulate' the system service in a way that can be reached only through Intents. In particular a system-installed package is supposed to be the only that knows about the system service (and bind to it via AIDL) an accept from the applications environment only intents coming from applications signed by the same developer. Nov 19 21:12:55 For this I was asking how to insert into the source tree a package non removable by the user and with a signature Nov 19 21:14:00 Excuse me for the exageration of words... :-) Nov 19 21:34:02 filosofico, that's assuming the user can't get root :/ Nov 19 21:40:38 languish: yes ^^ .. but I hope google has not gave this ability to applications **** ENDING LOGGING AT Thu Nov 20 02:59:56 2008