|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectService
de.Android_Seminar.fileTransmitter.FileTransmitter
public class FileTransmitter
This class will transmit a file to a server
Constructor Summary | |
---|---|
FileTransmitter()
|
Method Summary | |
---|---|
java.lang.String |
getTransmittingFile()
|
IBinder |
onBind(Intent intent)
|
void |
onCreate()
|
void |
onDestroy()
|
void |
run()
run method of the thread |
void |
transmitFile(java.lang.String file)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileTransmitter()
file
- the file, which should be transmittedMethod Detail |
---|
public void onCreate()
public void onDestroy()
public void run()
run
in interface java.lang.Runnable
public void transmitFile(java.lang.String file)
File
- the file name of the xml file that should be transmitted.
This file name must consist only of the file's real name, not of it's pathpublic java.lang.String getTransmittingFile()
public IBinder onBind(Intent intent)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |