Was this just a general bitch about how multi-threaded operating systems 
function or did you have a real question?


On 20 Jun 2010, at 23:06, BobG wrote:

> I finally realized why I cant find a good overview of android
> programming tecnique that doesnt assume that the student is a
> proficient windows/event driven programmer. Android is a stack on top
> of java, which is a stack on top of an operating system, and I betcha
> most experienced java programmers have never really wondered what goes
> on below the java interpreter. It isnt necessary. Just call the
> function, and assume that there are lots of spare mips and megabytes
> left on the pc. Us old embedded programmers are painfully aware of the
> number of cycles to read a file and/or draw rectangles because weve
> probably written every subroutine in a file system and a graphics
> package at one time or another. My model is that after oncreate
> returns to the operating system, every event that gets delivered to
> the activity is sent by the operating system, and the activity gets a
> quantum to run, however long that is (100ms?) and one really has no
> idea how many ms will elapse until the activity gets to run again.
> Horrible for real time stuff like embedded guys are used to. The huge
> complex overhead of splitting a simple program that does input,
> process, output and runs in a loop into two tasks makes no sense
> because both of these tasks are being run by the operating system.
> Just more overhead. There doesnt seem to be a way to generate a 50ms
> timer event and run a program at a hi priority. Do any android gurus
> have an embedded backfround also? I know my lack of 'windows' model
> programming hinders my understanding, and I'd be grateful for a link
> to some examples that might help. I have no prob generating a timer
> interrupt that hits every 100usec on a 20mhz 8 bit microcontroller.
> Hard to believe I cant run a program faster than every 100ms on a
> 500mhz 32 bit arm.
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
> 
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
> 
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to