a wrote:
> Hi, An update to my question here:
>
> I have some code that gets executed when the screen is on, but when I power
> off the screen, has some problems in execution(even after acquiring
> Wakelock globally). I have a service that acquired a wakelock and calls the
> activity - ExecuteScript with the following code:
>
> ExecuteScript.java:
>
> Intent intent = new Intent(this,ScriptActivity.class);
> intent.putExtra("code",code);
> intent.putExtra("type", type);
> startActivityForResult(intent,REQUEST_CODE);why does ExecuteScript start ScriptActivity? why doesnt ExecuteScript start a service itself? pskink -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

