Generate heat on an android phone (from code, of course)
<p>I need to heat up an android phone (don't ask...)</p>

<p>So far I tried running a max priority thread with a while loop which ROL-s an integer around, but that generates too little heat, even though the phone comes down almost to a halt. I tried doing complex math in the loop, but the results were same. I tried with more threads, but as expected it behaves exactly as it was with just one thread. </p>

<p>What can I do to tax it enough in order for it to generate more heat?</p>

<p><strong>Edit</strong>: Some additional info - It's basically an application that should run as a background service (android Service started with startService()) which uses notifications to indicate that it's running (or not). Ideally, it should have no UI at all, other than the control-activity to start/stop it. I already made the service, notifications and the controlling activity. The Service uses it's own thread for phone heating, so that it would not interfere with activity's UI (which is in the same android app), now I only need to write the "meat" of the thread, i.e. some code that would actually cause the phone to heat up.</p>
