Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.

ID: 30432, Workarounds for Android Services

by Jim McKeeth Email: Anonymous

This contains instructions and updated Java Templates to use when building services in Delphi and RAD Studio 10 Seattle
Download Details
FTP  download also available
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 23.0  to 23.0 175 downloads
Copyright: Open Source or other

Size: 15,319 bytes
Updated on Fri, 23 Oct 2015 09:17:31 GMT
Originally uploaded on Fri, 23 Oct 2015 09:17:31 GMT
SHA1 Hash: BF5F7F3AEBF2DD27C010B51F80A4FC7AA54E28B5
MD5 Hash: 2E35F0B22BA20464596EEB46F2BFD8AB

    Explore the files in this upload

Instructions to fix the manifest and template issues when creating Android Services with Delphi and RAD Studio 10 Seattle. This applies to pre-update version of 10 Seattle.

Place the included 4 Java template files in the folder %APPDATA%\Embarcadero\BDS\17.0 replacing the 4 files with the same name already there.

The AndroidManifest doesn't properly export remote services to make them accessible from external apps. In the host app, after compile, open the AndroidManifest.xml file found in the Android\Debug folder. Copy to the clipboard the line similar to:

<service android:exported="false" android:name="" />

Open AndroidManifest.template.xml in the project folder and replace the line <%services%> with the line from the other file, replacing false with true. It should look something like:

<service android:exported="true" android:name="" />

For more information, see

   Latest Comments  View All Add New

Move mouse over comment to see the full text

Could not retrieve comments. Please try again later.

Server Response from: ETNACDC03