New Android implementation of Moodle -Open Source

Re: New Android implementation of Moodle -Open Source

by Gina Bennett -
Number of replies: 3

hi Matthias

I'm very keen to try out this app! So I installed the app on my Android tablet  (a 7" HTC flyer running Android 3.2.1 ). And our moodle admin followed your directions to enable the server. But every time I attempt to log in, I get this message:

Sorry!

The application Moodle for Android YCIS (process moodle.android.moodle) has stopped unexpectedly. Please try again.

Any suggestions for troubleshooting?

Gina

In reply to Gina Bennett

Re: New Android implementation of Moodle -Open Source

by Matt Peitsch -

Hi Gina,

Thank you so much for trying the app and I am sorry that it has not worked the first time. What version of Moodle are you running?

For troubleshooting it is worth checking that the web services are working correctly. 

First enter your web address in this format in your browser.

<your-moodle-address>/login/token.php?username=<your-username>&password=<your-password>&service=moodle_mobile_app

This should return a token or a message to let you know that the webservices are not enabled correctly.

Secondly ensure that you're entering your website without "https" as this is not yet supported and try it with and without the slash at the end of the moodle site address. The app will also not function if there is a custom login script.

If that works I would suggest logging into our demo server using the details that are included with the app to see if the app is behaving correctly on your device.

One last question, what plugins are you using with moodle?

That should get things started.

kind regards,

Matthias

 

In reply to Matt Peitsch

Re: New Android implementation of Moodle -Open Source

by Gina Bennett -

hi again Matthias

Thanks for the troubleshooting tips. I tried checking the web services on our server & it did indeed return a token so I think it is working. Our web address does not use https; I tried accessing it with & without the / on the end. No luck!

In terms of plugins, we are not running anything fancy; we stick with pretty much a 'plain vanilla' installation. We do have HotPot & NanoGong installed which might be a bit non-standard (although still pretty common).

I had no trouble logging into your demo serever with the access info that was included with the app. It's a nice clean app, very attractive! It was a bit buggy for me & I couldn't log out (had to re-start the tablet). But it shows a lot of promise & I *really* hope you keep working on it!

If you want to try accessing our server, the address is http://terri.bccampus.ca/mdl_cotr. Try username = mobile & password = guest. This account has been added to a demo course (Introduction to Online Learning).

Thanks, & good luck!

Gina

In reply to Gina Bennett

Re: New Android implementation of Moodle -Open Source

by Matt Peitsch -

Hi Gina,

I ran some debug routines with the app on your site and first thing I noticed is that the app just about times out with the connection. That is an issue with how we retrieve the moodle object. The app does eventually receive the object though and says that the user is not enrolled in any courses. This may be due to mobile web services not being enabled for the specific user.

Can you check that web services and xml-rpc and REST are enabled for users with a token at this link.

http://<Your site here>/admin/settings.php?section=webservicesoverview

The users also sometimes need to be assigned the role of 'authorised user' which is sometimes automatic depending on how the rest of the site is set up.

The project is going well. Someone in the UK is using the code base for his masters project which is very exciting.

cheers,

Matthias