I have a problem in the field where my app widget stops working (display does not update on its AlarmManager timer-pop). I don't have logs for the occurrence, so I am trying to test for the condition that the process dies, but restarts. I then found out that if I die too frequently, then Dalvik does a force stop which is exactly the be...
I read a lot about Dalvik and Google's Android OS when it first came out. One of the things that I don't quite understand though is why Java is used. The way I understand it is this:
Java code -> Java bytecode -> Dalvik bytecode
What I don't understand is why I have yet to see anything compile to straight Dalvik code or any other fron...
Java specification allows the compiler and the VM to reorder memory writes in the interest of efficiency. Does the Dalvik VM take concrete advantage of this ?
Disclaimer : I have no intention of relying on order even if Dalvik does not do it (besides the compiler may do it too), but it would be nice to know.
...