[android-developers] How to add a third-party jar into apk?

2009-12-14 Thread bear tung
for example, xml-security project. I used add xmlsec-1.4.3.jar( http://santuario.apache.org/dist/java-library/) in asset dir, then I add library. But when I run my Activity, it was force closed with error: E/dalvikvm( 1427): Could not find method

Re: [android-developers] Re: How to add a third-party jar into apk?

2009-12-14 Thread bear tung
this will be addressed by my fix: https://review.source.android.com/#change,12625 Looks like the above is not merged into the source tree yet. -J e y On Mon, Dec 14, 2009 at 1:02 AM, bear tung beart...@gmail.com wrote: for example, xml-security project. I used add xmlsec-1.4.3.jar(http

[android-developers] How to use do xml c14n in android?

2009-12-09 Thread bear tung
i find c14n support in libxml2, but not able to use it in java. so, anyone help me? or i have to write jni myself to use it? thanks -- Bear ^O^ -- 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] How to use do xml c14n in android?

2009-12-09 Thread bear tung
i find c14n support in libxml2, but not able to use it in java. so, anyone help me? or i have to write jni myself to use it? thanks -- Bear ^O^ -- 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] How to get the current activity window in java program?

2009-11-26 Thread bear tung
hi, all i want to write a java program like monkey to test my activity. like below, i can make a click at the coordinate, but i can not know the button's coordinate which i want to click. WindowManager windowManager =

[android-developers] How to control callers for my service?

2009-10-20 Thread bear tung
Hi, all I have a apk which is a service. I want some apk can call my service's func, others can not. How can I get this done? use permission? thanks!! Bear --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Google wave invitations...?

2009-10-16 Thread bear tung
me too ! thanks!! On Fri, Oct 16, 2009 at 3:40 PM, Raghavendra R raghavendrars...@gmail.comwrote: hi, please give me .. On Fri, Oct 16, 2009 at 12:41 PM, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations Bear

[android-developers] Can't i call a service function in activity's onStart/onCreate?

2009-09-28 Thread bear tung
My activity bind a service. I want to call the service's function in actitity's onStart/onCreate function, but it doesn't work. The service started suncess but the connection is null. When I just call the service's function in other function (onClick for example), it works well. thanks for

[android-developers] Re: Can't i call a service function in activity's onStart/onCreate?

2009-09-28 Thread bear tung
at 7:36 AM, bear tung beart...@gmail.com wrote: My activity bind a service. I want to call the service's function in actitity's onStart/onCreate function, but it doesn't work. The service started suncess but the connection is null. When I just call the service's function in other function

[android-developers] Why can't I use Parcel in aidl?

2009-08-20 Thread bear tung
hi, i sent a intent to call a service interface which returns a parcelable object. but get errors: return type Parcel can't be marshalled #MyTest.aidl import android.os.Parcel; interface MyTest { Parcel testSetRect(int a, int b, int c, int d); } why? thanks for help. Bear

[android-developers] Can i use RotateAnimation to make a Drawable rotate?

2009-08-20 Thread bear tung
I want to draw some Drawables in a view, for example like Rect. Then I want to make a totate animation for each Rect when it's be clicked. I try to use RotateAnimation, but it not work. It look likes only can make a View rotating. so, how can I make this work? thanks a lot Bear