[android-developers] [android-developers]Too many audioflinger blocked warn,please help.

2009-08-14 Thread frog
Hi all. I have a problem with the pcm data play.when I use the "AudioTrack.write" to play a the pcm data buffer,I get the below warn messages.It's keep printing when the play is going,and the audio outputed is with some noise.Maybe that's the warn why the noise are there.Anyone solved this proble

[android-developers] [android-developers]JNI_CreateJavaVM link error,can't find reference of JNI_CreateJavaVM

2009-08-07 Thread frog
HI,All I hava write a application with function JNI_CreateJavaVM.It 's all ok when compile,but link can't find the JNI_CreateJavaVM method. (jint res = JNI_CreateJavaVM(&jvm,&env,&vm_args);) The stand java application use the jvm.lib when link,but It seems there is no file named jvm.lib in android

[android-developers] Re: Android data buffer pass by jni problem

2009-08-06 Thread frog
Thanks again, fadden. 2009/8/7 fadden : > > On Aug 6, 12:10 am, frog wrote: >> I am very sorry.I don't know very well about jni,and I still don't >> know the way to pass the data buffer >> (point of void *)from native code to the android application.Could you

[android-developers] Re: Android data buffer pass by jni problem

2009-08-06 Thread frog
thread/36a4d13cb0d4bc26# >  http://groups.google.com/group/android-ndk/browse_thread/thread/a610cfe73aa2618e/c27be634e3305304 > > On Aug 4, 12:23 am, frog wrote: >> Hi,all >>     Have some tryed to pas databuffer on android by jni?I have a >> native method like this: >&

[android-developers] Re: Android data buffer pass by jni problem

2009-08-05 Thread frog
be634e3305304 > > On Aug 4, 12:23 am, frog wrote: >> Hi,all >>     Have some tryed to pas databuffer on android by jni?I have a >> native method like this: >> int foo(void * buffer,  //(out param) the point to the buffer >>            int *buffersize  //(out

[android-developers] Android data buffer pass by jni problem

2009-08-04 Thread frog
Hi,all Have some tryed to pas databuffer on android by jni?I have a native method like this: int foo(void * buffer, //(out param) the point to the buffer int *buffersize //(out param) the point to the buffer size { a = foo(); b = foo1(); return 0; } And I want to use i

[android-developers] Re: [android-developers]how to incude include static files(.a) in android jni application?

2009-07-31 Thread frog
> native code with JNI. > > May I recommend you to download and use the Android NDK to do that? > > > On Fri, Jul 31, 2009 at 10:00 AM, frog wrote: > >> HI,all >> I am recently developing a application use android jni.but,it cannot >> works.The application is

[android-developers] [android-developers]how to incude include static files(.a) in android jni application?

2009-07-31 Thread frog
HI,all I am recently developing a application use android jni.but,it cannot works.The application is base on a static library, and ofcourse with some *.h files.I have include the .h files in my .cpp file,but it seems , the comile cann't find the vars definded in them. my Android.mk is like this: ..

[android-developers] Re: how to add a progressbar or other widget to some row of the listview??

2009-07-30 Thread frog
chive this.Anyone else can help me please? Thanks in advance. 2009/7/30 Mark Murphy > > frog wrote: > > I had this questions a few days ago.but no one give the answer,perhaps > > that is because my mail didn't include the" [android-developers]". have > > some

[android-developers] how to add a progressbar or other widget to some row of the listview??

2009-07-30 Thread frog
hi,all I had this questions a few days ago.but no one give the answer,perhaps that is because my mail didn't include the" [android-developers]". have someone try to add some widget to listview here? I want to add a progress bar to the bottom of some row of list view.But now, I only know the way t

[android-developers] how to add a seekbar or some other widget to the listview?

2009-07-29 Thread frog
hi,all Someone have try add some widget to listview here? I want to add a progressbar to the bottom of some row of listview.But now, I only know the way to add the seekbar to every row of the listview by add a progessbar to the layout of the listview. [ ListAdapter scbooks = new SimpleCursorAdapt