[android-developers] Re: Any api to check if recording is going on?

2010-03-06 Thread ani
I am closing this thread as i understood your point. However don't you think i deserve some pointers to resolve this problem(There is a use case when user doesn't want the notifications sound to be recorded.As of now if recording is going on and notifications comes,it is also getting recorded.Which

[android-developers] Re: Any api to check if recording is going on?

2010-03-06 Thread ani
Very good idea but the problem is who will restore the original volume of all the streams once the recording is complete. As of now we can use some property to get the required behavior.Like would be setting the property when recording is started and un-setting the property when recording is comple

[android-developers] Screen freezing after 3 end key press in unlocked state

2010-03-07 Thread ani
After the animating logic implemented in powermanagerservice.java file this issue is observed. Problem: In unlocked state(no call guard screen) press three time end key. Sceen is getting freezed i.e phone is not accepting any touch events.Screen is getting blurred and lines are getting shown.Keep

[android-developers] Re: Screen freezing after 3 end key press in unlocked state

2010-03-07 Thread ani
Forgot to mention.End key should be pressed very fast i.e there should be very less time b/w end key presses. -- 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 unsubs

[android-developers] Re: Audio Flickering - my code, my computer or android emulator?

2010-03-15 Thread ani
It is the problem with your driver which creates this chopping effect.It is not able to read the data properly and if you check your kernel messages there would be a buffer overrun message.This happens because Linux is not RTOS and audio is running in real time. What you are recording is noise als

[android-developers] Re: Android supprort for Bluetooth SCO protocol media routing

2010-03-22 Thread ani
you have to set the mode and then call setBluetoothScoOn function to send music to SCO. -- 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,

[android-developers] Re: MediRecorder query

2010-04-01 Thread ani
> Is there any relation between MediaRecorder and AudioRecord? AudioRecord-for applications which require audio processing. Media recorder- for applications which "just" wants to record audio by using platform default values. It would be better if someone from android team can shed more light on

[android-developers] Re: MediRecorder query

2010-04-01 Thread ani
> Is there any relation between MediaRecorder and AudioRecord? AudioRecord-for applications which require audio processing. Media recorder- for applications which "just" wants to record audio by using platform default values. It would be better if someone from android team can shed more light on

[android-developers] Re: AudioTrack in streaming mode

2010-04-04 Thread ani
You can use audiomanager apis to do what you are trying to do... -- 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-

[android-developers] Re: MediRecorder query

2010-04-05 Thread ani
All your questions or answers should be posted in google developers site.If you want you can cc to the specific people whom you want to address. So that people who are facing problem like yours can google it :) Answer for your question is : >Can anyone please tell me the location where the audiofl

[android-developers] How to Add back ground for Tab in a Tab Host

2009-08-03 Thread Ani
Hi All, I have a tabhost with three tabs.I want to add background image for these tabs instead of tab name and icon( the back ground image is in .png format contains name and icon). Is there any way to add background for the Tab in Tab host? Any one please help me to solve this.

[android-developers] Android RTSP Streaming

2009-10-09 Thread ani
Hi All, Does somebody know any sample/free media player on Andoird like Meridian Video Player or something which can recieve and play rtsp streamed video data?? Regards Ani --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] How to Add New Building in Android Google Map

