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. Papamalo
    Replies:
    2
    Views:
    170
  2. Ecomobile
    Replies:
    0
    Views:
    157
  3. Vlad Bach
    Replies:
    0
    Views:
    193
  4. Wil GRAND
    Replies:
    4
    Views:
    220
  5. designerblr
    Replies:
    1
    Views:
    300
  6. Elliot Page
    Replies:
    0
    Views:
    265
  7. Alnita
    Replies:
    5
    Views:
    239
  8. LuckyLuke8
    Replies:
    1
    Views:
    225
  9. Dan Coleman
    Replies:
    0
    Views:
    1,851
  10. VooDooChicken
    Replies:
    1
    Views:
    1,890

Share This Page

Loading...