about late resume, when PowerManagerService write on to /sys/power/state to call late resume

by Dianne Hackborn » Wed, 21 Apr 2010 06:47:43 GMT

Sponsored Links

Sorry, that isn't true.  If the process running the VM has permission to
access the file, then the Java code can access it.  Android doesn't use the
VM to enforce this (or most) kinds of security.

Dianne Hackborn
Android framework engineer

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.


Other Threads

1. Being legally harassed, by a large iPhone developer

Hi everyone,

I'm the developer of a game, Flying Aces, that was released last

It's a simple line drawing game, of which there are now several
variations on a similar theme.

There is a very popular iPhone game, Flight Control, that is one of
the most popular (over 2 million sales) developed by Firemint.

Firemint, according to their website, are porting their Flight Control
game to Android very soon.

I was contacted last week, with this email:

I promptly replied, asking whether it was some kind of joke, and asked
whether they are accusing me of using any of their graphics/audio/
resources (which I do not).

I got this response today:

They appear to be demanding (they haven't explicitly mentioned, but
I'm sure they will mention legal proceedings in their next reply) that
I stop selling my game, because it is vaguely similar to theirs. Now,
yes, you land planes by dragging a path, but that's the line-drawing
genre. And mentioning similar things such as "helicopter landing site
with a big H".

Does anyone have any opinions on this matter? I'm assuming they have
contacted developers of similar apps (Flight Director is very similar
to my game, and is more popular, I would assume they were contacted
first) so I've emailed them to see.

I don't take to kindly to larger businesses trying to nudge indie devs
like myself out of the way to create a monopoly for there game before
it is even published.

I know this isn't a programming question but, I figured it applies to
many developers like myself, and there isn't much in the way of advice
other than on here.


2. Overlays Erased on Screen Orientation Change

I have modified the manifest file to keep the orientation at
'Portrait' view while my Activity is running.  However, when the
keyboard is opened, the screen still flickers slightly and the
overlays that were drawn disappear.  It is not stopping the activity
from refreshing.

If there is a field that can be introduced that keeps the screen from
refreshing my activity like that from the keyboard opening, or a quick
way to redraw the overlay items that were introduced then that would
be helpful.  Currently the overlays are stored in a list, but I could
not figure out the best way to redraw the Overlay list.  Its probably
straight forward and I'm just not catching it.  Any helpful hints?

~ JFrog "Debugging is twice as hard as coding something the first
time.  Therefore, if you write the code as cleverly as possible, you
are, by definition not smart enough to debug it."


3. How to manually/programatically scroll to a specific Item in Gallery?

4. About opengl in android 2D UI

5. screen pixel size

6. How to resize the RelativeLayout or any other Layout in Android ?

7. Android SQLite3 Sync With Desktop