2009-06-09 Thread Ani
Hi, I wanted add a new building in android Google map. Does any one know how to Edit Android Google map and add new building.(i don't want to use push pin). Please help any one to solve this. Thank you , Anish --~--~-~--~~~---~--~~ You received this m

[android-developers] Re: Loop audio from mic to earpiece?

2010-01-24 Thread ani
>Not 100% sure about the earpiece, but you specify a stream when you >create the AudioTrack and I think a stream encpsulates audio routing >and volume amongst possibly other things. >If you set the stream to STREAM_VOICE_CALL it might come through the >earpiece as this is where a call would be rou

[android-developers] Re: Loop audio from mic to earpiece?

2010-01-24 Thread ani
>Not 100% sure about the earpiece, but you specify a stream when you >create the AudioTrack and I think a stream encpsulates audio routing >and volume amongst possibly other things. >If you set the stream to STREAM_VOICE_CALL it might come through the >earpiece as this is where a call would be rou

[android-developers] Re: Synchronizing AudioTrack and AudioRecord

2010-01-24 Thread ani
I think it would be extremely difficult to do this in current architecture of android(you need to have a sound server running in android to do this kind of task).Basically you need to change your alsa driver to do that.By just calling audiotrack api's it would be difficult to get both the device(pl

[android-developers] Re: Synchronizing AudioTrack and AudioRecord

2010-01-24 Thread ani
I think it would be extremely difficult to do this in current architecture of android(you need to have a sound server running in android to do this kind of task).Basically you need to change your alsa driver to do that.By just calling audiotrack api's it would be difficult to get both the device(pl

[android-developers] Re: AudioTrack - Clicking Proplem

2010-01-24 Thread ani
You can dump the buffers in audioflinger and play it in some raw pcm player and find out if you are not giving the PCM data properly or there is some problem with playing back. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: Loop audio from mic to earpiece?

2010-01-26 Thread ani
In cupcake setrouting should work but you need to set the mask properly for it to work.I myself have tried and it is working i.e. the sound is working from earpiece just check it properly. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: sending scancode values from linuxapplication (using sendevent)

2010-02-13 Thread ani
http://pdk.android.com/online-pdk/guide/keymaps_keyboard_input.html Check keyevent.cpp file also. Check this out. -- 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 u

[android-developers] Re: AudioTrack lag

2010-02-18 Thread ani
we would really appreciate if you can explain "both buffers"?Which buffers are you referring here. -- 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

[android-developers] Re: AudioTrack lag

2010-02-18 Thread ani
we would really appreciate if you can explain "both buffers"?Which buffers are you referring here. -- 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

[android-developers] Re: AudioTrack lag

2010-02-18 Thread ani
we would really appreciate if you can explain "both buffers"?Which buffers are you referring here. -- 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

[android-developers] Re: AudioTrack lag

2010-02-18 Thread ani
we would really appreciate if you can explain "both buffers"?Which buffers are you referring here. -- 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

[android-developers] Re: AudioTrack lag

2010-02-21 Thread ani
> Things like ring buffers are still the same idea, but I won't explain > how they're the same, because it would make the explanation more > confusing. Just hold onto the core idea -- the receiver and sender of > data each have their own buffers. Heartfelt thanks for this great explanation. I am

[android-developers] AudioPolicyManager

2010-02-24 Thread ani
In the current implementation given in AudioPolicyManager the BT headset has got the highest priority and DEVICE_OUT_WIRED_HEADSET has got the second priority. Priority means:When both are connected then the audio will come from BT headset and if you remove BT headset audio will come from DEVICE_

[android-developers] Re: AudioPolicyManager

2010-02-25 Thread ani
According to Google Policy wired devices have higher priority compare to BT devices which is not followed in AudioPolicyManager.I saw a recent checkin by Jean-Michel in opensource but it doesn't solve the problem. I am talking about BT headset streaming and you connect normal wired headset when mu

[android-developers] Re: AudioPolicyManager

2010-02-26 Thread ani
You didn't miss anything: currently the plugging-in of a wired accessory will not interrupt/reroute BT A2DP streaming, A2DP has priority over wired connections. We intend to change that behavior in a future release. Do you have a specific use-case you can share? We can add it to our usage-scenarios

[android-developers] Any api to check if recording is going on?

2010-03-01 Thread ani
I wanted to know if there is any api available to check if audio recording is going on or not?? Something like isMusicactive() which tell us if music is active or not. Please respond. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Re: Any api to check if recording is going on?

2010-03-02 Thread ani
There is no such APOI available. What would be the use case if I may ask? replied by eric laurent. -- 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

[android-developers] Re: Any api to check if recording is going on?

2010-03-02 Thread ani
There is a use case when user doesn't want the notifications sound to be recorded.As of now if recording is going on (messaging->attach audio->record audio) and notifications(message notifications,usb notification) comes,it is also getting recorded.Which i don't want. If you can just provide me a h

[android-developers] Re: Any api to check if recording is going on?

2010-03-04 Thread ani
t lets keep this thread running and please let us know if you can provide a better hack than this. Can we modify audiopolicymanager and get this behavior??So that this hack doesn't apply to a particular application.Please let us know how can we do it?? Thanks, Ani -- You received this m

[android-developers] java.lang.ExceptionInInitializerError while reading yml file

2009-06-16 Thread Ani
nfig E/AndroidRuntime(24378):at org.ho.yaml.Yaml.(Unknown Source) E/AndroidRuntime(24378):... 29 more Thank you , Ani --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Re: java.lang.ExceptionInInitializerError while reading yml file

2009-06-16 Thread Ani
On Jun 17, 1:11 am, fadden wrote: > On Jun 16, 3:42 am, Ani wrote: > > > W/dalvikvm(24378): VFY: unable to find class referenced in signature > > (Ljava/beans/PropertyDescriptor;) > > E/dalvikvm(24378): Could not find method > > java.beans.PropertyDescriptor.g

[android-developers] onRecieve starting activity problem

2009-06-23 Thread ani
vity2"); //intent4activity2.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); arg0.startActivity(intent4activity2); } regards, ani --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] FLAG_ACTIVITY_NEW_TASK why is it required in onRecieve when starting activity

2009-06-23 Thread ani
? regards, ani --~--~-~--~~~---~--~~ 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

[android-developers] Re: FLAG_ACTIVITY_NEW_TASK why is it required in onRecieve when starting activity

2009-06-23 Thread ani
e not starting the activity from an > existing activity, and thus you are not starting it from an existing task. > > On Tue, Jun 23, 2009 at 5:31 AM, ani wrote: > > > Guys, > > > I was under the impression that onRecieve runs in the main UI thread > > and we can launch a

[android-developers] Finding a particular intent in the whole system(packet manager)

2009-06-26 Thread ani
}. However this is not working if i am trying to find out an intent which is in some other apk and this "other apk" is installed in my system.Can i do this using the code shown above or it is not possible? regards, ani --~--~-~--~~~---~--~~ You rece

