Advertisement
CodingJar

Mali Debugger Unity Activity

Jan 18th, 2016
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.53 KB | None | 0 0
  1. package com.CodingJar;
  2.  
  3. import com.unity3d.player.UnityPlayerActivity;
  4. import android.os.Bundle;
  5. import android.util.Log;
  6.  
  7. public class MaliDebugActivity extends UnityPlayerActivity
  8. {
  9.       @Override
  10.       public void onCreate(Bundle savedInstanceState)
  11.       {
  12.         Log.d("Unity", "MaliDebugActivity is starting");
  13.  
  14.         try {
  15.             System.loadLibrary("MGD");
  16.         }
  17.         catch( UnsatisfiedLinkError e ){
  18.             // Feel free to remove this log message.
  19.             Log.i("[ MGD ]", "libMGD.so not loaded.");
  20.         }
  21.  
  22.         super.onCreate(savedInstanceState);
  23.     }
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement