Hi, I didn't get what you mean. Could you explain more? I build system.img and sdk myself, so I can add my com.example.base.jar into system.img. Thanks, Jove
On Mar 26, 3:14 am, Dianne Hackborn <hack...@android.com> wrote: > You can't currently make your own library in the SDK, so the questions > should be on android-platform. > > On Wed, Mar 25, 2009 at 11:14 AM, Mark Murphy <mmur...@commonsware.com>wrote: > > > > > > > Jove wrote: > > > Hi guys, > > > I meet an issue. > > > I have two services, both of them lies in separate apk, which run > > > in same process. The two service share same jar file by <uses-library> > > > method. The jar file implement a class, say "test", is a singleton. > > > But I found that two instance of test is created under this case, > > > could anybody give me some tips? I want to ensure it's singleton. > > > If you can explain a bit about how you are using <uses-library> for your > > own JAR files, I might be able to figure out why you are getting two > > instances. I have not seen much use of <uses-library> outside of the > > Google Maps situation. How are you using it in your application? > > > -- > > Mark Murphy (a Commons Guy) > >http://commonsware.com > > Android App Developer Training:http://commonsware.com/training.html > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support. All such questions should be posted on public > forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---