i'm trying make method can return result service problem :
public int getresult{ int result; //i'm sending request pendingintent here, here don't have variable returned return result; } public void onactivityresult (int requestcode, int resultcode, intent data) { //because result service comes here , can't put in previous method - that's problem me }
is there idea of making int getresult method not send request return result well?
you can implement listener in activity, service calls when gets job done. , in listener, can fetch result service..
it best way believe.
Comments
Post a Comment