[android-developers] Re: For modular requirement

2008-12-03 Thread Louis
Thanks a lot also On Nov 30, 5:28 pm, "Xiaoliang Ding" <[EMAIL PROTECTED]> wrote: >   Thanks Dianne. Your approaches are very helpful. We will try them both. > >   Thanks >   Ding > > 2008/11/30 Dianne Hackborn <[EMAIL PROTECTED]> > > > A good way to do this is publish it as a service in another

[android-developers] Re: For modular requirement

2008-11-30 Thread Xiaoliang Ding
Thanks Dianne. Your approaches are very helpful. We will try them both. Thanks Ding 2008/11/30 Dianne Hackborn <[EMAIL PROTECTED]> > A good way to do this is publish it as a service in another .apk, which you > can query the package manager for and bind to. This isn't really a true > plug

[android-developers] Re: For modular requirement

2008-11-29 Thread Dianne Hackborn
A good way to do this is publish it as a service in another .apk, which you can query the package manager for and bind to. This isn't really a true plug-in though (a service is a global singleton in the system, and you'll nee to define a .aidl interface to it so it can run in another process). An

[android-developers] Re: For modular requirement

2008-11-28 Thread Xiaoliang Ding
Hi, Ludwing, Louis But how about a new added application. If we want to a new plug-in added into the main application, how can do it ? Thanks Ding 2008/11/28, Louis <[EMAIL PROTECTED]>: > > > Thanks Ludwig. And by the way, could we download a Jar file and put it > into the basic applicatio

[android-developers] Re: For modular requirement

2008-11-28 Thread Ludwig
You can include jar files into your apk, in eclipse just add them to your build path and they will be included automagically.The one thing you have to be aware of, however, is that Android is not Java, but quite a cut-down version of it, so dependencies in your jar files that work on standard JME o

[android-developers] Re: For modular requirement

2008-11-27 Thread Louis
Thanks Ludwig. And by the way, could we download a Jar file and put it into the basic application, then the basic application can call it through some interfaces? On Nov 27, 8:28 pm, Ludwig <[EMAIL PROTECTED]> wrote: > Think about Intents and split your application into multiple applications > (p

[android-developers] Re: For modular requirement

2008-11-27 Thread Ludwig
Think about Intents and split your application into multiple applications (perhaps running under the same userid), each serving a bunch of intents. Then you can upgrade each application (which might just respond to one intent) separately and Android will at run-time find the best-matching intent (o