Skip to content

Instantly share code, notes, and snippets.

@scalone
Created November 7, 2013 21:15
Show Gist options
  • Save scalone/7361983 to your computer and use it in GitHub Desktop.
Save scalone/7361983 to your computer and use it in GitHub Desktop.
class MyClass
include PosxmlParser
def pause
@pause = true
end
def oncreate
posxml_configure("/sdcard", "main.posxml")
posxml_loop do
loop { break if @pause == false }
posxml_next
end
end
def resume
@pause = false
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment