Skip to content

Commit

Permalink
Add license.
Browse files Browse the repository at this point in the history
  • Loading branch information
mthli committed Jun 9, 2015
1 parent 783c66c commit 2aee544
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 73 deletions.
154 changes: 86 additions & 68 deletions Ninja/.idea/workspace.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Ninja/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.github.mthli.Ninja"
android:versionCode="18"
android:versionCode="19"
android:versionName="@string/app_version">

<!-- SDK -->
Expand Down
20 changes: 19 additions & 1 deletion Ninja/res/values/strings_app.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
Ninja
</string>
<string name="app_version">
1.2.6
1.2.7
</string>

<!-- AndroidSlidingUpPanel -->
Expand Down Expand Up @@ -88,6 +88,20 @@
http://git.io/Gxy92Q
</string>

<!-- jsoup -->
<string name="license_title_jsoup">
jsoup
</string>
<string name="license_content_jsoup">
The MIT License (MIT)
</string>
<string name="license_author_jsoup">
Jonathan Hedley
</string>
<string name="license_url_jsoup">
http://git.io/vIz04
</string>

<!-- Lightning -->
<string name="license_title_lightning">
Lightning Browser
Expand Down Expand Up @@ -123,6 +137,7 @@
<item>@string/license_title_android_ago</item>
<item>@string/license_title_dynamic_grid</item>
<item>@string/license_title_github_markdown_css</item>
<item>@string/license_title_jsoup</item>
<item>@string/license_title_lightning</item>
<item>@string/license_title_ninja</item>
</string-array>
Expand All @@ -132,6 +147,7 @@
<item>@string/license_content_android_ago</item>
<item>@string/license_content_dynamic_grid</item>
<item>@string/license_content_github_markdown_css</item>
<item>@string/license_content_jsoup</item>
<item>@string/license_content_lightning</item>
<item>@string/license_content_ninja</item>
</string-array>
Expand All @@ -141,6 +157,7 @@
<item>@string/license_author_android_ago</item>
<item>@string/license_author_dynamic_grid</item>
<item>@string/license_author_github_markdown_css</item>
<item>@string/license_author_jsoup</item>
<item>@string/license_author_lightning</item>
<item>@string/license_author_ninja</item>
</string-array>
Expand All @@ -150,6 +167,7 @@
<item>@string/license_url_android_ago</item>
<item>@string/license_url_dynamic_grid</item>
<item>@string/license_url_github_markdown_css</item>
<item>@string/license_url_jsoup</item>
<item>@string/license_url_lightning</item>
<item>@string/license_url_ninja</item>
</string-array>
Expand Down
2 changes: 1 addition & 1 deletion Ninja/res/values/strings_key.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<!-- TODO: change when new version code -->
<string name="sp_first">
SP_FIRST_18
SP_FIRST_19
</string>

<string name="sp_ad_block">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ private void showLicenseDialog() {
String[] contents = getResources().getStringArray(R.array.license_contents);
String[] authors = getResources().getStringArray(R.array.license_authors);
String[] urls = getResources().getStringArray(R.array.license_urls);
for (int i = 0; i < 7; i++) {
for (int i = 0; i < 8; i++) {
Map<String, String> map = new HashMap<>();
map.put(LICENSE_TITLE, titles[i]);
map.put(LICENSE_CONTENT, contents[i]);
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ A web browser that open links in background without ever leaving your favorite a

[Ninja in Coolapk](http://coolapk.com/apk/io.github.mthli.Ninja "Ninja in Cookapk")

[Download latest Ninja.apk](https://github.com/mthli/Ninja/releases/download/v1.2.6/Ninja.1.2.6.apk "Ninja.1.2.6.apk")
[Download latest Ninja.apk](https://github.com/mthli/Ninja/releases/download/v1.2.7/Ninja.1.2.7.apk "Ninja.1.2.7.apk")

__SUPPORT: Android 4.1+__

Expand Down Expand Up @@ -113,6 +113,8 @@ Just import the `Ninja` folder with your __IntelliJ IDEA__.

- [github-markdown-css](https://github.com/sindresorhus/github-markdown-css "github-markdown-css")

- [jsoup](https://github.com/jhy/jsoup "jsoup")

- [Lightning Browser](https://github.com/anthonycr/Lightning-Browser "Lightning-Browser")

## License:
Expand Down

0 comments on commit 2aee544

Please sign in to comment.