This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[Solved]Android App error with nrf8001

When I first switch on the circutry that initialises the nrf8001 and sets it up for communication and then connect the android app with it ,the connection is done successfully ,it even shows RSSI but then in 1 or 2 seconds the Android app crashes unexpectedly and the error on the Android side is as follows:

Permission Denial: this requires android.permission.INTERACT_ACROSS_USERS_FULL

heres the complete link to the android problem>> stackoverflow.com/questions/20578474/permission-denial-this-requires-android-permission-interact-across-users-full

BUT when it crashes and again I restart the android app (not restarting the nrf8001) it connects all fine and works !,why?

Parents
  • @Nishant: Please let me know your Android device name and the Android version on the device.

    On my test here, I had no issue using your app to connect to a 8001 (running HRM) and see the RSSI value updated. Devices tested : Galaxy S4(Android 4.3), Nexus 7 (Android 4.4.2)

  • Hung,

    Okay so further reaseach on the peoblem got to me more closer to its behaviour, the app dies ONLY WHEN ITS THE VERY FIRST TIME CONNECTION TO THE CHIP! I mean if I power on the arduino and this starts the hardware software including initialising the nrf8001 and setting it up etc, so when the app is connected to the nrf8001 for the first time since nrf8001 went reset the app crashes! after that restarting the app 1000 times and connecting to it is fine! but why is that?

Reply
  • Hung,

    Okay so further reaseach on the peoblem got to me more closer to its behaviour, the app dies ONLY WHEN ITS THE VERY FIRST TIME CONNECTION TO THE CHIP! I mean if I power on the arduino and this starts the hardware software including initialising the nrf8001 and setting it up etc, so when the app is connected to the nrf8001 for the first time since nrf8001 went reset the app crashes! after that restarting the app 1000 times and connecting to it is fine! but why is that?

Children
No Data
Related