grant allowed {
permission javax.microedition.io.HttpProtocolPermission "http://*";
permission javax.microedition.io.HttpsProtocolPermission "https://*";
permission javax.microedition.io.DatagramProtocolPermission "datagram://*";
permission javax.microedition.io.DatagramProtocolPermission "datagram://";
permission javax.microedition.io.SocketProtocolPermission "socket://*";
permission javax.microedition.io.SocketProtocolPermission "socket://";
permission javax.microedition.io.SSLProtocolPermission "ssl://*";
permission javax.microedition.io.PushRegistryPermission "*";
permission javax.microedition.io.CommProtocolPermission "comm:*";
permission javax.microedition.media.PlayerPermission "*" "record,snapshot";
permission javax.util.PropertyPermission "*" "read";
permission javax.microedition.event.EventPermission "*" "read,register,post";
permission javax.microedition.midlet.ActionsDeniedPermission;
permission javax.microedition.midlet.AutoStartPermission;
}