D
Dirk Bruere at NeoPax
From: "Dirk Bruere at NeoPax" <dirk.bruere.at.neopax@1:261/38.remove-dpk-this>
From: "Dirk Bruere at NeoPax" <dirk.bruere.at.neopax@1:261/38.remove-rf4-this>
From: Dirk Bruere at NeoPax <[email protected]>
File1
public class controller extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final LanSendThread lanSendThread = new LanSendThread();
lanSendThread.start();
....}
__________
File2
public class LanSendThread extends Thread{
public static Handler lanSendHandler;
@Override
public void run(){
Looper.prepare();
lanSendHandler = new Handler() {
//stuff}
___________
How do I access the thread lanSendThread from another class in another file?
--
Dirk
Full Spectrum Praxis : ZERO STATE : http://zerostate.net
-+- BBBS/Li6 v4.10 Dada-1
+ Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
-+- BBBS/Li6 v4.10 Dada-1
+ Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
--- BBBS/Li6 v4.10 Dada-1
* Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
From: "Dirk Bruere at NeoPax" <dirk.bruere.at.neopax@1:261/38.remove-rf4-this>
From: Dirk Bruere at NeoPax <[email protected]>
File1
public class controller extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final LanSendThread lanSendThread = new LanSendThread();
lanSendThread.start();
....}
__________
File2
public class LanSendThread extends Thread{
public static Handler lanSendHandler;
@Override
public void run(){
Looper.prepare();
lanSendHandler = new Handler() {
//stuff}
___________
How do I access the thread lanSendThread from another class in another file?
--
Dirk
Full Spectrum Praxis : ZERO STATE : http://zerostate.net
-+- BBBS/Li6 v4.10 Dada-1
+ Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
-+- BBBS/Li6 v4.10 Dada-1
+ Origin: Prism bbs (1:261/38)
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
--- BBBS/Li6 v4.10 Dada-1
* Origin: Prism bbs (1:261/38)
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24