[android-developers] Re: How to replace telecom's native ConnectionService?

2017-02-16 Thread spartygw
Thanks for the Samsung tip. I am now able to display the "Calling accounts" screen but there are no options to select. I've registered a "foo" PhoneAccountHandle with PhoneAccount.CAPABILITY_CALL_PROVIDER and PhoneAccount.CAPABILITY_CONNECTION_MANAGER but I still don't see it as an option.

[android-developers] Re: Further Mediacodec API issues in Jellybean

2012-12-18 Thread spartygw
I have yet to see a working example from anyone using MediaCodec. I hope I am wrong, but I think there's a reason why there are no working samples. All I've seen from Google is a powerpoint slide presentation by the head developer. No actual working code. On Thursday, December 13, 2012

[android-developers] Re: Is it possible to reduce the variability of camera shutter lag time?

2012-12-18 Thread spartygw
Rewrite the app to capture camera preview frames and you can process the frames yourself without having to take a picture. On Monday, July 30, 2012 2:55:52 PM UTC-4, greg wrote: Given a known periodic motion (e.g., walking), I'd like to take a full resolution snapshot at the same point in

[android-developers] Re: Android camera orientation problem

2012-10-22 Thread spartygw
Camera.setDisplayOrientation works for me, I could never seem to get any rotation stuff to work that I tried to set using the Camera.Parameters. -gw On Monday, October 22, 2012 2:23:46 AM UTC-4, Haris wrote: Hi all For my application I am using android native camera and previewing the image

[android-developers] Re: Android camera

2012-10-17 Thread spartygw
You can attach your own Camera.PreviewCallback and grab image frames from there and do whatever you want with them without the user having to press a button to take a picture. On Tuesday, October 16, 2012 4:16:55 PM UTC-4, Animesh Srivastava wrote: Hi All I am working on camera

[android-developers] Re: MediaCodec API in JellyBean. Problem with too fast video rendering

2012-10-17 Thread spartygw
Are you recording and encoding the data or just decoding and playing? On Tuesday, October 16, 2012 11:41:27 AM UTC-4, Kseniya Shaposhnikova wrote: Hello, I'm working on video player using the latest MediaCodec API. I have audio and video tracks playing in separate threads. The problem is

[android-developers] MediaCodec jellybean - does anyone actually have a working example?

2012-10-16 Thread spartygw
I'm trying to create a very simple test to see how effective the new MediaCodec class might be. What I've found is that I can't even get past the simple stage of configuring the most basic video encoder. MediaCodec mCodec = MediaCodec.createEncoderByType(video/avc); MediaFormat myFormat =

[android-developers] How can I avoid sending Notification if my Activity is currently on top?

2010-09-14 Thread spartygw
I have a server socket bound to a port and I want to send notifications using NotificationManager when a client connects. This all works well. What I want to avoid is sending notifications if a specific activity is currently being used by the user. E.g., I'm trying to avoid something like GMail