Jump to content

Delpher2600

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. 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.
  2. Delpher2600

    Application crashed when i connect Android Service

    How make it? Yes, it's was renamed.
  3. 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.
×