Code example for ActivityManager

Methods: getDeviceConfigurationInfo

0
	  
	 private boolean detectOpenGLES20()  
	 { 
	     ActivityManager am =
	            (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
	     ConfigurationInfo info = am.getDeviceConfigurationInfo();
	     return (info.reqGlEsVersion >= 0x20000);
	 } 
	 
     static { 
         System.loadLibrary("game");
     } 
      
     static public void AnalyticXBridge(String someString)
     { 
    	 Log.v("diwu", "analyticx bridge - from java...");
    	 Log.v("diwu", "java string = " + someString);
    	 Log.v("diwu", "just finished printing...");
    	 /* 
    	 String someJString = String.valueOf(someString); 
    	 Log.v("diwu", "param = " + someJString);