0
I have two apps, the app 1 has several CRUD, the app 2 has several services and notifications.
When trying to start Service by App 1, this is happening:
java.lang.Securityexception: Not allowed to start service Intent { Cmp=com.example.Luiz.servicelocation/. Locationservice } without permission not Exported from uid 10059
Could I start a service of my app 2 through a button in my app 1?
This link explains how to communicate between apps https://web.archive.org/web/20130731024012/http://code.google.com/p/openmobster/wiki/Interappcommunication
– Luccas Melo
This is happening: Caused by: java.lang.Securityexception: Not allowed to start service Intent { Cmp=com.example.Luiz.servicelocation/. Locationservice } without permission not Exported from uid 10059
– Luiz Lanza
I think it worked, this setup <service android:name=". Locationservice" android:enabled="true" android:Exported="true" />
– Luiz Lanza
@Luizlanza Publish your solution as an answer to make life easier for those who have the same problem in the future.
– Pablo Almeida
Solution equal to @jdoper
– Luiz Lanza