SDK compatibility of nrf52840 with newer android versions

I am working on BLE Image transfer from nrf52840 to android application. I am facing one strange issue with the github repo https://github.com/NordicPlayground/Android-Image-Transfer-Demo . I was testing this for compile and target SDK 34 but I found out that while scanning, the device can be discovered and shown in app till SDK 28 and on changing the version to 29+ SDK, it suddenly disappears and the stopLeScan() is called which eventually gives 'scanning for device always'. I tested this issue with multiple log statements for debugging and could not find the issue. Is this compatibility issue? 
Also as I wanted to add more features like firebase and few more other new features so while adding dependencies for those, app crashes and gives unknown error.
Is there any way to resolve this issue because I am trying to integrate this given repo code with my existing code.

Parents
  • Hi Arpit

    I will help Håkon out with this one, since I developed the demo in question. 

    If I understand your application correctly you are trying to do more or less the same thing, passing JPG images over BLE? 

    In general it is very limited what support we can provide for unofficial samples like this one. We provide a series of official apps for Android on our official Github account, and these samples are updated and maintained to ensure they will work in later SDK versions (full list here). 

    If you need support for a later SDK than the one supported by the demo I would suggest starting out with one of the official apps, and using the image transfer demo for reference only on the specifics of working with the proprietary image transfer service. 

    Best regards
    Torbjørn

Reply
  • Hi Arpit

    I will help Håkon out with this one, since I developed the demo in question. 

    If I understand your application correctly you are trying to do more or less the same thing, passing JPG images over BLE? 

    In general it is very limited what support we can provide for unofficial samples like this one. We provide a series of official apps for Android on our official Github account, and these samples are updated and maintained to ensure they will work in later SDK versions (full list here). 

    If you need support for a later SDK than the one supported by the demo I would suggest starting out with one of the official apps, and using the image transfer demo for reference only on the specifics of working with the proprietary image transfer service. 

    Best regards
    Torbjørn

Children
No Data
Related