Jump to content

lefjucabro

Members
  • Content Count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

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

  1. Hello, I have same issue: when installing Delphi 12 with Eclipse Adoptium and Android SDK options checked, I have missing files for deploying an Android application. Then I tried to download missing files with these commands in prompt but it doesn't work, I have errors: cmdline-tools\latest\bin\sdkmanager.bat --update cmdline-tools\latest\bin\sdkmanager.bat --install "platforms;android-33" cmdline-tools\latest\bin\sdkmanager.bat --install "build-tools;33.0.0" Like mark.m, I have these following settings: At that point I really don't know how to figure it out and resolve my issue. That's why I also installed Android Studio hoping I could download SDK and NDK with SDK Manager tool. I tought it has resolve my issue because downloaded directories are accepted by Delphi (ie directories are fully complete) but in the configuration page, there are stil warnings: Regards
  2. lefjucabro

    Application is freezing after updating

    Solved freezing when launching the app. Have to add following line in AndroidManifestTemplate: android:requestLegacyExternalStorage="true"
  3. lefjucabro

    Application is freezing after updating

    If I use recent features, isn't it dangerous to force the min sdk to 19 ?
  4. lefjucabro

    Application is freezing after updating

    I read articles you gave to me but I can't see what informations could resolve my issue In my AndroidManifest, minSdkVersion is 23 and targetSdkVersion is 29, that should be OK.
  5. lefjucabro

    Application is freezing after updating

    Thank for your answer emailx45. I did 1) to 5) easily I can run and debug with the usb cable without any problems. All features are working normally on my devices. I deployed this version for tests on PlayStore: it always working normally on my devices but it doesn't work on my clients devices. I checked informations on PlayConsole and I have a warning: non compatible API Landroid/view/MotionEvent;-><init>()V I hardly found informations about this and I don't know if my issue comes from this.
  6. lefjucabro

    Application is freezing after updating

    Hello, I started to develop an Android application with Delphi Tokyo, the application works on any devices. Then I developed the update with Delphi Rio and I have some issues when updating the application on some devices: the application freezes when opening. I had to remove application, delete files, restart the device and reinstall the application. On a new device or a device that has never had the application, I didn't have any problem. Due to lack of time, I could not solve this problem. Now I'm developing a new update on Delphi Sydney, the problem is still there and it's gotten worse: all of updated devices don't work. On a new device or a device that has never had the application, I don't have any problem again. It's a weird thing and I don't have any clue... Regards
  7. lefjucabro

    Record and process audio

    Thanks Hans Excuse me but I misspoke: I needed the xxx files and I could find them on the web. The ones you sent me are more recent. By adding your files to my project, I also added the corresponding FrameWorks from iMac in the "Embarcadero\Studio\SDKs\iPhoneOS13.4.sdk\System\Library\Frameworks" directory. I still have this issue when compiling 😭 "[DCC Erreur] E2597 NYI lto::archName ld: file was built for which is not the architecture being linked (arm64): D:\Documents\Embarcadero\Studio\SDKs\iPhoneOS13.4.sdk/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox.tbd for architecture arm64". So I tried to build uptodate files regarding to this page but I have errors when compiling files... Unfortunately I know that it is far from being won 😀
  8. lefjucabro

    Record and process audio

    Thank you Hans. I did some tests and I am not able to compile with imported files: I got iOSapi.AudioToolbox.pas. I had to get iOSapi.AudioUnit.pas, iOSapi.CoreAudioTypes.pas and iOSapi.CoreMidi.pas which are declared in iOSapi.AudioToolbox.pas. I also copied frameworks from iMac into "Embarcadero\Studio\SDKs\iPhoneOS13.4.sdk\System\Library\Frameworks" and have this issue when compile "[DCC Erreur] E2597 NYI lto::archName ld: file was built for which is not the architecture being linked (arm64): D:\Documents\Embarcadero\Studio\SDKs\iPhoneOS13.4.sdk/System/Library/Frameworks/AudioToolbox.framework/AudioToolbox.tbd for architecture arm64". I am aware that files and frameworks are not in same versions but I don't know how to resolve it.
  9. lefjucabro

    Record and process audio

    Hi Hans, Indeed I don't know how to convert SDK (I really am a beginner). If you have a link to explain it or send me your file if it is ok for you. Regards
  10. lefjucabro

    Record and process audio

    I didn't find these functions in iOSapi.AVFoundation or iOSapi.CoreAudio unit in Rio 10.3.3. Did you use these functions with Rio 10.3.3 ? AVAudioEngine is also missing in iOSapi.AVFoundation.pas from Rio 10.3.3. Do I install an old file ?
  11. lefjucabro

    Record and process audio

    Thank you It looks what I want to do. I will check these hints.
  12. lefjucabro

    Record and process audio

    Hello Rollo62, Thank you for your answer. I was also thinking of using a TAudioCaptureDevice but it's impossible to access data before the end of the recording. During recording, I have to get data each time my buffer is filled to process them.
  13. lefjucabro

    Record and process audio

    Hello there, I am trying to develop an iOS app with Rio. This app must record audio and process it in real time to display some graphs. I am a newbie with FMX platform and iOS, there are lot of informations I don't get There is iOSapi.AVFoundation unit which contains a lot of types (TAVAudioSession, TAVAudioRecorder) but I cannot understand how to use them. For what I understand, I have to define an audio format (2 channels stereo, 16 bits), get the buffer size, create a recording task and then launch recording. In a thread I read samples and fill them into a TMemoryStream for processing. Do you think is this correct ? Do you have any idea how can I do this ? Kind regards Lefjucabro
×