Watch, Follow, &
Connect with Us

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


Welcome, Guest
Guest Settings
Help

Thread: CBXE8 - Is it possible to generate .DLL to be called by Android Java apps ?


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Oct 13, 2015 6:06 PM Last Post By: GAI CHEW KAI
GAI CHEW KAI

Posts: 117
Registered: 7/25/14
CBXE8 - Is it possible to generate .DLL to be called by Android Java apps ?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 13, 2015 1:45 AM
Embarcadero® C++Builder XE8 Version 22.0.19027.8951 and Indy 10.
Window 10 Pro x64, Version 10.0.10240
Android 4.1.2

QUESTIONS

1. Is it possible to generate a .DLL using CBXE for Android and called by other Java written applications ?

Please advise.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: CBXE8 - Is it possible to generate .DLL to be called by Android Javaapps ? [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 13, 2015 9:03 AM   in response to: GAI CHEW KAI in response to: GAI CHEW KAI
GAI wrote:

Is it possible to generate a .DLL using CBXE for Android
and called by other Java written applications ?

Android/Java does not use .DLL files, it uses .SO files. But yes, it is
possible to use Delphi to create .SO files that Java apps can call into:

Bare Bones Android App With NDK Shared Object Built In Delphi XE7 Without
Firemonkey
http://www.fmxexpress.com/bare-bones-android-app-with-ndk-shared-object-built-in-delphi-xe7-without-firemonkey/

--
Remy Lebeau (TeamB)
GAI CHEW KAI

Posts: 117
Registered: 7/25/14
Re: CBXE8 - Is it possible to generate .DLL to be called by Android Javaapps ? [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 13, 2015 4:29 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
> Android/Java does not use .DLL files, it uses .SO files. But yes, it is
> possible to use Delphi to create .SO files that Java apps can call into:

- Remy, can it be done via C++Builder XE8 (CBXE8) as well ?
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: CBXE8 - Is it possible to generate .DLL to be called by AndroidJavaapps ? [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 13, 2015 4:47 PM   in response to: GAI CHEW KAI in response to: GAI CHEW KAI
GAI wrote:

- Remy, can it be done via C++Builder XE8 (CBXE8) as well ?

I have no idea. I don't do cross-platform development with C++Builder (or
Delphi, for that matter).

--
Remy Lebeau (TeamB)
GAI CHEW KAI

Posts: 117
Registered: 7/25/14
Re: CBXE8 - Is it possible to generate .DLL to be called by AndroidJavaapps ? [Edit]  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Oct 13, 2015 5:23 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
It seems not much choices available, so will consider Microsoft Visual C++ for Cross-Platform Mobile Development.

https://msdn.microsoft.com/en-us/library/dn707591.aspx
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02