Moodle Mobile app building

Moodle Mobile app building

by zhou Deng -
Number of replies: 11

I build a app using (https://github.com/moodlehq/moodlemobile.git) this code.

Now, i describe the steps I create in eclipse.

1.I use cordova 3.6.3 version to build a android app

2.Put the code into the eclipse/www   folder

setup2

3.run the app and open app setting ->develop 

setup3

4.I can not see some android devices in db

so,who can tell me ,what wrong with me.And how to solve it.thank you very much.

Average of ratings: -
In reply to zhou Deng

Re: Moodle Mobile app building

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

You should follow the documentation for the new version of the mobile app, you can read this tutorial:

https://docs.google.com/presentation/d/1HX5h7zwtay4amaY3qyLuCLfI7kQCiD9IoWuDH-lSa_0/edit#slide=id.p

I recommend you to build using Phonegap Build

In reply to Juan Leyva

Re: Moodle Mobile app building

by zhou Deng -

 I build using Phonegap but also not work.And  i can not use new version of the mobile app , i must use that one.

In reply to Juan Leyva

Re: Moodle Mobile app building

by zhou Deng -
hi,
   juan,Now,i accept your oder.I build a project in phonegap and use new version of the mobile app,i have a problem,I can not login my server.only tell the error is "Cannot connect: Verify that your have typed correctly the URL and that your site uses Moodle 2.4 or later.". I have do nothing in code.
In reply to zhou Deng

Re: Moodle Mobile app building

by zhou Deng -

I have change the initial screen(add site) like this :a1


and i also can not login.can you tell me detailed why . thank you very much.

In reply to zhou Deng

Re: Moodle Mobile app building

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

how are you testing? using the Ionic CLI and testing in a browser or using Phonegap Build binaries?

Please, review also the FAQ:

https://docs.moodle.org/dev/Moodle_Mobile_FAQ

Regards, Juan

In reply to Juan Leyva

Re: Moodle Mobile app building

by zhou Deng -
hi,
    I also want to ask you.You know,I user ionic 
ionic platform add android
and it can create a platforms folder.I import the android to eclipse,how can i do something in next step to let it run in my mobile phone?(for example:I should add some plugins?and where to find like 'nl.x-services.plugins.launchmyapp plugin') thank you!
In reply to Juan Leyva

Re: Moodle Mobile app building

by zhou Deng -
Hi,
    1. i also want to ask you that this new  version mobile app has inergrated notifications?
    2.i user your new version code to build a app and test in site(http://school.demo.moodle.net/) and login as 'student', password 'moodle'--->>>>I I was not login to that server and it says:Cannot connect: Verify that your have typed correctly the URL and that your site uses Moodle 2.4 or later.
thanks a lot !
In reply to Juan Leyva

Re: Moodle Mobile app building

by zhou Deng -

hi,juan

   I give you a log run in eclipse.Can you find my errors,and tell me how to sovle it.thank you very much.

In reply to zhou Deng

Re: Moodle Mobile app building

by Juan Leyva -
Picture of Core developers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Hi,

you can download an .apk from https://build.phonegap.com/apps/689788/builds

I'm sorry but we don't use Eclipse, we do hybrid development exclusively using Ionic and Phonegap tools

Regards, Juan