in here following code worked but you have to deploy the application using JAD file (download through the web) not the using alx file.
You can get the custom property by calling
Assume that you are having a class called Class A it needs to call Class Z as a thread. Therefore you can implement class Z from Runnable interface and implement your code in run().Ex:-
If you start the Thread using ClassZ it runs ClassZ’s run method. Therefore if you have several method in side the class you need to have a variable telling which method you want to run. Thus in here i used code variable to keep the information about the method which i want to run. And also we wrote a method to start the thread called runThread().
I though to write a continuous article describing best practices in programming. Here I’m not going to talking about coding conventions but talking about enhanced cording techniques you can use.
Using IO, Network connections
Use Threads to call server calls where ever possible.
This prevents user to feel as hang the system during the network calls. I’ll write a article including asynchronous server calls.