I want my game to save to userInfo only if it's being played on the gallery, and to save to a .dat file if not. Is there a method to check for this?
private boolean isRunningAsApplet()
{
return null != System.getSecurityManager();
}