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
hack...@android.com

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. super.onResume() at beginning or end of method? Does it matter?

In general, does it matter in an Activity if I put the call to
super.onResume() at the beginning or the end of my own onResume()
method?

In other words, I can do this ...

@Override
public void onResume() {
    super.onResume();
    // do my stuff
}

... or this ...

@Override
public void onResume() {
    // do my stuff
    super.onResume();
}

Does it matter which one I choose? And if so, why?

Obvously, this probably depends on what "do my stuff" actually
entails. However, I'm looking for an explanation of what
super.onResume() actually does, so I can make an intelligent decision
as to where is the best place to put it in my own onResume method.

I guess the same question would also apply to the position of
super.onPause(), super.onStart(), super.onRestart(), etc., in the
appropriate method calls, but let's at least start this discussion
with super.onResume().

Thanks in advance.

-- 

2. Akhirnya Ready Stock :)

Akhirnya datang jugaa :P

Transcend MicroSDHC 8GB - class 6
Spesial buat milis id-android @ 220rb sajah; limited stock (15 pcs only).


Thanks utk atensinya :)

Regards,
Hoesin [Pisang] 
the plaza semanggi lt.2b no.40 & no.77
e: sales @pisangshop.com

-- 
"Indonesian Android Community [id-android]" 

3. Some problems about building OpenCore outside of Android ......

4. Mapping android code

5. 404 returned by Picasa Protocol

6. milestone 2nd lengkap + murah

7. Android market - limited distribution