Code example for Message

Methods: getData

0
	CommandPacket packet ;
	 
	private Handler handler = new Handler() {
		 
		public void handleMessage(Message msg) { 
			Bundle b = msg.getData(); 
			processCommand(b); 
		} 
	}; 
	 
	 
	 
	public void onCreate() { 
		Log.i(TAG, "In onCreate");
		infos = new SystemInfo(this);
		procCmd = new ProcessCommand(this);
		 
		loadPreferences(); 
	} 
	 
	public int onStartCommand(Intent intent, int flags, int startId) {