**** BEGIN LOGGING AT Mon Nov 24 02:59:57 2008 Nov 24 19:51:55 I'm trying to do a bind an activity to a service, each as their own seperate project. I'm receiving a securityException when I try to bind. How should my permissions in my manifest be setup? Nov 24 19:54:27 Nov 24 19:54:46 if you are using eclipse you can use the gui tools to add it also Nov 24 19:55:42 jt436: so I should add that to my manifest in my client (activity) project Nov 24 19:56:31 famast: correct Nov 24 19:58:52 still doesn't work. Logcat is showing a permission denial warning. Claims the service "requires null" Nov 24 20:02:47 hmm, I used the gui tool and thats what I have in my manifest Nov 24 20:04:02 what about in the service project, anything special in that manifest? Nov 24 20:04:41 well if you have separate projects you will need to define the service in both Nov 24 20:05:02 informed guess, I haven't tried it myself Nov 24 20:05:13 ok Nov 24 20:05:16 thanks Nov 24 20:06:24 the sample code provided with the sdk has a remote service example, I would check the manifest from the project Nov 24 20:13:18 sdk cheats, it uses the same project for the whole thing Nov 24 20:13:26 doesn't seem to have anything there anyway Nov 24 20:14:02 famast: the ApiDemos does declare services. Nov 24 20:15:58 jasta: yes it declares services, no it does not seem to do much about permissions for binding Nov 24 20:16:09 you dont need to do anything about permissions Nov 24 20:16:22 you only need to require permissions if you choose to. otherwise, no permission is necessary Nov 24 20:16:26 one would think, but android seems to say differently Nov 24 20:16:36 then why do I keep getting the SecurityException Nov 24 20:16:47 i dont know, can you paste the logcat output? Nov 24 20:16:50 sure Nov 24 20:17:02 i just cleared it let me run the program again Nov 24 20:17:07 and also your manifest please Nov 24 20:22:45 logcat output - http://docs.google.com/View?docid=dhr6zg5v_40hm37s2f9 Nov 24 20:23:01 you couldve just used pastebin :) Nov 24 20:23:32 can i see the manifest now? Nov 24 20:24:35 ok I added the manifests too Nov 24 20:24:47 so these are two separate apks? Nov 24 20:24:49 forgive my irc noobiness, pastebin is unknown to me Nov 24 20:24:51 yes Nov 24 20:24:58 use Nov 24 20:25:03 thanks Nov 24 20:25:15 or maybe its just export=. hmm, grep the samples ;) Nov 24 20:25:33 np, just needed a point in the right direction Nov 24 20:26:35 if you look at the androids docs under Service and then click on to go to the manifest options Nov 24 20:26:39 itll tell you all about it. Nov 24 20:27:41 sure enough it works. Thanks. Going to read up on this little gem now Nov 24 20:27:46 you can also set up permissions if you want. its also documented there as well Nov 24 20:28:24 Yea I learned how to do that. Or atleast I think I do Nov 24 20:28:40 its kinda confusing because there the service has a permission attribute right, but then there is a whole permissions section Nov 24 20:29:48 teh permission attribute of a specifies what permissions must be requested in order for other processes to use it Nov 24 20:29:56 you can define your own arbitrary permissions Nov 24 20:31:35 I see. In that case just a plain ol would apply to the entire apk? Nov 24 20:44:51 no, declares a permission, it doesnt apply it to anything Nov 24 20:45:34 http://code.google.com/p/five/source/browse/trunk/five-client/AndroidManifest.xml Nov 24 20:45:40 but keep in mind i am currently moving away from this approach Nov 24 20:45:55 i have decided to merge my 2 apks into one, to reduce process overhead. Nov 24 20:50:28 I seem to recall some discussion that apps signed with the same key should share the same VM Nov 24 20:52:19 they dont by default, perhaps they can be made to Nov 24 20:52:25 i thought the closest 2 apps could get was the same group (so file access could be shared) Nov 24 20:52:30 but still, distributing two different apks currently looks like a losing strategy. Nov 24 20:53:01 the market doesnt deal with it at all, and there seems to be no dependency management system coming soon Nov 24 21:09:25 Anyone done much OpenGL programming on Android? Nov 24 21:16:16 * andyross did a native OpenGL performance rig, so I guess that counts. Nov 24 21:28:53 andyross: I Nov 24 21:29:20 err I'm wondering how bad using floating point instead of fixed points is going to hurt me Nov 24 21:29:27 it's a pretty simple 2d game Nov 24 21:30:15 The G1 does not have a fpu co-processor correct? Nov 24 21:31:18 The G1 has no FPU The MSM7k parts *do* have a floating point vector engine in the GPU, but unfortunately that seems to be disabled. Vertex transforms are done by the CPU in a 16:16 fixed point representation. The conversion doesn't actually make much difference to performanc.e Nov 24 21:32:00 I found the best performance was with GL_BYTE vertex coordinates (smaller data, better cache footprint), but with GL_FIXED texture coordinates (which can use an identity texture matrix, thus avoiding the extra transform) Nov 24 21:32:43 Keep your textures small -- there's a big gap between fill rate with 128x64 textures and 128x128. Don't use vertex lighting, which drops the triangle rate by about half. Nov 24 21:33:22 great stuff, thanks Nov 24 21:33:36 On the other hand, the texture engines are monsters: you can get 50M multitextured pixels per second, allowing some nifty multipass effects as long as you keep the number of vertices down. Nov 24 21:34:28 Oh, and one more: use triangle strips. There doesnt' seem to be any vertex caching done, so a strip is 3x faster than the same set of discrete triangles specified in the same order. Nov 24 22:10:00 hey, is anyone getting a weird bug with gmail? Nov 24 22:10:32 When i log into my gmail on my pc, e-mails i've sent from my handset I can see many copies of it in various stages of me writing it Nov 24 22:10:39 and it looks like they all get sent Nov 24 22:10:40 digitalspaghetti: that's odd. Nov 24 22:11:05 digitalspaghetti: accessing it through the Email app (not Gmail app) through IMAP? Nov 24 22:11:18 for example, i replied to an email in my inbox and i can see 8 replies to the person from me Nov 24 22:11:31 no jbq through the gmail app on the phone Nov 24 22:11:39 my account is a GOogle Applications account Nov 24 22:11:53 Hmmmm that's odd (and not something I had heard of before) Nov 24 22:13:11 i'll post a screenie, maybe post it as a bug as I've seen it more than once Nov 24 22:13:35 Please post a bug, especially if it's reproducible. Nov 24 22:22:07 http://mercury.digitalspaghetti.me.uk/files/images/weird_bug.png Nov 24 22:22:18 you think there is enough information removed for me to attach this Nov 24 22:25:16 lemme see Nov 24 22:26:26 with it being my email, i don't want any personal stuff on there, but i still need to show the bug Nov 24 22:26:42 You could also remove the ads on the right, they might be giving hints about the parts that you blacked out. I'm also not sure that the original message is as useful as the rest. Nov 24 22:28:05 ok, just cut it down, and i'll put a note the origional email is above Nov 24 22:28:38 ok, thanks :) Nov 24 22:28:56 digitalspaghetti, I'm glad I'm not the only one that gets weird things like that Nov 24 22:40:41 recipient confirmed he only got 1 copy, but mine (and my GMail app) show 11 Nov 24 23:08:55 hey, anyone that could help me with a question around adding some functionality in dalvik vm ? Nov 24 23:09:43 lresende: Just ask your question. If anyone knows, they'll answer. Nov 24 23:10:55 is there any reason for why qname support is not currently available at dalvik ? Nov 24 23:12:20 also, i'm trying to add this support now, but it looks like even if I add some new classes to dalvik/libcore/xxxx and then i try to build, looks like android.jar still does not pickup my new classes, am i doing something wrong ? Nov 24 23:12:56 i'm building using make sdk **** ENDING LOGGING AT Tue Nov 25 02:59:57 2008