Re: [android-developers] startActivityForResult() from service

2012-10-12 Thread Anthony Prieur
Create a custom facade for the built in SL4A RPC server as explained here: https://code.google.com/p/android-python27/wiki/TutorialHowToCreateCustomRpcFacade And POST the result back to Java from you Python script e.g. droid.myResult(xxx) Le jeudi 11 octobre 2012 14:27:17 UTC+2, Archana a

[android-developers] startActivityForResult() from service

2012-10-11 Thread Archana
Hi, I have defined a service. I need to call startActivityForResult(intent,REQUEST_CODE) from this. I saw http://stackoverflow.com/questions/3448485/startactivityforresult-from-a-service But can someone explain me? Thanks! -- You received this message because you are subscribed to the

Re: [android-developers] startActivityForResult() from service

2012-10-11 Thread Mark Murphy
On Thu, Oct 11, 2012 at 8:13 AM, Archana ramalingam.arch...@gmail.com wrote: Hi, I have defined a service. I need to call startActivityForResult(intent,REQUEST_CODE) from this. That is not supported. IMHO, it does not even make any sense. Why do you think that you need to do this? -- Mark

Re: [android-developers] startActivityForResult() from service

2012-10-11 Thread Archana
Hi, I have to execute a Python script from my service. I need to wait till the script has finished execution and returns a result. Hence am using it. On Thursday, October 11, 2012 3:20:41 PM UTC+3, Mark Murphy (a Commons Guy) wrote: On Thu, Oct 11, 2012 at 8:13 AM, Archana