Moodle Mobile app building

Moodle Mobile app building

ដោយ zhou Deng នៅ
ចំនួនតប៖ 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.

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ zhou Deng

Re: Moodle Mobile app building

ដោយ Juan Leyva នៅ
រូបភាព Core developers រូបភាព Moodle HQ រូបភាព Plugin developers រូបភាព 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

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Juan Leyva

Re: Moodle Mobile app building

ដោយ 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.

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Juan Leyva

Re: Moodle Mobile app building

ដោយ 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.
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ zhou Deng

Re: Moodle Mobile app building

ដោយ 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.

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ zhou Deng

Re: Moodle Mobile app building

ដោយ Juan Leyva នៅ
រូបភាព Core developers រូបភាព Moodle HQ រូបភាព Plugin developers រូបភាព 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

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Juan Leyva

Re: Moodle Mobile app building

ដោយ 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!
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Juan Leyva

Re: Moodle Mobile app building

ដោយ 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 !
មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Juan Leyva

Re: Moodle Mobile app building

ដោយ zhou Deng នៅ

hi,juan

    Disturb you so much .Can you give me a android apk(I can decompile) using (https://github.com/moodlehq/moodlemobile2.git) this version .Or give me a folder code can run in eclipse.thank you very much.

Regards,

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ Juan Leyva

Re: Moodle Mobile app building

ដោយ 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.

មធ្យមភាគនៃរង្វាយតម្លៃ: -
ឆ្លើយតបទៅកាន់ zhou Deng

Re: Moodle Mobile app building

ដោយ Juan Leyva នៅ
រូបភាព Core developers រូបភាព Moodle HQ រូបភាព Plugin developers រូបភាព 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

មធ្យមភាគនៃរង្វាយតម្លៃ: -