ANativeWindow example