This is my first time doing anything mobile related but am getting somewhere. I loaded up the example SDK app (https://github.com/particle-iot/particle-android) and after much trouble got it working.
For those who get stuck in creating the APK, I found that one of the MainActivity files (setup_testapp/java/MainActivity) was using a pre-AndroidX version of appcompat, and by replacing with androidx.appcompat.app.AppCompatActivity; everything works perfectly. There may be a better way to fix this, but worked for me.
I am left with an issue. I loaded the APK on my phone, logged into Particle, and tried to claim a new Photon:
The new Photon is flashing dark blue as it should be, and I can see its WiFi if I scan, but the app makes no effort to find it. It doesn’t change from its WiFi setting, and no devices ever appear on this screen.
Any ideas ??