M madSac Active Member Licensed User Longtime User Jan 25, 2013 #1 Is there any way to start my application using service.
mc73 Well-Known Member Licensed User Longtime User Jan 25, 2013 #2 Sure. You can use Code: Copy startactivity(main) for example. Upvote 0
M madSac Active Member Licensed User Longtime User Jan 25, 2013 #3 But how i will come to know that who has started the application i.e. user or Service. Upvote 0
mc73 Well-Known Member Licensed User Longtime User Jan 25, 2013 #4 I suggest you provide the full description when opening a thread, since it will be easierto provide a solution, for other members An easy way I can think of, is to declare a variable at your service module, and set it to 'true' when starting the activity. Then in the activity you can check for this variable and determine if it was opened from the service. And don't forget to set it back to 'false', once read. Upvote 0
I suggest you provide the full description when opening a thread, since it will be easierto provide a solution, for other members An easy way I can think of, is to declare a variable at your service module, and set it to 'true' when starting the activity. Then in the activity you can check for this variable and determine if it was opened from the service. And don't forget to set it back to 'false', once read.
E edgar_ortiz Active Member Licensed User Longtime User Jan 25, 2013 #5 You can use a variable defined in "PProcess_Globals" and when you start in the service, set to True. Regards Edgar Upvote 0
You can use a variable defined in "PProcess_Globals" and when you start in the service, set to True. Regards Edgar
M madSac Active Member Licensed User Longtime User Jan 26, 2013 #6 OK.I thought that there is any method to know the Executor of application. Upvote 0