Reputation: 1
My problem is, I have two android apps. first one is UI app(Activity). second one is non-UI app(Service). How can you integrate both apps and install together?....
Upvotes: 0
Views: 729
Reputation: 830
Both of those are components, not applications. The application is the entire project put together, whereas the components are made up of different Android APK classes. See:
http://developer.android.com/guide/topics/fundamentals.html
You need to add both the activity and service to the manifest file. From your UI activity, you can call startService() to start the service. Make sure to read up on life-cycles too.
Upvotes: 2