I managed to figure out how to log in and register using the @Salam El-Bannas link , in case someone still needs this here:
To complete the task, you need two plugins:
WordPress JSON API Plugin
and
JSON API User
To register users: You need a nonce ID , which will be part of the registration parameters during the GET input (this is provided by the plugins). Read the @Salam El-Bannas link for a better understanding. The methodology that I used in android was that immediately the load on the pages blocks the user interface with the message "Connecting ...", and in the background I get the nonce identifier after it is completed. The UI lock disappears, and the nonce identifier is added to the special non- -changeable EditText field created for the nonce identifier, the user then enters their required credentials, and I confirm that it is valid before connecting to the server using the nonce ID, which I got. the result from the server is JSON, so I can handle the rest in Android code using volley and GSON.
For user login: you only need the cookie ID created by the plugin, for example, in my case http://localhost/mylocalhost/my_api_base/user/generate_auth_cookie/?insecure=cool& email=xxx@xdfer.org &password=xxxv678
and the result was this json;
{"status":"ok","cookie":"xxxx|1486130938|Ot6yAX7iU773JnQ2zfE8sdmjt09LhHqDKSYBqtekuha|7fe58a35ab9f260c9bced9148f5cf9ae3ab56c16d7d9ce3b2db7da651d4d937d","cookie_name":"wordpress_logged_in_4132d8131ebbc6760d21627637bd4b20","user":{"id":1,"username":"administrator","nicename":"administrator","email":" xxx@xdfer.org ","url":"","registered":"2016-11-02 17:46:19","displayname":"xxxx","firstname":"","lastname":"","nickname":"xxxxwedds","description":"","capabilities":"","avatar":null}}
then you should read this good tutorial to use the resulting JSON in android (if you are new to Android registration) just use your discretion as well.
It is really really simple and interesting as soon as you follow my process.
source share