How to use drupal login in my android application I want to use the same database that is used in the drupal site.I want to login with the same user name and password that is used in drupal

Please any one help me with this


Services module allows remote login validation using REST calls.


This is a complex topic and probably too broad of a question. That said, there was a session about automatically generating Drupal apps using Phonegap at Drupalcon Denver 2012. The beginning of the presentation gives a decent overview of the many different ways in which Drupal can interact with mobile apps.


Simply use the Phonegap and DrupalGap module, install and set permission for the same and use this code http://code.google.com/p/drupal-phonegap/downloads/list and paste into your assets Directory in your android project and copy apk file from bin directory and use it in your phone instead of using Emulator

What u need is

1) JDK(6) 2) Eclipse 3) ADT 4) PhoneGap and DrupalGap modules On your drupal Site

While using this u need to set(append) your Enviornment Variable from this link http://docs.phonegap.com/en/2.2.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android

Hope it will Help you :-)


DrupalGap has this feature out of the box. Otherwise you can use the Services module and the User Login Resource.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.