mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-29 05:35:16 +03:00
Merge pull request #124 from bclermont/120-android-doc
Add android specific doc
This commit is contained in:
commit
b2b89cd1d2
1 changed files with 44 additions and 0 deletions
44
docs/android.md
Normal file
44
docs/android.md
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Android
|
||||
|
||||
## Release and Branding
|
||||
|
||||
An Android application should be structured like the following:
|
||||
|
||||
```
|
||||
project_name
|
||||
├── android
|
||||
│ ├── AndroidManifest.xml
|
||||
│ ├── alias.txt
|
||||
│ ├── build.gradle
|
||||
│ ├── gradle
|
||||
│ │ └── wrapper
|
||||
│ │ └── gradle-wrapper.properties
|
||||
│ ├── icon.png
|
||||
│ ├── password.txt
|
||||
│ ├── project_name.keystore
|
||||
│ └── res
|
||||
│ ├── drawable-hdpi
|
||||
│ │ └── icon.png
|
||||
│ ├── drawable-ldpi
|
||||
│ │ └── icon.png
|
||||
│ └── drawable-mdpi
|
||||
│ └── icon.png
|
||||
├── deploy
|
||||
│ └── android_minimal
|
||||
│ └── build
|
||||
├── project.go
|
||||
└── qml
|
||||
└── project.qml
|
||||
```
|
||||
|
||||
|
||||
The content of the `android` folder will be copied into
|
||||
`deploy/android_minimal/build` before using `gradle` to bundle the binary inside
|
||||
a `.apk`.
|
||||
|
||||
You can use the `AndroidManifest.xml` found inside
|
||||
`deploy/android_minimal/build` as a template to build upon. (Set package
|
||||
identifier, icon, permissions, ...)
|
||||
|
||||
For example: `android:icon="@drawable/icon"` attribute can be added to
|
||||
`application` in `AndroidManifest.xml` to use the `icon.png`.
|
Loading…
Reference in a new issue