Code example for Thread

Methods: start

0
	/************************************************************************ 
 
	************************************************************************/ 
	public void MakeThread(){ 
		//Toast.makeText(CellIdService.this, "MakeThread begin", Toast.LENGTH_SHORT).show(); 
	    thr = new Thread(null, backgroundRefresh, "ServiceCellIdHandler");
		thr.start();
	} 
	 
 
	/************************************************************************ 
 
	************************************************************************/ 
	@Override	public void onStart(Intent intent, int startid) {
		//Toast.makeText( this, "Service onStart", Toast.LENGTH_SHORT).show(); 
		Log.d(TAG, "onStart");
	} 
 
	 
	/************************************************************************ 
Contextual code suggestions in your IDE  Get Codota for Java