Hi,
What exactly are you trying to do?
Why do you try to add your code to a AServiceThread descendant and not to a
plain old Thread?
I am trying to understand your goals in order to help :)
On Thursday, 30 August 2012 17:26:40 UTC+3, jaggi wrote:
>
> I am facing the same problem. Unable to add my code to run along with
> SMSLIB thread. Any help would be appreciated.
>
> MyCode getMyCode()
> {
> return this.myCode;
> }
>
> void setMyCode(MyCode _myCode)
> {
> this.myCode = _myCode;
> }
>
> private class MyCode extends AServiceThread
> {
> public MyCode(String name, int delay)
> {
> super(name, delay, 5000, true);
> }
>
> @Override
> public void process() throws Exception
> {
> myCode();
> }
> }
>
> I dont see this thread running... The real problem is with the delay i
> guess.
> a simple code syso("my code running");
> will run with no problems but when the actual code is added it wont run. I
> think the thread is getting cancelled.
> Could you help me on the same..
>
--
You received this message because you are subscribed to the Google Groups
"SMSLib Discussion Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/smslib/-/vlQRAx5pgaMJ.
For more options, visit https://groups.google.com/groups/opt_out.