Huynh Ngoc Vu Nguyen wrote:
> Hi all!
> 
> I have a game in android platform. I want to implement pause game
> function but I don't known stop current threat and resume it when re-play.
> Please help me solution!

You could use a semaphore:

http://developer.android.com/reference/java/util/concurrent/Semaphore.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to