I am quite new to the android platform. I want to export my service to be publicly used. I find something on developer doc
android:exported
Whether or not
The purpose of the "exported" is to let other apps have access to a service.
For example, \android-sdk-windows\samples\android-8\SampleSyncAdapter\AndroidManifest.xml
The source code that matches with these services is then found in your samples folder at
\android-sdk-windows\samples\android-8\SampleSyncAdapter\src\com\example\android\samplesync\authenticator\AuthenticationService.java
and
\android-sdk-windows\samples\android-8\SampleSyncAdapter\src\com\example\android\samplesync\syncadapter\SyncService.java
An example of using this might be located at...
\android-sdk-windows\samples\android-8\SampleSyncAdapter\src\com\example\android\samplesync\client\NetworkUtilities.java (3 hits)
Line 63: "https://samplesyncadapter.appspot.com";
Line 238: // Succesfully connected to the samplesyncadapter server and
Line 287: // Succesfully connected to the samplesyncadapter server and