Пример #1
0
 // Send a message from the SDLMain thread
 void sendCommand(int command, Object data) {
   Message msg = commandHandler.obtainMessage();
   msg.arg1 = command;
   msg.obj = data;
   commandHandler.sendMessage(msg);
 }