1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram

  5. Delphifan Magazine
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

Source Code BroadCast an SMS Status Sent and a Delivery report on Android

Discussion in 'Delphi Android And IOS' started by Bravesaw, Jul 16, 2018.

  1. Bravesaw
    Online

    Bravesaw DF Junior

    this is my uncomplete SMS Manager for android
    i add how to broadcast an SMS for both (Sent and Delivery) report .
    i hope you enjoy it with me until i will add the option on how to choose the SIM Card Slot Later ....

    [​IMG]

    Hidden Content:
    **Hidden Content: You must click 'Like' before you can see the hidden data contained here.**
     
    Last edited by a moderator: Jul 16, 2018
    Mahdi, fahricakar, XoreDev and 30 others like this.
  2. Bravesaw
    Online

    Bravesaw DF Junior

    i found an other aproach for sending SMS from the second SIM Card Slot but it's not enough for me
    because it's work like The ShelExecute of windows (for exemple: when you send an SMS you didn't
    inside your APP but your will launch the Native SMS Manager of your phone with a ready to send
    your SMS and here is how it work:

    Code:
    uses
    Androidapi.JNI.GraphicsContentViewText,
    FMX.Helpers.Android,
    Androidapi.JNI.Net;
    procedure Call_URI(const AAction: JString; const AURI: string);
    var
    uri: Jnet_Uri;
    Intent: JIntent;
    begin
    uri := StrToJURI(AURI);
    Intent := TJIntent.JavaClass.init(AAction, uri);
    {Intent.putExtra()
        If you want to send a text message and other complex applications, you need to pass a variety of other parameters. To use
        Intent.putExtra()   Pass multiple parameters.
        Here only encapsulates the simplest, specific "Intent.putExtra()" usage, you can query Java information. A lot of
    }
    SharedActivityContext.startActivity(Intent);
    end;
    //Example of use:
    //Call
      Call_URI(TJIntent.JavaClass.ACTION_CALL, 'tel:137114553XX');
    //Open the map to display a coordinate point
      Call_URI(TJIntent.JavaClass.ACTION_VIEW, 'geo:38.899533,-77.036476');
    //send email
      Call_URI(TJIntent.JavaClass.ACTION_SENDTO, 'mailto:[email protected]');
    //play music
      Call_URI(TJIntent.JavaClass.ACTION_VIEW, 'file:///sdcard/download/Test.mp3');
     
    realist and AdminDF like this.
  3. muhammet2015
    Online

    muhammet2015muhammet2015 is a Verified Member Downloader DF Payment Group

  4. delphi_sk
    Offline

    delphi_sk DF Junior

Share This Page