[fpc-pascal] Re: Finished full JVM Android application

2012-01-02 Thread herux
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. _

[fpc-pascal] Re: fpweb and reading the contents of a request

2011-10-18 Thread herux
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

[fpc-pascal] get method params and its type

2011-09-24 Thread herux
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

Re: RE : [fpc-pascal] compiling turbo power lockbox on ubuntu 64

2011-07-26 Thread herux
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 -

Re: RE : [fpc-pascal] compiling turbo power lockbox on ubuntu 64

2011-07-26 Thread herux
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

[fpc-pascal] compiling turbo power lockbox on ubuntu 64

2011-07-26 Thread herux
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

[fpc-pascal] Chrome Browser apps with Native Code

2011-05-29 Thread herux
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

Re: RE : RE : [fpc-pascal] android JNI JString to String

2011-04-26 Thread herux
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

Re: RE : [fpc-pascal] android JNI JString to String

2011-04-26 Thread herux
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

[fpc-pascal] android JNI JString to String

2011-04-26 Thread herux
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

[fpc-pascal] Re: android share library with classes unit

2011-04-13 Thread herux
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

[fpc-pascal] Re: android share library with classes unit

2011-04-12 Thread herux
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

[fpc-pascal] android share library with classes unit

2011-04-12 Thread herux
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

[fpc-pascal] Re: Strange arm-linux cross-compilation errors

2011-04-12 Thread herux
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