|
ID: 30432, Workarounds for Android Services
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:
|
For Delphi, Version 23.0
to 23.0
174 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
File Exploration is Disabled
We're sorry, but errors in the uploaded zip file prevent it from being explored.
The error generated by the Zip attachment is:
You may still be able to repair the zip file contents if you download the entire zip locally. You may also want to ask the author to repost the attachment.
|
Description
|
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="com.embarcadero.services.MyService" />
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="com.embarcadero.services.MyService" />
|
|

Server Response from: ETNACDC04
|
Connect with Us