I think we should change the file crt0.as, as described in the following link
http://honeypod.blogspot.com/2007/12/initialize-libc-for-android.html
I have not done so, I'm doing another job first.
-
-
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Strange
I managed to compile and run the library for android on emulator, which I
compile the project just a libhellojni.so
compile using paramater like this
ppcarm -Scghi -O1 -Parm -gl -b -B -XX -Xc -XD -CpARMv6 -CfSOFT -dandroid
-vewnhi -l -XParm-linux-
-Fi/home/herux/workspace/hellojni/jni/lib/arm
I use this binutils http://www.gnu.org/software/binutils/
using this command to build crosscompiler
make clean crossinstall CPU_TARGET=arm OS_TARGET=linux
CROSSBINDIR=/usr/share/fpcsrc/binutils/ OPT="-dFPC_ARMEL -O- -gl"
CROSSOPT="-dANDROID -CpARMv6 -gl -CfSOFT -O-"
I may have to repeat it
thank
D -CpARMv5 -gl -CfSOFT -O-"
now it's work. libhellojni.so loaded succesfully.
thanks
herux
-
-
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/android-share-library-with-classes-unit-tp4297859p4300489.html
Sent from the Free Pascal - General
I have a strange problem, I pass data from the android String via JNI. pass
data from FreePascal wideString successfully using the following code
NewString: function (Env: PJNIEnv; const Unicode: PJChar; Len: JSize):
JString; cdecl;
GetStringChars:function(Env:PJNIEnv;Str:JString;IsCopy:PJBoolean
thanks for the response.
I am doing what you suggest. but it's still the same.
I debug this line of code using android log
Chars := Env^.GetStringChars(Env, AJString, nil);
__android_log_write(ANDROID_LOG_DEBUG,'proj_debug',PChar(Chars));
and the log I retrieved :
04-26 17:53:17.942: DEBUG/pr
Yes, there's bug. thanks you.
I using GetStringUTFChars
function JNI_JStringToString(Env: PJNIEnv; JStr: jstring): String;
var
IsCopy: Pjboolean;
Chars: PChar;
begin
if JStr = nil then
begin
Result := '';
Exit;
end;
Chars:= Env^.GetStringUTFChars(Env, JStr, IsCopy);
if Char
Hello,
Do you think FreePascal can be used to compile applications for google
chrome browser, such as the following link?
http://code.google.com/chrome/nativeclient/
thanks
herux
-
-
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Chrome-Browser-apps
Hi,
I use RSA encryption library lockbox turbo power.
in a windows environment I managed to compile and the apps working well, I
use {$ mode delphi}.
but when I compile it on ubuntu 64bit, there is an error when compiling
component/LockBox/LbCipher.pas(708,10) Error: Unknown identifier "EBX"
com
thanks for the info for you guys,
where can I read the complete freepascal asm document for 64bit ?
-
-
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/compiling-turbo-power-lockbox-on-ubuntu-64-tp4634016p4634787.html
Sent from the Free Pascal - General mail
I was thinking about the best alternative
yes, I think you're right. better to write it into native.
thank you
-
-
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/compiling-turbo-power-lockbox-on-ubuntu-64-tp4634016p4635040.html
Sent from the Free Pascal -
How to get a list of parameters of an object method, if we only know the name
of the object and its methods?
-
-
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/get-method-params-and-its-type-tp4837859p4837859.html
Sent from the Free Pascal - General mailing
Try using Indy or Synapse as HttpClient to send data content using HTTP POST
with the parameters as you mean. my FPWeb success to do it using PHP via
CURL.
I guess this is not a limitation of HTTP, just not the standard for web
scripting
-
-
--
View this message in context:
http://free-pasc
good job. I will learn it.
thank you
-
-
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/Finished-full-JVM-Android-application-tp5103112p5116210.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_
14 matches
Mail list logo