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 écrit : > > 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 <ramalinga...@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 Murphy (a Commons Guy) >> http://commonsware.com | http://github.com/commonsguy >> http://commonsware.com/blog | http://twitter.com/commonsguy >> >> _The Busy Coder's Guide to Android Development_ Version 4.2 Available! >> > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en