Back to project page robotronic.
The source code is released under:
Copyright (C) 2011 by Drew Schrauf Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the So...
If you think the Android project robotronic listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.drewschrauf.robotronic.threads; /*ww w . j a va2 s . c o m*/ import android.os.Handler; import android.os.Message; public abstract class RobotronicThread extends Thread { protected String url; protected Handler doneHandler; protected RobotronicProperties properties; protected boolean isStopping; protected void done() { Message msg = Message.obtain(); msg.what = 0; msg.obj = url; doneHandler.sendMessage(msg); } protected void requestStop() { isStopping = true; } }