Jump to content

Delpher2600

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. Delpher2600

    AppTethering not transmissing a streams

    Hello. I'm trying transit stream type data through AppTethering components, but finish point getting only empty stream. But when i sending just data - all right, string or integer delivering normal. How fix it? I attach my projects in this link becose this resource not permitting uploud so large files.
  2. Delpher2600

    Cannot compilate ProjectGroup with dynamic library

    And anyway, in the video which i guiding, not using compilated library.
  3. Delpher2600

    Cannot compilate ProjectGroup with dynamic library

    But i don't know haw compilate so-library. When i just press big green button, it's just processing. and in the end RAD fireing out with error and showing me this page. And sub-folder bin in a folder Android>Release is empty.
  4. Delpher2600

    Cannot compilate ProjectGroup with dynamic library

    Bump.
  5. Hello. I made ProjectGroup from host FMX-project and dynamic library-project (.so). I'm using standart code for call export function: {$IFDEF MSWINDOWS} procedure DStart; external 'DLLName.dll'; {$ENDIF} {$IFDEF ANDROID} procedure DStart; external 'libDLLName.so'; {$ENDIF} And when i tryed compilate it for Android. Delphi fired out with next error: [DCC Error] E2597 C:\Users\Public\Documents\Embarcadero\Studio\22.0\CatalogRepository\AndroidNDK-21-22.0.48361.3236\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lDllName {DllName is library name} What is it and how fix it?
  6. Delpher2600

    TDirectory.CreateDirectory not creating new folder

    P.S. Now i checked - i can make a folders on the way: '/storage/emulated/0/Android/NewFolder', but i can't save a files there!
  7. Delpher2600

    TDirectory.CreateDirectory not creating new folder

    O'K, how make it? Well, i need getting access to shared folders for my app work. And how make it? Isn't it shared folder not must to be available to all?
  8. Hello. I'm using this code: TDirectory.CreateDirectory('/storage/emulated/0/NewFolder'); for creating new folder. And it's worked every time. But now i installed Delphi 11 CE and this code not working - new folder just not appering in the list of catalogs. What is it and how fix it?
  9. Delpher2600

    Code for getting permissions not working in Delphi 11

    Yes, that's work! Thank you, sir!
  10. Hello! Code, which i used for getting Android permissions, worked every time: if not PermissionsService.IsPermissionGranted(JStringToString(TJManifest_permission.JavaClass.WRITE_EXTERNAL_STORAGE)) then PermissionsService.RequestPermissions([JStringToString(TJManifest_permission.JavaClass.WRITE_EXTERNAL_STORAGE)], procedure(const APermissions: TArray<string>; const AGrantResults: TArray<TPermissionStatus>) begin if (Length(AGrantResults) = 1) and (AGrantResults[0] = TPermissionStatus.Granted) then ShowMessage('Access granted') else ShowMessage('Access denied'); end); But no now, when i installed Delphi 11 CE. Now, IDE highlights by red and write: E2250 There is no overloaded version of 'RequestPermissions' that can be called with these arguments at line 36 What is it and how fix it?
  11. Delpher2600

    Application crashed when i connect Android Service

    I'm using this code: FService : TLocalServiceConnection; FService := TLocalServiceConnection.Create; FService.StartService('F'); In OnTimer of TTimer. So, i think not if using OnShow may change somebody.
  12. Delpher2600

    Application crashed when i connect Android Service

    How make it? Yes, it's was renamed.
  13. Hi. I am making Android app, and i add Android Service to project, guided by this video: Code in the Android Service: unction TDM.AndroidServiceStartCommand(const Sender: TObject; const Intent: JIntent; Flags, StartId: Integer): Integer; begin Result := TJService.JavaClass.START_STICKY; end; Calling from main project: FService : TLocalServiceConnection; FService := TLocalServiceConnection.Create; FService.StartService('F'); But when i lainch my application, it is crashing at once at start. When i launch my app under debugging, Delphi writing me: Full text on the attachment. Also, debugger get this code: I am using Delphi 10.4 CE.
×