RE: Blocked Thread while shutting down Felix / IPojo

2012-04-03 Thread Gay David (Annecy)
Hi, Thanks for your analysis Richard, I have open an issue on iPojo here : https://issues.apache.org/jira/browse/FELIX-3421 It the meantime, I will try to find a workaround to solve my problem. WBR // David -Original Message- From: Richard S. Hall [mailto:he...@ungoverned.org] Sent:

Re: Problem when exporting system packages from Android to bundles

2012-04-03 Thread M. van Ree
Hey Angelo, For the moment I've only just used BNDTools to generate the manifest which seems to work well now, the class mismatch error is gone now. However, I do get a Nullpointer when trying to draw something on the screen using the imported packages. But I guess that occurs because the bundle

Re: [ANN] Java Application Architecture: Modularity Patterns with Examples Using OSGi

2012-04-03 Thread Caspar MacRae
You've certainly got Uncle Bob excited =) On 2 April 2012 19:02, Kirk Knoernschild pragk...@kirkk.com wrote: Apologies for the blatant advertisement, but want to let you all know that my book, Java Application Architecture: Modularity Patterns with Examples Using OSGi is now available. The

Re: Problem when exporting system packages from Android to bundles

2012-04-03 Thread Angelo van der Sijpt
Yay, another BNDtools convert! :) I'm not sure what you mean by get a Nullpointer when trying to draw something on the screen; perhaps you're missing an Acitivity or something. Remember that, at least in my experience, the Android lifecycle prevails, and OSGi has to be fit into that. Angelo

Re: Problem when exporting system packages from Android to bundles

2012-04-03 Thread M. van Ree
I'm probably looking at a solution which isn't going to work, but the idea was to start a new activity from the bundle (which also contains that activity) in the bundle.start method like so: Intent i = new Intent(); i.setAction(Intent.ACTION_MAIN); i.addCategory(Intent.CATEGORY_LAUNCHER);

Re: Problem when exporting system packages from Android to bundles

2012-04-03 Thread M. van Ree
Hi Marcel, Off course, and I do believe it's an Android/OSGi in general combination problem (albeit caused by myself), and after all this is the Felix user list... Will try some more things and try to narrow down the problem so I can post a more specific question in the right place! Maurice On

Re: [ANN] Java Application Architecture: Modularity Patterns with Examples Using OSGi

2012-04-03 Thread Hynek Cihlar
Kirk, thank you for the notice. The book is wonderful! Hynek On Mon, Apr 2, 2012 at 8:02 PM, Kirk Knoernschild pragk...@kirkk.comwrote: Apologies for the blatant advertisement, but want to let you all know that my book, Java Application Architecture: Modularity Patterns with Examples Using

Re: OBR and automatic bundle update

2012-04-03 Thread Matias SM
Ok, thank you very much for your comments Richard. I will keep them in mind and do further experimentation. On 02/04/12 21:25, Richard S. Hall wrote: The location string is a deployer assigned persistent identifier, so it cannot change. Your confusion arises because frameworks use the URL as