[android-developers] Re: Singleton in different service which share same process

2009-03-26 Thread Jove
got the some clues, if I add com.example.base into BOOTCLASSPATH , it resolved. but every process will map my jar, does we have better solution? On Mar 26, 11:45 am, Jove jove.c...@gmail.com wrote: Maps of my process, it's strange. com.example.base.jar is mapped twice. :( 41036000-41037000

[android-developers] Re: SMS encoding?? how can i receive Chinese SMS???

2009-03-26 Thread Jove Chia
does it related to encoding or font? how you can send sms by eclipse? 2009/3/26 SinFrancis kyowxf2...@gmail.com I wanna receive Chinese SMS , i use eclipse send Chinese SMS to emulator, but the message all like this ?, if the English SMS, not prob. I wanna know the encoding of SMS

[android-developers] Singleton in different service which share same process

2009-03-25 Thread Jove
this case, could anybody give me some tips? I want to ensure it's singleton. Thanks, Jove Test.jar - test.class A.apk - A.class B.apk - B.class A.class call Test.getInstance() B.class also call Test.getInstance() A and B share same process, but two instance of Test is created under this case

[android-developers] Re: shared Jar files between different project

2009-03-25 Thread Jove
com.example.test to framework/base(which mean extend android API), it works. Regards, Jove On Mar 20, 1:26 pm, Greg Krimer gkri...@gmail.com wrote: Hi, I am confused. Which project is running A or B? Is com.example.A.test1 in project A or B? What is the type of the object that you do create? Try

[android-developers] Re: Singleton in different service which share same process

2009-03-25 Thread Jove
can use the uses-library method to call the method in com.example.base. Any clues? Thanks, Jove. On Mar 26, 2: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

[android-developers] Re: Singleton in different service which share same process

2009-03-25 Thread Jove
in system.img. My example application can use the uses-library android:name=com.example.base method to call the method in com.example.base. Any clues? Thanks, Jove. On Mar 26, 10:22 am, Jove jove.c...@gmail.com wrote: I create my JAR myself same with android.test.runner or com.android.im.plugin

[android-developers] Re: Singleton in different service which share same process

2009-03-25 Thread Jove
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

[android-developers] Re: Singleton in different service which share same process

2009-03-25 Thread Jove
780/data/dalvik-cache/ sys...@framework@com.example.base@classes.dex On Mar 26, 10:27 am, Jove jove.c...@gmail.com wrote: 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

[android-developers] shared Jar files between different project

2009-03-19 Thread Jove
. (but if I put com.example.test.class into frameworks/base, it's OK) Anyidea about this issue? Any advice is appreciated. Regards, Jove --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post