在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):openedx/edx-app-android开源软件地址(OpenSource Url):https://github.com/openedx/edx-app-android开源编程语言(OpenSource Language):Java 72.2%开源软件介绍(OpenSource Introduction):edX AndroidThis is the source code for the edX mobile Android app. It is changing rapidly and its structure should not be relied upon. See http://code.edx.org for other parts of the edX code base. It has been tested with the "Koa" release of open edX and may not function correctly with previous versions. See https://openedx.atlassian.net/wiki/display/COMM/Open+edX+Releases for more information. LicenseThis software is licensed under version 2 of the Apache License unless
otherwise noted. Please see BuildingThis project is meant to be built using Android Studio. It can also be built from the
ConfigurationThe edX mobile Android app is designed to connect to an Open edX instance. You must configure the app with the correct server address and supply appropriate OAuth credentials. We use a configuration file mechanism similar to that of the Open edX platform. This mechanism is also used to make other values available to the app at runtime and store secret keys for third party services. There is a default configuration that points to an edX devstack instance
running on localhost. See the SetupTo use a custom configuration in place of the default configuration, you will need to complete these tasks:
The full set of known keys can be found in the
Build VariantsThere are 3 Build Variants in this project:
Building For ReleaseTo build an APK for release, you have to specify an application ID and signing key. Specifying your own Application IDApplication ID is the package identifier for your app.
Specifying the Signing KeyPlace your keystore file inside the
Now you can build a release build from Android Studio. Or, in the directory of
Note: For release branch naming convention take a look at this PR #774 that creates the versionCode automatically based on branch name. The output APK will be named with the version. CustomizationResources To customize images, colors, and layouts, you can specify a custom resource directory. Create or edit the
Any resources placed here will override resources of the same name in the To remove all edX branding, override the drawables for: If you need to make more in depth UI changes, most of the user interface is specified in standard Android XML files, which you can also override by placing new versions in your Assets To customize assets such as the End User License Agreement (EULA) you can specify a custom assets directory. Create or edit the
Any assets placed here will override resources of the same name in the Third Party ServicesThe app relies on the presence of several third party services: Facebook, NewRelic, Google+, SegmentIO, and Crashlytics. You may need to remove services you choose not to use. You can comment out the lines of code that mention these services. We're working on making it easier for Open edX installations to apply customizations and select third party services without modifying the repository itself. Frequently Asked QuestionsQ: I see an error that mentions "Unsupported major.minor version 51.0". How do I fix this? A: Our build system requires Java 7 or later. If you see this error, install Java 7 or later.
Q: After I upgraded to Android Studio v2.3, I've been facing alot of issues while compiling/building the project. How do I fix this? A: We recently upgraded our project to support Android Studio v2.3.x and below. After the upgrade changes done in PR #938, we too faced some issues. The fixes for the common issues can be seen in the Issues section of this GitHub project. The most common and helpful issue with the fixes is Issue #976. Q: I want to use Firebase in my project, where do I place my google-services.json file? A: You don’t need to place the google-services.json into the project, we are generating it through gradle script (AndroidHelper.gradle) that picks keys and values required in the google-services.json file from the app's configuration file. For configuration details see |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论