Jump to content

GSan

Members
  • Content Count

    7
  • Joined

  • Last visited

Posts posted by GSan


  1. On 1/23/2024 at 3:17 PM, Rollo62 said:

    Have you checked the right 32/64 bitness of APK and Phone OS ?

     

    Oh, no, it could be this one

    https://en.delphipraxis.net/topic/10704-delphi-12-and-android-14/

     

    Rollo62 you are number 1.

    I've been racking my brains to understand what the cause of this message was, especially now that the sdkmager.exe gui is no longer available.

     

    But with your instructions I solved it.

     

    Thank you so much.


  2. Hi, I have installed Delphi 12, but I'm encountering several problems with the Android SDK.

     

    I think I've solved some of them, but now when I compile a new Android app to use on a Samsung smartphone running Android 14 I get the message:

     

    "This app is not compatible with the latest version of Android. Check for an update or contact the app developer".

     

    What can it be caused by?

     

    Thanks in advance


  3. Hi everyone, I'm trying to enable and disable hotspot on android11 device with Delhpi 11 but I don't understand what I'm doing wrong....
    
    this is my code:
    procedure TForm1.Button2Click(Sender: TObject);
    var
    WifiManagerObj: JObject;
    WifiManager: JWifiManager;
    Mycallback: JWifiManager_LocalOnlyHotspotCallback;
     startedres:JWifiManager_LocalOnlyHotspotReservation;
    handler: JHandler;
    begin
    
     WifiManagerObj := SharedActivityContext.getSystemService(TJContext.JavaClass.WIFI_SERVICE);
     WifiManager := TJWifiManager.Wrap((WifiManagerObj as ILocalObject).GetObjectID);
    
    
    Mycallback:= TJWifiManager_LocalOnlyHotspotCallback.Create;
     startedres:=TJWifiManager_LocalOnlyHotspotReservation.Create;
    
      WifiManager.startLocalOnlyHotspot(Mycallback,handler);
    
      Mycallback.onStarted(startedres);
    
    end;
    some idea...
    
    thank you
    
     

    GS

×