Created
July 15, 2013 18:51
-
-
Save louisbl/6002384 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static public native void onFBEvent( String jsEvName , String javaArg1 , String javaArg2 ); | |
static{ | |
System.loadLibrary( "HypFacebook" ); | |
} | |
private static GLSurfaceView _mSurface = (GLSurfaceView) GameActivity.getInstance().getCurrentFocus(); | |
private void onFBEventWrapper( final String arg0, final String arg1, final String arg2 ) { | |
_mSurface.queueEvent(new Runnable() { | |
@Override | |
public void run() { | |
onFBEvent( arg0, arg1, arg2 ); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment