Delpher2600
Members-
Content Count
13 -
Joined
-
Last visited
Community Reputation
0 NeutralRecent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
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.
-
Cannot compilate ProjectGroup with dynamic library
Delpher2600 replied to Delpher2600's topic in FMX
And anyway, in the video which i guiding, not using compilated library. -
Cannot compilate ProjectGroup with dynamic library
Delpher2600 replied to Delpher2600's topic in FMX
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. -
Cannot compilate ProjectGroup with dynamic library
Delpher2600 replied to Delpher2600's topic in FMX
Bump. -
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?
-
TDirectory.CreateDirectory not creating new folder
Delpher2600 replied to Delpher2600's topic in FMX
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! -
TDirectory.CreateDirectory not creating new folder
Delpher2600 replied to Delpher2600's topic in FMX
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? -
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?
-
Code for getting permissions not working in Delphi 11
Delpher2600 replied to Delpher2600's topic in FMX
Yes, that's work! Thank you, sir! -
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?
-
Application crashed when i connect Android Service
Delpher2600 replied to Delpher2600's topic in FMX
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. -
Application crashed when i connect Android Service
Delpher2600 replied to Delpher2600's topic in FMX
How make it? Yes, it's was renamed. -
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.