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.

Delphi Android Broadcast Receiver Component

Discussion in 'Delphi Android And IOS' started by barisatalay, Oct 22, 2014.

  1. barisatalay
    Offline

    barisatalay DF Senior

    [img=360x640]http://3.bp.blogspot.com/-znDqZ9H6FC8/VET_viN3xTI/AAAAAAAAAxI/oOCB849-7Rs/s1600/Delphi_android_broadcast_receive.png[/img]​

    With the help of this component will be able to catch the broadcast on your phone.

    Note: There is no need to make any settings related Classes.dex a standard component installation process is enough to do the same.

    Tested on XE6-XE7.

    In a sample of project files have prepared for you through this example, you can catch the number of the incoming age.

    Information:
    http://developer.android.com/reference/android/content/BroadcastReceiver.html

    Orginal Topic: http://brsatalay.blogspot.com.tr/2014/10/delphi-android-broadcast-receiver.html
    Download Url[20/10/2014]: http://www.dosya.tc/server35/sCZfLq/BroadcastReceiver.rar.html
    Svn: https://code.google.com/p/delphi-android-broadcast-receiver-component/ 

    Syntax


    1-) BroadcastReceiver1.RegisterReceive : Broadcast receivers are open and start listening.

    2-) BroadcastReceiver1.Add(''): In this way the rest of intent that you want to add.

    3-) BroadcastReceiver1.SendBroadcast(''): Please write here if you want to send a broadcast manually.
    Note:On KitKat only system services are allowed to send broadcast.

    4-) "OnReceive" Event: If you listen to the broadcast of this event is triggered any action in publications and executes the code within.
     
    Mahdi likes this.
  2. dynamo
    Offline

    dynamo DF Expert

    Very thanks
     
  3. stavroula2011
    Offline

    stavroula2011 DF Senior

  4. SPCoeur
    Online

    SPCoeur Guest

    Keep those articles coming.
     
  5. jemunoz0
    Offline

    jemunoz0 DF Member

    Thanks!
     
  6. kober
    Offline

    kober DF Junior

    thanks
     
  7. minjiu
    Online

    minjiu Guest

    [font='Open Sans', Arial, Tahoma, Verdana, sans-serif]Thanks[/font]
     
  8. bastel
    Offline

    bastel DF Junior

    Hey

    many thanks for this.

    cu Bastel
     
  9. mato0o
    Offline

    mato0o DF Junior

    Thank you!
     
  10. udomsak83
    Offline

    udomsak83 DF Junior

    RE:

    Thankyou
     
  11. antlks
    Offline

    antlks DF Member

    RE:

    Thanks for the share, btw is this component compatible for D7 ?
     
  12. dreamersunny
    Offline

    dreamersunny DF Junior

    RE:

    thanks
     

Share This Page