1. Are you ready for the Galaxy S20? Here is everything we know so far!

Android NDK alternative to BroadcastReceiver

Discussion in 'Android Development' started by ask_user03, Apr 2, 2021.

  1. ask_user03

    ask_user03 Lurker
    Thread Starter

    I am trying to catch power related events, screen on/off, wifi events, app going into background/foreground, etc on Android.

    Is BroadcastReceiver the only way to do this? Is there an Android NDK interface available to catch these events directly from my native C++ application?
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - Android NDK alternative
  1. afroag
    Replies:
    4
    Views:
    100
  2. MAK37
    Replies:
    7
    Views:
    327
  3. Kodesense
    Replies:
    1
    Views:
    232
  4. lordpuffer
    Replies:
    5
    Views:
    271
  5. 1ShadowHunter1
    Replies:
    2
    Views:
    282
  6. Pablo56
    Replies:
    7
    Views:
    255
  7. Dan Coleman
    Replies:
    0
    Views:
    726
  8. VooDooChicken
    Replies:
    1
    Views:
    328
  9. Kenix157
    Replies:
    0
    Views:
    963
  10. Dan Coleman
    Replies:
    0
    Views:
    1,429

Share This Page

Loading...