iam tries to start activity from another distribution from my remote service: this is how I implement service.java
public class CurrencyService extends Service
{
public class CurrencyServiceImpl extends ICurrencyService.Stub
{
int CALL_PUSH_SERVICE_ACTIVITY=10;
@Override
public void callSomeActivity(int activityId) throws RemoteException
{
Intent pushActivity=new Intent("com.pushservice.PushActivity");
pushActivity.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(pushActivity);
}
.....
}
ive also added a line to the service manifest:
the service is working fine, but I can not start the action â PushActivity, which is in a different package of a different application, this is an error:
No activity was found Exception: no activity was found for working with the object {act = com.pushservice.PushServiceActivity flq = 0x10 ...
thank.
source
share