I am working on a project to make an android app through which i can access basic functions of moodle. Being a student i don't have admin rights, Please clarify few things: when i send connection making GET request to moodle hosted on my college server, i successfully get the token but when i try this on local host, it doesn't work and i get permission denied error.
Case 1 (working on college hosted moodle as a student): I am also trying to use MoodleRest API but when i use any function say (moodle_course_get_courses) i always get NULLPOINTER exception and even after struggling with it i haven't found the reason. So, Can yu please help me out with this.
moodle 2.1.3 is being used.
Case 2 (working on localhost) : Please tell me how can i make successful connection so that i get a token in return.
Also suggest me which one is a better option to work on MoodleRest or OKtech web services WSDL.