This library is designed to provide hooks to log in and register devices via the php-userhandler endpoint.
You can instance the userhandler object like so:
Userhandler u = new Userhander(getApplicationContext(),ENDPOINT_URI_STRING);
OR not declare the endpint until later
Userhandler u = new Userhandler(getApplicationContext());
u.setEndpoint(ENDPOINT_URI_STRING);
Creating a new user also registers this device to the server.
u.registerNewUser(FIRST_NAME,LAST_NAME,USER_HANDLE,USER_PASSWORD,INT_USER_PHONE);
u.registerNewDevice();
The registered phone may be sent a text message during setup to confirm it. Calling
u.verifyPhone();
Will overlay a popupWindow
and handle the processing