Skip to content

Commit 5fc04e7

Browse files
committed
migrate to Android Studio
migrate to Android Studio
1 parent a9b68c1 commit 5fc04e7

File tree

319 files changed

+2983
-68155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

319 files changed

+2983
-68155
lines changed

.classpath

Lines changed: 0 additions & 8 deletions
This file was deleted.

.gitignore

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,13 @@
1-
# built application files
2-
*.apk
3-
*.ap_
4-
5-
# files for the dex VM
6-
*.dex
7-
8-
# Java class files
9-
*.class
10-
11-
# generated files
12-
bin/
13-
gen/
1+
# build folder
2+
/build
143

154
# Local configuration file (sdk path, etc)
165
local.properties
6+
local.gradle
177

18-
# Eclipse project files
19-
.classpath
20-
.project
8+
# Gradle generated files
9+
.gradle/
2110

22-
# Proguard folder generated by Eclipse
23-
proguard/
2411

2512
# Intellij project files
2613
*.iml
@@ -29,7 +16,8 @@ proguard/
2916
.idea/
3017

3118
# Own Additions
32-
*~
3319
*.zip
34-
ant.properties
35-
*.svn/
20+
21+
22+
23+

.project

Lines changed: 0 additions & 33 deletions
This file was deleted.

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
apply plugin: 'com.android.application'
2+
3+
android {
4+
compileSdkVersion 23
5+
buildToolsVersion "24.0.1"
6+
7+
defaultConfig {
8+
applicationId "org.pyload.pyload"
9+
minSdkVersion 17
10+
targetSdkVersion 23
11+
versionCode 1
12+
versionName "1.0"
13+
}
14+
buildTypes {
15+
release {
16+
minifyEnabled false
17+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18+
}
19+
}
20+
}
21+
22+
dependencies {
23+
compile 'com.android.support:support-v4:23.1.1'
24+
compile 'org.slf4j:slf4j-android:1.7.21'
25+
}

app/proguard-rules.pro

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Add project specific ProGuard rules here.
2+
# By default, the flags in this file are appended to flags specified
3+
# in D:\apps\Android\sdk/tools/proguard/proguard-android.txt
4+
# You can edit the include path and order by changing the proguardFiles
5+
# directive in build.gradle.
6+
#
7+
# For more details, see
8+
# http://developer.android.com/guide/developing/tools/proguard.html
9+
10+
# Add any project specific keep options here:
11+
12+
# If your project uses WebView with JS, uncomment the following
13+
# and specify the fully qualified class name to the JavaScript interface
14+
# class:
15+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16+
# public *;
17+
#}
File renamed without changes.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one or more
3-
* contributor license agreements. See the NOTICE file distributed with
4-
* this work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0
6-
* (the "License"); you may not use this file except in compliance with
7-
* the License. You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
16-
*/
17-
18-
package org.apache.commons.codec;
19-
20-
/**
21-
* Defines common decoding methods for byte array decoders.
22-
*
23-
* @author Apache Software Foundation
24-
* @version $Id: BinaryDecoder.java 651573 2008-04-25 11:11:21Z niallp $
25-
*/
26-
public interface BinaryDecoder extends Decoder {
27-
28-
/**
29-
* Decodes a byte array and returns the results as a byte array.
30-
*
31-
* @param pArray A byte array which has been encoded with the
32-
* appropriate encoder
33-
*
34-
* @return a byte array that contains decoded content
35-
*
36-
* @throws DecoderException A decoder exception is thrown
37-
* if a Decoder encounters a failure condition during
38-
* the decode process.
39-
*/
40-
byte[] decode(byte[] pArray) throws DecoderException;
41-
}
42-
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
package org.apache.commons.codec;
19+
20+
/**
21+
* Defines common decoding methods for byte array decoders.
22+
*
23+
* @author Apache Software Foundation
24+
* @version $Id: BinaryDecoder.java 651573 2008-04-25 11:11:21Z niallp $
25+
*/
26+
public interface BinaryDecoder extends Decoder {
27+
28+
/**
29+
* Decodes a byte array and returns the results as a byte array.
30+
*
31+
* @param pArray A byte array which has been encoded with the
32+
* appropriate encoder
33+
*
34+
* @return a byte array that contains decoded content
35+
*
36+
* @throws DecoderException A decoder exception is thrown
37+
* if a Decoder encounters a failure condition during
38+
* the decode process.
39+
*/
40+
byte[] decode(byte[] pArray) throws DecoderException;
41+
}
42+
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
1-
/*
2-
* Licensed to the Apache Software Foundation (ASF) under one or more
3-
* contributor license agreements. See the NOTICE file distributed with
4-
* this work for additional information regarding copyright ownership.
5-
* The ASF licenses this file to You under the Apache License, Version 2.0
6-
* (the "License"); you may not use this file except in compliance with
7-
* the License. You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
16-
*/
17-
18-
package org.apache.commons.codec;
19-
20-
/**
21-
* Defines common encoding methods for byte array encoders.
22-
*
23-
* @author Apache Software Foundation
24-
* @version $Id: BinaryEncoder.java 651573 2008-04-25 11:11:21Z niallp $
25-
*/
26-
public interface BinaryEncoder extends Encoder {
27-
28-
/**
29-
* Encodes a byte array and return the encoded data
30-
* as a byte array.
31-
*
32-
* @param pArray Data to be encoded
33-
*
34-
* @return A byte array containing the encoded data
35-
*
36-
* @throws EncoderException thrown if the Encoder
37-
* encounters a failure condition during the
38-
* encoding process.
39-
*/
40-
byte[] encode(byte[] pArray) throws EncoderException;
41-
}
42-
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one or more
3+
* contributor license agreements. See the NOTICE file distributed with
4+
* this work for additional information regarding copyright ownership.
5+
* The ASF licenses this file to You under the Apache License, Version 2.0
6+
* (the "License"); you may not use this file except in compliance with
7+
* the License. You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
package org.apache.commons.codec;
19+
20+
/**
21+
* Defines common encoding methods for byte array encoders.
22+
*
23+
* @author Apache Software Foundation
24+
* @version $Id: BinaryEncoder.java 651573 2008-04-25 11:11:21Z niallp $
25+
*/
26+
public interface BinaryEncoder extends Encoder {
27+
28+
/**
29+
* Encodes a byte array and return the encoded data
30+
* as a byte array.
31+
*
32+
* @param pArray Data to be encoded
33+
*
34+
* @return A byte array containing the encoded data
35+
*
36+
* @throws EncoderException thrown if the Encoder
37+
* encounters a failure condition during the
38+
* encoding process.
39+
*/
40+
byte[] encode(byte[] pArray) throws EncoderException;
41+
}
42+

0 commit comments

Comments
 (0)