Sending Claim Code to Device

Im currently at this step as well. Im developing an Android app and am wondering how to best connect a customers device and then immediately pass that device a claim code and get it associated with that customer. The ParticleDeviceSetupLibrary seems like the obvious way to connect the device but then how do I claim it? I am currently generating customers and claim codes, but the only command I see in the Android SDK is claimDevice(deviceID). This doesnt appear to even use the claim code, am I missing something? Is there a way for my customers to claim devices they just connected without a claim code?

Thanks :smile:

I think I've figured out that by setting the AccessToken I should be able to bypass the login on the device setup. That partially worked but now I am getting an error saying the username field is null. Its discussed here:

There is sort of a fix posted there, but it sounds like jensck is trying to make a better one...