Quantcast
Viewing all articles
Browse latest Browse all 4

How do you configure a titanium service as an Android receiver?

I have added the android service definition to tiapp.xml but I can't figure out how (or if it is even possible) to configure a Ti service as a receiver.

After noting that myservice.js is converted to a com.example.MyserviceService class, I added a receiver android:name="com.example.MyserviceService" node to the tiapp.xml android manifest but have been unable to invoke the service.

Has anyone been able to get a Titanium service to respond to an Intent from another application? If so, sample code would be much appreciated.


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>