Hello Sieghard.
>> I do it for uos (United Openlibrary of Sound), compile with fpc a
>> Java-native library and use that library with Java applets.
> I.e. you use Java for user interface only, which is just what I meant.
Not sure to understand,but even on a "pure Android" machine (like a a
mobile-phone), compiling a Java-compatible library with fpc is working.
The trick was to add a "phantom first parameter" for each method.
For example:
const
{$IF DEFINED(android)}
javappname = 'uos_demo1_';// use the same name as your android application
...
function uos_CreatePlayer({$IF DEFINED(java)}PEnv: PJNIEnv; Obj: JObject ;
{$endif} PlayerIndex: cint32) : cint32 ; cdecl;
...
exports
{$IF DEFINED(java)}
...
uos_createplayer name 'Java_' + javappname + 'uos_createplayer',
...
> BTW, the subscrition "process" was quite ridiculous
I totally agree with you.
Because of uos forum (http://uos.2369694.n4.nabble.com), I get mail from
users that become crazy with the "anti-robot" feature of nabble.
I do not have server to create a personal forum, if somebody knows something
easier than nabble, please say it.
> BTW, did you get ANY of my files attempted to send you?
No, I did not get anything, where did you sent it?
Fre;D
Fre;D
--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk