Jump to content

Omar Zelaya

Active subscription
  • Content Count

    34
  • Joined

  • Last visited

  • Days Won

    1

Omar Zelaya last won the day on August 1

Omar Zelaya had the most liked content!

Community Reputation

6 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, I'm using a "new" test device a Samsung SM-J260M with Android 8.0.1 with 10.4.1, now when I test the Camera Demo, when I take a pic, the preview image is not displayed ok. When I use front camera it works ok. Any hint? Thanks in advance, Omar Zelaya
  2. Hi, I get "[DCC Error] E2597 E:\\android-ndk-r17b\\platforms\\android-22\\arch-arm64\\usr\\lib\\crtbegin_so.o: file not recognized: File format not recognized" when compiling. Thanks in advance, Omar Zelaya
  3. Hi, I think is my OLD device is not supported anymore, tested with a firemonkey app with same results. Thanks in advance, Omar Zelaya
  4. Hi, app crash when launch demo on device. there is no stack trace info. Thanks in advance, Omar Zelaya
  5. Hi, I just installed Rad Studio 10.4.1 on clean VM and lastest FGX, executing any FGX demo app crashes and startup. Any hints? Thanks in advance, Omar Zelaya
  6. Hi, usage of thread method. CustomThread(/// OnStart procedure () begin // show some kind of wait message to user end, /// OnProcess procedure () begin // request data end, /// On Complete procedure () begin /// show end data request end, // On Error procedure () begin /// show error on data request end);
  7. Hi, not able to watch video,. ?
  8. Hi Maybe this help, procedure CustomThread( AOnStart, AOnProcess, AOnComplete : TProc; AOnError: TProcedureExcept; ADoCompletWithError: Boolean = True); var LThread : TThread; begin LThread := TThread.CreateAnonymousThread( procedure () var LDoComplete : Boolean; begin try try //OnStart LDoComplete := True; if Assigned(AOnStart) then begin TThread.Synchronize( TThread.CurrentThread, procedure () begin AOnStart; end ); end; //OnProcess if Assigned(AOnProcess) then AOnProcess; //OnError except on E:Exception do begin LDoComplete := ADoCompletWithError; if Assigned(AOnError) then begin TThread.Synchronize( TThread.CurrentThread, procedure () begin AOnError(E.Message); end ); end; end; end; finally //OnComplete if Assigned(AOnComplete) then begin TThread.Synchronize( TThread.CurrentThread, procedure () begin AOnComplete; end ); end; end; end ); LThread.FreeOnTerminate := True; LThread.Start; end;
  9. Hi, Rad Studio 10.3 memory manager uses arc on mobile, so you kind of shouldnt dont worry about memory release. On 10.4 on mobile now use standard memory model(not more arc) and you SHOULD be aware to release memory. About second question, not quite familiar with TRestRequest class and ExecuteAsync Method, In my own experience i always do any intenert request using Threads with no problems(no delays on main thread). I would suggest to use Threads to request data from the internet. I'm developing a App that laods data and images from a rest server with no delay on the app using threads. Hope it Helps, Omar Zelaya
  10. Hi, Now that real time video comunications and video conferences has become more important than ever, It would be nice to have on FGX something like this https://github.com/Zeus64/alcinoe#webrtc-delphi-wrapper supporting this nice feature to connect to existing free WebRTC servers like Jitsi. Something like this https://www.tmssoftware.com/site/blog.asp?post=661 Thanks in Advance, Omar Zelaya
×
×
  • Create New...