[android-developers] Re: Finding a particular intent in the whole system(packet manager)

2009-06-28 Thread ani
.. > ) > > Peliwww.openintents.org > > On Jun 26, 11:02 am, ani wrote: > > > > > Hi All, > > > I have a query to ask.This piece of code i have come across in one of > > the posts (http://android-developers.blogspot.com/search/label/How-to > >

[android-developers] Re: onRecieve starting activity problem

2009-06-29 Thread ani
..> > > (note that it specifical mentions "This implementation overrides the > > base version, providing information about the activity performing the > > launch. Because of this additional information, the > > FLAG_ACTIVITY_NEW_TASK launch flag is not requir

[android-developers] Re: java.lang.ExceptionInInitializerError while reading yml file

2009-07-01 Thread Ani
Thank you fadden. I have changed to XML file instead of YML On Jun 18, 12:02 am, fadden wrote: > On Jun 16, 10:20 pm, Ani wrote: > > > On Jun 17, 1:11 am, fadden wrote: > > > java.beans.PropertyDescriptor is not part of the

[android-developers] Orientation problem while dynamically loading Views

2009-07-08 Thread Ani
Hi , I am trying to load textView and CheckBox view dynamically to a LinearLayout. i am getting some Orientation problem while doing the same.I want these two view in a single row but i its coming as in different raw. Below is may code LinearLayout layout=(LinearLayo

[android-developers] Getting Blank while adding Table rows dynamically

2009-07-08 Thread Ani
Hi, I am trying to add table row dynamically in to a table lay out, But its showing bank.my code is TableLayout tl = (TableLayout) findViewById(R.id.maintable); TableRow tableRow=new TableRow (this); // tableRow.setLayoutParams(new LayoutParams (LayoutParams.WRAP_CONTENT

[android-developers] Re: Orientation problem while dynamically loading Views

2009-07-09 Thread Ani
android:orientation="horizontal" > > -- > Jack Ha > Open Source Development Center > ・T・ ・ ・Mobile・ stick together > > The views, opinions and statements in this email are those of > the author solely in their individual capacity, and do not > necessarily represent tho

[android-developers] multi-touch not working !!

2010-04-08 Thread ani
I am getting this multi-touch events in my application for which the logs are shown below.Multitouch is not working in my application.Does it mean that there is some problem with framework or my application. Sequence:Just two fingers pressed to the screen,dragged and then lifted both. Inputdevice

[android-developers] Re: MediRecorder query

2010-04-09 Thread ani
check this file libmediaplayerservice/MediaRecorderClient.cpp. This client i guess gets called by libmediaplayerservice/ MediaPlayerService.cpp file which gets the object of MediaRecorderClient. In this file(MediaRecorderClient.cpp) we are creating the object of PV media and passing it to user to

[android-developers] Re: multi-touch not working !!

2010-04-09 Thread ani
Now my application is working.I was having some coding problem in my application which was causing the multitouch problem.There is no problem with framework as far as my issue was concerned. >Inputdevice: ID[0] Down >Inputdevice: ID[0] Down >Inputdevice: ID[1] Up >Inputdevice: ID[0] Up This lo

[android-developers] Re: Audio Mixing

2010-04-13 Thread ani
I agree with everyone here that low latency audio is still far-fetched idea for android. For low latency audio we need to have very good designed audio framework which i guess at this point of time is not ready in android. However i have been told in one of the answers from google that they are c

[android-developers] Re: Audio Mixing

2010-04-13 Thread ani
Kevin I don't remember where i saw that reply but someone from android team can very well confirm this i.e. are they working on new audio framework or not?? Sadly, in this area generally android team response is not very enthusiastic. -- You received this message because you are subscribed to th

[android-developers] Re: Audio Mixing

2010-04-13 Thread ani
Kevin I don't remember where i saw that reply but someone from android team can very well confirm this i.e. are they working on new audio framework or not?? Sadly, in this area generally android team response is not very enthusiastic. -- You received this message because you are subscribed to th

[android-developers] Re: Audio stuttering when using AudioTrack.

2010-04-14 Thread ani
So what you are trying to say is in-between(time it takes to play the audio) the audio writes you are doing some cpu intensive operations which is causing this stuttering ??? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] Re: Audio stuttering when using AudioTrack.

2010-04-14 Thread ani
So what you are trying to say is in-between(time it takes to play the audio) the audio writes you are doing some cpu intensive operations which is causing this stuttering ??? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this g

[android-developers] Re: Audio stuttering when using AudioTrack.

2010-04-15 Thread ani
But i really wonder why i don't have this problem. I have my default android music player which plays songs and sometimes i just keep that in background and do other tasks.Still it doesn't stutter even though it is in background running. In general audio mixing happens in audiomixer.cpp file and t

[android-developers] Re: Audio Mixing

2010-04-18 Thread ani
I found the solution to my problem: Service.startForeground. This call makes sure my background service will keeps its priority when its running in the background. The SDK has a nice example that works across all API levels: http://developer.android.com/intl/de/resources/samples/ApiDemos/src/com/ex

[android-developers] Re: Background processes not being CPU-limited?

2010-04-20 Thread ani
Probably out of context but this issue looks similar to the thread shown below. http://groups.google.com/group/android-developers/browse_thread/thread/220248cd27e281c6/96ec2dd63c6850ab?lnk=gst&q=AUDIO+STUTTERING#96ec2dd63c6850ab Audio stuttering problems in android.When somthing cpu intensive is r

[android-developers] Finding Ringtone is playing or not?

2010-04-20 Thread ani
Is there any api available which can tell me if currently any ring- tone is playing or not??? -- 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

[android-developers] Re: MediaRecorder / MediaPlayer simultaneous use?

2010-04-20 Thread ani
I guess the problem is not from the framework side but the problem lies in the fact that your driver will not support this use case of simultaneously recording and playing back. As recording is generally done at 8k and playing back is done at 44.1k. -- You received this message because you are su

[android-developers] Re: CPU pegged in AudioTrack triggers reboot

2010-04-27 Thread ani
"obtainBuffer timed out (is the CPU pegged?)" This happens because the audioflinger thread has not read the data from the driver and did not signal the lock causing this logs to come. This happens because your driver is having some bug not because of android framework. -- You received this messag

[android-developers] Re: AudioRecord Problem, please help!

2010-05-07 Thread ani
It is crashing in your NDK library. So you need to put logs in your NDK and check for any problems there. If it is crashing in Android Framework then people can help you in this forum. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] customize the android default application

2010-09-07 Thread ani
that i will know that whether it is feasible thing what i am thinking is. Regards, Ani. -- 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

[android-developers] lcd 18bpp problem

2011-01-24 Thread ani
Hi My board is supporting only 18bpp format,but android is supporting only RGB565(16bpp) format.So have somebody have faced the same issue and help me out for it? Regards ANI -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] touch screen issue

2011-01-24 Thread ani
Hi i have ported android cupkake.And while touching the lcd for testing touchscreen getting the below error. D/TrackingPatternView( 1621): width=640 textureWidth=120 W/InputManagerService( 1621): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub $P

[android-developers] Voice recognition

2009-10-09 Thread ani rudh
hi all , im trying to write an app which uses speech recognition.As per the introduction video , i can see a 'mike' next to the quick search box. But cant be seen in the emulator(1.6).do i need to do any configuration for the same or any application needs to be installed to enable that?? Or, is it

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

2009-10-15 Thread ani rudh
one for me please :) , thanks On Fri, Oct 16, 2009 at 12:06 PM, Evgeny V wrote: > Yes, please. > Thanks, > Evgeny > > On Fri, Oct 16, 2009 at 5:41 AM, Kenneth Adam Miller < > kennethadammil...@gmail.com> wrote: > >> Who wants to be in Google wave? >> I have 16 invitations >> >> >> > > > > --