# Habitica for Android
[Habitica](https://habitica.com) is an open source habit building program which treats your life like a Role Playing Game. Level up as you succeed, lose HP as you fail, earn money to buy weapons and armor. This repository is related to the Android Native Application.
It's also on Google Play:
<a href="https://play.google.com/store/apps/details?id=com.habitrpg.android.habitica">
<img alt="Get it on Google Play"
width="185"
src="https://play.google.com/intl/en_us/badges/images/generic/en-play-badge.png" />
</a>
Having the application installed is a good way to be notified of new releases. However, clicking "Watch" on this
repository will allow GitHub to email you whenever we publish a release.
# What's New
See the project's Releases page for a list of versions with their changelogs.
##### [View Releases](https://github.com/HabitRPG/habitrpg-android/releases)
If you Watch this repository, GitHub will send you an email every time we publish an update.
## Contributing
For an introduction to the technologies used and how the software is organized, refer to [Contributing to Habitica](http://habitica.wikia.com/wiki/Contributing_to_Habitica#Coders_.28Web_.26_Mobile.29) - "Coders (Web & Mobile)" section.
Thank you very much [to all contributors](https://github.com/HabitRPG/habitrpg-android/graphs/contributors).
#### How mobile releases work
All major mobile releases are organized by Milestones labeled with the release number. The 'Help Wanted' is added to any issue we feel would be okay for a contributor to work on, so look for that tag first! We do our best to answer any questions contributors may have regarding issues marked with that tag. If an issue does not have the 'Help Wanted' tag, that means staff will handle it when we have the availability.
The mobile team consists of one developer and one designer for both Android and iOS. Because of this, we switch back and forth for releases. While we work on one platform, the other will be put on hold. This may result in a wait time for PRs to be reviewed or questions to be answered. Any PRs submitted while we're working on a different platform will be assigned to the next Milestone and we will review it when we come back!
Given that our team is stretched pretty thin, it can be difficult for us to take an active role in helping to troubleshoot how to fix issues, but we always do our best to help as much as possible :) With this in mind, when selecting issues to work on it may be best to pick up issues you already have a good idea how to handle and test. Thank you for putting in your time to help make Habitica the best it can be!
#### Steps for contributing to this repository:
1. Fork it
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Create new Pull Request
* Don't forget to include your Habitica User ID, so that we can count your contribution towards your contributor tier
### Code Style Guidelines
We follow the code style guidelines outlined in [Android Code Style Guidelines for Contributors](https://source.android.com/source/code-style.html).
You can install our code style scheme to Intellij and/or Android Studio via this shell command:
$ ./install-codestyle.sh
## Build Instructions
### Config Files
1. Setup Habitica build config files by simply copying or renaming the example habitica files:
`habitica.properties.example` to `habitica.properties`
`habitica.resources.example` to `habitica.resources`
You also need `google-services.json`. Download it from Firebase in the next step.
Note: this is the default production `habitica.properties` file for habitica.com. If you want to use a local Habitica server, please modify the values in the properties file accordingly.
2. Go to https://console.firebase.google.com
a. Register/Login to Firebase. (You can use a Google account.)
b. Create a new project called Habitica
c. Create two apps in the project: `com.habitrpg.android.habitica` and `com.habitrpg.android.habitica.debug`
d. Creating each app will generate a `google-services.json` file. Download the `google-services.json` file from the second app and put it in `\Habitica\` and `\wearos\`
You can skip the last part of the app creation wizards (where you run the app to verify installation).
3. If using Android Studio, click Sync Project with Gradle Files. Update Android Studio if it asks you to update. Run Habitica.
没有合适的资源?快使用搜索试试~ 我知道了~
安卓应用源码Habitica习惯培养程序把生活当作一个角色扮演游戏APP完整项目代码.zip
共2000个文件
xml:781个
kt:621个
txt:421个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 161 浏览量
2023-09-11
00:26:21
上传
评论
收藏 7.37MB ZIP 举报
温馨提示
安卓应用源码Habitica习惯培养程序把生活当作一个角色扮演游戏APP完整项目代码
资源推荐
资源详情
资源评论
收起资源包目录
安卓应用源码Habitica习惯培养程序把生活当作一个角色扮演游戏APP完整项目代码.zip (2000个子文件)
Appfile 213B
gradlew.bat 2KB
.editorconfig 33B
google-services.json.example 1KB
Gemfile 178B
.gitignore 1KB
.gitignore 6B
build.gradle 3KB
build.gradle 2KB
settings.gradle 86B
.gradletasknamecache 0B
gradlew 5KB
gradle-wrapper.jar 52KB
LeonidsLib-1.3.2.jar 22KB
LeonidsLib-1.3.2.jar 22KB
HabiticaIcons.java 649KB
EmojiMap.java 81KB
HabiticaIconsHelper.java 34KB
UserComponent.java 17KB
GSonFactoryCreator.java 8KB
EquipmentListDeserializer.java 3KB
PurchasedDeserializer.java 2KB
PurchaseTypes.java 2KB
UserModule.java 1KB
AppComponent.java 862B
UseCase.java 792B
TestApplication.java 670B
HabiticaApplication.java 540B
HabiticaApplication.java 538B
MaintenanceApiService.java 442B
UIThread.java 433B
UnlockResponse.java 424B
BuyResponse.java 317B
PostChatMessageResult.java 246B
DebugDeveloperModule.java 212B
PostExecutionThread.java 167B
content.json 2.07MB
tasks.json 281KB
party-members.json 58KB
user.json 44KB
party.json 33KB
world-state.json 331B
ApiClientImpl.kt 36KB
TaskFormActivity.kt 31KB
NavigationDrawerFragment.kt 28KB
TaskRecyclerViewFragment.kt 25KB
DragLinearLayout.kt 24KB
PurchaseDialog.kt 24KB
AccountPreferenceFragment.kt 24KB
SafeDefaultItemAnimator.kt 23KB
MainActivity.kt 22KB
ChallengeFormActivity.kt 21KB
LoginActivity.kt 20KB
FullProfileActivity.kt 20KB
PreferencesFragment.kt 20KB
PartyDetailFragment.kt 19KB
UserRepositoryImpl.kt 19KB
AvatarView.kt 19KB
ApiService.kt 19KB
Task.kt 18KB
PurchaseHandler.kt 18KB
TasksFragment.kt 17KB
RealmInventoryLocalRepository.kt 17KB
NotificationsViewModel.kt 16KB
NotificationsActivity.kt 15KB
TaskSchedulingControls.kt 15KB
AvatarCustomizationFragment.kt 15KB
ItemRecyclerFragment.kt 15KB
ChallengeDetailFragment.kt 15KB
StatsFragment.kt 15KB
SocialRepositoryImpl.kt 15KB
TaskRepositoryImpl.kt 14KB
BaseTaskViewHolder.kt 14KB
QuestProgressView.kt 14KB
HabiticaAlertDialog.kt 13KB
CustomizationRecyclerViewAdapter.kt 13KB
TaskFilterDialog.kt 13KB
ItemDialogFragment.kt 13KB
ShopFragment.kt 13KB
ClassSelectionActivity.kt 13KB
InventoryRepositoryImpl.kt 13KB
TaskFormActivityTest.kt 12KB
RealmSocialLocalRepository.kt 12KB
ChecklistedViewHolder.kt 12KB
YesterdailyDialog.kt 12KB
QuestDetailFragment.kt 12KB
SetupActivity.kt 12KB
AvatarSetupFragment.kt 12KB
InboxMessageListFragment.kt 12KB
GroupViewModel.kt 12KB
ApiClient.kt 11KB
RealmTaskLocalRepository.kt 11KB
SubscriptionFragment.kt 11KB
ChatRecyclerViewHolder.kt 11KB
ItemRecyclerAdapter.kt 11KB
KeyHelper.kt 11KB
HabiticaBottomNavigationView.kt 11KB
ShopRecyclerAdapter.kt 11KB
PetDetailRecyclerFragment.kt 11KB
HabiticaBaseApplication.kt 11KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
小兔子平安
- 粉丝: 210
- 资源: 1940
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功