On Tue, Jul 6, 2010 at 2:11 AM, Omer Gilad <[email protected]> wrote:

> 1. Will increasing the thread priority improve accuracy (starving
> other threads in the meanwhile of course)?
>

It depends.  As I said, the main thing is to not be running in the
background, which means using the platform facilities for this (either being
associated with an activity that is currently in the foreground, or a
service that has been put in the foreground).


> 2. The operation I'm doing involves network activity - UDP\TCP packet
> sending. Is there good native support for networking that is device
> independent (like the normal libc, libz)? Or maybe I should ask this
> in the NDK group?
>

You have extremely strict jitter requirements for something involving
NETWORKING?  That is...  strange.

I suspect the jitter happening on the network end is going to way outweigh
what is happening on the device.

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to