Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
第一个版本
  • Loading branch information
LY-ai authored Dec 18, 2023
0 parents commit e6d4a75
Show file tree
Hide file tree
Showing 70 changed files with 2,855 additions and 0 deletions.
674 changes: 674 additions & 0 deletions AcrylicPaint-master-rf20/COPYING

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions AcrylicPaint-master-rf20/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Acrylic Paint

Acrylic Paint is a "Free as in Freedom" coloring app for Android which will allow you to share your imagination with others!
We have made some changes to the FingerPaint project taken from API demos.

## Installing

1. Install [F-Droid](http://f-droid.org)
2. Install [Acrylic Paint](https://f-droid.org/packages/anupam.acrylic/) from F-Droid
3. Have fun!

## Hacking

Simply import the source code with **Android Studio**.

## Credits

* [Anupam Shrivastava](https://github.com/anupam1525) - Original author (disappeared)
* [Valerio Bozzolan](https://github.com/valerio-bozzolan) - Revival of the project
* [Marco Gagino](https://github.com/marcogagino-22) - Icons, graphics and massive support

And thanks to all the contributors!

## Licenses

* [Android™ API demos](http://developer.android.com/samples/index.html) - Originally released under the Apache 2.0 license
* [Acrylic Paint anupam1525](https://github.com/anupam1525/AcrylicPaint) - Originally released under the Apache 2.0 license
* [Acrylic Paint valerio-bozzolan](https://github.com/valerio-bozzolan/AcrylicPaint) - Upgraded to the GNU General Public License

Every line of this app is "upgraded" from the Apache 2.0 license to the **GPLv3+ license**! Read more about "license upgrading" [here](https://www.gnu.org/licenses/quick-guide-gplv3.html#new-compatible-licenses). (If I have done some errors during the license upgrade process, please tell me about how to upgrade the license of this app in the bug report...)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation. This can be either version 3 of the License, or
(depending on your needs) any later version.

## Disclaimer

This program is distributed in the hopes that it will be useful,
but WITHOUT ANY WARRANTY; also does not include the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
39 changes: 39 additions & 0 deletions AcrylicPaint-master-rf20/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion "29.0.3"

defaultConfig {
applicationId "anupam.acrylic"
minSdkVersion 14
// Figure out stupid garbage Scoped Storage for 29+
// https://developer.android.com/preview/privacy/storage#scoped-storage
//noinspection OldTargetApi
targetSdkVersion 28
versionCode 18
versionName "2.4.0"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

compileOptions {
encoding "UTF-8"
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

lintOptions {
disable 'GoogleAppIndexingWarning'
abortOnError false
}
}

dependencies {
implementation 'com.nabinbhandari.android:permissions:3.8'
}
4 changes: 4 additions & 0 deletions AcrylicPaint-master-rf20/app/local.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sdk.dir=/home/vagrant/android-sdk
sdk-location=/home/vagrant/android-sdk
ndk.dir=/home/vagrant/android-ndk/r12b
ndk-location=/home/vagrant/android-ndk/r12b
50 changes: 50 additions & 0 deletions AcrylicPaint-master-rf20/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="anupam.acrylic">

<supports-screens
android:anyDensity="true"
android:largeScreens="true"
android:normalScreens="true"
android:resizeable="true"
android:smallScreens="true" />

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:theme="@style/Theme">
<activity
android:name=".Splash"
android:configChanges="keyboard|keyboardHidden|orientation"
android:theme="@android:style/Theme.DeviceDefault.Light.NoActionBar.Fullscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".EasyPaint"
android:launchMode="singleTop">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="image/*" />
</intent-filter>
</activity>
<activity
android:name=".AboutActivity"
android:label="@string/title_activity_about"
android:parentActivityName=".EasyPaint"
tools:targetApi="jelly_bean">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".EasyPaint" />
</activity>
</application>

</manifest>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package anupam.acrylic;

import android.app.Activity;
import android.os.Bundle;
import android.text.Html;
import android.text.Spanned;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;

public class AboutActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_about);
Spanned htmlText = Html.fromHtml(getResources().getString(R.string.about_description));
TextView aboutTextView = (TextView) findViewById(R.id.aboutTextView);
aboutTextView.setText(htmlText);
aboutTextView.setMovementMethod(LinkMovementMethod.getInstance());
}
}
Loading

0 comments on commit e6d4a75

Please sign in to comment.