Airplane mode charge lvl

by Akapoor » Wed, 17 Dec 2008 02:34:50 GMT

Sponsored Links
 After leaving the phone on charge (airplane mode) the maximum charge
displayed is 57%.

After a machine reboot, charge is redisplayed as 99%.



Other Threads

1. Questions about program structure for real-time games

I am having trouble understanding how threads, activities and
renderers fit together.

My current program structure is this:

- main activity, nothing in it really, just initialising things.

        mGLView = new GLSurfaceView(this);
        mGLView.setRenderer(new MyRenderer(this));

- renderer, which also contains some gameplay classes (e.g. MyShip)
and includes the input event handlers.

        public class MyRenderer implements GLSurfaceView.Renderer {

- map, which contains the vertex, texture etc and includes draw()
function. which is called from the onDrawFrame of MyRenderer.

At this stage I want to move all the input stuff into its own thread
(AFAIK this is most efficient?), I am not sure where this should be
initialised and how the input information should be sent to the

I found this article 'Writing Real Time Games for Android' (
) which outlines a program structure, which I think is what I am
looking for.

Here a diagram of the structure:

Can you describe how this is supposed to work (how it is all
initialised, how the program flows etc.)




2. Monkey test tool


I am running monkey test on my G1 with the following coniguration set
with different seeds:

# monkey -v -v --monitor-native-crashes 100000 > data/monkeylog.txt

Unfortunately the crash reports are not piped to the file on the
internal file system but are for some reason displayed in the adb
shell on the PC side instead.

This would not have been a problem if it wasnt because of the fact
that the monkey sometimes disconnects "USB debugging" under "Settings/
Applications/Development". In these cases the crash info will be lost.

Is there a way of preventing the monkey from disconnecting "USB
debugging" when using monkey test or is there another way to save the
crash reports on the phone?



3. How to get system preferences without having context

4. Start another activity with a broadcast intent

5. Add custom field and Quickcontact icon to addressbook in android

6. passing multi dimensional string array between two actvities.

7. Need call to onLocationChanged() within user travel of 10/100m