Hello all,

 

I've been reading up on OSGi, checked out Neil Bartlett's excellent
tutorial, and checking out some of the examples available for Felix. The
reason for this is that for my master thesis, I'm developing a
context-aware application on Android and plan to include a
context-awareness framework that has been developed on Oscar. Although
it doesn't work straight out of the box on Felix, I suppose some minor
adjustments will fix this. 

 

To shortly explain what it does: the framework contains a context
broker, allowing the registration of context sources, which can be
looked up by context consumers. These are all implemented as separate
bundles. It also has a reasoning engine (also made up out of a number of
bundles), allowing notifications to be triggered by certain context
properties. To do a notification, the reasoning engine calls a specified
method of a registered bundle. For more info, check out the Amigo
Project.

 

My idea is to get data from the phone, like its location or some
information entered by the user, into the framework, so that it can be
made available to the reasoning engine and to other registered services.
For instance, based on the location, a certain context consumer could
determine the weather at that location and send it back to the phone.
The location could also be used by the reasoning engine to trigger a
notification when the user is close to a store. 

 

 

The question is, what is the best way to establish the communication
between the mobile device and the context-awareness server running on
Felix? Does the Android phone need to run an OSGi-platform, that
communicates somehow with the other OSGi-platform? Something like:

 

Phone -> context source bundle, running on OSGi on Android -> context
source bundle running on OSGi on server

 

Or should I use another way, like some RMI-based objects on the server,
that can be looked up in a registry and can be used to call methods of
the context source bundle? Like:

 

Phone -> RMI-object on server -> context source bundle on OSGi on server

 

Scalability is also an issue, how is it possible to have multiple
phones, thus multiple context sources providing their data to the
server?

 

 

Hopefully there is someone who could shed some light on this for me,
finding the best solution has been bugging me for some time now.. Of
course, if you want to know more about my assignment, I'd be happy to
explain it some more, but I thought it to be best to keep it as simple
as possible here.

 

Thank you very much!

 

Freek Uijtdewilligen

University of Twente, the Netherlands

Logica, the Netherlands

 



Please help Logica to respect the environment by not printing this email  / 
Pour contribuer comme Logica au respect de l'environnement, merci de ne pas 
imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie 
so Logica dabei die Umwelt zu schuetzen  /  Por favor ajude a Logica a 
respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.

Reply via email to